diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index ee5c00a6..474df30a 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 7bffa198-5d29-4efa-9942-d549cc832085 management: - docChecksum: 37075682a3ec50b147e5d33dd5c7eeb9 - docVersion: 10.21.12 - speakeasyVersion: 1.651.0 - generationVersion: 2.745.2 - releaseVersion: 0.34.2 - configChecksum: 49893b3b96431a527103bc11540a05f1 + docChecksum: 710d40ace875434335a7930caf194d56 + docVersion: 10.21.13 + speakeasyVersion: 1.653.0 + generationVersion: 2.748.0 + releaseVersion: 0.34.3 + configChecksum: f49985873d6068152a46d0a769b17d92 repoURL: https://github.com/apideck-libraries/sdk-typescript.git installationURL: https://github.com/apideck-libraries/sdk-typescript published: true @@ -16,7 +16,7 @@ features: additionalDependencies: 0.1.0 additionalProperties: 0.1.2 constsAndDefaults: 0.1.12 - core: 3.26.3 + core: 3.26.4 deepObjectParams: 0.1.0 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 @@ -7792,7 +7792,7 @@ examples: x-apideck-app-id: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" x-apideck-service-id: "salesforce" requestBody: - application/json: {"parent_id": "12345", "name": "SpaceX", "display_id": "12345", "status": "active", "currencies": ["USD"], "row_version": "1-12345", "pass_through": [{"service_id": "", "extend_paths": [{"path": "$.nested.property", "value": {"TaxClassificationRef": {"value": "EUC-99990201-V1-00020000"}}}]}]} + application/json: {"parent_id": "12345", "name": "SpaceX", "display_id": "12345", "status": "active", "address": {"id": "123", "type": "primary", "string": "25 Spring Street, Blackburn, VIC 3130", "name": "HQ US", "line1": "Main street", "line2": "apt #", "line3": "Suite #", "line4": "delivery instructions", "line5": "Attention: Finance Dept", "street_number": "25", "city": "San Francisco", "state": "CA", "postal_code": "94104", "country": "US", "latitude": "40.759211", "longitude": "-73.984638", "county": "Santa Clara", "contact_name": "Elon Musk", "salutation": "Mr", "phone_number": "111-111-1111", "fax": "122-111-1111", "email": "elon@musk.com", "website": "https://elonmusk.com", "notes": "Address notes or delivery instructions.", "row_version": "1-12345"}, "currencies": ["USD"], "row_version": "1-12345", "pass_through": [{"service_id": "", "extend_paths": [{"path": "$.nested.property", "value": {"TaxClassificationRef": {"value": "EUC-99990201-V1-00020000"}}}]}]} responses: "201": application/json: {"status_code": 200, "status": "OK", "service": "quickbooks", "resource": "subsidiaries", "operation": "add", "data": {"id": "12345"}} @@ -7848,7 +7848,7 @@ examples: x-apideck-service-id: "salesforce" responses: "200": - application/json: {"status_code": 200, "status": "OK", "service": "xero", "resource": "subsidiaries", "operation": "one", "data": {"id": "12345", "parent_id": "12345", "name": "SpaceX", "display_id": "12345", "status": "active", "currencies": ["USD"], "row_version": "1-12345", "updated_by": "12345", "created_by": "12345", "updated_at": "2020-09-30T07:43:32.000Z", "created_at": "2020-09-30T07:43:32.000Z", "pass_through": [{"service_id": "", "extend_paths": [{"path": "$.nested.property", "value": {"TaxClassificationRef": {"value": "EUC-99990201-V1-00020000"}}}]}]}} + application/json: {"status_code": 200, "status": "OK", "service": "xero", "resource": "subsidiaries", "operation": "one", "data": {"id": "12345", "parent_id": "12345", "name": "SpaceX", "display_id": "12345", "status": "active", "address": {"id": "123", "type": "primary", "string": "25 Spring Street, Blackburn, VIC 3130", "name": "HQ US", "line1": "Main street", "line2": "apt #", "line3": "Suite #", "line4": "delivery instructions", "line5": "Attention: Finance Dept", "street_number": "25", "city": "San Francisco", "state": "CA", "postal_code": "94104", "country": "US", "latitude": "40.759211", "longitude": "-73.984638", "county": "Santa Clara", "contact_name": "Elon Musk", "salutation": "Mr", "phone_number": "111-111-1111", "fax": "122-111-1111", "email": "elon@musk.com", "website": "https://elonmusk.com", "notes": "Address notes or delivery instructions.", "row_version": "1-12345"}, "currencies": ["USD"], "row_version": "1-12345", "updated_by": "12345", "created_by": "12345", "updated_at": "2020-09-30T07:43:32.000Z", "created_at": "2020-09-30T07:43:32.000Z", "pass_through": [{"service_id": "", "extend_paths": [{"path": "$.nested.property", "value": {"TaxClassificationRef": {"value": "EUC-99990201-V1-00020000"}}}]}]}} "400": application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestValidationError", "message": "Invalid Params", "detail": "Missing property foobar", "ref": "https://developers.apideck.com/errors#requestvalidationerror"} "401": @@ -7900,7 +7900,7 @@ examples: x-apideck-app-id: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" x-apideck-service-id: "salesforce" requestBody: - application/json: {"parent_id": "12345", "name": "SpaceX", "display_id": "12345", "status": "active", "currencies": ["USD"], "row_version": "1-12345", "pass_through": [{"service_id": "", "extend_paths": [{"path": "$.nested.property", "value": {"TaxClassificationRef": {"value": "EUC-99990201-V1-00020000"}}}]}]} + application/json: {"parent_id": "12345", "name": "SpaceX", "display_id": "12345", "status": "active", "address": {"id": "123", "type": "primary", "string": "25 Spring Street, Blackburn, VIC 3130", "name": "HQ US", "line1": "Main street", "line2": "apt #", "line3": "Suite #", "line4": "delivery instructions", "line5": "Attention: Finance Dept", "street_number": "25", "city": "San Francisco", "state": "CA", "postal_code": "94104", "country": "US", "latitude": "40.759211", "longitude": "-73.984638", "county": "Santa Clara", "contact_name": "Elon Musk", "salutation": "Mr", "phone_number": "111-111-1111", "fax": "122-111-1111", "email": "elon@musk.com", "website": "https://elonmusk.com", "notes": "Address notes or delivery instructions.", "row_version": "1-12345"}, "currencies": ["USD"], "row_version": "1-12345", "pass_through": [{"service_id": "", "extend_paths": [{"path": "$.nested.property", "value": {"TaxClassificationRef": {"value": "EUC-99990201-V1-00020000"}}}]}]} responses: "200": application/json: {"status_code": 200, "status": "OK", "service": "quickbooks", "resource": "subsidiaries", "operation": "update", "data": {"id": "12345"}} @@ -20413,3 +20413,4 @@ generatedTests: accounting.projectsOne: "2025-10-13T00:03:48Z" accounting.projectsUpdate: "2025-10-13T00:03:48Z" accounting.projectsDelete: "2025-10-13T00:03:48Z" +releaseNotes: "## Typescript SDK Changes Detected:\n* `apideck.accounting.subsidiaries.list()`: `response.data.[].address` **Added**\n* `apideck.accounting.subsidiaries.create()`: \n * `request.subsidiary.address` **Added**\n* `apideck.accounting.subsidiaries.get()`: `response.data.address` **Added**\n* `apideck.accounting.subsidiaries.update()`: \n * `request.subsidiary.address` **Added**\n" diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 817b32be..08c6e2a4 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -28,7 +28,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: false typescript: - version: 0.34.2 + version: 0.34.3 acceptHeaderEnum: true additionalDependencies: dependencies: {} diff --git a/.speakeasy/tests.arazzo.yaml b/.speakeasy/tests.arazzo.yaml index 1da4a7f2..9a3a8e88 100644 --- a/.speakeasy/tests.arazzo.yaml +++ b/.speakeasy/tests.arazzo.yaml @@ -50909,27 +50909,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "status_code": 200, - "status": "OK", - "service": "quickbooks", - "resource": "Quotes", - "operation": "all", - "data": [], - "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" - } - } + {"status_code":200,"status":"OK","service":"quickbooks","resource":"Quotes","operation":"all","data":[],"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: quotes x-speakeasy-test-rebuild: true @@ -51093,16 +51073,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "status_code": 200, - "status": "OK", - "service": "quickbooks", - "resource": "Quotes", - "operation": "add", - "data": { - "id": "12345" - } - } + {"status_code":200,"status":"OK","service":"quickbooks","resource":"Quotes","operation":"add","data":{"id":"12345"}} type: simple x-speakeasy-test-group: quotes x-speakeasy-test-rebuild: true @@ -51131,195 +51102,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "status_code": 200, - "status": "OK", - "service": "quickbooks", - "resource": "Quotes", - "operation": "one", - "data": { - "id": "12345", - "downstream_id": "12345", - "number": "QT00546", - "customer": { - "id": "12345", - "display_id": "CUST00101", - "display_name": "Windsurf Shop", - "company_name": "The boring company", - "email": "boring@boring.com" - }, - "invoice_id": "123456", - "sales_order_id": "123456", - "company_id": "12345", - "department_id": "12345", - "project_id": "12345", - "quote_date": "2020-09-30", - "expiry_date": "2020-10-30", - "terms": "Valid for 30 days", - "reference": "INV-2024-001", - "status": "draft", - "currency": "USD", - "currency_rate": 0.69, - "tax_inclusive": true, - "sub_total": 27500, - "total_tax": 2500, - "tax_code": "1234", - "discount_percentage": 5.5, - "discount_amount": 25, - "total": 27500, - "customer_memo": "Thank you for considering our services!", - "line_items": [ - { - "id": "12345", - "row_id": "12345", - "code": "120-C", - "line_number": 1, - "description": "Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.", - "type": "sales_item", - "tax_amount": 27500, - "total_amount": 27500, - "quantity": 1, - "unit_price": 27500.5, - "unit_of_measure": "pc.", - "discount_percentage": 0.01, - "discount_amount": 19.99, - "category_id": "12345", - "location_id": "12345", - "department_id": "12345", - "item": { - "id": "12344", - "code": "120-C", - "name": "Model Y" - }, - "tax_rate": { - "id": "123456", - "code": "N-T", - "name": "GST on Purchases", - "rate": 10 - }, - "tracking_categories": [ - { - "id": "123456", - "name": "New York", - "parent_id": "123456", - "parent_name": "New York" - } - ], - "ledger_account": { - "id": "123456", - "name": "Bank account", - "nominal_code": "N091", - "code": "453" - }, - "custom_fields": [ - { - "id": "2389328923893298", - "name": "employee_level", - "description": "Employee Level", - "value": "Uses Salesforce and Marketo" - } - ], - "row_version": "1-12345", - "updated_by": "12345", - "created_by": "12345", - "created_at": "2020-09-30T07:43:32.000Z", - "updated_at": "2020-09-30T07:43:32.000Z" - } - ], - "billing_address": { - "id": "123", - "type": "primary", - "string": "25 Spring Street, Blackburn, VIC 3130", - "name": "HQ US", - "line1": "Main street", - "line2": "apt #", - "line3": "Suite #", - "line4": "delivery instructions", - "line5": "Attention: Finance Dept", - "street_number": "25", - "city": "San Francisco", - "state": "CA", - "postal_code": "94104", - "country": "US", - "latitude": "40.759211", - "longitude": "-73.984638", - "county": "Santa Clara", - "contact_name": "Elon Musk", - "salutation": "Mr", - "phone_number": "111-111-1111", - "fax": "122-111-1111", - "email": "elon@musk.com", - "website": "https://elonmusk.com", - "notes": "Address notes or delivery instructions.", - "row_version": "1-12345" - }, - "shipping_address": { - "id": "123", - "type": "primary", - "string": "25 Spring Street, Blackburn, VIC 3130", - "name": "HQ US", - "line1": "Main street", - "line2": "apt #", - "line3": "Suite #", - "line4": "delivery instructions", - "line5": "Attention: Finance Dept", - "street_number": "25", - "city": "San Francisco", - "state": "CA", - "postal_code": "94104", - "country": "US", - "latitude": "40.759211", - "longitude": "-73.984638", - "county": "Santa Clara", - "contact_name": "Elon Musk", - "salutation": "Mr", - "phone_number": "111-111-1111", - "fax": "122-111-1111", - "email": "elon@musk.com", - "website": "https://elonmusk.com", - "notes": "Address notes or delivery instructions.", - "row_version": "1-12345" - }, - "tracking_categories": [ - { - "id": "123456", - "name": "New York", - "parent_id": "123456", - "parent_name": "New York" - } - ], - "template_id": "123456", - "source_document_url": "https://www.quotesolution.com/quote/123456", - "custom_fields": [ - { - "id": "2389328923893298", - "name": "employee_level", - "description": "Employee Level", - "value": "Uses Salesforce and Marketo" - } - ], - "row_version": "1-12345", - "updated_by": "12345", - "created_by": "12345", - "updated_at": "2020-09-30T07:43:32.000Z", - "created_at": "2020-09-30T07:43:32.000Z", - "pass_through": [ - { - "service_id": "\u003cid\u003e", - "extend_paths": [ - { - "path": "$.nested.property", - "value": { - "TaxClassificationRef": { - "value": "EUC-99990201-V1-00020000" - } - } - } - ] - } - ] - } - } + {"status_code":200,"status":"OK","service":"quickbooks","resource":"Quotes","operation":"one","data":{"id":"12345","downstream_id":"12345","number":"QT00546","customer":{"id":"12345","display_id":"CUST00101","display_name":"Windsurf Shop","company_name":"The boring company","email":"boring@boring.com"},"invoice_id":"123456","sales_order_id":"123456","company_id":"12345","department_id":"12345","project_id":"12345","quote_date":"2020-09-30","expiry_date":"2020-10-30","terms":"Valid for 30 days","reference":"INV-2024-001","status":"draft","currency":"USD","currency_rate":0.69,"tax_inclusive":true,"sub_total":27500,"total_tax":2500,"tax_code":"1234","discount_percentage":5.5,"discount_amount":25,"total":27500,"customer_memo":"Thank you for considering our services!","line_items":[{"id":"12345","row_id":"12345","code":"120-C","line_number":1,"description":"Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.","type":"sales_item","tax_amount":27500,"total_amount":27500,"quantity":1,"unit_price":27500.5,"unit_of_measure":"pc.","discount_percentage":0.01,"discount_amount":19.99,"category_id":"12345","location_id":"12345","department_id":"12345","item":{"id":"12344","code":"120-C","name":"Model Y"},"tax_rate":{"id":"123456","code":"N-T","name":"GST on Purchases","rate":10},"tracking_categories":[{"id":"123456","name":"New York","parent_id":"123456","parent_name":"New York"}],"ledger_account":{"id":"123456","name":"Bank account","nominal_code":"N091","code":"453"},"custom_fields":[{"id":"2389328923893298","name":"employee_level","description":"Employee Level","value":"Uses Salesforce and Marketo"}],"row_version":"1-12345","updated_by":"12345","created_by":"12345","created_at":"2020-09-30T07:43:32.000Z","updated_at":"2020-09-30T07:43:32.000Z"}],"billing_address":{"id":"123","type":"primary","string":"25 Spring Street, Blackburn, VIC 3130","name":"HQ US","line1":"Main street","line2":"apt #","line3":"Suite #","line4":"delivery instructions","line5":"Attention: Finance Dept","street_number":"25","city":"San Francisco","state":"CA","postal_code":"94104","country":"US","latitude":"40.759211","longitude":"-73.984638","county":"Santa Clara","contact_name":"Elon Musk","salutation":"Mr","phone_number":"111-111-1111","fax":"122-111-1111","email":"elon@musk.com","website":"https://elonmusk.com","notes":"Address notes or delivery instructions.","row_version":"1-12345"},"shipping_address":{"id":"123","type":"primary","string":"25 Spring Street, Blackburn, VIC 3130","name":"HQ US","line1":"Main street","line2":"apt #","line3":"Suite #","line4":"delivery instructions","line5":"Attention: Finance Dept","street_number":"25","city":"San Francisco","state":"CA","postal_code":"94104","country":"US","latitude":"40.759211","longitude":"-73.984638","county":"Santa Clara","contact_name":"Elon Musk","salutation":"Mr","phone_number":"111-111-1111","fax":"122-111-1111","email":"elon@musk.com","website":"https://elonmusk.com","notes":"Address notes or delivery instructions.","row_version":"1-12345"},"tracking_categories":[{"id":"123456","name":"New York","parent_id":"123456","parent_name":"New York"}],"template_id":"123456","source_document_url":"https://www.quotesolution.com/quote/123456","custom_fields":[{"id":"2389328923893298","name":"employee_level","description":"Employee Level","value":"Uses Salesforce and Marketo"}],"row_version":"1-12345","updated_by":"12345","created_by":"12345","updated_at":"2020-09-30T07:43:32.000Z","created_at":"2020-09-30T07:43:32.000Z","pass_through":[{"service_id":"","extend_paths":[{"path":"$.nested.property","value":{"TaxClassificationRef":{"value":"EUC-99990201-V1-00020000"}}}]}]}} type: simple x-speakeasy-test-group: quotes x-speakeasy-test-rebuild: true @@ -51482,16 +51265,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "status_code": 200, - "status": "OK", - "service": "quickbooks", - "resource": "Quotes", - "operation": "update", - "data": { - "id": "12345" - } - } + {"status_code":200,"status":"OK","service":"quickbooks","resource":"Quotes","operation":"update","data":{"id":"12345"}} type: simple x-speakeasy-test-group: quotes x-speakeasy-test-rebuild: true @@ -51520,16 +51294,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "status_code": 200, - "status": "OK", - "service": "quickbooks", - "resource": "Quotes", - "operation": "delete", - "data": { - "id": "12345" - } - } + {"status_code":200,"status":"OK","service":"quickbooks","resource":"Quotes","operation":"delete","data":{"id":"12345"}} type: simple x-speakeasy-test-group: quotes x-speakeasy-test-rebuild: true @@ -51555,11 +51320,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "status_code": 200, - "status": "OK", - "data": [] - } + {"status_code":200,"status":"OK","data":[]} type: simple x-speakeasy-test-group: connectionConsents x-speakeasy-test-rebuild: true @@ -51590,65 +51351,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "status_code": 200, - "status": "OK", - "data": { - "id": "con_1234567890", - "created_at": "2025-04-15T14:30:00Z", - "granted": true, - "resources": { - "hris.employees": { - "id": { - "read": true, - "write": false - }, - "first_name": { - "read": true, - "write": true - }, - "last_name": { - "read": true, - "write": true - }, - "email": { - "read": true, - "write": true - }, - "addresses[].street": { - "read": true, - "write": false - }, - "addresses[].city": { - "read": true, - "write": false - }, - "employment.job_title": { - "read": true, - "write": true - }, - "custom_fields[].employee_number": { - "read": true, - "write": false - } - }, - "hris.departments": { - "id": { - "read": true, - "write": false - }, - "name": { - "read": true, - "write": true - }, - "code": { - "read": true, - "write": false - } - } - } - } - } + {"status_code":200,"status":"OK","data":{"id":"con_1234567890","created_at":"2025-04-15T14:30:00Z","granted":true,"resources":{"hris.employees":{"id":{"read":true,"write":false},"first_name":{"read":true,"write":true},"last_name":{"read":true,"write":true},"email":{"read":true,"write":true},"addresses[].street":{"read":true,"write":false},"addresses[].city":{"read":true,"write":false},"employment.job_title":{"read":true,"write":true},"custom_fields[].employee_number":{"read":true,"write":false}},"hris.departments":{"id":{"read":true,"write":false},"name":{"read":true,"write":true},"code":{"read":true,"write":false}}}}} type: simple x-speakeasy-test-group: connectionConsent x-speakeasy-test-rebuild: true @@ -51694,61 +51397,7 @@ workflows: - 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" - } - } + {"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 @@ -51807,16 +51456,7 @@ workflows: - 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" - } - } + {"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 @@ -51848,54 +51488,7 @@ workflows: - 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": "123465", - "account_type": "checking", - "ledger_account": { - "id": "123456", - "name": "Bank account", - "nominal_code": "N091", - "code": "453", - "parent_id": "123456", - "display_id": "123456" - }, - "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" - } - } + {"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":"123465","account_type":"checking","ledger_account":{"id":"123456","name":"Bank account","nominal_code":"N091","code":"453","parent_id":"123456","display_id":"123456"},"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 @@ -51957,16 +51550,7 @@ workflows: - 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" - } - } + {"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 @@ -51995,16 +51579,7 @@ workflows: - 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" - } - } + {"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 @@ -52052,27 +51627,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "status_code": 200, - "status": "OK", - "service": "quickbooks", - "resource": "Projects", - "operation": "all", - "data": [], - "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" - } - } + {"status_code":200,"status":"OK","service":"quickbooks","resource":"Projects","operation":"all","data":[],"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: projects x-speakeasy-test-rebuild: true @@ -52182,16 +51737,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "status_code": 200, - "status": "OK", - "service": "quickbooks", - "resource": "Projects", - "operation": "add", - "data": { - "id": "12345" - } - } + {"status_code":200,"status":"OK","service":"quickbooks","resource":"Projects","operation":"add","data":{"id":"12345"}} type: simple x-speakeasy-test-group: projects x-speakeasy-test-rebuild: true @@ -52220,121 +51766,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "status_code": 200, - "status": "OK", - "service": "quickbooks", - "resource": "Projects", - "operation": "one", - "data": { - "id": "12345", - "downstream_id": "12345", - "name": "Website Redesign Project", - "display_id": "PROJ-001", - "reference_id": "WD-REF-2024-001", - "description": "Complete redesign of the company website including new branding and improved user experience", - "status": "active", - "active": true, - "project_type": "client_project", - "priority": "high", - "completion_percentage": 75.5, - "start_date": "2024-01-15", - "end_date": "2024-06-30", - "customer": { - "id": "12345", - "display_id": "CUST00101", - "display_name": "Windsurf Shop", - "company_name": "The boring company", - "email": "boring@boring.com" - }, - "department": { - "id": "DEPT-001", - "name": "Marketing" - }, - "company_id": "12345", - "owner_id": "12345", - "parent_project": { - "id": "PROJ-PARENT-001", - "name": "Company Website Overhaul" - }, - "currency": "USD", - "budget_amount": 50000, - "approved_amount": 48000, - "actual_amount": 45250.75, - "budget_hours": 400, - "actual_hours": 385.5, - "hourly_rate": 125, - "billing_method": "time_and_materials", - "is_billable": true, - "phase": "execution", - "tax_rate": { - "id": "123456", - "code": "N-T", - "name": "GST on Purchases", - "rate": 10 - }, - "tracking_categories": [ - { - "id": "123456", - "name": "New York", - "parent_id": "123456", - "parent_name": "New York" - } - ], - "tags": [ - "website", - "redesign", - "urgent" - ], - "notes": "Client has requested modern design with mobile-first approach", - "contract_number": "CNT-2024-001", - "profit_margin": 15.5, - "schedule_status": "on_schedule", - "addresses": [ - { - "id": "123", - "type": "primary", - "string": "25 Spring Street, Blackburn, VIC 3130", - "name": "HQ US", - "line1": "Main street", - "line2": "apt #", - "line3": "Suite #", - "line4": "delivery instructions", - "line5": "Attention: Finance Dept", - "street_number": "25", - "city": "San Francisco", - "state": "CA", - "postal_code": "94104", - "country": "US", - "latitude": "40.759211", - "longitude": "-73.984638", - "county": "Santa Clara", - "contact_name": "Elon Musk", - "salutation": "Mr", - "phone_number": "111-111-1111", - "fax": "122-111-1111", - "email": "elon@musk.com", - "website": "https://elonmusk.com", - "notes": "Address notes or delivery instructions.", - "row_version": "1-12345" - } - ], - "team_size": 8, - "custom_fields": [ - { - "id": "2389328923893298", - "name": "employee_level", - "description": "Employee Level", - "value": "Uses Salesforce and Marketo" - } - ], - "row_version": "1-12345", - "updated_by": "12345", - "created_by": "12345", - "created_at": "2020-09-30T07:43:32.000Z", - "updated_at": "2020-09-30T07:43:32.000Z" - } - } + {"status_code":200,"status":"OK","service":"quickbooks","resource":"Projects","operation":"one","data":{"id":"12345","downstream_id":"12345","name":"Website Redesign Project","display_id":"PROJ-001","reference_id":"WD-REF-2024-001","description":"Complete redesign of the company website including new branding and improved user experience","status":"active","active":true,"project_type":"client_project","priority":"high","completion_percentage":75.5,"start_date":"2024-01-15","end_date":"2024-06-30","customer":{"id":"12345","display_id":"CUST00101","display_name":"Windsurf Shop","company_name":"The boring company","email":"boring@boring.com"},"department":{"id":"DEPT-001","name":"Marketing"},"company_id":"12345","owner_id":"12345","parent_project":{"id":"PROJ-PARENT-001","name":"Company Website Overhaul"},"currency":"USD","budget_amount":50000,"approved_amount":48000,"actual_amount":45250.75,"budget_hours":400,"actual_hours":385.5,"hourly_rate":125,"billing_method":"time_and_materials","is_billable":true,"phase":"execution","tax_rate":{"id":"123456","code":"N-T","name":"GST on Purchases","rate":10},"tracking_categories":[{"id":"123456","name":"New York","parent_id":"123456","parent_name":"New York"}],"tags":["website","redesign","urgent"],"notes":"Client has requested modern design with mobile-first approach","contract_number":"CNT-2024-001","profit_margin":15.5,"schedule_status":"on_schedule","addresses":[{"id":"123","type":"primary","string":"25 Spring Street, Blackburn, VIC 3130","name":"HQ US","line1":"Main street","line2":"apt #","line3":"Suite #","line4":"delivery instructions","line5":"Attention: Finance Dept","street_number":"25","city":"San Francisco","state":"CA","postal_code":"94104","country":"US","latitude":"40.759211","longitude":"-73.984638","county":"Santa Clara","contact_name":"Elon Musk","salutation":"Mr","phone_number":"111-111-1111","fax":"122-111-1111","email":"elon@musk.com","website":"https://elonmusk.com","notes":"Address notes or delivery instructions.","row_version":"1-12345"}],"team_size":8,"custom_fields":[{"id":"2389328923893298","name":"employee_level","description":"Employee Level","value":"Uses Salesforce and Marketo"}],"row_version":"1-12345","updated_by":"12345","created_by":"12345","created_at":"2020-09-30T07:43:32.000Z","updated_at":"2020-09-30T07:43:32.000Z"}} type: simple x-speakeasy-test-group: projects x-speakeasy-test-rebuild: true @@ -52444,16 +51876,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "status_code": 200, - "status": "OK", - "service": "quickbooks", - "resource": "Projects", - "operation": "update", - "data": { - "id": "12345" - } - } + {"status_code":200,"status":"OK","service":"quickbooks","resource":"Projects","operation":"update","data":{"id":"12345"}} type: simple x-speakeasy-test-group: projects x-speakeasy-test-rebuild: true @@ -52482,16 +51905,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "status_code": 200, - "status": "OK", - "service": "quickbooks", - "resource": "Projects", - "operation": "delete", - "data": { - "id": "12345" - } - } + {"status_code":200,"status":"OK","service":"quickbooks","resource":"Projects","operation":"delete","data":{"id":"12345"}} type: simple x-speakeasy-test-group: projects x-speakeasy-test-rebuild: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 68f0be66..b24b8b82 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.651.0 +speakeasyVersion: 1.653.0 sources: Apideck-OAS: sourceNamespace: apideck-oas - sourceRevisionDigest: sha256:b39824351a1f49a40ef382ed58c815f739ec76004a439643b61592390e43d6b8 - sourceBlobDigest: sha256:c74c632e12d40ab996dcefd8b7ff49341c85e5e0ad24fe3a78fbdd6268f6bb54 + sourceRevisionDigest: sha256:b784fd89eb398c4da009bd986bd94e73f4dc52c16f93e4fc63509323ec5bc4e1 + sourceBlobDigest: sha256:c53104ab75328b4e294f5bccfb4b8efb6646bfaf792b37702386d88ab5d2611b tags: - latest - - speakeasy-sdk-regen-1762767174 - - 10.21.12 + - speakeasy-sdk-regen-1762795607 + - 10.21.13 targets: apideck: source: Apideck-OAS sourceNamespace: apideck-oas - sourceRevisionDigest: sha256:b39824351a1f49a40ef382ed58c815f739ec76004a439643b61592390e43d6b8 - sourceBlobDigest: sha256:c74c632e12d40ab996dcefd8b7ff49341c85e5e0ad24fe3a78fbdd6268f6bb54 + sourceRevisionDigest: sha256:b784fd89eb398c4da009bd986bd94e73f4dc52c16f93e4fc63509323ec5bc4e1 + sourceBlobDigest: sha256:c53104ab75328b4e294f5bccfb4b8efb6646bfaf792b37702386d88ab5d2611b codeSamplesNamespace: apideck-oas-typescript-code-samples - codeSamplesRevisionDigest: sha256:4f910725f7a98ba53b3abed1c77762fa0eae53af3a8272ad66918284b839e788 + codeSamplesRevisionDigest: sha256:38767e2a7ffb1905c4c2d7054e315a1d39468bcf62393dfd9c584fb0ad4c58cc workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 92610a06..d615f381 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -578,4 +578,14 @@ Based on: ### Generated - [typescript v0.34.2] . ### Releases -- [NPM v0.34.2] https://www.npmjs.com/package/@apideck/unify/v/0.34.2 - . \ No newline at end of file +- [NPM v0.34.2] https://www.npmjs.com/package/@apideck/unify/v/0.34.2 - . + +## 2025-11-10 17:26:22 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.653.0 (2.748.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.34.3] . +### Releases +- [NPM v0.34.3] https://www.npmjs.com/package/@apideck/unify/v/0.34.3 - . \ No newline at end of file diff --git a/docs/models/components/getsubsidiaryresponse.md b/docs/models/components/getsubsidiaryresponse.md index 4ccf1502..22a9bc62 100644 --- a/docs/models/components/getsubsidiaryresponse.md +++ b/docs/models/components/getsubsidiaryresponse.md @@ -19,6 +19,33 @@ let value: GetSubsidiaryResponse = { name: "SpaceX", displayId: "12345", status: "active", + address: { + id: "123", + type: "primary", + string: "25 Spring Street, Blackburn, VIC 3130", + name: "HQ US", + line1: "Main street", + line2: "apt #", + line3: "Suite #", + line4: "delivery instructions", + line5: "Attention: Finance Dept", + streetNumber: "25", + city: "San Francisco", + state: "CA", + postalCode: "94104", + country: "US", + latitude: "40.759211", + longitude: "-73.984638", + county: "Santa Clara", + contactName: "Elon Musk", + salutation: "Mr", + phoneNumber: "111-111-1111", + fax: "122-111-1111", + email: "elon@musk.com", + website: "https://elonmusk.com", + notes: "Address notes or delivery instructions.", + rowVersion: "1-12345", + }, currencies: [ "USD", ], diff --git a/docs/models/components/subsidiary.md b/docs/models/components/subsidiary.md index 7eef0eba..2255ba0e 100644 --- a/docs/models/components/subsidiary.md +++ b/docs/models/components/subsidiary.md @@ -11,6 +11,33 @@ let value: Subsidiary = { name: "SpaceX", displayId: "12345", status: "active", + address: { + id: "123", + type: "primary", + string: "25 Spring Street, Blackburn, VIC 3130", + name: "HQ US", + line1: "Main street", + line2: "apt #", + line3: "Suite #", + line4: "delivery instructions", + line5: "Attention: Finance Dept", + streetNumber: "25", + city: "San Francisco", + state: "CA", + postalCode: "94104", + country: "US", + latitude: "40.759211", + longitude: "-73.984638", + county: "Santa Clara", + contactName: "Elon Musk", + salutation: "Mr", + phoneNumber: "111-111-1111", + fax: "122-111-1111", + email: "elon@musk.com", + website: "https://elonmusk.com", + notes: "Address notes or delivery instructions.", + rowVersion: "1-12345", + }, currencies: [ "USD", ], @@ -46,6 +73,7 @@ let value: Subsidiary = { | `name` | *string* | :heavy_minus_sign: | The name of the company. | SpaceX | | `displayId` | *string* | :heavy_minus_sign: | Display ID of the subsidiary | 12345 | | `status` | [components.SubsidiaryStatus](../../models/components/subsidiarystatus.md) | :heavy_minus_sign: | Based on the status some functionality is enabled or disabled. | active | +| `address` | [components.Address](../../models/components/address.md) | :heavy_minus_sign: | N/A | | | `currencies` | [components.Currency](../../models/components/currency.md)[] | :heavy_minus_sign: | List of currencies supported by this subsidiary | | | `customMappings` | Record | :heavy_minus_sign: | When custom mappings are configured on the resource, the result is included here. | | | `rowVersion` | *string* | :heavy_minus_sign: | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | 1-12345 | diff --git a/docs/models/components/subsidiaryinput.md b/docs/models/components/subsidiaryinput.md index 2cd7e36e..ef2754ab 100644 --- a/docs/models/components/subsidiaryinput.md +++ b/docs/models/components/subsidiaryinput.md @@ -10,6 +10,33 @@ let value: SubsidiaryInput = { name: "SpaceX", displayId: "12345", status: "active", + address: { + id: "123", + type: "primary", + string: "25 Spring Street, Blackburn, VIC 3130", + name: "HQ US", + line1: "Main street", + line2: "apt #", + line3: "Suite #", + line4: "delivery instructions", + line5: "Attention: Finance Dept", + streetNumber: "25", + city: "San Francisco", + state: "CA", + postalCode: "94104", + country: "US", + latitude: "40.759211", + longitude: "-73.984638", + county: "Santa Clara", + contactName: "Elon Musk", + salutation: "Mr", + phoneNumber: "111-111-1111", + fax: "122-111-1111", + email: "elon@musk.com", + website: "https://elonmusk.com", + notes: "Address notes or delivery instructions.", + rowVersion: "1-12345", + }, currencies: [ "USD", ], @@ -40,6 +67,7 @@ let value: SubsidiaryInput = { | `name` | *string* | :heavy_minus_sign: | The name of the company. | SpaceX | | `displayId` | *string* | :heavy_minus_sign: | Display ID of the subsidiary | 12345 | | `status` | [components.SubsidiaryStatus](../../models/components/subsidiarystatus.md) | :heavy_minus_sign: | Based on the status some functionality is enabled or disabled. | active | +| `address` | [components.Address](../../models/components/address.md) | :heavy_minus_sign: | N/A | | | `currencies` | [components.Currency](../../models/components/currency.md)[] | :heavy_minus_sign: | List of currencies supported by this subsidiary | | | `rowVersion` | *string* | :heavy_minus_sign: | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | 1-12345 | | `passThrough` | [components.PassThroughBody](../../models/components/passthroughbody.md)[] | :heavy_minus_sign: | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | | \ No newline at end of file diff --git a/docs/models/operations/accountingsubsidiariesaddrequest.md b/docs/models/operations/accountingsubsidiariesaddrequest.md index 4ecb091b..b9f304ca 100644 --- a/docs/models/operations/accountingsubsidiariesaddrequest.md +++ b/docs/models/operations/accountingsubsidiariesaddrequest.md @@ -12,6 +12,33 @@ let value: AccountingSubsidiariesAddRequest = { name: "SpaceX", displayId: "12345", status: "active", + address: { + id: "123", + type: "primary", + string: "25 Spring Street, Blackburn, VIC 3130", + name: "HQ US", + line1: "Main street", + line2: "apt #", + line3: "Suite #", + line4: "delivery instructions", + line5: "Attention: Finance Dept", + streetNumber: "25", + city: "San Francisco", + state: "CA", + postalCode: "94104", + country: "US", + latitude: "40.759211", + longitude: "-73.984638", + county: "Santa Clara", + contactName: "Elon Musk", + salutation: "Mr", + phoneNumber: "111-111-1111", + fax: "122-111-1111", + email: "elon@musk.com", + website: "https://elonmusk.com", + notes: "Address notes or delivery instructions.", + rowVersion: "1-12345", + }, currencies: [ "USD", ], diff --git a/docs/models/operations/accountingsubsidiariesupdaterequest.md b/docs/models/operations/accountingsubsidiariesupdaterequest.md index 3de2eefd..1951ff84 100644 --- a/docs/models/operations/accountingsubsidiariesupdaterequest.md +++ b/docs/models/operations/accountingsubsidiariesupdaterequest.md @@ -13,6 +13,33 @@ let value: AccountingSubsidiariesUpdateRequest = { name: "SpaceX", displayId: "12345", status: "active", + address: { + id: "123", + type: "primary", + string: "25 Spring Street, Blackburn, VIC 3130", + name: "HQ US", + line1: "Main street", + line2: "apt #", + line3: "Suite #", + line4: "delivery instructions", + line5: "Attention: Finance Dept", + streetNumber: "25", + city: "San Francisco", + state: "CA", + postalCode: "94104", + country: "US", + latitude: "40.759211", + longitude: "-73.984638", + county: "Santa Clara", + contactName: "Elon Musk", + salutation: "Mr", + phoneNumber: "111-111-1111", + fax: "122-111-1111", + email: "elon@musk.com", + website: "https://elonmusk.com", + notes: "Address notes or delivery instructions.", + rowVersion: "1-12345", + }, currencies: [ "USD", ], diff --git a/examples/package-lock.json b/examples/package-lock.json index 51c4123a..0eb7b0be 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,7 +18,7 @@ }, "..": { "name": "@apideck/unify", - "version": "0.34.2", + "version": "0.34.3", "dependencies": { "zod": "^3.25.0 || ^4.0.0" }, diff --git a/jsr.json b/jsr.json index d882b485..d53a31f8 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@apideck/unify", - "version": "0.34.2", + "version": "0.34.3", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index 77f86649..c5392d47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apideck/unify", - "version": "0.34.2", + "version": "0.34.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apideck/unify", - "version": "0.34.2", + "version": "0.34.3", "dependencies": { "zod": "^3.25.0 || ^4.0.0" }, diff --git a/package.json b/package.json index 78de475e..d5f5b6aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apideck/unify", - "version": "0.34.2", + "version": "0.34.3", "author": "Speakeasy", "main": "./index.js", "sideEffects": false, diff --git a/src/__tests__/mockserver/internal/sdk/models/components/subsidiary.go b/src/__tests__/mockserver/internal/sdk/models/components/subsidiary.go index 98a534b3..7e97802c 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/subsidiary.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/subsidiary.go @@ -46,7 +46,8 @@ type Subsidiary struct { // Display ID of the subsidiary DisplayID *string `json:"display_id,omitempty"` // Based on the status some functionality is enabled or disabled. - Status *SubsidiaryStatus `json:"status,omitempty"` + Status *SubsidiaryStatus `json:"status,omitempty"` + Address *Address `json:"address,omitempty"` // List of currencies supported by this subsidiary Currencies []*Currency `json:"currencies,omitempty"` // When custom mappings are configured on the resource, the result is included here. @@ -111,6 +112,13 @@ func (o *Subsidiary) GetStatus() *SubsidiaryStatus { return o.Status } +func (o *Subsidiary) GetAddress() *Address { + if o == nil { + return nil + } + return o.Address +} + func (o *Subsidiary) GetCurrencies() []*Currency { if o == nil { return nil @@ -175,7 +183,8 @@ type SubsidiaryInput struct { // Display ID of the subsidiary DisplayID *string `json:"display_id,omitempty"` // Based on the status some functionality is enabled or disabled. - Status *SubsidiaryStatus `json:"status,omitempty"` + Status *SubsidiaryStatus `json:"status,omitempty"` + Address *Address `json:"address,omitempty"` // List of currencies supported by this subsidiary Currencies []*Currency `json:"currencies,omitempty"` // A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. @@ -212,6 +221,13 @@ func (o *SubsidiaryInput) GetStatus() *SubsidiaryStatus { return o.Status } +func (o *SubsidiaryInput) GetAddress() *Address { + if o == nil { + return nil + } + return o.Address +} + func (o *SubsidiaryInput) GetCurrencies() []*Currency { if o == nil { return nil diff --git a/src/lib/config.ts b/src/lib/config.ts index e73cf02f..7f4c2b8a 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -67,8 +67,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", - openapiDocVersion: "10.21.12", - sdkVersion: "0.34.2", - genVersion: "2.745.2", - userAgent: "speakeasy-sdk/typescript 0.34.2 2.745.2 10.21.12 @apideck/unify", + openapiDocVersion: "10.21.13", + sdkVersion: "0.34.3", + genVersion: "2.748.0", + userAgent: "speakeasy-sdk/typescript 0.34.3 2.748.0 10.21.13 @apideck/unify", } as const; diff --git a/src/models/components/subsidiary.ts b/src/models/components/subsidiary.ts index d257ac16..f4809e76 100644 --- a/src/models/components/subsidiary.ts +++ b/src/models/components/subsidiary.ts @@ -8,6 +8,12 @@ import { safeParse } from "../../lib/schemas.js"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + Address, + Address$inboundSchema, + Address$Outbound, + Address$outboundSchema, +} from "./address.js"; import { Currency, Currency$inboundSchema, @@ -53,6 +59,7 @@ export type Subsidiary = { * Based on the status some functionality is enabled or disabled. */ status?: SubsidiaryStatus | undefined; + address?: Address | undefined; /** * List of currencies supported by this subsidiary */ @@ -104,6 +111,7 @@ export type SubsidiaryInput = { * Based on the status some functionality is enabled or disabled. */ status?: SubsidiaryStatus | undefined; + address?: Address | undefined; /** * List of currencies supported by this subsidiary */ @@ -138,6 +146,7 @@ export const Subsidiary$inboundSchema: z.ZodType< name: z.nullable(z.string()).optional(), display_id: z.nullable(z.string()).optional(), status: SubsidiaryStatus$inboundSchema.optional(), + address: Address$inboundSchema.optional(), currencies: z.nullable(z.array(z.nullable(Currency$inboundSchema))) .optional(), custom_mappings: z.nullable(z.record(z.any())).optional(), @@ -181,6 +190,7 @@ export type SubsidiaryInput$Outbound = { name?: string | null | undefined; display_id?: string | null | undefined; status?: string | undefined; + address?: Address$Outbound | undefined; currencies?: Array | null | undefined; row_version?: string | null | undefined; pass_through?: Array | undefined; @@ -196,6 +206,7 @@ export const SubsidiaryInput$outboundSchema: z.ZodType< name: z.nullable(z.string()).optional(), displayId: z.nullable(z.string()).optional(), status: SubsidiaryStatus$outboundSchema.optional(), + address: Address$outboundSchema.optional(), currencies: z.nullable(z.array(z.nullable(Currency$outboundSchema))) .optional(), rowVersion: z.nullable(z.string()).optional(),