From c38dd322d064fa09133ed29bb77e44850126e754 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 24 Sep 2026 11:55:37 +0000 Subject: [PATCH 1/2] ## Python SDK Changes Detected: * `apideck.accounting.bill_credit_notes.list()`: `response.data.[]` **Changed** * `apideck.accounting.bill_credit_notes.create()`: `request.total_amount` **Changed** * `apideck.accounting.bill_credit_notes.get()`: `response.data` **Changed** * `apideck.accounting.bill_credit_notes.update()`: `request.total_amount` **Changed** * `apideck.accounting.journal_entries.list()`: * `request.filter` **Changed** * `response.data.[].line_items.[]` **Changed** * `apideck.accounting.journal_entries.create()`: * `request.line_items.[]` **Changed** * `apideck.accounting.journal_entries.get()`: `response.data.line_items.[]` **Changed** * `apideck.accounting.journal_entries.update()`: * `request.line_items.[]` **Changed** * `apideck.crm.companies.create()`: `request.parent_id` **Added** * `apideck.crm.companies.update()`: `request.parent_id` **Added** * `apideck.ecommerce.stores.get()`: `response.data.addresses` **Added** --- .speakeasy/gen.lock | 101 ++++++++++-------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 +-- RELEASES.md | 12 ++- docs/models/billcreditnote.md | 4 +- docs/models/billcreditnoteinput.md | 2 +- docs/models/company1input.md | 1 + .../connectorconnectorresourcesonerequest.md | 2 +- docs/models/ecommercestore.md | 19 ++-- docs/models/journalentriesfilter.md | 1 + docs/models/journalentrylineitem.md | 44 ++++---- docs/models/journalentrylineiteminput.md | 42 ++++---- docs/models/log.md | 2 +- docs/models/logunifiedapi.md | 21 ++++ docs/models/unifiedapi.md | 46 +++++--- docs/sdks/apideckcompanies/README.md | 6 +- docs/sdks/billcreditnotes/README.md | 12 +-- docs/sdks/connectorresources/README.md | 4 +- pyproject.toml | 2 +- src/apideck_unify/_version.py | 6 +- src/apideck_unify/apideck_companies.py | 12 +++ src/apideck_unify/billcreditnotes.py | 16 +-- src/apideck_unify/connectorresources.py | 4 +- src/apideck_unify/models/__init__.py | 7 +- src/apideck_unify/models/billcreditnote.py | 27 ++--- src/apideck_unify/models/company1.py | 7 ++ .../connector_connectorresourcesoneop.py | 19 +--- src/apideck_unify/models/ecommercestore.py | 9 +- .../models/journalentriesfilter.py | 5 + .../models/journalentrylineitem.py | 29 +++++ src/apideck_unify/models/log.py | 8 +- src/apideck_unify/models/unifiedapi.py | 37 +++++++ 32 files changed, 338 insertions(+), 185 deletions(-) create mode 100644 docs/models/logunifiedapi.md create mode 100644 src/apideck_unify/models/unifiedapi.py diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 5a539c82..203e1c6b 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: fca0ac3a-5f4e-452c-bbc7-2311afa8da40 management: - docChecksum: bf722cefbfc0c2e90ece2c471cbf447a - docVersion: 10.58.2 + docChecksum: fe47f3d76783e035cd19ecfd03779810 + docVersion: 10.58.17 speakeasyVersion: 1.656.1 generationVersion: 2.753.1 - releaseVersion: 0.42.1 - configChecksum: 13cb882c3e05c8d24de4a54b2700ec48 + releaseVersion: 0.42.2 + configChecksum: a4adede149dbaaf3c6ffd14f0f9027b1 repoURL: https://github.com/apideck-libraries/sdk-python.git installationURL: https://github.com/apideck-libraries/sdk-python.git published: true @@ -1782,6 +1782,7 @@ generatedFiles: - docs/models/locationstatus.md - docs/models/log.md - docs/models/logsfilter.md + - docs/models/logunifiedapi.md - docs/models/managedvia.md - docs/models/manager.md - docs/models/message.md @@ -3367,6 +3368,7 @@ generatedFiles: - src/apideck_unify/models/unauthorized.py - src/apideck_unify/models/unauthorizedresponse.py - src/apideck_unify/models/unexpectederrorresponse.py + - src/apideck_unify/models/unifiedapi.py - src/apideck_unify/models/unifiedapiid.py - src/apideck_unify/models/unifiedfile.py - src/apideck_unify/models/unifiedid.py @@ -9943,7 +9945,7 @@ examples: x-apideck-app-id: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" x-apideck-service-id: "salesforce" requestBody: - application/json: {"name": "SpaceX", "owner_id": "12345", "image": "https://www.spacex.com/static/images/share.jpg", "description": "Space Exploration Technologies Corp. is an American aerospace manufacturer, space transportation services and communications company headquartered in Hawthorne, California.", "vat_number": "BE0689615164", "currency": "USD", "status": "Open", "fax": "+12129876543", "annual_revenue": "+$35m", "number_of_employees": "500-1000", "industry": "Apparel", "ownership": "Public", "sales_tax_number": "12456EN", "payee_number": "78932EN", "abn_or_tfn": "46 115 614 695", "abn_branch": "123", "acn": "XXX XXX XXX", "first_name": "Elon", "last_name": "Musk", "bank_accounts": [{"bank_name": "Monzo", "account_number": "123465", "account_name": "SPACEX LLC", "account_type": "credit_card", "iban": "CH2989144532982975332", "bic": "AUDSCHGGXXX", "routing_number": "012345678", "bsb_number": "062-001", "branch_identifier": "001", "bank_code": "BNH", "currency": "USD"}], "websites": [{"id": "12345", "url": "http://example.com", "type": "primary"}], "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", "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"}], "social_links": [{"id": "12345", "url": "https://www.twitter.com/apideck", "type": "twitter"}], "phone_numbers": [{"id": "12345", "country_code": "1", "area_code": "323", "number": "111-111-1111", "extension": "105", "type": "primary"}], "emails": [{"id": "123", "email": "elon@musk.com", "type": "primary"}], "row_type": {"id": "12345", "name": "Customer Account"}, "custom_fields": [{"id": "2389328923893298", "name": "employee_level", "description": "Employee Level", "value": "Uses Salesforce and Marketo"}], "tags": ["New"], "read_only": false, "salutation": "Mr", "birthday": "2000-08-12", "pass_through": [{"service_id": "", "extend_paths": [{"path": "$.nested.property", "value": {"TaxClassificationRef": {"value": "EUC-99990201-V1-00020000"}}}]}]} + application/json: {"name": "SpaceX", "owner_id": "12345", "image": "https://www.spacex.com/static/images/share.jpg", "description": "Space Exploration Technologies Corp. is an American aerospace manufacturer, space transportation services and communications company headquartered in Hawthorne, California.", "vat_number": "BE0689615164", "currency": "USD", "status": "Open", "fax": "+12129876543", "annual_revenue": "+$35m", "number_of_employees": "500-1000", "industry": "Apparel", "ownership": "Public", "sales_tax_number": "12456EN", "payee_number": "78932EN", "abn_or_tfn": "46 115 614 695", "abn_branch": "123", "acn": "XXX XXX XXX", "first_name": "Elon", "last_name": "Musk", "parent_id": "22345", "bank_accounts": [{"bank_name": "Monzo", "account_number": "123465", "account_name": "SPACEX LLC", "account_type": "credit_card", "iban": "CH2989144532982975332", "bic": "AUDSCHGGXXX", "routing_number": "012345678", "bsb_number": "062-001", "branch_identifier": "001", "bank_code": "BNH", "currency": "USD"}], "websites": [{"id": "12345", "url": "http://example.com", "type": "primary"}], "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", "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"}], "social_links": [{"id": "12345", "url": "https://www.twitter.com/apideck", "type": "twitter"}], "phone_numbers": [{"id": "12345", "country_code": "1", "area_code": "323", "number": "111-111-1111", "extension": "105", "type": "primary"}], "emails": [{"id": "123", "email": "elon@musk.com", "type": "primary"}], "row_type": {"id": "12345", "name": "Customer Account"}, "custom_fields": [{"id": "2389328923893298", "name": "employee_level", "description": "Employee Level", "value": "Uses Salesforce and Marketo"}], "tags": ["New"], "read_only": false, "salutation": "Mr", "birthday": "2000-08-12", "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": "zoho-crm", "resource": "companies", "operation": "add", "data": {"id": "12345"}} @@ -10051,7 +10053,7 @@ examples: x-apideck-app-id: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" x-apideck-service-id: "salesforce" requestBody: - application/json: {"name": "SpaceX", "owner_id": "12345", "image": "https://www.spacex.com/static/images/share.jpg", "description": "Space Exploration Technologies Corp. is an American aerospace manufacturer, space transportation services and communications company headquartered in Hawthorne, California.", "vat_number": "BE0689615164", "currency": "USD", "status": "Open", "fax": "+12129876543", "annual_revenue": "+$35m", "number_of_employees": "500-1000", "industry": "Apparel", "ownership": "Public", "sales_tax_number": "12456EN", "payee_number": "78932EN", "abn_or_tfn": "46 115 614 695", "abn_branch": "123", "acn": "XXX XXX XXX", "first_name": "Elon", "last_name": "Musk", "bank_accounts": [{"bank_name": "Monzo", "account_number": "123465", "account_name": "SPACEX LLC", "account_type": "credit_card", "iban": "CH2989144532982975332", "bic": "AUDSCHGGXXX", "routing_number": "012345678", "bsb_number": "062-001", "branch_identifier": "001", "bank_code": "BNH", "currency": "USD"}], "websites": [{"id": "12345", "url": "http://example.com", "type": "primary"}], "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", "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"}], "social_links": [{"id": "12345", "url": "https://www.twitter.com/apideck", "type": "twitter"}], "phone_numbers": [{"id": "12345", "country_code": "1", "area_code": "323", "number": "111-111-1111", "extension": "105", "type": "primary"}], "emails": [{"id": "123", "email": "elon@musk.com", "type": "primary"}], "row_type": {"id": "12345", "name": "Customer Account"}, "custom_fields": [{"id": "2389328923893298", "name": "employee_level", "description": "Employee Level", "value": null}], "tags": ["New"], "read_only": false, "salutation": "Mr", "birthday": "2000-08-12", "pass_through": [{"service_id": "", "extend_paths": [{"path": "$.nested.property", "value": {"TaxClassificationRef": {"value": "EUC-99990201-V1-00020000"}}}]}]} + application/json: {"name": "SpaceX", "owner_id": "12345", "image": "https://www.spacex.com/static/images/share.jpg", "description": "Space Exploration Technologies Corp. is an American aerospace manufacturer, space transportation services and communications company headquartered in Hawthorne, California.", "vat_number": "BE0689615164", "currency": "USD", "status": "Open", "fax": "+12129876543", "annual_revenue": "+$35m", "number_of_employees": "500-1000", "industry": "Apparel", "ownership": "Public", "sales_tax_number": "12456EN", "payee_number": "78932EN", "abn_or_tfn": "46 115 614 695", "abn_branch": "123", "acn": "XXX XXX XXX", "first_name": "Elon", "last_name": "Musk", "parent_id": "22345", "bank_accounts": [{"bank_name": "Monzo", "account_number": "123465", "account_name": "SPACEX LLC", "account_type": "credit_card", "iban": "CH2989144532982975332", "bic": "AUDSCHGGXXX", "routing_number": "012345678", "bsb_number": "062-001", "branch_identifier": "001", "bank_code": "BNH", "currency": "USD"}], "websites": [{"id": "12345", "url": "http://example.com", "type": "primary"}], "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", "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"}], "social_links": [{"id": "12345", "url": "https://www.twitter.com/apideck", "type": "twitter"}], "phone_numbers": [{"id": "12345", "country_code": "1", "area_code": "323", "number": "111-111-1111", "extension": "105", "type": "primary"}], "emails": [{"id": "123", "email": "elon@musk.com", "type": "primary"}], "row_type": {"id": "12345", "name": "Customer Account"}, "custom_fields": [{"id": "2389328923893298", "name": "employee_level", "description": "Employee Level", "value": null}], "tags": ["New"], "read_only": false, "salutation": "Mr", "birthday": "2000-08-12", "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": "zoho-crm", "resource": "companies", "operation": "update", "data": {"id": "12345"}} @@ -12340,7 +12342,7 @@ examples: x-apideck-service-id: "salesforce" responses: "200": - application/json: {"status_code": 200, "status": "OK", "service": "shopify", "resource": "stores", "operation": "one", "data": {"id": "12345", "name": "My Store", "store_url": "https://mybrand.com/shop", "admin_url": "https://mybrand.com/admin", "created_at": "2020-09-30T07:43:32.000Z", "updated_at": "2020-09-30T07:43:32.000Z"}, "meta": {"items_on_page": 50, "cursors": {"previous": "em9oby1jcm06OnBhZ2U6OjE=", "current": "em9oby1jcm06OnBhZ2U6OjI=", "next": "em9oby1jcm06OnBhZ2U6OjM="}, "total_count": 1, "warnings": [{"type": "downstream_request_failed", "status_code": 429, "operation": "getManager"}]}} + application/json: {"status_code": 200, "status": "OK", "service": "shopify", "resource": "stores", "operation": "one", "data": {"id": "12345", "name": "My Store", "store_url": "https://mybrand.com/shop", "admin_url": "https://mybrand.com/admin", "addresses": [{"line1": "123 Main Street", "line2": "Apt 1", "company_name": "Acme Inc.", "city": "New York", "state": "NY", "postal_code": "10001", "country": "US"}], "created_at": "2020-09-30T07:43:32.000Z", "updated_at": "2020-09-30T07:43:32.000Z"}, "meta": {"items_on_page": 50, "cursors": {"previous": "em9oby1jcm06OnBhZ2U6OjE=", "current": "em9oby1jcm06OnBhZ2U6OjI=", "next": "em9oby1jcm06OnBhZ2U6OjM="}, "total_count": 1, "warnings": [{"type": "downstream_request_failed", "status_code": 429, "operation": "getManager"}]}} "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", "downstream_errors": [{"message": "Account code '100' has been archived or deleted", "detail": "Each line item must reference a valid account", "code": "VALIDATION_ERROR"}]} "401": @@ -20723,6 +20725,7 @@ examples: application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestHeadersValidationError", "message": "Invalid Params", "detail": "Missing Header: x-apideck-consumer-id", "ref": "https://developers.apideck.com/errors#unauthorizederror"} examplesVersion: 1.0.2 generatedTests: {} +releaseNotes: "## Python SDK Changes Detected:\n* `apideck.accounting.bill_credit_notes.list()`: `response.data.[]` **Changed**\n* `apideck.accounting.bill_credit_notes.create()`: `request.total_amount` **Changed**\n* `apideck.accounting.bill_credit_notes.get()`: `response.data` **Changed**\n* `apideck.accounting.bill_credit_notes.update()`: `request.total_amount` **Changed**\n* `apideck.accounting.journal_entries.list()`: \n * `request.filter` **Changed**\n * `response.data.[].line_items.[]` **Changed**\n* `apideck.accounting.journal_entries.create()`: \n * `request.line_items.[]` **Changed**\n* `apideck.accounting.journal_entries.get()`: `response.data.line_items.[]` **Changed**\n* `apideck.accounting.journal_entries.update()`: \n * `request.line_items.[]` **Changed**\n* `apideck.crm.companies.create()`: `request.parent_id` **Added**\n* `apideck.crm.companies.update()`: `request.parent_id` **Added**\n* `apideck.ecommerce.stores.get()`: `response.data.addresses` **Added**\n" trackedFiles: .devcontainer/README.md: last_write_checksum: sha1:07adb0c0c051a9be4d479ea06461f3a9b3bbeb2f @@ -22025,9 +22028,9 @@ trackedFiles: docs/models/bill.md: last_write_checksum: sha1:2ff09ed038a8e19bc474ab2dcf785723a5e741c0 docs/models/billcreditnote.md: - last_write_checksum: sha1:cebb05f743f5e666e297d069b010b610b851bc3f + last_write_checksum: sha1:1e34a38eddbbe3b1156c5d921288691d209905e2 docs/models/billcreditnoteinput.md: - last_write_checksum: sha1:38a3b68cebf62a578f8628b3e8ff00bca244146f + last_write_checksum: sha1:4614d8b617fa4ec28bc2120b73a6578762cfdc20 docs/models/billcreditnotelineitem.md: last_write_checksum: sha1:c3b64b3753bb7cdce0b6b3bd80fb456ec1e1677a docs/models/billcreditnotelineiteminput.md: @@ -22115,7 +22118,7 @@ trackedFiles: docs/models/companiessortby.md: last_write_checksum: sha1:5442f21c18ed2f926b3f8f8ac00ae26d765d94e1 docs/models/company1input.md: - last_write_checksum: sha1:84343662dfc14333ecb9e8f4ef9f4cf3edfa97c6 + last_write_checksum: sha1:db23d45f25a796ceef01d10fc58b1e7de808f3b1 docs/models/company1.md: last_write_checksum: sha1:d42d87e22c5381feda9dbfe530a3a771bd0f3b88 docs/models/companyinfo.md: @@ -22195,7 +22198,7 @@ trackedFiles: docs/models/connectorconnectorresourcesoneglobals.md: last_write_checksum: sha1:f778147cfd53c0360af2bb70c2a304d856ac1bdf docs/models/connectorconnectorresourcesonerequest.md: - last_write_checksum: sha1:eed53b316f7f14d6a3ae446e86d7daf4c1bf2bd9 + last_write_checksum: sha1:cd8345f5b79bf4907a6d44578b95171489bf2b91 docs/models/connectorconnectorresourcesoneresponse.md: last_write_checksum: sha1:c03056fdee0d4c862fd2d1b2852841f2eb0dc845 docs/models/connectorconnectorsallglobals.md: @@ -23045,7 +23048,7 @@ trackedFiles: docs/models/ecommerceproductvariantsoptions.md: last_write_checksum: sha1:d4b9edead72767062a2e7ca8ee3a0180374e314b docs/models/ecommercestore.md: - last_write_checksum: sha1:cedeebeaacbd982d581a10e8e6c68facd37c4107 + last_write_checksum: sha1:e940d29f404101161bf0fc64ad790de13c81c1a7 docs/models/ecommercestoresoneglobals.md: last_write_checksum: sha1:5e3cdffd60b45ada746f3d3efc9ff7efd5419055 docs/models/ecommercestoresonerequest.md: @@ -24057,7 +24060,7 @@ trackedFiles: docs/models/journal.md: last_write_checksum: sha1:9af7d2adabfc054279a6a413596e308f22dd7311 docs/models/journalentriesfilter.md: - last_write_checksum: sha1:858e8b51c7c7e88fa4b678bd456bd80e7cf70c10 + last_write_checksum: sha1:dc8108d5427070fce723ada1415a9b218dd2dd21 docs/models/journalentriesfilterscope.md: last_write_checksum: sha1:df5230ed4aadb3058cabc89269c06fd6a5b24014 docs/models/journalentriesfilterstatus.md: @@ -24071,9 +24074,9 @@ trackedFiles: docs/models/journalentryinput.md: last_write_checksum: sha1:36e5532a782ae1247ff11c7703cf57d8c26b53f2 docs/models/journalentrylineitem.md: - last_write_checksum: sha1:f954617421f6aba62c760ed1207743bdda0daafa + last_write_checksum: sha1:7b39ffcfc0765ca9f2dc56549bbaeb3568b7d6b2 docs/models/journalentrylineiteminput.md: - last_write_checksum: sha1:b772eeb872fd1e7836c2fb7dffbc5489b7933153 + last_write_checksum: sha1:87686a410bfe424bd9fb9ad1bef7e9682d4b7203 docs/models/journalentrylineitemtype.md: last_write_checksum: sha1:0dca2523c6ead53b9ba1d58042da8e42ea9d5b82 docs/models/journalentrystatus.md: @@ -24191,9 +24194,11 @@ trackedFiles: docs/models/locationstatus.md: last_write_checksum: sha1:030498c0c499888e46a722d2c4ee6370cb4b6bc7 docs/models/log.md: - last_write_checksum: sha1:506642b88d1f23f81860d75b1c03895647674031 + last_write_checksum: sha1:923c2442945f7141d870ee51d4a4ba1e918d44cd docs/models/logsfilter.md: last_write_checksum: sha1:be4abcf7b603a1e8928d9e3deb5363211b5728bf + docs/models/logunifiedapi.md: + last_write_checksum: sha1:3df48a0c6103b4c9365f81911a8da14a6510ca38 docs/models/managedvia.md: last_write_checksum: sha1:10910e52526c3aa83d757e320e659b1d24a6cd73 docs/models/manager.md: @@ -24681,7 +24686,7 @@ trackedFiles: docs/models/unexpectederrorresponse.md: last_write_checksum: sha1:96cc1dd4a939a040afb989cd7dde58536aad55af docs/models/unifiedapi.md: - last_write_checksum: sha1:1bdfe723449d04a350d28c3c941fa8335de22631 + last_write_checksum: sha1:1750a5a149bf158afaca0a7961c8dc361830769c docs/models/unifiedapiid.md: last_write_checksum: sha1:daa11a2da1d1261849b494fa3285a1d5cb7f24e2 docs/models/unifiedapis.md: @@ -25073,7 +25078,7 @@ trackedFiles: docs/sdks/ageddebtorssdk/README.md: last_write_checksum: sha1:90c0dc1213ae0ae22d54460b14e475e9768ec21b docs/sdks/apideckcompanies/README.md: - last_write_checksum: sha1:9ebdfc2afa528e2bade1195152085f604f8273da + last_write_checksum: sha1:63f85336f3b49d225d041f1aef4ca3dc25a4caa6 docs/sdks/apideckcustomers/README.md: last_write_checksum: sha1:98ee6110c3a32129238df14a6861d9c0c61a2a84 docs/sdks/apideckdepartments/README.md: @@ -25103,7 +25108,7 @@ trackedFiles: docs/sdks/bankfeedstatements/README.md: last_write_checksum: sha1:8e93b8a4fa654756047f46252117021e36db8042 docs/sdks/billcreditnotes/README.md: - last_write_checksum: sha1:5ba470b67a136a23d9b0551357b320e52bcc55f4 + last_write_checksum: sha1:72ab07d381bd476579b5ce8e3eb04095f814d3a4 docs/sdks/billpayments/README.md: last_write_checksum: sha1:6353e19f78b1634b55ed78b12d0d1b822c6b73c9 docs/sdks/bills/README.md: @@ -25137,7 +25142,7 @@ trackedFiles: docs/sdks/connectordocs/README.md: last_write_checksum: sha1:610ca819f7ee6051b38ec53243d69f2a8e0adf77 docs/sdks/connectorresources/README.md: - last_write_checksum: sha1:86cc9c9ff1c134d0278d9ae6479c20821fbc965b + last_write_checksum: sha1:10e7231ba1b4e143edb75892c23ec6f5a50d67f8 docs/sdks/connectors/README.md: last_write_checksum: sha1:d53adc6bdb7bcf4da542a679c6a40907870e8809 docs/sdks/consumerrequestcounts/README.md: @@ -25287,7 +25292,7 @@ trackedFiles: src/apideck_unify/_hooks/types.py: last_write_checksum: sha1:d57be38e644de01983a9224b9733ae0add898d43 src/apideck_unify/_version.py: - last_write_checksum: sha1:64e9c4e4dab7846e700ec2f29ee724afa2d7b553 + last_write_checksum: sha1:19a74a95771ec98e3f420911b4728ef921df06ab src/apideck_unify/accounting.py: last_write_checksum: sha1:2c97de9f5ac09a34183439555d14920748bd573a src/apideck_unify/activities.py: @@ -25297,15 +25302,15 @@ trackedFiles: src/apideck_unify/ageddebtors_sdk.py: last_write_checksum: sha1:20798f95fd221ef07fe4f88b0137b0ce34ad8e37 src/apideck_unify/apideck_companies.py: - last_write_checksum: sha1:8c5aa2d646e4c74de13e0d763f15d4ec67081ee3 + last_write_checksum: sha1:34e4c99a559c28092b217dd9d7c27041849a3cd1 src/apideck_unify/apideck_customers.py: last_write_checksum: sha1:cf02c21c8bd013abfe15a3704ebb16f33094fa1f src/apideck_unify/apideck_departments.py: last_write_checksum: sha1:9c6e4af55297ccb825e8bf5bb5c4089e53e344b5 src/apideck_unify/apideck_employees.py: - last_write_checksum: sha1:e7ed2291b927c875610f3658278771e010ce1758 + last_write_checksum: sha1:eb3ac85eba17d9f4fec41d296e8a6e2f49f0233b src/apideck_unify/apideck_hris_companies.py: - last_write_checksum: sha1:8b1eb48fe3ec7b1d4d84e283a19556d98160d3ca + last_write_checksum: sha1:cc9ada558f51998cea3e21f616e53810a9c2e36c src/apideck_unify/apiresourcecoverage_sdk.py: last_write_checksum: sha1:b9966ba43e09944888d401e67c1cc8c630337893 src/apideck_unify/apiresources.py: @@ -25319,23 +25324,23 @@ trackedFiles: src/apideck_unify/ats.py: last_write_checksum: sha1:0d5c5cedbfeb231840eb69958e0240f2fbb630f8 src/apideck_unify/attachments.py: - last_write_checksum: sha1:b2dd451041410e670734bf9e1295a29fe98e0022 + last_write_checksum: sha1:f19b1aac3c7f45cdd54ff874e3ff66209250c255 src/apideck_unify/balancesheet_sdk.py: last_write_checksum: sha1:2b3ac2cd6ad9abe8d0366eb5c57185329700635e src/apideck_unify/bankaccounts.py: - last_write_checksum: sha1:94f2b7c758e00b7c50e6dbcace95a95b2e2bae7a + last_write_checksum: sha1:fd86eced758455a0c7fa586125ed01f79837889b src/apideck_unify/bankfeedaccounts.py: - last_write_checksum: sha1:bd0d1aedbdd77697fe31031e8dd3e2d0beaa9f40 + last_write_checksum: sha1:60d7fd8262d7d038d0abcdd550c519fd58b14214 src/apideck_unify/bankfeedstatements.py: - last_write_checksum: sha1:e4ac4d9bee63a65f4a4505bc28b6b9d7dc1405fc + last_write_checksum: sha1:4144463b66fd8900fc3a31551c20544e92018e8b src/apideck_unify/basesdk.py: last_write_checksum: sha1:02f62bd40dfedb9697666050be333be287dd5a5b src/apideck_unify/billcreditnotes.py: - last_write_checksum: sha1:71a075075b7912ed07247faa66dc9171ac93da7b + last_write_checksum: sha1:72454fbf4c619ba2de87a74561c70daa204ddfe7 src/apideck_unify/billpayments.py: last_write_checksum: sha1:e9af8dbc83515ff97e4ed0a1a072220e2f2b736a src/apideck_unify/bills.py: - last_write_checksum: sha1:d3021d31e06d440c798aafc7e4d4bd7769cbedd7 + last_write_checksum: sha1:73fc950d040a6527eae43d4f16dfa25f51fa5a79 src/apideck_unify/categories.py: last_write_checksum: sha1:e1ea6fe95dd3b5357c4b6dab95d0cf6e78f33750 src/apideck_unify/collections.py: @@ -25367,7 +25372,7 @@ trackedFiles: src/apideck_unify/connectordocs.py: last_write_checksum: sha1:7d695b83580ff9df58a3925c4a44d05ea9c0d75d src/apideck_unify/connectorresources.py: - last_write_checksum: sha1:ba1fc984eea6e027246479cd549c780c37d8e0c4 + last_write_checksum: sha1:ea9cead63838bbe98d086f5d572bf85a764e2fc4 src/apideck_unify/connectors.py: last_write_checksum: sha1:e4ff5f7a28d6f3f5dc2bf6e0d012c36dfa1a5264 src/apideck_unify/consumerrequestcounts.py: @@ -25379,7 +25384,7 @@ trackedFiles: src/apideck_unify/createcallback.py: last_write_checksum: sha1:fa6cddb89b59b3890fbc0a06c4b7730e91e76f2e src/apideck_unify/creditnotes.py: - last_write_checksum: sha1:52c7d1373419994dbaf7bf8917fc10706f6a4b70 + last_write_checksum: sha1:0ab97a4164d552f97ce30752522c265328ed2982 src/apideck_unify/crm.py: last_write_checksum: sha1:0a3f32ca2265dd9bf40c9b5c0373685dab9e5da6 src/apideck_unify/customers.py: @@ -25429,21 +25434,21 @@ trackedFiles: src/apideck_unify/httpclient.py: last_write_checksum: sha1:5e55338d6ee9f01ab648cad4380201a8a3da7dd7 src/apideck_unify/invoiceitems.py: - last_write_checksum: sha1:3a498addd16f20f64be0b3a9d5761a4cbc79b661 + last_write_checksum: sha1:9f453740408be5aca4137679795ea4191e3d183b src/apideck_unify/invoices.py: - last_write_checksum: sha1:27a7c233090fea68f0a2ba62c0e1cadc92c970ff + last_write_checksum: sha1:db5bd5b56fc8135e69de86b08ee5a0b02ab0ac5e src/apideck_unify/issuetracking.py: last_write_checksum: sha1:a18420473c9ae884dcdc562042a52205924643c5 src/apideck_unify/jobs.py: last_write_checksum: sha1:b16c87611a4857f156f28bd7a93e1e25f2f71dcc src/apideck_unify/journalentries.py: - last_write_checksum: sha1:d390c033bd8cc056a6d6ad32dbd6200a108c1ee6 + last_write_checksum: sha1:a04524bbaddc165ad13ba80441d3b5014d0a7681 src/apideck_unify/journals.py: last_write_checksum: sha1:5ccc40632a6bbb8fd09f6abfd188f77c28672307 src/apideck_unify/leads.py: last_write_checksum: sha1:b1898e48cf89d3269f10074a3a9bf5f6d6c945c3 src/apideck_unify/ledgeraccounts.py: - last_write_checksum: sha1:6d0ef5d69704d54fe942f893b3cd122f6fb4d568 + last_write_checksum: sha1:6d19ab237c4eb6383c64f1a0cf73e259d8a62bee src/apideck_unify/listmembers.py: last_write_checksum: sha1:ae6ad18f742239e0462b3bf1fb25c8a8ed8b5d6c src/apideck_unify/lists.py: @@ -25455,7 +25460,7 @@ trackedFiles: src/apideck_unify/messages.py: last_write_checksum: sha1:8b1e180d3c7d2ae9916b1f645460caebf5281d7b src/apideck_unify/models/__init__.py: - last_write_checksum: sha1:726c3869f066cb6349ae8ef450289618cebcb615 + last_write_checksum: sha1:f5af9b297cfb051f2fbfef5d657c4f53f542306a src/apideck_unify/models/accounting_agedcreditorsoneop.py: last_write_checksum: sha1:7346d1ab1c21db21995aae34c5ba01549c2786c2 src/apideck_unify/models/accounting_ageddebtorsoneop.py: @@ -25919,7 +25924,7 @@ trackedFiles: src/apideck_unify/models/bill.py: last_write_checksum: sha1:640ba94c3ae102410635c47d8f72846efe4b8ef8 src/apideck_unify/models/billcreditnote.py: - last_write_checksum: sha1:6fb961d253a75aeddb24a2e6af8f83dd1c90d221 + last_write_checksum: sha1:4629c14dd2e8b20c944839daeb0f9dfbc01d1c86 src/apideck_unify/models/billcreditnotelineitem.py: last_write_checksum: sha1:912ffef3e3154cdec034f3b511dc845305e3f160 src/apideck_unify/models/billcreditnotelineitem_input.py: @@ -25963,7 +25968,7 @@ trackedFiles: src/apideck_unify/models/companiessort.py: last_write_checksum: sha1:f36788473ca06da82171024e28f46334e304eedc src/apideck_unify/models/company1.py: - last_write_checksum: sha1:0d1580aac782edd6592dedd7c3b84e4897b451cf + last_write_checksum: sha1:98e7b69039039d6a71bae925cbc8b2cfd79271a8 src/apideck_unify/models/companyinfo.py: last_write_checksum: sha1:c1da6e5045978977c7f57ab2567fba25f2fb794f src/apideck_unify/models/compensation.py: @@ -25993,7 +25998,7 @@ trackedFiles: src/apideck_unify/models/connector_connectordocsoneop.py: last_write_checksum: sha1:0c6125856395764311b81cb4de4264e2a339a550 src/apideck_unify/models/connector_connectorresourcesoneop.py: - last_write_checksum: sha1:fb856c3fa6d0352437ca5fbd2c8fa66bfdc08dc0 + last_write_checksum: sha1:82cf65e5d9e97b55ce2c7edf26925681656d16b5 src/apideck_unify/models/connector_connectorsallop.py: last_write_checksum: sha1:98ac7d30a24bf67544efd83d52a8ed66e97d12ff src/apideck_unify/models/connector_connectorsoneop.py: @@ -26485,7 +26490,7 @@ trackedFiles: src/apideck_unify/models/ecommerceproductsfilter.py: last_write_checksum: sha1:3aaa9140803a062db73f926f305f5f6c2a167631 src/apideck_unify/models/ecommercestore.py: - last_write_checksum: sha1:45e7fde90c27040aec44e1fbf84d323fea9957af + last_write_checksum: sha1:b1007a5c86ceb8951a5ffb18d2480e2a64d533ef src/apideck_unify/models/email.py: last_write_checksum: sha1:c2abb5b23ab3f2c3e84020365991375809257972 src/apideck_unify/models/employee.py: @@ -27065,13 +27070,13 @@ trackedFiles: src/apideck_unify/models/journal.py: last_write_checksum: sha1:f254e1bd7fcdcf662f1b29ebebf4b6d4f23423a2 src/apideck_unify/models/journalentriesfilter.py: - last_write_checksum: sha1:a6cb3f36d6e8ef8bf9c3a7229fc6f4a59c3e83e0 + last_write_checksum: sha1:947ff1c11ea2b498ef255871d5d00862bac272f1 src/apideck_unify/models/journalentriessort.py: last_write_checksum: sha1:3c089f317739a631b48f3de2486e6b3275af38b9 src/apideck_unify/models/journalentry.py: last_write_checksum: sha1:2fd1a59a62c976ea8520df8287a188760bdd1a78 src/apideck_unify/models/journalentrylineitem.py: - last_write_checksum: sha1:c8b756eef5e818b2e50b57f013b2f5ea6c2aa2c7 + last_write_checksum: sha1:b07b1884c0d773861a3607f9b23afa4fe0721459 src/apideck_unify/models/lead.py: last_write_checksum: sha1:46a90d100504b29babe0b702f7d4e820b70e83ac src/apideck_unify/models/lead_input.py: @@ -27153,7 +27158,7 @@ trackedFiles: src/apideck_unify/models/listmember.py: last_write_checksum: sha1:3e53251ef50a683d236dbe4beab245340ffee5d5 src/apideck_unify/models/log.py: - last_write_checksum: sha1:d4e242c818ce2166438e08905820f7fb4506977e + last_write_checksum: sha1:9f915327e86b465d9dfb763f1279b2dbae853c29 src/apideck_unify/models/logsfilter.py: last_write_checksum: sha1:4debfc84b9357152b4a3e9464c49a3b746c10bc4 src/apideck_unify/models/message.py: @@ -27364,6 +27369,8 @@ trackedFiles: last_write_checksum: sha1:8d264e6ab2f0dee204028561b0b16ddc03dcd618 src/apideck_unify/models/unexpectederrorresponse.py: last_write_checksum: sha1:3dc0c7f7c1f3429aa4fe7369e859d2fad6436202 + src/apideck_unify/models/unifiedapi.py: + last_write_checksum: sha1:5209910dfc5c73f955a1044019373ce218b74621 src/apideck_unify/models/unifiedapiid.py: last_write_checksum: sha1:4646a9086cd0a057603708951ed55c54e38c1fcf src/apideck_unify/models/unifiedfile.py: @@ -27629,13 +27636,13 @@ trackedFiles: src/apideck_unify/sms.py: last_write_checksum: sha1:444ede696d4742704204a55660fd82ef98a1820a src/apideck_unify/stores.py: - last_write_checksum: sha1:9f5e5fc900c1254bb5ee0d45cd5e5c1bc0ec762d + last_write_checksum: sha1:bc8869e3e071c4b8881d3b19865db7ec2d6a9ef0 src/apideck_unify/subsidiaries.py: last_write_checksum: sha1:dbcf581c0704e0e7c9016b16b3d5f0feb27a07ad src/apideck_unify/suppliers.py: - last_write_checksum: sha1:5c1bb7b6c1a1a4b9132b7b59636aa6414f79d487 + last_write_checksum: sha1:8f8e7868affd750e87623acc12960391ac39d030 src/apideck_unify/taxrates.py: - last_write_checksum: sha1:4ed78936a0dfd8fce39fd8aa32d707afb06b88a9 + last_write_checksum: sha1:b46f2a88769f098665fcf7d06a2ff3fa7420a830 src/apideck_unify/timeoffrequests.py: last_write_checksum: sha1:07f0ba31145daa562027e1e8dd63084e9c70930e src/apideck_unify/trackingcategories.py: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index c5e80479..16c8e06e 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -32,7 +32,7 @@ generation: persistentEdits: {} versioningStrategy: automatic python: - version: 0.42.1 + version: 0.42.2 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 433a21fd..6bcb9eed 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,20 +2,20 @@ speakeasyVersion: 1.656.1 sources: Apideck: sourceNamespace: apideck - sourceRevisionDigest: sha256:7d7a11ee17fe4b7a2cd1f7cd812af99155fae9af28b55f248a34f0d0461f9390 - sourceBlobDigest: sha256:dd4f6722de745e1ebaa3e989728410a40d156bcc1bf87011ff6d999ff55fb8ac + sourceRevisionDigest: sha256:3543ecb11819fad9736fc70a419635ce87f8b5f3c26ddd5bb4b180be5277dbe7 + sourceBlobDigest: sha256:8ede166fbfd2bcc4eb666e2813d2a3908d6a01c9d3cbe7e9ecd3f5587aad2e39 tags: - latest - - speakeasy-sdk-regen-1789740400 - - 10.58.2 + - speakeasy-sdk-regen-1789967875 + - 10.58.17 targets: apideck: source: Apideck sourceNamespace: apideck - sourceRevisionDigest: sha256:7d7a11ee17fe4b7a2cd1f7cd812af99155fae9af28b55f248a34f0d0461f9390 - sourceBlobDigest: sha256:dd4f6722de745e1ebaa3e989728410a40d156bcc1bf87011ff6d999ff55fb8ac + sourceRevisionDigest: sha256:3543ecb11819fad9736fc70a419635ce87f8b5f3c26ddd5bb4b180be5277dbe7 + sourceBlobDigest: sha256:8ede166fbfd2bcc4eb666e2813d2a3908d6a01c9d3cbe7e9ecd3f5587aad2e39 codeSamplesNamespace: apideck-python-code-samples - codeSamplesRevisionDigest: sha256:f84dd7f61bd139f26ed2cba8fbe18cfbb647551a7c92ddc7189c52b98122f866 + codeSamplesRevisionDigest: sha256:5892475abb526c59bce5b07aba692297a615d6725d1a8f81fab65e26456e632f workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index cb4c75cb..cce966c4 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1588,4 +1588,14 @@ Based on: ### Generated - [python v0.42.1] . ### Releases -- [PyPI v0.42.1] https://pypi.org/project/apideck-unify/0.42.1 - . \ No newline at end of file +- [PyPI v0.42.1] https://pypi.org/project/apideck-unify/0.42.1 - . + +## 2026-09-24 11:49:36 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.656.1 (2.753.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.42.2] . +### Releases +- [PyPI v0.42.2] https://pypi.org/project/apideck-unify/0.42.2 - . \ No newline at end of file diff --git a/docs/models/billcreditnote.md b/docs/models/billcreditnote.md index e3bca25e..4812d92d 100644 --- a/docs/models/billcreditnote.md +++ b/docs/models/billcreditnote.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | Unique identifier representing the entity | 123456 | +| `id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier representing the entity | 123456 | | `number` | *OptionalNullable[str]* | :heavy_minus_sign: | Bill credit note number. | OIT00546 | | `supplier` | [OptionalNullable[models.LinkedSupplier]](../models/linkedsupplier.md) | :heavy_minus_sign: | The supplier this entity is linked to. | | | `subsidiary` | [OptionalNullable[models.LinkedSubsidiary]](../models/linkedsubsidiary.md) | :heavy_minus_sign: | N/A | | @@ -15,7 +15,7 @@ | `currency_rate` | *OptionalNullable[float]* | :heavy_minus_sign: | Currency Exchange Rate at the time entity was recorded/generated. | 0.69 | | `tax_inclusive` | *OptionalNullable[bool]* | :heavy_minus_sign: | Amounts are including tax | true | | `sub_total` | *OptionalNullable[float]* | :heavy_minus_sign: | Sub-total amount, normally before tax. | 27500 | -| `total_amount` | *float* | :heavy_check_mark: | Amount of transaction | 49.99 | +| `total_amount` | *Optional[float]* | :heavy_minus_sign: | Amount of transaction | 49.99 | | `total_tax` | *OptionalNullable[float]* | :heavy_minus_sign: | Total tax amount applied to this bill credit note. | 2500 | | `tax_code` | *OptionalNullable[str]* | :heavy_minus_sign: | Applicable tax id/code override if tax is not supplied on a line item basis. | 1234 | | `balance` | *OptionalNullable[float]* | :heavy_minus_sign: | The balance reflecting any payments made against the transaction. | 27500 | diff --git a/docs/models/billcreditnoteinput.md b/docs/models/billcreditnoteinput.md index 8a004ce8..4a017d79 100644 --- a/docs/models/billcreditnoteinput.md +++ b/docs/models/billcreditnoteinput.md @@ -14,7 +14,7 @@ | `currency_rate` | *OptionalNullable[float]* | :heavy_minus_sign: | Currency Exchange Rate at the time entity was recorded/generated. | 0.69 | | `tax_inclusive` | *OptionalNullable[bool]* | :heavy_minus_sign: | Amounts are including tax | true | | `sub_total` | *OptionalNullable[float]* | :heavy_minus_sign: | Sub-total amount, normally before tax. | 27500 | -| `total_amount` | *float* | :heavy_check_mark: | Amount of transaction | 49.99 | +| `total_amount` | *Optional[float]* | :heavy_minus_sign: | Amount of transaction | 49.99 | | `total_tax` | *OptionalNullable[float]* | :heavy_minus_sign: | Total tax amount applied to this bill credit note. | 2500 | | `tax_code` | *OptionalNullable[str]* | :heavy_minus_sign: | Applicable tax id/code override if tax is not supplied on a line item basis. | 1234 | | `balance` | *OptionalNullable[float]* | :heavy_minus_sign: | The balance reflecting any payments made against the transaction. | 27500 | diff --git a/docs/models/company1input.md b/docs/models/company1input.md index ed0b1de5..fbd85766 100644 --- a/docs/models/company1input.md +++ b/docs/models/company1input.md @@ -24,6 +24,7 @@ | `acn` | *OptionalNullable[str]* | :heavy_minus_sign: | The Australian Company Number (ACN) is a nine digit number with the last digit being a check digit calculated using a modified modulus 10 calculation. ASIC has adopted a convention of always printing and displaying the ACN in the format XXX XXX XXX; three blocks of three characters, each block separated by a blank. | XXX XXX XXX | | `first_name` | *OptionalNullable[str]* | :heavy_minus_sign: | The first name of the person. | Elon | | `last_name` | *OptionalNullable[str]* | :heavy_minus_sign: | The last name of the person. | Musk | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Parent ID | 22345 | | `bank_accounts` | List[[models.BankAccount1](../models/bankaccount1.md)] | :heavy_minus_sign: | N/A | | | `websites` | List[[models.Website](../models/website.md)] | :heavy_minus_sign: | N/A | | | `addresses` | List[[models.Address](../models/address.md)] | :heavy_minus_sign: | N/A | | diff --git a/docs/models/connectorconnectorresourcesonerequest.md b/docs/models/connectorconnectorresourcesonerequest.md index c9b2bfb6..6fe6d385 100644 --- a/docs/models/connectorconnectorresourcesonerequest.md +++ b/docs/models/connectorconnectorresourcesonerequest.md @@ -8,4 +8,4 @@ | `app_id` | *Optional[str]* | :heavy_minus_sign: | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX | | `id` | *str* | :heavy_check_mark: | ID of the record you are acting upon. | | | `resource_id` | *str* | :heavy_check_mark: | ID of the resource you are acting upon. | | -| `unified_api` | [Optional[models.UnifiedAPIID]](../models/unifiedapiid.md) | :heavy_minus_sign: | Specify unified API for the connector resource. This is useful when a resource appears in multiple APIs | crm | \ No newline at end of file +| `unified_api` | [Optional[models.UnifiedAPI]](../models/unifiedapi.md) | :heavy_minus_sign: | Specify unified API for the connector resource. This is useful when a resource appears in multiple APIs | crm | \ No newline at end of file diff --git a/docs/models/ecommercestore.md b/docs/models/ecommercestore.md index 435f38d9..b57f2583 100644 --- a/docs/models/ecommercestore.md +++ b/docs/models/ecommercestore.md @@ -3,12 +3,13 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `id` | *str* | :heavy_check_mark: | A unique identifier for an object. | 12345 | -| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | The store's name | My Store | -| `store_url` | *OptionalNullable[str]* | :heavy_minus_sign: | The store's website URL | https://mybrand.com/shop | -| `admin_url` | *OptionalNullable[str]* | :heavy_minus_sign: | The store's admin login URL | https://mybrand.com/admin | -| `custom_mappings` | Dict[str, *Any*] | :heavy_minus_sign: | When custom mappings are configured on the resource, the result is included here. | | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The date and time when the object was created. | 2020-09-30T07:43:32.000Z | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The date and time when the object was last updated. | 2020-09-30T07:43:32.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | A unique identifier for an object. | 12345 | +| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | The store's name | My Store | +| `store_url` | *OptionalNullable[str]* | :heavy_minus_sign: | The store's website URL | https://mybrand.com/shop | +| `admin_url` | *OptionalNullable[str]* | :heavy_minus_sign: | The store's admin login URL | https://mybrand.com/admin | +| `addresses` | List[[models.EcommerceAddress](../models/ecommerceaddress.md)] | :heavy_minus_sign: | Seller-side addresses exposed by the platform for this store. Currently holds the store's default shipping origin when the platform designates one. Empty when none is available. | | +| `custom_mappings` | Dict[str, *Any*] | :heavy_minus_sign: | When custom mappings are configured on the resource, the result is included here. | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The date and time when the object was created. | 2020-09-30T07:43:32.000Z | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The date and time when the object was last updated. | 2020-09-30T07:43:32.000Z | \ No newline at end of file diff --git a/docs/models/journalentriesfilter.md b/docs/models/journalentriesfilter.md index ced1df7f..0e364358 100644 --- a/docs/models/journalentriesfilter.md +++ b/docs/models/journalentriesfilter.md @@ -6,6 +6,7 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `updated_since` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | 2020-09-30T07:43:32.000Z | +| `number` | *Optional[str]* | :heavy_minus_sign: | Journal entry number to search for | JE-0001 | | `start_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | Return journal entries posted on or after this date (posting date, inclusive). Connectors without date-range support reject this filter with UnsupportedFiltersError. | 2025-02-01 | | `end_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | Return journal entries posted on or before this date (posting date, inclusive). Connectors without date-range support reject this filter with UnsupportedFiltersError. | 2025-02-28 | | `status` | [Optional[models.JournalEntriesFilterStatus]](../models/journalentriesfilterstatus.md) | :heavy_minus_sign: | N/A | | diff --git a/docs/models/journalentrylineitem.md b/docs/models/journalentrylineitem.md index 37ffaab4..b731fb38 100644 --- a/docs/models/journalentrylineitem.md +++ b/docs/models/journalentrylineitem.md @@ -3,24 +3,26 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional[str]* | :heavy_minus_sign: | A unique identifier for an object. | 12345 | -| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | User defined description | Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection. | -| `tax_amount` | *OptionalNullable[float]* | :heavy_minus_sign: | Tax amount | 27500 | -| `sub_total` | *OptionalNullable[float]* | :heavy_minus_sign: | Sub-total amount, normally before tax. | 27500 | -| `total_amount` | *OptionalNullable[float]* | :heavy_minus_sign: | Debit entries are considered positive, and credit entries are considered negative. | 27500 | -| `base_currency_amount` | *OptionalNullable[float]* | :heavy_minus_sign: | Amount for this line in the company's base currency. Used when the journal entry currency differs from the company's base currency. | 27500 | -| `type` | [Nullable[models.JournalEntryLineItemType]](../models/journalentrylineitemtype.md) | :heavy_check_mark: | Debit entries are considered positive, and credit entries are considered negative. | debit | -| `tax_rate` | [Optional[models.LinkedTaxRate]](../models/linkedtaxrate.md) | :heavy_minus_sign: | N/A | | -| `tax_type` | [OptionalNullable[models.TaxType]](../models/taxtype.md) | :heavy_minus_sign: | The tax applicability of this line item. Overrides the root-level tax_type for this line. | sales | -| ~~`tracking_category`~~ | [OptionalNullable[models.DeprecatedLinkedTrackingCategory]](../models/deprecatedlinkedtrackingcategory.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This field is deprecated and may be removed in a future version.. | | -| `tracking_categories` | List[[Nullable[models.LinkedTrackingCategory]](../models/linkedtrackingcategory.md)] | :heavy_minus_sign: | A list of linked tracking categories. | | -| `ledger_account` | [Nullable[models.LinkedLedgerAccount]](../models/linkedledgeraccount.md) | :heavy_check_mark: | N/A | | -| `customer` | [OptionalNullable[models.LinkedCustomer]](../models/linkedcustomer.md) | :heavy_minus_sign: | The customer this entity is linked to. | | -| `supplier` | [OptionalNullable[models.LinkedSupplier]](../models/linkedsupplier.md) | :heavy_minus_sign: | The supplier this entity is linked to. | | -| `employee` | [OptionalNullable[models.LinkedEmployee]](../models/linkedemployee.md) | :heavy_minus_sign: | The employee this entity is linked to. | | -| `department_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the department | 12345 | -| `location_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the location | 12345 | -| `line_number` | *OptionalNullable[int]* | :heavy_minus_sign: | Line number of the resource | 1 | -| `worktags` | List[[Nullable[models.LinkedWorktag]](../models/linkedworktag.md)] | :heavy_minus_sign: | Worktags of the line item. This is currently only supported in Workday. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional[str]* | :heavy_minus_sign: | A unique identifier for an object. | 12345 | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | User defined description | Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection. | +| `tax_amount` | *OptionalNullable[float]* | :heavy_minus_sign: | Tax amount | 27500 | +| `sub_total` | *OptionalNullable[float]* | :heavy_minus_sign: | Sub-total amount, normally before tax. | 27500 | +| `total_amount` | *OptionalNullable[float]* | :heavy_minus_sign: | Debit entries are considered positive, and credit entries are considered negative. | 27500 | +| `base_currency_amount` | *OptionalNullable[float]* | :heavy_minus_sign: | Amount for this line in the company's base currency. Used when the journal entry currency differs from the company's base currency. | 27500 | +| `type` | [Nullable[models.JournalEntryLineItemType]](../models/journalentrylineitemtype.md) | :heavy_check_mark: | Debit entries are considered positive, and credit entries are considered negative. | debit | +| `tax_rate` | [Optional[models.LinkedTaxRate]](../models/linkedtaxrate.md) | :heavy_minus_sign: | N/A | | +| `tax_type` | [OptionalNullable[models.TaxType]](../models/taxtype.md) | :heavy_minus_sign: | The tax applicability of this line item. Overrides the root-level tax_type for this line. | sales | +| ~~`tracking_category`~~ | [OptionalNullable[models.DeprecatedLinkedTrackingCategory]](../models/deprecatedlinkedtrackingcategory.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This field is deprecated and may be removed in a future version.. | | +| `tracking_categories` | List[[Nullable[models.LinkedTrackingCategory]](../models/linkedtrackingcategory.md)] | :heavy_minus_sign: | A list of linked tracking categories. | | +| `ledger_account` | [Nullable[models.LinkedLedgerAccount]](../models/linkedledgeraccount.md) | :heavy_check_mark: | N/A | | +| `customer` | [OptionalNullable[models.LinkedCustomer]](../models/linkedcustomer.md) | :heavy_minus_sign: | The customer this entity is linked to. | | +| `supplier` | [OptionalNullable[models.LinkedSupplier]](../models/linkedsupplier.md) | :heavy_minus_sign: | The supplier this entity is linked to. | | +| `employee` | [OptionalNullable[models.LinkedEmployee]](../models/linkedemployee.md) | :heavy_minus_sign: | The employee this entity is linked to. | | +| `department_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the department | 12345 | +| `location_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the location | 12345 | +| `line_number` | *OptionalNullable[int]* | :heavy_minus_sign: | Line number of the resource | 1 | +| `worktags` | List[[Nullable[models.LinkedWorktag]](../models/linkedworktag.md)] | :heavy_minus_sign: | Worktags of the line item. This is currently only supported in Workday. | | +| `date_` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | The financial date of this specific line, when it differs from the journal entry's own posted_at date - for example when booking a historical or backdated transaction. Not populated by every connector: some post the entry date at the header level only, in which case this line-level date is legitimately absent rather than wrong. | 2020-09-30 | +| `source_id` | *OptionalNullable[str]* | :heavy_minus_sign: | A unique identifier for the source of this specific line, distinct from the journal entry's own source_id. Useful for reconciling an individual line back to an external system's own record when a single journal entry aggregates lines originating from more than one source. | 12345 | \ No newline at end of file diff --git a/docs/models/journalentrylineiteminput.md b/docs/models/journalentrylineiteminput.md index 5f9f4ef9..0d0a3b54 100644 --- a/docs/models/journalentrylineiteminput.md +++ b/docs/models/journalentrylineiteminput.md @@ -3,23 +3,25 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | User defined description | Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection. | -| `tax_amount` | *OptionalNullable[float]* | :heavy_minus_sign: | Tax amount | 27500 | -| `sub_total` | *OptionalNullable[float]* | :heavy_minus_sign: | Sub-total amount, normally before tax. | 27500 | -| `total_amount` | *OptionalNullable[float]* | :heavy_minus_sign: | Debit entries are considered positive, and credit entries are considered negative. | 27500 | -| `base_currency_amount` | *OptionalNullable[float]* | :heavy_minus_sign: | Amount for this line in the company's base currency. Used when the journal entry currency differs from the company's base currency. | 27500 | -| `type` | [Nullable[models.JournalEntryLineItemType]](../models/journalentrylineitemtype.md) | :heavy_check_mark: | Debit entries are considered positive, and credit entries are considered negative. | debit | -| `tax_rate` | [Optional[models.LinkedTaxRateInput]](../models/linkedtaxrateinput.md) | :heavy_minus_sign: | N/A | | -| `tax_type` | [OptionalNullable[models.TaxType]](../models/taxtype.md) | :heavy_minus_sign: | The tax applicability of this line item. Overrides the root-level tax_type for this line. | sales | -| ~~`tracking_category`~~ | [OptionalNullable[models.DeprecatedLinkedTrackingCategory]](../models/deprecatedlinkedtrackingcategory.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This field is deprecated and may be removed in a future version.. | | -| `tracking_categories` | List[[Nullable[models.LinkedTrackingCategory]](../models/linkedtrackingcategory.md)] | :heavy_minus_sign: | A list of linked tracking categories. | | -| `ledger_account` | [Nullable[models.LinkedLedgerAccount]](../models/linkedledgeraccount.md) | :heavy_check_mark: | N/A | | -| `customer` | [OptionalNullable[models.LinkedCustomerInput]](../models/linkedcustomerinput.md) | :heavy_minus_sign: | The customer this entity is linked to. | | -| `supplier` | [OptionalNullable[models.LinkedSupplierInput]](../models/linkedsupplierinput.md) | :heavy_minus_sign: | The supplier this entity is linked to. | | -| `employee` | [OptionalNullable[models.LinkedEmployee]](../models/linkedemployee.md) | :heavy_minus_sign: | The employee this entity is linked to. | | -| `department_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the department | 12345 | -| `location_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the location | 12345 | -| `line_number` | *OptionalNullable[int]* | :heavy_minus_sign: | Line number of the resource | 1 | -| `worktags` | List[[Nullable[models.LinkedWorktag]](../models/linkedworktag.md)] | :heavy_minus_sign: | Worktags of the line item. This is currently only supported in Workday. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | User defined description | Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection. | +| `tax_amount` | *OptionalNullable[float]* | :heavy_minus_sign: | Tax amount | 27500 | +| `sub_total` | *OptionalNullable[float]* | :heavy_minus_sign: | Sub-total amount, normally before tax. | 27500 | +| `total_amount` | *OptionalNullable[float]* | :heavy_minus_sign: | Debit entries are considered positive, and credit entries are considered negative. | 27500 | +| `base_currency_amount` | *OptionalNullable[float]* | :heavy_minus_sign: | Amount for this line in the company's base currency. Used when the journal entry currency differs from the company's base currency. | 27500 | +| `type` | [Nullable[models.JournalEntryLineItemType]](../models/journalentrylineitemtype.md) | :heavy_check_mark: | Debit entries are considered positive, and credit entries are considered negative. | debit | +| `tax_rate` | [Optional[models.LinkedTaxRateInput]](../models/linkedtaxrateinput.md) | :heavy_minus_sign: | N/A | | +| `tax_type` | [OptionalNullable[models.TaxType]](../models/taxtype.md) | :heavy_minus_sign: | The tax applicability of this line item. Overrides the root-level tax_type for this line. | sales | +| ~~`tracking_category`~~ | [OptionalNullable[models.DeprecatedLinkedTrackingCategory]](../models/deprecatedlinkedtrackingcategory.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This field is deprecated and may be removed in a future version.. | | +| `tracking_categories` | List[[Nullable[models.LinkedTrackingCategory]](../models/linkedtrackingcategory.md)] | :heavy_minus_sign: | A list of linked tracking categories. | | +| `ledger_account` | [Nullable[models.LinkedLedgerAccount]](../models/linkedledgeraccount.md) | :heavy_check_mark: | N/A | | +| `customer` | [OptionalNullable[models.LinkedCustomerInput]](../models/linkedcustomerinput.md) | :heavy_minus_sign: | The customer this entity is linked to. | | +| `supplier` | [OptionalNullable[models.LinkedSupplierInput]](../models/linkedsupplierinput.md) | :heavy_minus_sign: | The supplier this entity is linked to. | | +| `employee` | [OptionalNullable[models.LinkedEmployee]](../models/linkedemployee.md) | :heavy_minus_sign: | The employee this entity is linked to. | | +| `department_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the department | 12345 | +| `location_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the location | 12345 | +| `line_number` | *OptionalNullable[int]* | :heavy_minus_sign: | Line number of the resource | 1 | +| `worktags` | List[[Nullable[models.LinkedWorktag]](../models/linkedworktag.md)] | :heavy_minus_sign: | Worktags of the line item. This is currently only supported in Workday. | | +| `date_` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | The financial date of this specific line, when it differs from the journal entry's own posted_at date - for example when booking a historical or backdated transaction. Not populated by every connector: some post the entry date at the header level only, in which case this line-level date is legitimately absent rather than wrong. | 2020-09-30 | +| `source_id` | *OptionalNullable[str]* | :heavy_minus_sign: | A unique identifier for the source of this specific line, distinct from the journal entry's own source_id. Useful for reconciling an individual line back to an external system's own record when a single journal entry aggregates lines originating from more than one source. | 12345 | \ No newline at end of file diff --git a/docs/models/log.md b/docs/models/log.md index bc0d756b..81313dfc 100644 --- a/docs/models/log.md +++ b/docs/models/log.md @@ -25,4 +25,4 @@ | `status_code` | *int* | :heavy_check_mark: | HTTP Status code that was returned. | 200 | | `success` | *bool* | :heavy_check_mark: | Whether or not the request was successful. | true | | `timestamp` | *str* | :heavy_check_mark: | ISO Date and time when the request was made. | 2021-07-12T14:26:17.420Z | -| `unified_api` | [models.UnifiedAPI](../models/unifiedapi.md) | :heavy_check_mark: | Which Unified Api request was made to. | vault | \ No newline at end of file +| `unified_api` | [models.LogUnifiedAPI](../models/logunifiedapi.md) | :heavy_check_mark: | Which Unified Api request was made to. | vault | \ No newline at end of file diff --git a/docs/models/logunifiedapi.md b/docs/models/logunifiedapi.md new file mode 100644 index 00000000..8c1e6170 --- /dev/null +++ b/docs/models/logunifiedapi.md @@ -0,0 +1,21 @@ +# LogUnifiedAPI + +Which Unified Api request was made to. + + +## Values + +| Name | Value | +| ---------------- | ---------------- | +| `CRM` | crm | +| `LEAD` | lead | +| `PROXY` | proxy | +| `VAULT` | vault | +| `ACCOUNTING` | accounting | +| `HRIS` | hris | +| `ATS` | ats | +| `ECOMMERCE` | ecommerce | +| `ISSUE_TRACKING` | issue-tracking | +| `POS` | pos | +| `FILE_STORAGE` | file-storage | +| `SMS` | sms | \ No newline at end of file diff --git a/docs/models/unifiedapi.md b/docs/models/unifiedapi.md index 463b46f4..3d912bbc 100644 --- a/docs/models/unifiedapi.md +++ b/docs/models/unifiedapi.md @@ -1,21 +1,37 @@ # UnifiedAPI -Which Unified Api request was made to. +Name of Apideck Unified API ## Values -| Name | Value | -| ---------------- | ---------------- | -| `CRM` | crm | -| `LEAD` | lead | -| `PROXY` | proxy | -| `VAULT` | vault | -| `ACCOUNTING` | accounting | -| `HRIS` | hris | -| `ATS` | ats | -| `ECOMMERCE` | ecommerce | -| `ISSUE_TRACKING` | issue-tracking | -| `POS` | pos | -| `FILE_STORAGE` | file-storage | -| `SMS` | sms | \ No newline at end of file +| Name | Value | +| ------------------------ | ------------------------ | +| `ACCOUNTING` | accounting | +| `ATS` | ats | +| `CALENDAR` | calendar | +| `CRM` | crm | +| `CSP` | csp | +| `CUSTOMER_SUPPORT` | customer-support | +| `ECOMMERCE` | ecommerce | +| `EMAIL` | email | +| `EMAIL_MARKETING` | email-marketing | +| `EXPENSE_MANAGEMENT` | expense-management | +| `FILE_STORAGE` | file-storage | +| `FORM` | form | +| `HRIS` | hris | +| `LEAD` | lead | +| `PAYROLL` | payroll | +| `POS` | pos | +| `PROCUREMENT` | procurement | +| `PROJECT_MANAGEMENT` | project-management | +| `SCRIPT` | script | +| `SMS` | sms | +| `SPREADSHEET` | spreadsheet | +| `SUBSCRIPTION_ANALYTICS` | subscription-analytics | +| `TEAM_MESSAGING` | team-messaging | +| `ISSUE_TRACKING` | issue-tracking | +| `TIME_REGISTRATION` | time-registration | +| `TRANSACTIONAL_EMAIL` | transactional-email | +| `VAULT` | vault | +| `DATA_WAREHOUSE` | data-warehouse | \ No newline at end of file diff --git a/docs/sdks/apideckcompanies/README.md b/docs/sdks/apideckcompanies/README.md index db6839ff..20d9d613 100644 --- a/docs/sdks/apideckcompanies/README.md +++ b/docs/sdks/apideckcompanies/README.md @@ -97,7 +97,7 @@ with Apideck( api_key=os.getenv("APIDECK_API_KEY", ""), ) as apideck: - res = apideck.crm.companies.create(name="SpaceX", raw=False, service_id="salesforce", owner_id="12345", image="https://www.spacex.com/static/images/share.jpg", description="Space Exploration Technologies Corp. is an American aerospace manufacturer, space transportation services and communications company headquartered in Hawthorne, California.", vat_number="BE0689615164", currency=apideck_unify.Currency.USD, status="Open", fax="+12129876543", annual_revenue="+$35m", number_of_employees="500-1000", industry="Apparel", ownership="Public", sales_tax_number="12456EN", payee_number="78932EN", abn_or_tfn="46 115 614 695", abn_branch="123", acn="XXX XXX XXX", first_name="Elon", last_name="Musk", bank_accounts=[ + res = apideck.crm.companies.create(name="SpaceX", raw=False, service_id="salesforce", owner_id="12345", image="https://www.spacex.com/static/images/share.jpg", description="Space Exploration Technologies Corp. is an American aerospace manufacturer, space transportation services and communications company headquartered in Hawthorne, California.", vat_number="BE0689615164", currency=apideck_unify.Currency.USD, status="Open", fax="+12129876543", annual_revenue="+$35m", number_of_employees="500-1000", industry="Apparel", ownership="Public", sales_tax_number="12456EN", payee_number="78932EN", abn_or_tfn="46 115 614 695", abn_branch="123", acn="XXX XXX XXX", first_name="Elon", last_name="Musk", parent_id="22345", bank_accounts=[ { "bank_name": "Monzo", "account_number": "123465", @@ -291,6 +291,7 @@ with Apideck( | `acn` | *OptionalNullable[str]* | :heavy_minus_sign: | The Australian Company Number (ACN) is a nine digit number with the last digit being a check digit calculated using a modified modulus 10 calculation. ASIC has adopted a convention of always printing and displaying the ACN in the format XXX XXX XXX; three blocks of three characters, each block separated by a blank. | XXX XXX XXX | | `first_name` | *OptionalNullable[str]* | :heavy_minus_sign: | The first name of the person. | Elon | | `last_name` | *OptionalNullable[str]* | :heavy_minus_sign: | The last name of the person. | Musk | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Parent ID | 22345 | | `bank_accounts` | List[[models.BankAccount1](../../models/bankaccount1.md)] | :heavy_minus_sign: | N/A | | | `websites` | List[[models.Website](../../models/website.md)] | :heavy_minus_sign: | N/A | | | `addresses` | List[[models.Address](../../models/address.md)] | :heavy_minus_sign: | N/A | | @@ -395,7 +396,7 @@ with Apideck( api_key=os.getenv("APIDECK_API_KEY", ""), ) as apideck: - res = apideck.crm.companies.update(id="", name="SpaceX", raw=False, service_id="salesforce", owner_id="12345", image="https://www.spacex.com/static/images/share.jpg", description="Space Exploration Technologies Corp. is an American aerospace manufacturer, space transportation services and communications company headquartered in Hawthorne, California.", vat_number="BE0689615164", currency=apideck_unify.Currency.USD, status="Open", fax="+12129876543", annual_revenue="+$35m", number_of_employees="500-1000", industry="Apparel", ownership="Public", sales_tax_number="12456EN", payee_number="78932EN", abn_or_tfn="46 115 614 695", abn_branch="123", acn="XXX XXX XXX", first_name="Elon", last_name="Musk", bank_accounts=[ + res = apideck.crm.companies.update(id="", name="SpaceX", raw=False, service_id="salesforce", owner_id="12345", image="https://www.spacex.com/static/images/share.jpg", description="Space Exploration Technologies Corp. is an American aerospace manufacturer, space transportation services and communications company headquartered in Hawthorne, California.", vat_number="BE0689615164", currency=apideck_unify.Currency.USD, status="Open", fax="+12129876543", annual_revenue="+$35m", number_of_employees="500-1000", industry="Apparel", ownership="Public", sales_tax_number="12456EN", payee_number="78932EN", abn_or_tfn="46 115 614 695", abn_branch="123", acn="XXX XXX XXX", first_name="Elon", last_name="Musk", parent_id="22345", bank_accounts=[ { "bank_name": "Monzo", "account_number": "123465", @@ -638,6 +639,7 @@ with Apideck( | `acn` | *OptionalNullable[str]* | :heavy_minus_sign: | The Australian Company Number (ACN) is a nine digit number with the last digit being a check digit calculated using a modified modulus 10 calculation. ASIC has adopted a convention of always printing and displaying the ACN in the format XXX XXX XXX; three blocks of three characters, each block separated by a blank. | XXX XXX XXX | | `first_name` | *OptionalNullable[str]* | :heavy_minus_sign: | The first name of the person. | Elon | | `last_name` | *OptionalNullable[str]* | :heavy_minus_sign: | The last name of the person. | Musk | +| `parent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Parent ID | 22345 | | `bank_accounts` | List[[models.BankAccount1](../../models/bankaccount1.md)] | :heavy_minus_sign: | N/A | | | `websites` | List[[models.Website](../../models/website.md)] | :heavy_minus_sign: | N/A | | | `addresses` | List[[models.Address](../../models/address.md)] | :heavy_minus_sign: | N/A | | diff --git a/docs/sdks/billcreditnotes/README.md b/docs/sdks/billcreditnotes/README.md index c20ed3e0..b228dce6 100644 --- a/docs/sdks/billcreditnotes/README.md +++ b/docs/sdks/billcreditnotes/README.md @@ -105,7 +105,7 @@ with Apideck( api_key=os.getenv("APIDECK_API_KEY", ""), ) as apideck: - res = apideck.accounting.bill_credit_notes.create(total_amount=49.99, raw=False, service_id="salesforce", company_id="12345", number="OIT00546", supplier={ + res = apideck.accounting.bill_credit_notes.create(raw=False, service_id="salesforce", company_id="12345", number="OIT00546", supplier={ "id": "12345", "display_name": "Windsurf Shop", "address": { @@ -145,7 +145,7 @@ with Apideck( }, department={ "display_id": "123456", "name": "Acme Inc.", - }, currency=apideck_unify.Currency.USD, currency_rate=0.69, tax_inclusive=True, sub_total=27500, total_tax=2500, tax_code="1234", balance=27500, remaining_credit=27500, status=apideck_unify.BillCreditNoteStatus.AUTHORISED, reference="123456", date_issued=parse_datetime("2021-05-01T12:00:00.000Z"), date_paid=parse_datetime("2021-05-01T12:00:00.000Z"), type_=apideck_unify.BillCreditNoteType.ACCOUNTS_PAYABLE_CREDIT, account={ + }, currency=apideck_unify.Currency.USD, currency_rate=0.69, tax_inclusive=True, sub_total=27500, total_amount=49.99, total_tax=2500, tax_code="1234", balance=27500, remaining_credit=27500, status=apideck_unify.BillCreditNoteStatus.AUTHORISED, reference="123456", date_issued=parse_datetime("2021-05-01T12:00:00.000Z"), date_paid=parse_datetime("2021-05-01T12:00:00.000Z"), type_=apideck_unify.BillCreditNoteType.ACCOUNTS_PAYABLE_CREDIT, account={ "id": "123456", "name": "Bank account", "nominal_code": "N091", @@ -251,7 +251,6 @@ with Apideck( | Parameter | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `total_amount` | *float* | :heavy_check_mark: | Amount of transaction | 49.99 | | `raw` | *Optional[bool]* | :heavy_minus_sign: | Include raw response. Mostly used for debugging purposes | | | `consumer_id` | *Optional[str]* | :heavy_minus_sign: | ID of the consumer which you want to get or push data from | test-consumer | | `app_id` | *Optional[str]* | :heavy_minus_sign: | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX | @@ -266,6 +265,7 @@ with Apideck( | `currency_rate` | *OptionalNullable[float]* | :heavy_minus_sign: | Currency Exchange Rate at the time entity was recorded/generated. | 0.69 | | `tax_inclusive` | *OptionalNullable[bool]* | :heavy_minus_sign: | Amounts are including tax | true | | `sub_total` | *OptionalNullable[float]* | :heavy_minus_sign: | Sub-total amount, normally before tax. | 27500 | +| `total_amount` | *Optional[float]* | :heavy_minus_sign: | Amount of transaction | 49.99 | | `total_tax` | *OptionalNullable[float]* | :heavy_minus_sign: | Total tax amount applied to this bill credit note. | 2500 | | `tax_code` | *OptionalNullable[str]* | :heavy_minus_sign: | Applicable tax id/code override if tax is not supplied on a line item basis. | 1234 | | `balance` | *OptionalNullable[float]* | :heavy_minus_sign: | The balance reflecting any payments made against the transaction. | 27500 | @@ -377,7 +377,7 @@ with Apideck( api_key=os.getenv("APIDECK_API_KEY", ""), ) as apideck: - res = apideck.accounting.bill_credit_notes.update(id="", total_amount=49.99, service_id="salesforce", raw=False, number="OIT00546", supplier={ + res = apideck.accounting.bill_credit_notes.update(id="", service_id="salesforce", raw=False, number="OIT00546", supplier={ "id": "12345", "display_name": "Windsurf Shop", "address": { @@ -417,7 +417,7 @@ with Apideck( }, department={ "display_id": "123456", "name": "Acme Inc.", - }, currency=apideck_unify.Currency.USD, currency_rate=0.69, tax_inclusive=True, sub_total=27500, total_tax=2500, tax_code="1234", balance=27500, remaining_credit=27500, status=apideck_unify.BillCreditNoteStatus.AUTHORISED, reference="123456", date_issued=parse_datetime("2021-05-01T12:00:00.000Z"), date_paid=parse_datetime("2021-05-01T12:00:00.000Z"), type_=apideck_unify.BillCreditNoteType.ACCOUNTS_PAYABLE_CREDIT, account={ + }, currency=apideck_unify.Currency.USD, currency_rate=0.69, tax_inclusive=True, sub_total=27500, total_amount=49.99, total_tax=2500, tax_code="1234", balance=27500, remaining_credit=27500, status=apideck_unify.BillCreditNoteStatus.AUTHORISED, reference="123456", date_issued=parse_datetime("2021-05-01T12:00:00.000Z"), date_paid=parse_datetime("2021-05-01T12:00:00.000Z"), type_=apideck_unify.BillCreditNoteType.ACCOUNTS_PAYABLE_CREDIT, account={ "id": "123456", "name": "Bank account", "nominal_code": "N091", @@ -527,7 +527,6 @@ with Apideck( | Parameter | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | `id` | *str* | :heavy_check_mark: | ID of the record you are acting upon. | | -| `total_amount` | *float* | :heavy_check_mark: | Amount of transaction | 49.99 | | `consumer_id` | *Optional[str]* | :heavy_minus_sign: | ID of the consumer which you want to get or push data from | test-consumer | | `app_id` | *Optional[str]* | :heavy_minus_sign: | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX | | `service_id` | *Optional[str]* | :heavy_minus_sign: | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | salesforce | @@ -541,6 +540,7 @@ with Apideck( | `currency_rate` | *OptionalNullable[float]* | :heavy_minus_sign: | Currency Exchange Rate at the time entity was recorded/generated. | 0.69 | | `tax_inclusive` | *OptionalNullable[bool]* | :heavy_minus_sign: | Amounts are including tax | true | | `sub_total` | *OptionalNullable[float]* | :heavy_minus_sign: | Sub-total amount, normally before tax. | 27500 | +| `total_amount` | *Optional[float]* | :heavy_minus_sign: | Amount of transaction | 49.99 | | `total_tax` | *OptionalNullable[float]* | :heavy_minus_sign: | Total tax amount applied to this bill credit note. | 2500 | | `tax_code` | *OptionalNullable[str]* | :heavy_minus_sign: | Applicable tax id/code override if tax is not supplied on a line item basis. | 1234 | | `balance` | *OptionalNullable[float]* | :heavy_minus_sign: | The balance reflecting any payments made against the transaction. | 27500 | diff --git a/docs/sdks/connectorresources/README.md b/docs/sdks/connectorresources/README.md index f17462bd..71c77414 100644 --- a/docs/sdks/connectorresources/README.md +++ b/docs/sdks/connectorresources/README.md @@ -25,7 +25,7 @@ with Apideck( api_key=os.getenv("APIDECK_API_KEY", ""), ) as apideck: - res = apideck.connector.connector_resources.get(id="", resource_id="", unified_api=apideck_unify.UnifiedAPIID.CRM) + res = apideck.connector.connector_resources.get(id="", resource_id="", unified_api=apideck_unify.UnifiedAPI.CRM) assert res.get_connector_resource_response is not None @@ -41,7 +41,7 @@ with Apideck( | `id` | *str* | :heavy_check_mark: | ID of the record you are acting upon. | | | `resource_id` | *str* | :heavy_check_mark: | ID of the resource you are acting upon. | | | `app_id` | *Optional[str]* | :heavy_minus_sign: | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX | -| `unified_api` | [Optional[models.UnifiedAPIID]](../../models/unifiedapiid.md) | :heavy_minus_sign: | Specify unified API for the connector resource. This is useful when a resource appears in multiple APIs | crm | +| `unified_api` | [Optional[models.UnifiedAPI]](../../models/unifiedapi.md) | :heavy_minus_sign: | Specify unified API for the connector resource. This is useful when a resource appears in multiple APIs | crm | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | ### Response diff --git a/pyproject.toml b/pyproject.toml index 52b25b2b..4f73a748 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "apideck-unify" -version = "0.42.1" +version = "0.42.2" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Speakeasy" },] readme = "README-PYPI.md" diff --git a/src/apideck_unify/_version.py b/src/apideck_unify/_version.py index 3c43eaa3..63a23d50 100644 --- a/src/apideck_unify/_version.py +++ b/src/apideck_unify/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "apideck-unify" -__version__: str = "0.42.1" -__openapi_doc_version__: str = "10.58.2" +__version__: str = "0.42.2" +__openapi_doc_version__: str = "10.58.17" __gen_version__: str = "2.753.1" -__user_agent__: str = "speakeasy-sdk/python 0.42.1 2.753.1 10.58.2 apideck-unify" +__user_agent__: str = "speakeasy-sdk/python 0.42.2 2.753.1 10.58.17 apideck-unify" try: if __package__ is not None: diff --git a/src/apideck_unify/apideck_companies.py b/src/apideck_unify/apideck_companies.py index 2a27e295..ec2be8cd 100644 --- a/src/apideck_unify/apideck_companies.py +++ b/src/apideck_unify/apideck_companies.py @@ -412,6 +412,7 @@ def create( acn: OptionalNullable[str] = UNSET, first_name: OptionalNullable[str] = UNSET, last_name: OptionalNullable[str] = UNSET, + parent_id: OptionalNullable[str] = UNSET, bank_accounts: Optional[ Union[List[models.BankAccount1], List[models.BankAccount1TypedDict]] ] = None, @@ -473,6 +474,7 @@ def create( :param acn: The Australian Company Number (ACN) is a nine digit number with the last digit being a check digit calculated using a modified modulus 10 calculation. ASIC has adopted a convention of always printing and displaying the ACN in the format XXX XXX XXX; three blocks of three characters, each block separated by a blank. :param first_name: The first name of the person. :param last_name: The last name of the person. + :param parent_id: Parent ID :param bank_accounts: :param websites: :param addresses: @@ -526,6 +528,7 @@ def create( acn=acn, first_name=first_name, last_name=last_name, + parent_id=parent_id, bank_accounts=utils.get_pydantic_model( bank_accounts, Optional[List[models.BankAccount1]] ), @@ -683,6 +686,7 @@ async def create_async( acn: OptionalNullable[str] = UNSET, first_name: OptionalNullable[str] = UNSET, last_name: OptionalNullable[str] = UNSET, + parent_id: OptionalNullable[str] = UNSET, bank_accounts: Optional[ Union[List[models.BankAccount1], List[models.BankAccount1TypedDict]] ] = None, @@ -744,6 +748,7 @@ async def create_async( :param acn: The Australian Company Number (ACN) is a nine digit number with the last digit being a check digit calculated using a modified modulus 10 calculation. ASIC has adopted a convention of always printing and displaying the ACN in the format XXX XXX XXX; three blocks of three characters, each block separated by a blank. :param first_name: The first name of the person. :param last_name: The last name of the person. + :param parent_id: Parent ID :param bank_accounts: :param websites: :param addresses: @@ -797,6 +802,7 @@ async def create_async( acn=acn, first_name=first_name, last_name=last_name, + parent_id=parent_id, bank_accounts=utils.get_pydantic_model( bank_accounts, Optional[List[models.BankAccount1]] ), @@ -1243,6 +1249,7 @@ def update( acn: OptionalNullable[str] = UNSET, first_name: OptionalNullable[str] = UNSET, last_name: OptionalNullable[str] = UNSET, + parent_id: OptionalNullable[str] = UNSET, bank_accounts: Optional[ Union[List[models.BankAccount1], List[models.BankAccount1TypedDict]] ] = None, @@ -1305,6 +1312,7 @@ def update( :param acn: The Australian Company Number (ACN) is a nine digit number with the last digit being a check digit calculated using a modified modulus 10 calculation. ASIC has adopted a convention of always printing and displaying the ACN in the format XXX XXX XXX; three blocks of three characters, each block separated by a blank. :param first_name: The first name of the person. :param last_name: The last name of the person. + :param parent_id: Parent ID :param bank_accounts: :param websites: :param addresses: @@ -1359,6 +1367,7 @@ def update( acn=acn, first_name=first_name, last_name=last_name, + parent_id=parent_id, bank_accounts=utils.get_pydantic_model( bank_accounts, Optional[List[models.BankAccount1]] ), @@ -1517,6 +1526,7 @@ async def update_async( acn: OptionalNullable[str] = UNSET, first_name: OptionalNullable[str] = UNSET, last_name: OptionalNullable[str] = UNSET, + parent_id: OptionalNullable[str] = UNSET, bank_accounts: Optional[ Union[List[models.BankAccount1], List[models.BankAccount1TypedDict]] ] = None, @@ -1579,6 +1589,7 @@ async def update_async( :param acn: The Australian Company Number (ACN) is a nine digit number with the last digit being a check digit calculated using a modified modulus 10 calculation. ASIC has adopted a convention of always printing and displaying the ACN in the format XXX XXX XXX; three blocks of three characters, each block separated by a blank. :param first_name: The first name of the person. :param last_name: The last name of the person. + :param parent_id: Parent ID :param bank_accounts: :param websites: :param addresses: @@ -1633,6 +1644,7 @@ async def update_async( acn=acn, first_name=first_name, last_name=last_name, + parent_id=parent_id, bank_accounts=utils.get_pydantic_model( bank_accounts, Optional[List[models.BankAccount1]] ), diff --git a/src/apideck_unify/billcreditnotes.py b/src/apideck_unify/billcreditnotes.py index 7e08ce41..cf3c5e44 100644 --- a/src/apideck_unify/billcreditnotes.py +++ b/src/apideck_unify/billcreditnotes.py @@ -401,7 +401,6 @@ def next_func() -> Optional[models.AccountingBillCreditNotesAllResponse]: def create( self, *, - total_amount: float, raw: Optional[bool] = False, consumer_id: Optional[str] = None, app_id: Optional[str] = None, @@ -424,6 +423,7 @@ def create( currency_rate: OptionalNullable[float] = UNSET, tax_inclusive: OptionalNullable[bool] = UNSET, sub_total: OptionalNullable[float] = UNSET, + total_amount: Optional[float] = None, total_tax: OptionalNullable[float] = UNSET, tax_code: OptionalNullable[str] = UNSET, balance: OptionalNullable[float] = UNSET, @@ -469,7 +469,6 @@ def create( Create Bill Credit Note - :param total_amount: Amount of transaction :param raw: Include raw response. Mostly used for debugging purposes :param consumer_id: ID of the consumer which you want to get or push data from :param app_id: The ID of your Unify application @@ -484,6 +483,7 @@ def create( :param currency_rate: Currency Exchange Rate at the time entity was recorded/generated. :param tax_inclusive: Amounts are including tax :param sub_total: Sub-total amount, normally before tax. + :param total_amount: Amount of transaction :param total_tax: Total tax amount applied to this bill credit note. :param tax_code: Applicable tax id/code override if tax is not supplied on a line item basis. :param balance: The balance reflecting any payments made against the transaction. @@ -682,7 +682,6 @@ def create( async def create_async( self, *, - total_amount: float, raw: Optional[bool] = False, consumer_id: Optional[str] = None, app_id: Optional[str] = None, @@ -705,6 +704,7 @@ async def create_async( currency_rate: OptionalNullable[float] = UNSET, tax_inclusive: OptionalNullable[bool] = UNSET, sub_total: OptionalNullable[float] = UNSET, + total_amount: Optional[float] = None, total_tax: OptionalNullable[float] = UNSET, tax_code: OptionalNullable[str] = UNSET, balance: OptionalNullable[float] = UNSET, @@ -750,7 +750,6 @@ async def create_async( Create Bill Credit Note - :param total_amount: Amount of transaction :param raw: Include raw response. Mostly used for debugging purposes :param consumer_id: ID of the consumer which you want to get or push data from :param app_id: The ID of your Unify application @@ -765,6 +764,7 @@ async def create_async( :param currency_rate: Currency Exchange Rate at the time entity was recorded/generated. :param tax_inclusive: Amounts are including tax :param sub_total: Sub-total amount, normally before tax. + :param total_amount: Amount of transaction :param total_tax: Total tax amount applied to this bill credit note. :param tax_code: Applicable tax id/code override if tax is not supplied on a line item basis. :param balance: The balance reflecting any payments made against the transaction. @@ -1258,7 +1258,6 @@ def update( self, *, id: str, - total_amount: float, consumer_id: Optional[str] = None, app_id: Optional[str] = None, service_id: Optional[str] = None, @@ -1280,6 +1279,7 @@ def update( currency_rate: OptionalNullable[float] = UNSET, tax_inclusive: OptionalNullable[bool] = UNSET, sub_total: OptionalNullable[float] = UNSET, + total_amount: Optional[float] = None, total_tax: OptionalNullable[float] = UNSET, tax_code: OptionalNullable[str] = UNSET, balance: OptionalNullable[float] = UNSET, @@ -1326,7 +1326,6 @@ def update( Update Bill Credit Note :param id: ID of the record you are acting upon. - :param total_amount: Amount of transaction :param consumer_id: ID of the consumer which you want to get or push data from :param app_id: The ID of your Unify application :param service_id: Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. @@ -1340,6 +1339,7 @@ def update( :param currency_rate: Currency Exchange Rate at the time entity was recorded/generated. :param tax_inclusive: Amounts are including tax :param sub_total: Sub-total amount, normally before tax. + :param total_amount: Amount of transaction :param total_tax: Total tax amount applied to this bill credit note. :param tax_code: Applicable tax id/code override if tax is not supplied on a line item basis. :param balance: The balance reflecting any payments made against the transaction. @@ -1539,7 +1539,6 @@ async def update_async( self, *, id: str, - total_amount: float, consumer_id: Optional[str] = None, app_id: Optional[str] = None, service_id: Optional[str] = None, @@ -1561,6 +1560,7 @@ async def update_async( currency_rate: OptionalNullable[float] = UNSET, tax_inclusive: OptionalNullable[bool] = UNSET, sub_total: OptionalNullable[float] = UNSET, + total_amount: Optional[float] = None, total_tax: OptionalNullable[float] = UNSET, tax_code: OptionalNullable[str] = UNSET, balance: OptionalNullable[float] = UNSET, @@ -1607,7 +1607,6 @@ async def update_async( Update Bill Credit Note :param id: ID of the record you are acting upon. - :param total_amount: Amount of transaction :param consumer_id: ID of the consumer which you want to get or push data from :param app_id: The ID of your Unify application :param service_id: Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. @@ -1621,6 +1620,7 @@ async def update_async( :param currency_rate: Currency Exchange Rate at the time entity was recorded/generated. :param tax_inclusive: Amounts are including tax :param sub_total: Sub-total amount, normally before tax. + :param total_amount: Amount of transaction :param total_tax: Total tax amount applied to this bill credit note. :param tax_code: Applicable tax id/code override if tax is not supplied on a line item basis. :param balance: The balance reflecting any payments made against the transaction. diff --git a/src/apideck_unify/connectorresources.py b/src/apideck_unify/connectorresources.py index 9a5b8a19..f74bc6e0 100644 --- a/src/apideck_unify/connectorresources.py +++ b/src/apideck_unify/connectorresources.py @@ -16,7 +16,7 @@ def get( id: str, resource_id: str, app_id: Optional[str] = None, - unified_api: Optional[models.UnifiedAPIID] = None, + unified_api: Optional[models.UnifiedAPI] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -143,7 +143,7 @@ async def get_async( id: str, resource_id: str, app_id: Optional[str] = None, - unified_api: Optional[models.UnifiedAPIID] = None, + unified_api: Optional[models.UnifiedAPI] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, diff --git a/src/apideck_unify/models/__init__.py b/src/apideck_unify/models/__init__.py index ea0f073b..8f0fc11d 100644 --- a/src/apideck_unify/models/__init__.py +++ b/src/apideck_unify/models/__init__.py @@ -4440,11 +4440,11 @@ from .log import ( Log, LogTypedDict, + LogUnifiedAPI, Operation, OperationTypedDict, Service, ServiceTypedDict, - UnifiedAPI, ) from .logsfilter import LogsFilter, LogsFilterTypedDict, PathMatchMode from .message import ( @@ -4885,6 +4885,7 @@ UnexpectedErrorResponse, UnexpectedErrorResponseTypedDict, ) + from .unifiedapi import UnifiedAPI from .unifiedapiid import UnifiedAPIID from .unifiedfile import ( Permissions, @@ -8739,6 +8740,7 @@ "LocationStatus", "Log", "LogTypedDict", + "LogUnifiedAPI", "LogsFilter", "LogsFilterTypedDict", "ManagedVia", @@ -12879,11 +12881,11 @@ "ListMemberTypedDict": ".listmember", "Log": ".log", "LogTypedDict": ".log", + "LogUnifiedAPI": ".log", "Operation": ".log", "OperationTypedDict": ".log", "Service": ".log", "ServiceTypedDict": ".log", - "UnifiedAPI": ".log", "LogsFilter": ".logsfilter", "LogsFilterTypedDict": ".logsfilter", "PathMatchMode": ".logsfilter", @@ -13277,6 +13279,7 @@ "DetailTypedDict": ".unexpectederrorresponse", "UnexpectedErrorResponse": ".unexpectederrorresponse", "UnexpectedErrorResponseTypedDict": ".unexpectederrorresponse", + "UnifiedAPI": ".unifiedapi", "UnifiedAPIID": ".unifiedapiid", "Permissions": ".unifiedfile", "PermissionsTypedDict": ".unifiedfile", diff --git a/src/apideck_unify/models/billcreditnote.py b/src/apideck_unify/models/billcreditnote.py index a5687d9c..aaab0b8d 100644 --- a/src/apideck_unify/models/billcreditnote.py +++ b/src/apideck_unify/models/billcreditnote.py @@ -73,10 +73,8 @@ class BillCreditNoteType(str, Enum, metaclass=utils.OpenEnumMeta): class BillCreditNoteTypedDict(TypedDict): - id: str + id: NotRequired[str] r"""Unique identifier representing the entity""" - total_amount: float - r"""Amount of transaction""" number: NotRequired[Nullable[str]] r"""Bill credit note number.""" supplier: NotRequired[Nullable[LinkedSupplierTypedDict]] @@ -92,6 +90,8 @@ class BillCreditNoteTypedDict(TypedDict): r"""Amounts are including tax""" sub_total: NotRequired[Nullable[float]] r"""Sub-total amount, normally before tax.""" + total_amount: NotRequired[float] + r"""Amount of transaction""" total_tax: NotRequired[Nullable[float]] r"""Total tax amount applied to this bill credit note.""" tax_code: NotRequired[Nullable[str]] @@ -139,12 +139,9 @@ class BillCreditNoteTypedDict(TypedDict): class BillCreditNote(BaseModel): - id: str + id: Optional[str] = None r"""Unique identifier representing the entity""" - total_amount: float - r"""Amount of transaction""" - number: OptionalNullable[str] = UNSET r"""Bill credit note number.""" @@ -171,6 +168,9 @@ class BillCreditNote(BaseModel): sub_total: OptionalNullable[float] = UNSET r"""Sub-total amount, normally before tax.""" + total_amount: Optional[float] = None + r"""Amount of transaction""" + total_tax: OptionalNullable[float] = UNSET r"""Total tax amount applied to this bill credit note.""" @@ -272,6 +272,7 @@ def serialize_type(self, value): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ + "id", "number", "supplier", "subsidiary", @@ -281,6 +282,7 @@ def serialize_model(self, handler): "currency_rate", "tax_inclusive", "sub_total", + "total_amount", "total_tax", "tax_code", "balance", @@ -360,8 +362,6 @@ def serialize_model(self, handler): class BillCreditNoteInputTypedDict(TypedDict): - total_amount: float - r"""Amount of transaction""" number: NotRequired[Nullable[str]] r"""Bill credit note number.""" supplier: NotRequired[Nullable[LinkedSupplierInputTypedDict]] @@ -377,6 +377,8 @@ class BillCreditNoteInputTypedDict(TypedDict): r"""Amounts are including tax""" sub_total: NotRequired[Nullable[float]] r"""Sub-total amount, normally before tax.""" + total_amount: NotRequired[float] + r"""Amount of transaction""" total_tax: NotRequired[Nullable[float]] r"""Total tax amount applied to this bill credit note.""" tax_code: NotRequired[Nullable[str]] @@ -414,9 +416,6 @@ class BillCreditNoteInputTypedDict(TypedDict): class BillCreditNoteInput(BaseModel): - total_amount: float - r"""Amount of transaction""" - number: OptionalNullable[str] = UNSET r"""Bill credit note number.""" @@ -443,6 +442,9 @@ class BillCreditNoteInput(BaseModel): sub_total: OptionalNullable[float] = UNSET r"""Sub-total amount, normally before tax.""" + total_amount: Optional[float] = None + r"""Amount of transaction""" + total_tax: OptionalNullable[float] = UNSET r"""Total tax amount applied to this bill credit note.""" @@ -538,6 +540,7 @@ def serialize_model(self, handler): "currency_rate", "tax_inclusive", "sub_total", + "total_amount", "total_tax", "tax_code", "balance", diff --git a/src/apideck_unify/models/company1.py b/src/apideck_unify/models/company1.py index 28cfe1f6..80ff611c 100644 --- a/src/apideck_unify/models/company1.py +++ b/src/apideck_unify/models/company1.py @@ -418,6 +418,8 @@ class Company1InputTypedDict(TypedDict): r"""The first name of the person.""" last_name: NotRequired[Nullable[str]] r"""The last name of the person.""" + parent_id: NotRequired[Nullable[str]] + r"""Parent ID""" bank_accounts: NotRequired[List[BankAccount1TypedDict]] websites: NotRequired[List[WebsiteTypedDict]] addresses: NotRequired[List[AddressTypedDict]] @@ -497,6 +499,9 @@ class Company1Input(BaseModel): last_name: OptionalNullable[str] = UNSET r"""The last name of the person.""" + parent_id: OptionalNullable[str] = UNSET + r"""Parent ID""" + bank_accounts: Optional[List[BankAccount1]] = None websites: Optional[List[Website]] = None @@ -557,6 +562,7 @@ def serialize_model(self, handler): "acn", "first_name", "last_name", + "parent_id", "bank_accounts", "websites", "addresses", @@ -591,6 +597,7 @@ def serialize_model(self, handler): "acn", "first_name", "last_name", + "parent_id", "tags", "read_only", "salutation", diff --git a/src/apideck_unify/models/connector_connectorresourcesoneop.py b/src/apideck_unify/models/connector_connectorresourcesoneop.py index d5a55322..960e5713 100644 --- a/src/apideck_unify/models/connector_connectorresourcesoneop.py +++ b/src/apideck_unify/models/connector_connectorresourcesoneop.py @@ -10,19 +10,15 @@ UnexpectedErrorResponse, UnexpectedErrorResponseTypedDict, ) -from .unifiedapiid import UnifiedAPIID -from apideck_unify import models +from .unifiedapi import UnifiedAPI from apideck_unify.types import BaseModel from apideck_unify.utils import ( FieldMetadata, HeaderMetadata, PathParamMetadata, QueryParamMetadata, - validate_open_enum, ) import pydantic -from pydantic import field_serializer -from pydantic.functional_validators import PlainValidator from typing import Optional from typing_extensions import Annotated, NotRequired, TypedDict @@ -48,7 +44,7 @@ class ConnectorConnectorResourcesOneRequestTypedDict(TypedDict): r"""ID of the resource you are acting upon.""" app_id: NotRequired[str] r"""The ID of your Unify application""" - unified_api: NotRequired[UnifiedAPIID] + unified_api: NotRequired[UnifiedAPI] r"""Specify unified API for the connector resource. This is useful when a resource appears in multiple APIs""" @@ -71,20 +67,11 @@ class ConnectorConnectorResourcesOneRequest(BaseModel): r"""The ID of your Unify application""" unified_api: Annotated[ - Annotated[Optional[UnifiedAPIID], PlainValidator(validate_open_enum(False))], + Optional[UnifiedAPI], FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = None r"""Specify unified API for the connector resource. This is useful when a resource appears in multiple APIs""" - @field_serializer("unified_api") - def serialize_unified_api(self, value): - if isinstance(value, str): - try: - return models.UnifiedAPIID(value) - except ValueError: - return value - return value - class ConnectorConnectorResourcesOneResponseTypedDict(TypedDict): http_meta: HTTPMetadataTypedDict diff --git a/src/apideck_unify/models/ecommercestore.py b/src/apideck_unify/models/ecommercestore.py index 6a43db2d..e6055953 100644 --- a/src/apideck_unify/models/ecommercestore.py +++ b/src/apideck_unify/models/ecommercestore.py @@ -1,6 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from .ecommerceaddress import EcommerceAddress, EcommerceAddressTypedDict from apideck_unify.types import ( BaseModel, Nullable, @@ -10,7 +11,7 @@ ) from datetime import datetime from pydantic import model_serializer -from typing import Any, Dict +from typing import Any, Dict, List, Optional from typing_extensions import NotRequired, TypedDict @@ -23,6 +24,8 @@ class EcommerceStoreTypedDict(TypedDict): r"""The store's website URL""" admin_url: NotRequired[Nullable[str]] r"""The store's admin login URL""" + addresses: NotRequired[List[EcommerceAddressTypedDict]] + r"""Seller-side addresses exposed by the platform for this store. Currently holds the store's default shipping origin when the platform designates one. Empty when none is available.""" custom_mappings: NotRequired[Nullable[Dict[str, Any]]] r"""When custom mappings are configured on the resource, the result is included here.""" created_at: NotRequired[Nullable[datetime]] @@ -44,6 +47,9 @@ class EcommerceStore(BaseModel): admin_url: OptionalNullable[str] = UNSET r"""The store's admin login URL""" + addresses: Optional[List[EcommerceAddress]] = None + r"""Seller-side addresses exposed by the platform for this store. Currently holds the store's default shipping origin when the platform designates one. Empty when none is available.""" + custom_mappings: OptionalNullable[Dict[str, Any]] = UNSET r"""When custom mappings are configured on the resource, the result is included here.""" @@ -59,6 +65,7 @@ def serialize_model(self, handler): "name", "store_url", "admin_url", + "addresses", "custom_mappings", "created_at", "updated_at", diff --git a/src/apideck_unify/models/journalentriesfilter.py b/src/apideck_unify/models/journalentriesfilter.py index a2cc0c8c..1fa8fd78 100644 --- a/src/apideck_unify/models/journalentriesfilter.py +++ b/src/apideck_unify/models/journalentriesfilter.py @@ -32,6 +32,8 @@ class JournalEntriesFilterScope(str, Enum, metaclass=utils.OpenEnumMeta): class JournalEntriesFilterTypedDict(TypedDict): updated_since: NotRequired[datetime] + number: NotRequired[str] + r"""Journal entry number to search for""" start_date: NotRequired[date] r"""Return journal entries posted on or after this date (posting date, inclusive). Connectors without date-range support reject this filter with UnsupportedFiltersError.""" end_date: NotRequired[date] @@ -46,6 +48,9 @@ class JournalEntriesFilterTypedDict(TypedDict): class JournalEntriesFilter(BaseModel): updated_since: Annotated[Optional[datetime], FieldMetadata(query=True)] = None + number: Annotated[Optional[str], FieldMetadata(query=True)] = None + r"""Journal entry number to search for""" + start_date: Annotated[Optional[date], FieldMetadata(query=True)] = None r"""Return journal entries posted on or after this date (posting date, inclusive). Connectors without date-range support reject this filter with UnsupportedFiltersError.""" diff --git a/src/apideck_unify/models/journalentrylineitem.py b/src/apideck_unify/models/journalentrylineitem.py index 2f79d6e4..3f94331c 100644 --- a/src/apideck_unify/models/journalentrylineitem.py +++ b/src/apideck_unify/models/journalentrylineitem.py @@ -27,6 +27,7 @@ UNSET_SENTINEL, ) from apideck_unify.utils import validate_open_enum +from datetime import date from enum import Enum import pydantic from pydantic import field_serializer, model_serializer @@ -87,6 +88,10 @@ class JournalEntryLineItemTypedDict(TypedDict): r"""Line number of the resource""" worktags: NotRequired[List[Nullable[LinkedWorktagTypedDict]]] r"""Worktags of the line item. This is currently only supported in Workday.""" + date_: NotRequired[Nullable[date]] + r"""The financial date of this specific line, when it differs from the journal entry's own posted_at date - for example when booking a historical or backdated transaction. Not populated by every connector: some post the entry date at the header level only, in which case this line-level date is legitimately absent rather than wrong.""" + source_id: NotRequired[Nullable[str]] + r"""A unique identifier for the source of this specific line, distinct from the journal entry's own source_id. Useful for reconciling an individual line back to an external system's own record when a single journal entry aggregates lines originating from more than one source.""" class JournalEntryLineItem(BaseModel): @@ -155,6 +160,12 @@ class JournalEntryLineItem(BaseModel): worktags: Optional[List[Nullable[LinkedWorktag]]] = None r"""Worktags of the line item. This is currently only supported in Workday.""" + date_: Annotated[OptionalNullable[date], pydantic.Field(alias="date")] = UNSET + r"""The financial date of this specific line, when it differs from the journal entry's own posted_at date - for example when booking a historical or backdated transaction. Not populated by every connector: some post the entry date at the header level only, in which case this line-level date is legitimately absent rather than wrong.""" + + source_id: OptionalNullable[str] = UNSET + r"""A unique identifier for the source of this specific line, distinct from the journal entry's own source_id. Useful for reconciling an individual line back to an external system's own record when a single journal entry aggregates lines originating from more than one source.""" + @field_serializer("type") def serialize_type(self, value): if isinstance(value, str): @@ -193,6 +204,8 @@ def serialize_model(self, handler): "location_id", "line_number", "worktags", + "date", + "source_id", ] nullable_fields = [ "description", @@ -211,6 +224,8 @@ def serialize_model(self, handler): "department_id", "location_id", "line_number", + "date", + "source_id", ] null_default_fields = [] @@ -275,6 +290,10 @@ class JournalEntryLineItemInputTypedDict(TypedDict): r"""Line number of the resource""" worktags: NotRequired[List[Nullable[LinkedWorktagTypedDict]]] r"""Worktags of the line item. This is currently only supported in Workday.""" + date_: NotRequired[Nullable[date]] + r"""The financial date of this specific line, when it differs from the journal entry's own posted_at date - for example when booking a historical or backdated transaction. Not populated by every connector: some post the entry date at the header level only, in which case this line-level date is legitimately absent rather than wrong.""" + source_id: NotRequired[Nullable[str]] + r"""A unique identifier for the source of this specific line, distinct from the journal entry's own source_id. Useful for reconciling an individual line back to an external system's own record when a single journal entry aggregates lines originating from more than one source.""" class JournalEntryLineItemInput(BaseModel): @@ -340,6 +359,12 @@ class JournalEntryLineItemInput(BaseModel): worktags: Optional[List[Nullable[LinkedWorktag]]] = None r"""Worktags of the line item. This is currently only supported in Workday.""" + date_: Annotated[OptionalNullable[date], pydantic.Field(alias="date")] = UNSET + r"""The financial date of this specific line, when it differs from the journal entry's own posted_at date - for example when booking a historical or backdated transaction. Not populated by every connector: some post the entry date at the header level only, in which case this line-level date is legitimately absent rather than wrong.""" + + source_id: OptionalNullable[str] = UNSET + r"""A unique identifier for the source of this specific line, distinct from the journal entry's own source_id. Useful for reconciling an individual line back to an external system's own record when a single journal entry aggregates lines originating from more than one source.""" + @field_serializer("type") def serialize_type(self, value): if isinstance(value, str): @@ -377,6 +402,8 @@ def serialize_model(self, handler): "location_id", "line_number", "worktags", + "date", + "source_id", ] nullable_fields = [ "description", @@ -395,6 +422,8 @@ def serialize_model(self, handler): "department_id", "location_id", "line_number", + "date", + "source_id", ] null_default_fields = [] diff --git a/src/apideck_unify/models/log.py b/src/apideck_unify/models/log.py index 7d283b50..a07fd3a8 100644 --- a/src/apideck_unify/models/log.py +++ b/src/apideck_unify/models/log.py @@ -54,7 +54,7 @@ class Service(BaseModel): r"""Apideck service provider name.""" -class UnifiedAPI(str, Enum, metaclass=utils.OpenEnumMeta): +class LogUnifiedAPI(str, Enum, metaclass=utils.OpenEnumMeta): r"""Which Unified Api request was made to.""" CRM = "crm" @@ -108,7 +108,7 @@ class LogTypedDict(TypedDict): r"""Whether or not the request was successful.""" timestamp: str r"""ISO Date and time when the request was made.""" - unified_api: UnifiedAPI + unified_api: LogUnifiedAPI r"""Which Unified Api request was made to.""" error_message: NotRequired[Nullable[str]] r"""If error occurred, this is brief explanation""" @@ -171,7 +171,7 @@ class Log(BaseModel): timestamp: str r"""ISO Date and time when the request was made.""" - unified_api: Annotated[UnifiedAPI, PlainValidator(validate_open_enum(False))] + unified_api: Annotated[LogUnifiedAPI, PlainValidator(validate_open_enum(False))] r"""Which Unified Api request was made to.""" error_message: OptionalNullable[str] = UNSET @@ -184,7 +184,7 @@ class Log(BaseModel): def serialize_unified_api(self, value): if isinstance(value, str): try: - return models.UnifiedAPI(value) + return models.LogUnifiedAPI(value) except ValueError: return value return value diff --git a/src/apideck_unify/models/unifiedapi.py b/src/apideck_unify/models/unifiedapi.py new file mode 100644 index 00000000..9d4bb341 --- /dev/null +++ b/src/apideck_unify/models/unifiedapi.py @@ -0,0 +1,37 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from enum import Enum + + +class UnifiedAPI(str, Enum): + r"""Name of Apideck Unified API""" + + ACCOUNTING = "accounting" + ATS = "ats" + CALENDAR = "calendar" + CRM = "crm" + CSP = "csp" + CUSTOMER_SUPPORT = "customer-support" + ECOMMERCE = "ecommerce" + EMAIL = "email" + EMAIL_MARKETING = "email-marketing" + EXPENSE_MANAGEMENT = "expense-management" + FILE_STORAGE = "file-storage" + FORM = "form" + HRIS = "hris" + LEAD = "lead" + PAYROLL = "payroll" + POS = "pos" + PROCUREMENT = "procurement" + PROJECT_MANAGEMENT = "project-management" + SCRIPT = "script" + SMS = "sms" + SPREADSHEET = "spreadsheet" + SUBSCRIPTION_ANALYTICS = "subscription-analytics" + TEAM_MESSAGING = "team-messaging" + ISSUE_TRACKING = "issue-tracking" + TIME_REGISTRATION = "time-registration" + TRANSACTIONAL_EMAIL = "transactional-email" + VAULT = "vault" + DATA_WAREHOUSE = "data-warehouse" From 75f5055f0c8b1f2f8b9814863a63f3fcc82b52f4 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 11:55:44 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow