Skip to content

Commit ca1f975

Browse files
authored
Merge pull request #54 from apideck-libraries/speakeasy-sdk-regen-1750063235
chore: 🐝 Update SDK - Generate 0.26.0
2 parents b9de5a1 + d2e7cba commit ca1f975

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+3392
-84
lines changed

.speakeasy/gen.lock

Lines changed: 102 additions & 20 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ generation:
2323
generateNewTests: true
2424
skipResponseBodyAssertions: false
2525
typescript:
26-
version: 0.25.1
26+
version: 0.26.0
2727
additionalDependencies:
2828
dependencies: {}
2929
devDependencies: {}
@@ -32,6 +32,7 @@ typescript:
3232
author: Speakeasy
3333
baseErrorName: ApideckError
3434
clientServerStatusCodesAsErrors: true
35+
constFieldsAlwaysOptional: true
3536
defaultErrorName: APIError
3637
enableCustomCodeRegions: false
3738
enableMCPServer: true

.speakeasy/tests.arazzo.yaml

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50745,3 +50745,142 @@ workflows:
5074550745
}
5074650746
type: simple
5074750747
x-speakeasy-test-group: customObjects
50748+
- workflowId: accounting.categoriesAll
50749+
steps:
50750+
- stepId: test
50751+
operationId: accounting.categoriesAll
50752+
parameters:
50753+
- name: raw
50754+
in: query
50755+
value: false
50756+
- name: limit
50757+
in: query
50758+
value: 20
50759+
- name: fields
50760+
in: query
50761+
value: id,updated_at
50762+
- name: x-apideck-consumer-id
50763+
in: header
50764+
value: test-consumer
50765+
- name: x-apideck-app-id
50766+
in: header
50767+
value: dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
50768+
- name: x-apideck-service-id
50769+
in: header
50770+
value: salesforce
50771+
successCriteria:
50772+
- condition: $statusCode == 200
50773+
- condition: $response.header.Content-Type == application/json
50774+
- context: $response.body
50775+
condition: |
50776+
{
50777+
"status_code": 200,
50778+
"status": "OK",
50779+
"service": "xero",
50780+
"resource": "categories",
50781+
"operation": "all",
50782+
"data": [
50783+
{
50784+
"id": "12345",
50785+
"name": "Insurance",
50786+
"status": "active",
50787+
"row_version": "1-12345",
50788+
"updated_by": "12345",
50789+
"created_by": "12345",
50790+
"updated_at": "2020-09-30T07:43:32.000Z",
50791+
"created_at": "2020-09-30T07:43:32.000Z",
50792+
"pass_through": [
50793+
{
50794+
"service_id": "\u003cid\u003e",
50795+
"extend_paths": [
50796+
{
50797+
"path": "$.nested.property",
50798+
"value": {
50799+
"TaxClassificationRef": {
50800+
"value": "EUC-99990201-V1-00020000"
50801+
}
50802+
}
50803+
}
50804+
]
50805+
}
50806+
]
50807+
}
50808+
],
50809+
"meta": {
50810+
"items_on_page": 50,
50811+
"cursors": {
50812+
"previous": "em9oby1jcm06OnBhZ2U6OjE=",
50813+
"current": "em9oby1jcm06OnBhZ2U6OjI=",
50814+
"next": "em9oby1jcm06OnBhZ2U6OjM="
50815+
}
50816+
},
50817+
"links": {
50818+
"previous": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D",
50819+
"current": "https://unify.apideck.com/crm/companies",
50820+
"next": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM"
50821+
}
50822+
}
50823+
type: simple
50824+
x-speakeasy-test-group: categories
50825+
- workflowId: accounting.categoriesOne
50826+
steps:
50827+
- stepId: test
50828+
operationId: accounting.categoriesOne
50829+
parameters:
50830+
- name: id
50831+
in: path
50832+
value: <id>
50833+
- name: raw
50834+
in: query
50835+
value: false
50836+
- name: fields
50837+
in: query
50838+
value: id,updated_at
50839+
- name: x-apideck-consumer-id
50840+
in: header
50841+
value: test-consumer
50842+
- name: x-apideck-app-id
50843+
in: header
50844+
value: dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
50845+
- name: x-apideck-service-id
50846+
in: header
50847+
value: salesforce
50848+
successCriteria:
50849+
- condition: $statusCode == 200
50850+
- condition: $response.header.Content-Type == application/json
50851+
- context: $response.body
50852+
condition: |
50853+
{
50854+
"status_code": 200,
50855+
"status": "OK",
50856+
"service": "xero",
50857+
"resource": "categories",
50858+
"operation": "one",
50859+
"data": {
50860+
"id": "12345",
50861+
"name": "Insurance",
50862+
"status": "active",
50863+
"row_version": "1-12345",
50864+
"updated_by": "12345",
50865+
"created_by": "12345",
50866+
"updated_at": "2020-09-30T07:43:32.000Z",
50867+
"created_at": "2020-09-30T07:43:32.000Z",
50868+
"pass_through": [
50869+
{
50870+
"service_id": "\u003cid\u003e",
50871+
"extend_paths": [
50872+
{
50873+
"path": "$.nested.property",
50874+
"value": {
50875+
"TaxClassificationRef": {
50876+
"value": "EUC-99990201-V1-00020000"
50877+
}
50878+
}
50879+
}
50880+
]
50881+
}
50882+
]
50883+
}
50884+
}
50885+
type: simple
50886+
x-speakeasy-test-group: categories

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.563.0
1+
speakeasyVersion: 1.568.0
22
sources:
33
Apideck-OAS:
44
sourceNamespace: apideck-oas
5-
sourceRevisionDigest: sha256:30a4a7f134f565cfa404ae3639a4e741733d49c594876bff7e028529dbb6cbe7
6-
sourceBlobDigest: sha256:da160008e1629f9dbfa8d0d8acbb053c738ccc16c7a64d5143346388a945cfae
5+
sourceRevisionDigest: sha256:1c8d9b555f42127c32f851755868bb02aa0ca3c3468d7eae963e947624fe92ae
6+
sourceBlobDigest: sha256:4043c2e85efddd3fe9a763fb5532060aa249d5b3437f4df8555ed3ae4f97f795
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1749932062
10-
- 10.17.2
9+
- speakeasy-sdk-regen-1750063235
10+
- 10.18.0
1111
targets:
1212
apideck:
1313
source: Apideck-OAS
1414
sourceNamespace: apideck-oas
15-
sourceRevisionDigest: sha256:30a4a7f134f565cfa404ae3639a4e741733d49c594876bff7e028529dbb6cbe7
16-
sourceBlobDigest: sha256:da160008e1629f9dbfa8d0d8acbb053c738ccc16c7a64d5143346388a945cfae
15+
sourceRevisionDigest: sha256:1c8d9b555f42127c32f851755868bb02aa0ca3c3468d7eae963e947624fe92ae
16+
sourceBlobDigest: sha256:4043c2e85efddd3fe9a763fb5532060aa249d5b3437f4df8555ed3ae4f97f795
1717
codeSamplesNamespace: apideck-oas-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:644e505a494075db837484d7cd4f5016d6f7acfe3512edfa1407f159085b6e0d
18+
codeSamplesRevisionDigest: sha256:275c9c1f2611499df935e5841479ee06c21ecdb182fc68e8b57f20b398687ffd
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ run();
181181
* [update](docs/sdks/bills/README.md#update) - Update Bill
182182
* [delete](docs/sdks/bills/README.md#delete) - Delete Bill
183183

184+
#### [accounting.categories](docs/sdks/categories/README.md)
185+
186+
* [list](docs/sdks/categories/README.md#list) - List Categories
187+
* [get](docs/sdks/categories/README.md#get) - Get Category
188+
184189
#### [accounting.companyInfo](docs/sdks/companyinfo/README.md)
185190

186191
* [get](docs/sdks/companyinfo/README.md#get) - Get company info
@@ -732,6 +737,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
732737
- [`accountingBillsGet`](docs/sdks/bills/README.md#get) - Get Bill
733738
- [`accountingBillsList`](docs/sdks/bills/README.md#list) - List Bills
734739
- [`accountingBillsUpdate`](docs/sdks/bills/README.md#update) - Update Bill
740+
- [`accountingCategoriesGet`](docs/sdks/categories/README.md#get) - Get Category
741+
- [`accountingCategoriesList`](docs/sdks/categories/README.md#list) - List Categories
735742
- [`accountingCompanyInfoGet`](docs/sdks/companyinfo/README.md#get) - Get company info
736743
- [`accountingCreditNotesCreate`](docs/sdks/creditnotes/README.md#create) - Create Credit Note
737744
- [`accountingCreditNotesDelete`](docs/sdks/creditnotes/README.md#delete) - Delete Credit Note

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,4 +328,14 @@ Based on:
328328
### Generated
329329
- [typescript v0.25.1] .
330330
### Releases
331-
- [NPM v0.25.1] https://www.npmjs.com/package/@apideck/unify/v/0.25.1 - .
331+
- [NPM v0.25.1] https://www.npmjs.com/package/@apideck/unify/v/0.25.1 - .
332+
333+
## 2025-06-23 00:02:48
334+
### Changes
335+
Based on:
336+
- OpenAPI Doc
337+
- Speakeasy CLI 1.568.0 (2.632.2) https://github.com/speakeasy-api/speakeasy
338+
### Generated
339+
- [typescript v0.26.0] .
340+
### Releases
341+
- [NPM v0.26.0] https://www.npmjs.com/package/@apideck/unify/v/0.26.0 - .

docs/models/components/bill.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let value: Bill = {
1919
dueDate: new RFCDate("2020-10-30"),
2020
paidDate: new RFCDate("2020-10-30"),
2121
poNumber: "90000117",
22-
reference: "123456",
22+
reference: "INV-2024-001",
2323
lineItems: [
2424
{
2525
id: "12345",
@@ -156,7 +156,7 @@ let value: Bill = {
156156
| `dueDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The due date is the date on which a payment is scheduled to be received - YYYY-MM-DD. | 2020-10-30 |
157157
| `paidDate` | [RFCDate](../../types/rfcdate.md) | :heavy_minus_sign: | The paid date is the date on which a payment was sent to the supplier - YYYY-MM-DD. | 2020-10-30 |
158158
| `poNumber` | *string* | :heavy_minus_sign: | A PO Number uniquely identifies a purchase order and is generally defined by the buyer. The buyer will match the PO number in the invoice to the Purchase Order. | 90000117 |
159-
| `reference` | *string* | :heavy_minus_sign: | Optional bill reference. | 123456 |
159+
| `reference` | *string* | :heavy_minus_sign: | Optional reference identifier for the transaction. | INV-2024-001 |
160160
| `lineItems` | [components.BillLineItem](../../models/components/billlineitem.md)[] | :heavy_minus_sign: | N/A | |
161161
| `terms` | *string* | :heavy_minus_sign: | Terms of payment. | Net 30 days |
162162
| `balance` | *number* | :heavy_minus_sign: | Balance of bill due. | 27500 |

0 commit comments

Comments
 (0)