Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 🐝 Update SDK - Generate 0.20.0 #34

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
25 changes: 15 additions & 10 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: d7135fd6bec8d864fcc4b9f14f36dfd2
docVersion: 10.11.5
speakeasyVersion: 1.509.1
generationVersion: 2.539.1
releaseVersion: 0.19.0
configChecksum: faa8706fd635903aaaff572e42295a7e
docChecksum: 73baf77bf46d8d4a97ef6c99e712aa7a
docVersion: 10.12.0
speakeasyVersion: 1.513.4
generationVersion: 2.545.4
releaseVersion: 0.20.0
configChecksum: 88b59e3a20bed9bb07370061c694a1f0
repoURL: https://github.com/apideck-libraries/sdk-typescript.git
installationURL: https://github.com/apideck-libraries/sdk-typescript
published: true
Expand Down Expand Up @@ -176,6 +176,7 @@ generatedFiles:
- docs/models/components/contactssort.md
- docs/models/components/contactssortby.md
- docs/models/components/copyfolderrequest.md
- docs/models/components/costofgoodssold.md
- docs/models/components/coverage.md
- docs/models/components/createaccountingdepartmentresponse.md
- docs/models/components/createaccountinglocationresponse.md
Expand Down Expand Up @@ -492,7 +493,6 @@ generatedFiles:
- docs/models/components/getwebhookeventlogsresponse.md
- docs/models/components/getwebhookresponse.md
- docs/models/components/getwebhooksresponse.md
- docs/models/components/grossprofit.md
- docs/models/components/hriscompany.md
- docs/models/components/hriscompanyinput.md
- docs/models/components/hriscompanystatus.md
Expand Down Expand Up @@ -576,8 +576,6 @@ generatedFiles:
- docs/models/components/messagetype.md
- docs/models/components/meta.md
- docs/models/components/mode.md
- docs/models/components/netincome.md
- docs/models/components/netoperatingincome.md
- docs/models/components/note.md
- docs/models/components/noteinput.md
- docs/models/components/notes.md
Expand All @@ -594,6 +592,8 @@ generatedFiles:
- docs/models/components/options.md
- docs/models/components/orderssort.md
- docs/models/components/orderssortby.md
- docs/models/components/otherexpenses.md
- docs/models/components/otherincome.md
- docs/models/components/outstandingbalancebycurrency.md
- docs/models/components/outstandingbalancebycustomer.md
- docs/models/components/owner.md
Expand Down Expand Up @@ -626,6 +626,8 @@ generatedFiles:
- docs/models/components/productstatus.md
- docs/models/components/profitandloss.md
- docs/models/components/profitandlossfilter.md
- docs/models/components/profitandlossindicator.md
- docs/models/components/profitandlosstype.md
- docs/models/components/purchasedetails.md
- docs/models/components/purchaseorder.md
- docs/models/components/purchaseorderinput.md
Expand Down Expand Up @@ -704,6 +706,7 @@ generatedFiles:
- docs/models/components/trackingitem.md
- docs/models/components/transactiontype.md
- docs/models/components/type.md
- docs/models/components/uncategorizedaccounts.md
- docs/models/components/unexpectederrorresponse.md
- docs/models/components/unifiedapi.md
- docs/models/components/unifiedapiid.md
Expand Down Expand Up @@ -2350,6 +2353,8 @@ generatedFiles:
- src/models/components/pipeline.ts
- src/models/components/profitandloss.ts
- src/models/components/profitandlossfilter.ts
- src/models/components/profitandlossindicator.ts
- src/models/components/profitandlosstype.ts
- src/models/components/purchaseorder.ts
- src/models/components/purchaseordersfilter.ts
- src/models/components/purchaseorderssort.ts
Expand Down Expand Up @@ -4099,7 +4104,7 @@ examples:
x-apideck-service-id: "salesforce"
responses:
"200":
application/json: {"status_code": 200, "status": "OK", "service": "quickbooks", "resource": "ProfitAndLosses", "operation": "one", "data": {"id": "12345", "report_name": "ProfitAndLoss", "start_date": "2017-01-01", "end_date": "2017-01-01", "currency": "USD", "customer_id": "123", "income": {"total": 200000, "records": [{"id": "123", "name": "Income 1", "amount": 10000}, {"id": "456", "name": "Income 2", "amount": 20000}]}, "expenses": {"total": 200000, "records": [{"id": "123", "name": "Expense 1", "amount": 10000}, {"id": "456", "name": "Expense 2", "amount": 20000}]}, "net_income": {"total": 200000, "records": "<value>"}, "net_operating_income": {"total": 200000, "records": "<value>"}, "gross_profit": {"total": 200000, "records": "<value>"}}}
application/json: {"status_code": 200, "status": "OK", "service": "quickbooks", "resource": "ProfitAndLosses", "operation": "one", "data": {"id": "12345", "report_name": "ProfitAndLoss", "start_date": "2017-01-01", "end_date": "2017-01-01", "currency": "USD", "income": {"total": 200000, "records": [{"id": "123", "name": "Income 1", "amount": 10000}, {"id": "456", "name": "Income 2", "amount": 20000}]}, "expenses": {"total": 200000, "records": [{"id": "123", "name": "Expense 1", "amount": 10000}, {"id": "456", "name": "Expense 2", "amount": 20000}]}, "gross_profit": {"total": 200000}, "net_operating_income": {"total": 200000}, "net_income": {"total": 200000}}}
"400":
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestValidationError", "message": "Invalid Params", "detail": {"missing": [{"foobar": "required"}]}, "ref": "https://developers.apideck.com/errors#requestvalidationerror"}
"401":
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
typescript:
version: 0.19.0
version: 0.20.0
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.509.1
speakeasyVersion: 1.513.4
sources:
Apideck-OAS:
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:a6205b8659fe78fa5eee0d387eef22f9f74164304eadc576dca509c5f03bbfa4
sourceBlobDigest: sha256:bcc9052e5d994235fbc82c15690f4d19964df7f8c003a1012a6aefe37ab6f71a
sourceRevisionDigest: sha256:7c5350aa7c28a7e1b01f502bcd1e8c525f505834235245fc4c7b9ebb9cb13031
sourceBlobDigest: sha256:f78bfa368ce30eb48b2a5eead35106db178ba10ef4324e257812c821af72f8b1
tags:
- latest
- speakeasy-sdk-regen-1740649257
- 10.11.5
- speakeasy-sdk-regen-1741187365
- 10.12.0
targets:
apideck:
source: Apideck-OAS
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:a6205b8659fe78fa5eee0d387eef22f9f74164304eadc576dca509c5f03bbfa4
sourceBlobDigest: sha256:bcc9052e5d994235fbc82c15690f4d19964df7f8c003a1012a6aefe37ab6f71a
sourceRevisionDigest: sha256:7c5350aa7c28a7e1b01f502bcd1e8c525f505834235245fc4c7b9ebb9cb13031
sourceBlobDigest: sha256:f78bfa368ce30eb48b2a5eead35106db178ba10ef4324e257812c821af72f8b1
codeSamplesNamespace: apideck-oas-typescript-code-samples
codeSamplesRevisionDigest: sha256:a85ae079b55eb07c362a0b1bd7c9b0e8ff687b349167522c3982ee7f9bd820f0
codeSamplesRevisionDigest: sha256:2552a5f457cd27a63f1768f20907fbc0a7c13a7719910c0bb2049edf156f1d44
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,14 @@ Based on:
### Generated
- [typescript v0.19.0] .
### Releases
- [NPM v0.19.0] https://www.npmjs.com/package/@apideck/unify/v/0.19.0 - .
- [NPM v0.19.0] https://www.npmjs.com/package/@apideck/unify/v/0.19.0 - .

## 2025-03-09 00:02:10
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.513.4 (2.545.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.20.0] .
### Releases
- [NPM v0.20.0] https://www.npmjs.com/package/@apideck/unify/v/0.20.0 - .
37 changes: 37 additions & 0 deletions docs/models/components/costofgoodssold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# CostOfGoodsSold

The cost of goods sold accounts

## Example Usage

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

let value: CostOfGoodsSold = {
id: "123",
code: "123",
title: "Cost of Goods Sold",
type: "Section",
total: 12000,
records: [
{
"id": "123",
"code": "123",
"title": "COGS Sales",
"type": "Record",
"total": 12000,
},
],
};
```

## Fields

| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| `id` | *string* | :heavy_minus_sign: | A unique identifier for an object. | 12345 |
| `code` | *string* | :heavy_minus_sign: | The account code of the account | 1100 |
| `title` | *string* | :heavy_minus_sign: | The name of the account. | Current assets |
| `type` | [components.ProfitAndLossType](../../models/components/profitandlosstype.md) | :heavy_minus_sign: | The type of profit and loss | Section |
| `total` | *number* | :heavy_check_mark: | The total amount of the transaction | 49.99 |
| `records` | *any* | :heavy_check_mark: | N/A | |
59 changes: 48 additions & 11 deletions docs/models/components/expenses.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,67 @@
# Expenses

The operating expenses accounts

## Example Usage

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

let value: Expenses = {
total: 200000,
id: "123",
code: "123",
title: "Operating Expenses",
type: "Section",
total: 14000,
records: [
{
"id": "123",
"name": "Expense 1",
"amount": 10000,
"id": "137",
"title": "Maintenance",
"code": "137",
"type": "Record",
"total": 1000,
},
{
"id": "138",
"title": "Rent",
"code": "138",
"type": "Record",
"total": 10000,
},
{
"id": "456",
"name": "Expense 2",
"amount": 20000,
"id": "789",
"code": "789",
"title": "Utilities",
"type": "Section",
"total": 3000,
"records": [
{
"id": "101",
"code": "101",
"title": "Electricity",
"type": "Record",
"total": 2000,
},
{
"id": "102",
"code": "102",
"title": "Telephone",
"type": "Record",
"total": 1000,
},
],
},
],
};
```

## Fields

| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `total` | *number* | :heavy_check_mark: | Total expense | 100000 |
| `records` | *any* | :heavy_check_mark: | N/A | |
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| `id` | *string* | :heavy_minus_sign: | A unique identifier for an object. | 12345 |
| `code` | *string* | :heavy_minus_sign: | The account code of the account | 1100 |
| `title` | *string* | :heavy_minus_sign: | The name of the account. | Current assets |
| `type` | [components.ProfitAndLossType](../../models/components/profitandlosstype.md) | :heavy_minus_sign: | The type of profit and loss | Section |
| `total` | *number* | :heavy_check_mark: | The total amount of the transaction | 49.99 |
| `records` | *any* | :heavy_check_mark: | N/A | |
Loading