Skip to content

Commit

Permalink
Merge pull request #4 from apideck-libraries/speakeasy-sdk-regen-1733…
Browse files Browse the repository at this point in the history
…502126

chore: 🐝 Update SDK - Generate 0.11.5
  • Loading branch information
Amzani authored Dec 6, 2024
2 parents f1b2130 + 637446c commit f42a1e5
Show file tree
Hide file tree
Showing 61 changed files with 662 additions and 147 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/react-query
/models
/models/errors
/types
Expand Down
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
**/*
!/FUNCTIONS.md
!/RUNTIMES.md
!/REACT_QUERY.md
!/**/*.ts
!/**/*.js
!/**/*.map
Expand Down
24 changes: 16 additions & 8 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 7bffa198-5d29-4efa-9942-d549cc832085
management:
docChecksum: 04f7a68234ccb558106e0c6d7e7c1310
docVersion: 10.8.1
speakeasyVersion: 1.448.2
generationVersion: 2.467.4
releaseVersion: 0.11.4
configChecksum: 16e18f8f47040cad20cf3febc7f006f5
docChecksum: 5a3c61710af05ae5c21380b118217322
docVersion: 10.8.3
speakeasyVersion: 1.453.0
generationVersion: 2.472.1
releaseVersion: 0.11.5
configChecksum: d9ffa28acce0e0234fa93ee06ae8a376
repoURL: https://github.com/apideck-libraries/sdk-typescript.git
installationURL: https://github.com/apideck-libraries/sdk-typescript
published: true
Expand All @@ -15,7 +15,7 @@ features:
acceptHeaders: 2.81.2
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.11
core: 3.18.7
core: 3.18.8
deepObjectParams: 0.1.0
defaultEnabledRetries: 0.1.0
deprecations: 2.81.1
Expand Down Expand Up @@ -353,6 +353,7 @@ generatedFiles:
- docs/models/components/expenseinput.md
- docs/models/components/expenselineitem.md
- docs/models/components/expenselineiteminput.md
- docs/models/components/expensepaymenttype.md
- docs/models/components/expenses.md
- docs/models/components/expensetype.md
- docs/models/components/extendpaths.md
Expand Down Expand Up @@ -502,11 +503,14 @@ generatedFiles:
- docs/models/components/invoice.md
- docs/models/components/invoiceinput.md
- docs/models/components/invoiceitem.md
- docs/models/components/invoiceitemfilter.md
- docs/models/components/invoiceitemfilterinvoiceitemtype.md
- docs/models/components/invoiceiteminput.md
- docs/models/components/invoiceitempurchasedetails.md
- docs/models/components/invoiceitemsalesdetails.md
- docs/models/components/invoiceitemsfilter.md
- docs/models/components/invoiceitemtype.md
- docs/models/components/invoiceitemtypetype.md
- docs/models/components/invoicelineitem.md
- docs/models/components/invoicelineiteminput.md
- docs/models/components/invoicelineitemtype.md
Expand Down Expand Up @@ -540,6 +544,7 @@ generatedFiles:
- docs/models/components/ledgeraccountsfilter.md
- docs/models/components/ledgeraccountssort.md
- docs/models/components/ledgeraccountssortby.md
- docs/models/components/ledgeraccountsubsidiaries.md
- docs/models/components/ledgeraccounttype.md
- docs/models/components/linkedconnectorresource.md
- docs/models/components/linkedcustomer.md
Expand Down Expand Up @@ -693,6 +698,7 @@ generatedFiles:
- docs/models/components/trackingcategory.md
- docs/models/components/trackingcategoryinput.md
- docs/models/components/trackingcategorystatus.md
- docs/models/components/trackingcategorysubsidiaries.md
- docs/models/components/trackingitem.md
- docs/models/components/type.md
- docs/models/components/unexpectederrorresponse.md
Expand Down Expand Up @@ -2275,6 +2281,7 @@ generatedFiles:
- src/models/components/integrationstate.ts
- src/models/components/invoice.ts
- src/models/components/invoiceitem.ts
- src/models/components/invoiceitemfilter.ts
- src/models/components/invoiceitemsfilter.ts
- src/models/components/invoicelineitem.ts
- src/models/components/invoiceresponse.ts
Expand Down Expand Up @@ -3329,7 +3336,7 @@ examples:
"":
parameters:
query:
filter: {"name": "Widgets Large"}
filter: {"name": "Widgets Large", "type": "service"}
pass_through: {"search": "San Francisco"}
fields: "id,updated_at"
header:
Expand Down Expand Up @@ -3383,6 +3390,7 @@ examples:
id: "<id>"
query:
fields: "id,updated_at"
filter: {"type": "service"}
header:
x-apideck-consumer-id: "test-consumer"
x-apideck-app-id: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
typescript:
version: 0.11.4
version: 0.11.5
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
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.448.2
speakeasyVersion: 1.453.0
sources:
Apideck-OAS:
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:90d69058c46ac0c2802fb58ecda38db61a8b5c12b2a951eedd59d5e2ba690e6f
sourceBlobDigest: sha256:c3ee1e7fee0a43d2700c1bad102e747820d3e74509b9ab3f5d080b9018935ce7
sourceRevisionDigest: sha256:6c79f2ed431d1007fac0742b7fddeeacfad65e2d5f36065275f6a1bd62c4c1e4
sourceBlobDigest: sha256:c78223a6f6e3fb5b1d9f0d663d8bd72bf35ecc3ed8435dd81561c45569a9f642
tags:
- latest
- speakeasy-sdk-regen-1732805012
- 10.8.1
- speakeasy-sdk-regen-1733502126
- 10.8.3
targets:
apideck:
source: Apideck-OAS
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:90d69058c46ac0c2802fb58ecda38db61a8b5c12b2a951eedd59d5e2ba690e6f
sourceBlobDigest: sha256:c3ee1e7fee0a43d2700c1bad102e747820d3e74509b9ab3f5d080b9018935ce7
sourceRevisionDigest: sha256:6c79f2ed431d1007fac0742b7fddeeacfad65e2d5f36065275f6a1bd62c4c1e4
sourceBlobDigest: sha256:c78223a6f6e3fb5b1d9f0d663d8bd72bf35ecc3ed8435dd81561c45569a9f642
codeSamplesNamespace: apideck-oas-typescript-code-samples
codeSamplesRevisionDigest: sha256:07feae5750436ea22e16691607d99a77fc9f0e86b32f61c06ba670e6fcbdcc1c
codeSamplesRevisionDigest: sha256:7406b39dd6b8dad97bfd424e9c54d1b70df2e8f3167e65d24fa2b70998e3f77c
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1280,9 +1280,9 @@ const sdk = new Apideck({ httpClient });

This SDK supports the following security scheme globally:

| Name | Type | Scheme | Environment Variable |
| -------- | ------ | ------- | -------------------- |
| `apiKey` | apiKey | API key | `APIDECK_API_KEY` |
| Name | Type | Scheme | Environment Variable |
| -------- | ---- | ----------- | -------------------- |
| `apiKey` | http | HTTP Bearer | `APIDECK_API_KEY` |

To authenticate with the API the `apiKey` parameter must be set when initializing the SDK client instance. For example:
```typescript
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,14 @@ Based on:
### Generated
- [typescript v0.11.4] .
### Releases
- [NPM v0.11.4] https://www.npmjs.com/package/@apideck/unify/v/0.11.4 - .
- [NPM v0.11.4] https://www.npmjs.com/package/@apideck/unify/v/0.11.4 - .

## 2024-12-06 16:22:01
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.453.0 (2.472.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.11.5] .
### Releases
- [NPM v0.11.5] https://www.npmjs.com/package/@apideck/unify/v/0.11.5 - .
2 changes: 2 additions & 0 deletions docs/models/components/expense.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ let value: Expense = {
supplierId: "12345",
companyId: "12345",
departmentId: "12345",
paymentType: "cash",
currency: "USD",
currencyRate: 0.69,
type: "expense",
Expand Down Expand Up @@ -92,6 +93,7 @@ let value: Expense = {
| `supplierId` | *string* | :heavy_minus_sign: | The ID of the supplier this entity is linked to. | 12345 |
| `companyId` | *string* | :heavy_minus_sign: | The company or subsidiary id the transaction belongs to | 12345 |
| `departmentId` | *string* | :heavy_minus_sign: | The ID of the department this expense is linked to. | 12345 |
| `paymentType` | [components.ExpensePaymentType](../../models/components/expensepaymenttype.md) | :heavy_minus_sign: | The type of payment for the expense. | cash |
| `currency` | [components.Currency](../../models/components/currency.md) | :heavy_minus_sign: | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). | USD |
| `currencyRate` | *number* | :heavy_minus_sign: | Currency Exchange Rate at the time entity was recorded/generated. | 0.69 |
| `type` | [components.ExpenseType](../../models/components/expensetype.md) | :heavy_minus_sign: | The type of expense. | expense |
Expand Down
2 changes: 2 additions & 0 deletions docs/models/components/expenseinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ let value: ExpenseInput = {
supplierId: "12345",
companyId: "12345",
departmentId: "12345",
paymentType: "cash",
currency: "USD",
currencyRate: 0.69,
type: "expense",
Expand Down Expand Up @@ -83,6 +84,7 @@ let value: ExpenseInput = {
| `supplierId` | *string* | :heavy_minus_sign: | The ID of the supplier this entity is linked to. | 12345 |
| `companyId` | *string* | :heavy_minus_sign: | The company or subsidiary id the transaction belongs to | 12345 |
| `departmentId` | *string* | :heavy_minus_sign: | The ID of the department this expense is linked to. | 12345 |
| `paymentType` | [components.ExpensePaymentType](../../models/components/expensepaymenttype.md) | :heavy_minus_sign: | The type of payment for the expense. | cash |
| `currency` | [components.Currency](../../models/components/currency.md) | :heavy_minus_sign: | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). | USD |
| `currencyRate` | *number* | :heavy_minus_sign: | Currency Exchange Rate at the time entity was recorded/generated. | 0.69 |
| `type` | [components.ExpenseType](../../models/components/expensetype.md) | :heavy_minus_sign: | The type of expense. | expense |
Expand Down
17 changes: 17 additions & 0 deletions docs/models/components/expensepaymenttype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ExpensePaymentType

The type of payment for the expense.

## Example Usage

```typescript
import { ExpensePaymentType } from "@apideck/unify/models/components";

let value: ExpensePaymentType = "cash";
```

## Values

```typescript
"cash" | "check" | "credit_card"
```
1 change: 1 addition & 0 deletions docs/models/components/getexpenseresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ let value: GetExpenseResponse = {
supplierId: "12345",
companyId: "12345",
departmentId: "12345",
paymentType: "cash",
currency: "USD",
currencyRate: 0.69,
type: "expense",
Expand Down
1 change: 1 addition & 0 deletions docs/models/components/getexpensesresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ let value: GetExpensesResponse = {
supplierId: "12345",
companyId: "12345",
departmentId: "12345",
paymentType: "cash",
currency: "USD",
currencyRate: 0.69,
type: "expense",
Expand Down
1 change: 1 addition & 0 deletions docs/models/components/getsupplierresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ let value: GetSupplierResponse = {
],
},
],
subsidiaryId: "12345",
},
};
```
Expand Down
1 change: 1 addition & 0 deletions docs/models/components/getsuppliersresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ let value: GetSuppliersResponse = {
],
},
],
subsidiaryId: "12345",
},
],
meta: {
Expand Down
Loading

0 comments on commit f42a1e5

Please sign in to comment.