Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
228 changes: 218 additions & 10 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
hoistGlobalSecurity: true
tests:
generateTests: true
generateNewTests: true
skipResponseBodyAssertions: false
typescript:
version: 0.29.8
version: 0.29.9
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down Expand Up @@ -59,6 +60,7 @@ typescript:
outputModelSuffix: output
packageName: '@apideck/unify'
responseFormat: envelope-http
sseFlatResponse: false
templateVersion: v2
usageSDKInitImports: []
useIndexModules: true
334 changes: 334 additions & 0 deletions .speakeasy/tests.arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51646,3 +51646,337 @@ workflows:
type: simple
x-speakeasy-test-group: connectionConsent
x-speakeasy-test-rebuild: true
- workflowId: accounting.bankAccountsAll
steps:
- stepId: test
operationId: accounting.bankAccountsAll
parameters:
- name: raw
in: query
value: false
- name: limit
in: query
value: 20
- name: filter
in: query
value:
name: Main Operating
status: active
- name: sort
in: query
value:
by: updated_at
direction: asc
- name: pass_through
in: query
value:
search: San Francisco
- name: fields
in: query
value: id,updated_at
- name: x-apideck-consumer-id
in: header
value: test-consumer
- name: x-apideck-app-id
in: header
value: dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
- name: x-apideck-service-id
in: header
value: salesforce
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{
"status_code": 200,
"status": "OK",
"service": "quickbooks",
"resource": "bank-accounts",
"operation": "all",
"data": [
{
"id": "12345",
"display_id": "BA-001",
"name": "Main Operating Account",
"account_number": "1234567890",
"account_type": "checking",
"bank_name": "Chase Bank",
"currency": "USD",
"balance": 25000,
"available_balance": 24500,
"overdraft_limit": 5000,
"routing_number": "021000021",
"iban": "GB33BUKB20201555555555",
"bic": "CHASUS33",
"bsb_number": "062-001",
"branch_identifier": "001",
"bank_code": "BNH",
"country": "US",
"status": "active",
"description": "Primary operating account for daily transactions",
"custom_fields": [
{
"id": "2389328923893298",
"name": "employee_level",
"description": "Employee Level",
"value": "Uses Salesforce and Marketo"
}
],
"created_at": "2020-09-30T07:43:32.000Z",
"updated_at": "2020-09-30T07:43:32.000Z",
"created_by": "12345",
"updated_by": "12345"
}
],
"meta": {
"items_on_page": 50,
"cursors": {
"previous": "em9oby1jcm06OnBhZ2U6OjE=",
"current": "em9oby1jcm06OnBhZ2U6OjI=",
"next": "em9oby1jcm06OnBhZ2U6OjM="
}
},
"links": {
"previous": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D",
"current": "https://unify.apideck.com/crm/companies",
"next": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM"
}
}
type: simple
x-speakeasy-test-group: bankAccounts
x-speakeasy-test-rebuild: true
- workflowId: accounting.bankAccountsAdd
steps:
- stepId: test
operationId: accounting.bankAccountsAdd
parameters:
- name: raw
in: query
value: false
- name: x-apideck-consumer-id
in: header
value: test-consumer
- name: x-apideck-app-id
in: header
value: dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
- name: x-apideck-service-id
in: header
value: salesforce
requestBody:
contentType: application/json
payload:
account_number: "1234567890"
account_type: checking
available_balance: 24500
balance: 25000
bank_code: BNH
bank_name: Chase Bank
bic: CHASUS33
branch_identifier: "001"
bsb_number: 062-001
country: US
currency: USD
custom_fields:
- description: Employee Level
id: "2389328923893298"
name: employee_level
value: Uses Salesforce and Marketo
description: Primary operating account for daily transactions
display_id: BA-001
iban: GB33BUKB20201555555555
name: Main Operating Account
overdraft_limit: 5000
routing_number: "021000021"
status: active
successCriteria:
- condition: $statusCode == 201
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{
"status_code": 201,
"status": "Created",
"service": "quickbooks",
"resource": "bank-accounts",
"operation": "add",
"data": {
"id": "12345"
}
}
type: simple
x-speakeasy-test-group: bankAccounts
x-speakeasy-test-rebuild: true
- workflowId: accounting.bankAccountsOne
steps:
- stepId: test
operationId: accounting.bankAccountsOne
parameters:
- name: id
in: path
value: <id>
- name: raw
in: query
value: false
- name: fields
in: query
value: id,updated_at
- name: x-apideck-consumer-id
in: header
value: test-consumer
- name: x-apideck-app-id
in: header
value: dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
- name: x-apideck-service-id
in: header
value: salesforce
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{
"status_code": 200,
"status": "OK",
"service": "quickbooks",
"resource": "bank-accounts",
"operation": "one",
"data": {
"id": "12345",
"display_id": "BA-001",
"name": "Main Operating Account",
"account_number": "1234567890",
"account_type": "checking",
"bank_name": "Chase Bank",
"currency": "USD",
"balance": 25000,
"available_balance": 24500,
"overdraft_limit": 5000,
"routing_number": "021000021",
"iban": "GB33BUKB20201555555555",
"bic": "CHASUS33",
"bsb_number": "062-001",
"branch_identifier": "001",
"bank_code": "BNH",
"country": "US",
"status": "active",
"description": "Primary operating account for daily transactions",
"custom_fields": [
{
"id": "2389328923893298",
"name": "employee_level",
"description": "Employee Level",
"value": "Uses Salesforce and Marketo"
}
],
"created_at": "2020-09-30T07:43:32.000Z",
"updated_at": "2020-09-30T07:43:32.000Z",
"created_by": "12345",
"updated_by": "12345"
}
}
type: simple
x-speakeasy-test-group: bankAccounts
x-speakeasy-test-rebuild: true
- workflowId: accounting.bankAccountsUpdate
steps:
- stepId: test
operationId: accounting.bankAccountsUpdate
parameters:
- name: id
in: path
value: <id>
- name: raw
in: query
value: false
- name: x-apideck-consumer-id
in: header
value: test-consumer
- name: x-apideck-app-id
in: header
value: dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
- name: x-apideck-service-id
in: header
value: salesforce
requestBody:
contentType: application/json
payload:
account_number: "1234567890"
account_type: checking
available_balance: 24500
balance: 25000
bank_code: BNH
bank_name: Chase Bank
bic: CHASUS33
branch_identifier: "001"
bsb_number: 062-001
country: US
currency: USD
custom_fields:
- description: Employee Level
id: "2389328923893298"
name: employee_level
value: Uses Salesforce and Marketo
description: Primary operating account for daily transactions
display_id: BA-001
iban: GB33BUKB20201555555555
name: Main Operating Account
overdraft_limit: 5000
routing_number: "021000021"
status: active
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{
"status_code": 200,
"status": "OK",
"service": "quickbooks",
"resource": "bank-accounts",
"operation": "update",
"data": {
"id": "12345"
}
}
type: simple
x-speakeasy-test-group: bankAccounts
x-speakeasy-test-rebuild: true
- workflowId: accounting.bankAccountsDelete
steps:
- stepId: test
operationId: accounting.bankAccountsDelete
parameters:
- name: id
in: path
value: <id>
- name: raw
in: query
value: false
- name: x-apideck-consumer-id
in: header
value: test-consumer
- name: x-apideck-app-id
in: header
value: dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
- name: x-apideck-service-id
in: header
value: salesforce
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{
"status_code": 200,
"status": "OK",
"service": "quickbooks",
"resource": "bank-accounts",
"operation": "delete",
"data": {
"id": "12345"
}
}
type: simple
x-speakeasy-test-group: bankAccounts
x-speakeasy-test-rebuild: true
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.611.1
speakeasyVersion: 1.621.0
sources:
Apideck-OAS:
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:cb0201d032f54350a28bd8c493037ef74777e49604a1b8f76718c2d0d9918db4
sourceBlobDigest: sha256:88de9a39fea7106d70b4526a9c8207a4c54c38a3c13136b2b27fbb947336e267
sourceRevisionDigest: sha256:a6bcd5ccb7c969b42e8ad8b17f9f9fada68d5dcb1df1fc9f740c093e6f7a59fb
sourceBlobDigest: sha256:6f9d2a5ef2ad35a10bb779aefcb98d75609448f4b14ea7f9268f7ad166c206a3
tags:
- latest
- speakeasy-sdk-regen-1756211937
- 10.20.13
- speakeasy-sdk-regen-1757940184
- 10.20.16
targets:
apideck:
source: Apideck-OAS
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:cb0201d032f54350a28bd8c493037ef74777e49604a1b8f76718c2d0d9918db4
sourceBlobDigest: sha256:88de9a39fea7106d70b4526a9c8207a4c54c38a3c13136b2b27fbb947336e267
sourceRevisionDigest: sha256:a6bcd5ccb7c969b42e8ad8b17f9f9fada68d5dcb1df1fc9f740c093e6f7a59fb
sourceBlobDigest: sha256:6f9d2a5ef2ad35a10bb779aefcb98d75609448f4b14ea7f9268f7ad166c206a3
codeSamplesNamespace: apideck-oas-typescript-code-samples
codeSamplesRevisionDigest: sha256:6dc8ae18d73a3394d47076e22d262a03b511c96fbaa45e77b702cfb80b3e0db8
codeSamplesRevisionDigest: sha256:04adccacc72f445a1452e35f4f4f8908c8c9cdf9de66499f4957a97063b6b2aa
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
Loading