@@ -51646,3 +51646,337 @@ workflows:
5164651646 type: simple
5164751647 x-speakeasy-test-group: connectionConsent
5164851648 x-speakeasy-test-rebuild: true
51649+ - workflowId: accounting.bankAccountsAll
51650+ steps:
51651+ - stepId: test
51652+ operationId: accounting.bankAccountsAll
51653+ parameters:
51654+ - name: raw
51655+ in: query
51656+ value: false
51657+ - name: limit
51658+ in: query
51659+ value: 20
51660+ - name: filter
51661+ in: query
51662+ value:
51663+ name: Main Operating
51664+ status: active
51665+ - name: sort
51666+ in: query
51667+ value:
51668+ by: updated_at
51669+ direction: asc
51670+ - name: pass_through
51671+ in: query
51672+ value:
51673+ search: San Francisco
51674+ - name: fields
51675+ in: query
51676+ value: id,updated_at
51677+ - name: x-apideck-consumer-id
51678+ in: header
51679+ value: test-consumer
51680+ - name: x-apideck-app-id
51681+ in: header
51682+ value: dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
51683+ - name: x-apideck-service-id
51684+ in: header
51685+ value: salesforce
51686+ successCriteria:
51687+ - condition: $statusCode == 200
51688+ - condition: $response.header.Content-Type == application/json
51689+ - context: $response.body
51690+ condition: |
51691+ {
51692+ "status_code": 200,
51693+ "status": "OK",
51694+ "service": "quickbooks",
51695+ "resource": "bank-accounts",
51696+ "operation": "all",
51697+ "data": [
51698+ {
51699+ "id": "12345",
51700+ "display_id": "BA-001",
51701+ "name": "Main Operating Account",
51702+ "account_number": "1234567890",
51703+ "account_type": "checking",
51704+ "bank_name": "Chase Bank",
51705+ "currency": "USD",
51706+ "balance": 25000,
51707+ "available_balance": 24500,
51708+ "overdraft_limit": 5000,
51709+ "routing_number": "021000021",
51710+ "iban": "GB33BUKB20201555555555",
51711+ "bic": "CHASUS33",
51712+ "bsb_number": "062-001",
51713+ "branch_identifier": "001",
51714+ "bank_code": "BNH",
51715+ "country": "US",
51716+ "status": "active",
51717+ "description": "Primary operating account for daily transactions",
51718+ "custom_fields": [
51719+ {
51720+ "id": "2389328923893298",
51721+ "name": "employee_level",
51722+ "description": "Employee Level",
51723+ "value": "Uses Salesforce and Marketo"
51724+ }
51725+ ],
51726+ "created_at": "2020-09-30T07:43:32.000Z",
51727+ "updated_at": "2020-09-30T07:43:32.000Z",
51728+ "created_by": "12345",
51729+ "updated_by": "12345"
51730+ }
51731+ ],
51732+ "meta": {
51733+ "items_on_page": 50,
51734+ "cursors": {
51735+ "previous": "em9oby1jcm06OnBhZ2U6OjE=",
51736+ "current": "em9oby1jcm06OnBhZ2U6OjI=",
51737+ "next": "em9oby1jcm06OnBhZ2U6OjM="
51738+ }
51739+ },
51740+ "links": {
51741+ "previous": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D",
51742+ "current": "https://unify.apideck.com/crm/companies",
51743+ "next": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM"
51744+ }
51745+ }
51746+ type: simple
51747+ x-speakeasy-test-group: bankAccounts
51748+ x-speakeasy-test-rebuild: true
51749+ - workflowId: accounting.bankAccountsAdd
51750+ steps:
51751+ - stepId: test
51752+ operationId: accounting.bankAccountsAdd
51753+ parameters:
51754+ - name: raw
51755+ in: query
51756+ value: false
51757+ - name: x-apideck-consumer-id
51758+ in: header
51759+ value: test-consumer
51760+ - name: x-apideck-app-id
51761+ in: header
51762+ value: dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
51763+ - name: x-apideck-service-id
51764+ in: header
51765+ value: salesforce
51766+ requestBody:
51767+ contentType: application/json
51768+ payload:
51769+ account_number: "1234567890"
51770+ account_type: checking
51771+ available_balance: 24500
51772+ balance: 25000
51773+ bank_code: BNH
51774+ bank_name: Chase Bank
51775+ bic: CHASUS33
51776+ branch_identifier: "001"
51777+ bsb_number: 062-001
51778+ country: US
51779+ currency: USD
51780+ custom_fields:
51781+ - description: Employee Level
51782+ id: "2389328923893298"
51783+ name: employee_level
51784+ value: Uses Salesforce and Marketo
51785+ description: Primary operating account for daily transactions
51786+ display_id: BA-001
51787+ iban: GB33BUKB20201555555555
51788+ name: Main Operating Account
51789+ overdraft_limit: 5000
51790+ routing_number: "021000021"
51791+ status: active
51792+ successCriteria:
51793+ - condition: $statusCode == 201
51794+ - condition: $response.header.Content-Type == application/json
51795+ - context: $response.body
51796+ condition: |
51797+ {
51798+ "status_code": 201,
51799+ "status": "Created",
51800+ "service": "quickbooks",
51801+ "resource": "bank-accounts",
51802+ "operation": "add",
51803+ "data": {
51804+ "id": "12345"
51805+ }
51806+ }
51807+ type: simple
51808+ x-speakeasy-test-group: bankAccounts
51809+ x-speakeasy-test-rebuild: true
51810+ - workflowId: accounting.bankAccountsOne
51811+ steps:
51812+ - stepId: test
51813+ operationId: accounting.bankAccountsOne
51814+ parameters:
51815+ - name: id
51816+ in: path
51817+ value: <id>
51818+ - name: raw
51819+ in: query
51820+ value: false
51821+ - name: fields
51822+ in: query
51823+ value: id,updated_at
51824+ - name: x-apideck-consumer-id
51825+ in: header
51826+ value: test-consumer
51827+ - name: x-apideck-app-id
51828+ in: header
51829+ value: dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
51830+ - name: x-apideck-service-id
51831+ in: header
51832+ value: salesforce
51833+ successCriteria:
51834+ - condition: $statusCode == 200
51835+ - condition: $response.header.Content-Type == application/json
51836+ - context: $response.body
51837+ condition: |
51838+ {
51839+ "status_code": 200,
51840+ "status": "OK",
51841+ "service": "quickbooks",
51842+ "resource": "bank-accounts",
51843+ "operation": "one",
51844+ "data": {
51845+ "id": "12345",
51846+ "display_id": "BA-001",
51847+ "name": "Main Operating Account",
51848+ "account_number": "1234567890",
51849+ "account_type": "checking",
51850+ "bank_name": "Chase Bank",
51851+ "currency": "USD",
51852+ "balance": 25000,
51853+ "available_balance": 24500,
51854+ "overdraft_limit": 5000,
51855+ "routing_number": "021000021",
51856+ "iban": "GB33BUKB20201555555555",
51857+ "bic": "CHASUS33",
51858+ "bsb_number": "062-001",
51859+ "branch_identifier": "001",
51860+ "bank_code": "BNH",
51861+ "country": "US",
51862+ "status": "active",
51863+ "description": "Primary operating account for daily transactions",
51864+ "custom_fields": [
51865+ {
51866+ "id": "2389328923893298",
51867+ "name": "employee_level",
51868+ "description": "Employee Level",
51869+ "value": "Uses Salesforce and Marketo"
51870+ }
51871+ ],
51872+ "created_at": "2020-09-30T07:43:32.000Z",
51873+ "updated_at": "2020-09-30T07:43:32.000Z",
51874+ "created_by": "12345",
51875+ "updated_by": "12345"
51876+ }
51877+ }
51878+ type: simple
51879+ x-speakeasy-test-group: bankAccounts
51880+ x-speakeasy-test-rebuild: true
51881+ - workflowId: accounting.bankAccountsUpdate
51882+ steps:
51883+ - stepId: test
51884+ operationId: accounting.bankAccountsUpdate
51885+ parameters:
51886+ - name: id
51887+ in: path
51888+ value: <id>
51889+ - name: raw
51890+ in: query
51891+ value: false
51892+ - name: x-apideck-consumer-id
51893+ in: header
51894+ value: test-consumer
51895+ - name: x-apideck-app-id
51896+ in: header
51897+ value: dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
51898+ - name: x-apideck-service-id
51899+ in: header
51900+ value: salesforce
51901+ requestBody:
51902+ contentType: application/json
51903+ payload:
51904+ account_number: "1234567890"
51905+ account_type: checking
51906+ available_balance: 24500
51907+ balance: 25000
51908+ bank_code: BNH
51909+ bank_name: Chase Bank
51910+ bic: CHASUS33
51911+ branch_identifier: "001"
51912+ bsb_number: 062-001
51913+ country: US
51914+ currency: USD
51915+ custom_fields:
51916+ - description: Employee Level
51917+ id: "2389328923893298"
51918+ name: employee_level
51919+ value: Uses Salesforce and Marketo
51920+ description: Primary operating account for daily transactions
51921+ display_id: BA-001
51922+ iban: GB33BUKB20201555555555
51923+ name: Main Operating Account
51924+ overdraft_limit: 5000
51925+ routing_number: "021000021"
51926+ status: active
51927+ successCriteria:
51928+ - condition: $statusCode == 200
51929+ - condition: $response.header.Content-Type == application/json
51930+ - context: $response.body
51931+ condition: |
51932+ {
51933+ "status_code": 200,
51934+ "status": "OK",
51935+ "service": "quickbooks",
51936+ "resource": "bank-accounts",
51937+ "operation": "update",
51938+ "data": {
51939+ "id": "12345"
51940+ }
51941+ }
51942+ type: simple
51943+ x-speakeasy-test-group: bankAccounts
51944+ x-speakeasy-test-rebuild: true
51945+ - workflowId: accounting.bankAccountsDelete
51946+ steps:
51947+ - stepId: test
51948+ operationId: accounting.bankAccountsDelete
51949+ parameters:
51950+ - name: id
51951+ in: path
51952+ value: <id>
51953+ - name: raw
51954+ in: query
51955+ value: false
51956+ - name: x-apideck-consumer-id
51957+ in: header
51958+ value: test-consumer
51959+ - name: x-apideck-app-id
51960+ in: header
51961+ value: dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
51962+ - name: x-apideck-service-id
51963+ in: header
51964+ value: salesforce
51965+ successCriteria:
51966+ - condition: $statusCode == 200
51967+ - condition: $response.header.Content-Type == application/json
51968+ - context: $response.body
51969+ condition: |
51970+ {
51971+ "status_code": 200,
51972+ "status": "OK",
51973+ "service": "quickbooks",
51974+ "resource": "bank-accounts",
51975+ "operation": "delete",
51976+ "data": {
51977+ "id": "12345"
51978+ }
51979+ }
51980+ type: simple
51981+ x-speakeasy-test-group: bankAccounts
51982+ x-speakeasy-test-rebuild: true
0 commit comments