From c8138b6c862a117a601a866437a5e778df603fff Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 24 Feb 2025 11:41:25 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.501.1 --- .speakeasy/gen.lock | 12 ++--- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 ++--- RELEASES.md | 12 ++++- ...onsumerrequestcountsindaterangeresponse.md | 3 +- .../createaccountingdepartmentresponse.md | 3 +- .../createaccountinglocationresponse.md | 3 +- docs/models/createactivityresponse.md | 3 +- docs/models/createapplicantresponse.md | 3 +- docs/models/createapplicationresponse.md | 3 +- docs/models/createbillpaymentresponse.md | 3 +- docs/models/createbillresponse.md | 3 +- docs/models/createcallbackstateresponse.md | 3 +- docs/models/createcommentresponse.md | 3 +- docs/models/createcompanyresponse.md | 3 +- docs/models/createconnectionresponse.md | 11 ++-- docs/models/createconsumerresponse.md | 11 ++-- docs/models/createcontactresponse.md | 3 +- docs/models/createcreditnoteresponse.md | 3 +- docs/models/createcustomerresponse.md | 3 +- docs/models/createdepartmentresponse.md | 3 +- docs/models/createdrivegroupresponse.md | 3 +- docs/models/createdriveresponse.md | 3 +- docs/models/createemployeeresponse.md | 3 +- docs/models/createexpenseresponse.md | 3 +- docs/models/createfolderresponse.md | 3 +- docs/models/createhriscompanyresponse.md | 3 +- docs/models/createinvoiceitemresponse.md | 3 +- docs/models/createinvoiceresponse.md | 17 ++++--- docs/models/createjournalentryresponse.md | 3 +- docs/models/createleadresponse.md | 3 +- docs/models/createledgeraccountresponse.md | 3 +- docs/models/createmessageresponse.md | 3 +- docs/models/createnoteresponse.md | 3 +- docs/models/createopportunityresponse.md | 3 +- docs/models/createpaymentresponse.md | 3 +- docs/models/createpurchaseorderresponse.md | 3 +- docs/models/createsessionresponse.md | 3 +- docs/models/createsharedlinkresponse.md | 3 +- docs/models/createsubsidiaryresponse.md | 3 +- docs/models/createsupplierresponse.md | 3 +- docs/models/createtaxrateresponse.md | 3 +- docs/models/createticketresponse.md | 3 +- docs/models/createtimeoffrequestresponse.md | 3 +- docs/models/createtrackingcategoryresponse.md | 3 +- docs/models/createuploadsessionresponse.md | 3 +- docs/models/createuserresponse.md | 3 +- docs/models/createwebhookresponse.md | 11 ++-- .../deleteaccountingdepartmentresponse.md | 3 +- .../deleteaccountinglocationresponse.md | 3 +- docs/models/deleteactivityresponse.md | 3 +- docs/models/deleteapplicantresponse.md | 3 +- docs/models/deleteapplicationresponse.md | 3 +- docs/models/deleteattachmentresponse.md | 3 +- docs/models/deletebillpaymentresponse.md | 3 +- docs/models/deletebillresponse.md | 3 +- docs/models/deletecommentresponse.md | 3 +- docs/models/deletecompanyresponse.md | 3 +- docs/models/deleteconsumerresponse.md | 3 +- docs/models/deletecontactresponse.md | 3 +- docs/models/deletecreditnoteresponse.md | 3 +- docs/models/deletecustomerresponse.md | 3 +- docs/models/deletedepartmentresponse.md | 3 +- docs/models/deletedrivegroupresponse.md | 3 +- docs/models/deletedriveresponse.md | 3 +- docs/models/deleteemployeeresponse.md | 3 +- docs/models/deleteexpenseresponse.md | 3 +- docs/models/deletefileresponse.md | 3 +- docs/models/deletefolderresponse.md | 3 +- docs/models/deletehriscompanyresponse.md | 3 +- docs/models/deleteinvoiceresponse.md | 17 ++++--- docs/models/deletejournalentryresponse.md | 3 +- docs/models/deleteleadresponse.md | 3 +- docs/models/deleteledgeraccountresponse.md | 3 +- docs/models/deletemessageresponse.md | 3 +- docs/models/deletenoteresponse.md | 3 +- docs/models/deleteopportunityresponse.md | 3 +- docs/models/deletepaymentresponse.md | 3 +- docs/models/deletepurchaseorderresponse.md | 3 +- docs/models/deletesharedlinkresponse.md | 3 +- docs/models/deletesubsidiaryresponse.md | 3 +- docs/models/deletesupplierresponse.md | 3 +- docs/models/deletetaxrateresponse.md | 3 +- docs/models/deleteticketresponse.md | 3 +- docs/models/deletetimeoffrequestresponse.md | 3 +- docs/models/deletetrackingcategoryresponse.md | 3 +- docs/models/deleteuploadsessionresponse.md | 3 +- docs/models/deleteuserresponse.md | 3 +- docs/models/deletewebhookresponse.md | 11 ++-- .../models/getaccountingdepartmentresponse.md | 17 ++++--- .../getaccountingdepartmentsresponse.md | 21 ++++---- docs/models/getaccountinglocationresponse.md | 17 ++++--- docs/models/getaccountinglocationsresponse.md | 21 ++++---- docs/models/getactivitiesresponse.md | 21 ++++---- docs/models/getactivityresponse.md | 17 ++++--- docs/models/getageddebtorsresponse.md | 17 ++++--- docs/models/getapiresourcecoverageresponse.md | 15 +++--- docs/models/getapiresourceresponse.md | 15 +++--- docs/models/getapiresponse.md | 15 +++--- docs/models/getapisresponse.md | 15 +++--- docs/models/getapplicantresponse.md | 17 ++++--- docs/models/getapplicantsresponse.md | 21 ++++---- docs/models/getapplicationresponse.md | 17 ++++--- docs/models/getapplicationsresponse.md | 21 ++++---- docs/models/getattachmentresponse.md | 17 ++++--- docs/models/getattachmentsresponse.md | 21 ++++---- docs/models/getbalancesheetresponse.md | 17 ++++--- docs/models/getbillpaymentresponse.md | 17 ++++--- docs/models/getbillpaymentsresponse.md | 21 ++++---- docs/models/getbillresponse.md | 17 ++++--- docs/models/getbillsresponse.md | 21 ++++---- docs/models/getcollectionresponse.md | 17 ++++--- docs/models/getcollectionsresponse.md | 21 ++++---- docs/models/getcollectiontagsresponse.md | 21 ++++---- docs/models/getcollectionuserresponse.md | 17 ++++--- docs/models/getcollectionusersresponse.md | 21 ++++---- docs/models/getcommentresponse.md | 17 ++++--- docs/models/getcommentsresponse.md | 3 +- docs/models/getcompaniesresponse.md | 21 ++++---- docs/models/getcompanyinforesponse.md | 17 ++++--- docs/models/getcompanyresponse.md | 17 ++++--- docs/models/getconnectionresponse.md | 11 ++-- docs/models/getconnectionsresponse.md | 11 ++-- docs/models/getconnectorresourceresponse.md | 15 +++--- docs/models/getconnectorresponse.md | 15 +++--- docs/models/getconnectorsresponse.md | 15 +++--- docs/models/getconsumerresponse.md | 11 ++-- docs/models/getconsumersresponse.md | 15 +++--- docs/models/getcontactresponse.md | 17 ++++--- docs/models/getcontactsresponse.md | 21 ++++---- docs/models/getcreditnoteresponse.md | 17 ++++--- docs/models/getcreditnotesresponse.md | 21 ++++---- docs/models/getcustomerresponse.md | 17 ++++--- docs/models/getcustomersresponse.md | 21 ++++---- docs/models/getcustomfieldsresponse.md | 11 ++-- docs/models/getcustommappingsresponse.md | 11 ++-- docs/models/getdepartmentresponse.md | 17 ++++--- docs/models/getdepartmentsresponse.md | 21 ++++---- docs/models/getdrivegroupresponse.md | 17 ++++--- docs/models/getdrivegroupsresponse.md | 21 ++++---- docs/models/getdriveresponse.md | 17 ++++--- docs/models/getdrivesresponse.md | 21 ++++---- docs/models/getecommercecustomerresponse.md | 17 ++++--- docs/models/getecommercecustomersresponse.md | 21 ++++---- docs/models/getecommerceorderresponse.md | 17 ++++--- docs/models/getecommerceordersresponse.md | 21 ++++---- docs/models/getemployeepayrollresponse.md | 17 ++++--- docs/models/getemployeepayrollsresponse.md | 17 ++++--- docs/models/getemployeeresponse.md | 17 ++++--- docs/models/getemployeeschedulesresponse.md | 17 ++++--- docs/models/getemployeesresponse.md | 21 ++++---- docs/models/getexpenseresponse.md | 17 ++++--- docs/models/getexpensesresponse.md | 21 ++++---- docs/models/getfileresponse.md | 17 ++++--- docs/models/getfilesresponse.md | 21 ++++---- docs/models/getfolderresponse.md | 17 ++++--- docs/models/gethriscompaniesresponse.md | 21 ++++---- docs/models/gethriscompanyresponse.md | 17 ++++--- docs/models/getinvoiceitemresponse.md | 17 ++++--- docs/models/getinvoiceitemsresponse.md | 21 ++++---- docs/models/getinvoiceresponse.md | 17 ++++--- docs/models/getinvoicesresponse.md | 21 ++++---- docs/models/getjobresponse.md | 17 ++++--- docs/models/getjobsresponse.md | 21 ++++---- docs/models/getjournalentriesresponse.md | 21 ++++---- docs/models/getjournalentryresponse.md | 17 ++++--- docs/models/getleadresponse.md | 17 ++++--- docs/models/getleadsresponse.md | 21 ++++---- docs/models/getledgeraccountresponse.md | 17 ++++--- docs/models/getledgeraccountsresponse.md | 21 ++++---- docs/models/getlogsresponse.md | 15 +++--- docs/models/getmessageresponse.md | 17 ++++--- docs/models/getmessagesresponse.md | 21 ++++---- docs/models/getnoteresponse.md | 17 ++++--- docs/models/getnotesresponse.md | 21 ++++---- docs/models/getopportunitiesresponse.md | 21 ++++---- docs/models/getopportunityresponse.md | 17 ++++--- docs/models/getpaymentresponse.md | 17 ++++--- docs/models/getpaymentsresponse.md | 21 ++++---- docs/models/getpayrollresponse.md | 17 ++++--- docs/models/getpayrollsresponse.md | 17 ++++--- docs/models/getpipelinesresponse.md | 21 ++++---- docs/models/getproductresponse.md | 17 ++++--- docs/models/getproductsresponse.md | 21 ++++---- docs/models/getprofitandlossresponse.md | 17 ++++--- docs/models/getpurchaseorderresponse.md | 17 ++++--- docs/models/getpurchaseordersresponse.md | 21 ++++---- docs/models/getsharedlinkresponse.md | 17 ++++--- docs/models/getsharedlinksresponse.md | 21 ++++---- docs/models/getstoreresponse.md | 17 ++++--- docs/models/getsubsidiariesresponse.md | 21 ++++---- docs/models/getsubsidiaryresponse.md | 17 ++++--- docs/models/getsupplierresponse.md | 17 ++++--- docs/models/getsuppliersresponse.md | 21 ++++---- docs/models/gettaxrateresponse.md | 17 ++++--- docs/models/gettaxratesresponse.md | 21 ++++---- docs/models/getticketresponse.md | 17 ++++--- docs/models/getticketsresponse.md | 21 ++++---- docs/models/gettimeoffrequestresponse.md | 17 ++++--- docs/models/gettimeoffrequestsresponse.md | 21 ++++---- docs/models/gettrackingcategoriesresponse.md | 21 ++++---- docs/models/gettrackingcategoryresponse.md | 17 ++++--- docs/models/getuploadsessionresponse.md | 17 ++++--- docs/models/getuserresponse.md | 17 ++++--- docs/models/getusersresponse.md | 21 ++++---- docs/models/getwebhookeventlogsresponse.md | 15 +++--- docs/models/getwebhookresponse.md | 11 ++-- docs/models/getwebhooksresponse.md | 15 +++--- .../updateaccountingdepartmentresponse.md | 3 +- .../updateaccountinglocationresponse.md | 3 +- docs/models/updateactivityresponse.md | 3 +- docs/models/updateapplicantresponse.md | 3 +- docs/models/updateapplicationresponse.md | 3 +- docs/models/updatebillpaymentresponse.md | 3 +- docs/models/updatebillresponse.md | 3 +- docs/models/updatecommentresponse.md | 3 +- docs/models/updatecompanyresponse.md | 3 +- docs/models/updateconnectionresponse.md | 11 ++-- docs/models/updateconsumerresponse.md | 11 ++-- docs/models/updatecontactresponse.md | 3 +- docs/models/updatecreditnoteresponse.md | 3 +- docs/models/updatecustomerresponse.md | 3 +- docs/models/updatedepartmentresponse.md | 3 +- docs/models/updatedrivegroupresponse.md | 3 +- docs/models/updatedriveresponse.md | 3 +- docs/models/updateemployeeresponse.md | 3 +- docs/models/updateexpenseresponse.md | 3 +- docs/models/updatefileresponse.md | 3 +- docs/models/updatefolderresponse.md | 3 +- docs/models/updatehriscompanyresponse.md | 3 +- docs/models/updateinvoiceitemsresponse.md | 3 +- docs/models/updateinvoiceresponse.md | 17 ++++--- docs/models/updatejournalentryresponse.md | 3 +- docs/models/updateleadresponse.md | 3 +- docs/models/updateledgeraccountresponse.md | 3 +- docs/models/updatemessageresponse.md | 3 +- docs/models/updatenoteresponse.md | 3 +- docs/models/updateopportunityresponse.md | 3 +- docs/models/updatepaymentresponse.md | 3 +- docs/models/updatepurchaseorderresponse.md | 3 +- docs/models/updatesharedlinkresponse.md | 3 +- docs/models/updatesubsidiaryresponse.md | 3 +- docs/models/updatesupplierresponse.md | 3 +- docs/models/updatetaxrateresponse.md | 3 +- docs/models/updateticketresponse.md | 3 +- docs/models/updatetimeoffrequestresponse.md | 3 +- docs/models/updatetrackingcategoryresponse.md | 3 +- docs/models/updateuserresponse.md | 3 +- docs/models/updatewebhookresponse.md | 11 ++-- .../models/validateconnectionstateresponse.md | 3 +- pyproject.toml | 2 +- src/apideck_unify/_version.py | 6 +-- ...onsumerrequestcountsindaterangeresponse.py | 51 +++++++++++++++++-- .../createaccountingdepartmentresponse.py | 50 +++++++++++++++++- .../createaccountinglocationresponse.py | 50 +++++++++++++++++- .../models/createactivityresponse.py | 50 +++++++++++++++++- .../models/createapplicantresponse.py | 50 +++++++++++++++++- .../models/createapplicationresponse.py | 50 +++++++++++++++++- .../models/createbillpaymentresponse.py | 50 +++++++++++++++++- .../models/createbillresponse.py | 50 +++++++++++++++++- .../models/createcallbackstateresponse.py | 51 +++++++++++++++++-- .../models/createcommentresponse.py | 50 +++++++++++++++++- .../models/createcompanyresponse.py | 50 +++++++++++++++++- .../models/createconnectionresponse.py | 50 +++++++++++++++++- .../models/createconsumerresponse.py | 50 +++++++++++++++++- .../models/createcontactresponse.py | 50 +++++++++++++++++- .../models/createcreditnoteresponse.py | 50 +++++++++++++++++- .../models/createcustomerresponse.py | 50 +++++++++++++++++- .../models/createdepartmentresponse.py | 50 +++++++++++++++++- .../models/createdrivegroupresponse.py | 50 +++++++++++++++++- .../models/createdriveresponse.py | 50 +++++++++++++++++- .../models/createemployeeresponse.py | 50 +++++++++++++++++- .../models/createexpenseresponse.py | 50 +++++++++++++++++- .../models/createfolderresponse.py | 50 +++++++++++++++++- .../models/createhriscompanyresponse.py | 50 +++++++++++++++++- .../models/createinvoiceitemresponse.py | 50 +++++++++++++++++- .../models/createinvoiceresponse.py | 50 +++++++++++++++++- .../models/createjournalentryresponse.py | 50 +++++++++++++++++- .../models/createleadresponse.py | 50 +++++++++++++++++- .../models/createledgeraccountresponse.py | 50 +++++++++++++++++- .../models/createmessageresponse.py | 50 +++++++++++++++++- .../models/createnoteresponse.py | 50 +++++++++++++++++- .../models/createopportunityresponse.py | 50 +++++++++++++++++- .../models/createpaymentresponse.py | 50 +++++++++++++++++- .../models/createpurchaseorderresponse.py | 50 +++++++++++++++++- .../models/createsessionresponse.py | 50 +++++++++++++++++- .../models/createsharedlinkresponse.py | 50 +++++++++++++++++- .../models/createsubsidiaryresponse.py | 50 +++++++++++++++++- .../models/createsupplierresponse.py | 50 +++++++++++++++++- .../models/createtaxrateresponse.py | 50 +++++++++++++++++- .../models/createticketresponse.py | 50 +++++++++++++++++- .../models/createtimeoffrequestresponse.py | 50 +++++++++++++++++- .../models/createtrackingcategoryresponse.py | 50 +++++++++++++++++- .../models/createuploadsessionresponse.py | 50 +++++++++++++++++- .../models/createuserresponse.py | 50 +++++++++++++++++- .../models/createwebhookresponse.py | 50 +++++++++++++++++- .../deleteaccountingdepartmentresponse.py | 50 +++++++++++++++++- .../deleteaccountinglocationresponse.py | 50 +++++++++++++++++- .../models/deleteactivityresponse.py | 50 +++++++++++++++++- .../models/deleteapplicantresponse.py | 50 +++++++++++++++++- .../models/deleteapplicationresponse.py | 50 +++++++++++++++++- .../models/deleteattachmentresponse.py | 50 +++++++++++++++++- .../models/deletebillpaymentresponse.py | 50 +++++++++++++++++- .../models/deletebillresponse.py | 50 +++++++++++++++++- .../models/deletecommentresponse.py | 50 +++++++++++++++++- .../models/deletecompanyresponse.py | 50 +++++++++++++++++- .../models/deleteconsumerresponse.py | 51 +++++++++++++++++-- .../models/deletecontactresponse.py | 50 +++++++++++++++++- .../models/deletecreditnoteresponse.py | 50 +++++++++++++++++- .../models/deletecustomerresponse.py | 50 +++++++++++++++++- .../models/deletedepartmentresponse.py | 50 +++++++++++++++++- .../models/deletedrivegroupresponse.py | 50 +++++++++++++++++- .../models/deletedriveresponse.py | 50 +++++++++++++++++- .../models/deleteemployeeresponse.py | 50 +++++++++++++++++- .../models/deleteexpenseresponse.py | 50 +++++++++++++++++- .../models/deletefileresponse.py | 50 +++++++++++++++++- .../models/deletefolderresponse.py | 50 +++++++++++++++++- .../models/deletehriscompanyresponse.py | 50 +++++++++++++++++- .../models/deleteinvoiceresponse.py | 50 +++++++++++++++++- .../models/deletejournalentryresponse.py | 50 +++++++++++++++++- .../models/deleteleadresponse.py | 50 +++++++++++++++++- .../models/deleteledgeraccountresponse.py | 50 +++++++++++++++++- .../models/deletemessageresponse.py | 50 +++++++++++++++++- .../models/deletenoteresponse.py | 50 +++++++++++++++++- .../models/deleteopportunityresponse.py | 50 +++++++++++++++++- .../models/deletepaymentresponse.py | 50 +++++++++++++++++- .../models/deletepurchaseorderresponse.py | 50 +++++++++++++++++- .../models/deletesharedlinkresponse.py | 50 +++++++++++++++++- .../models/deletesubsidiaryresponse.py | 50 +++++++++++++++++- .../models/deletesupplierresponse.py | 50 +++++++++++++++++- .../models/deletetaxrateresponse.py | 50 +++++++++++++++++- .../models/deleteticketresponse.py | 50 +++++++++++++++++- .../models/deletetimeoffrequestresponse.py | 50 +++++++++++++++++- .../models/deletetrackingcategoryresponse.py | 50 +++++++++++++++++- .../models/deleteuploadsessionresponse.py | 50 +++++++++++++++++- .../models/deleteuserresponse.py | 50 +++++++++++++++++- .../models/deletewebhookresponse.py | 50 +++++++++++++++++- .../models/getaccountingdepartmentresponse.py | 50 +++++++++++++++++- .../getaccountingdepartmentsresponse.py | 51 +++++++++++++++++-- .../models/getaccountinglocationresponse.py | 50 +++++++++++++++++- .../models/getaccountinglocationsresponse.py | 51 +++++++++++++++++-- .../models/getactivitiesresponse.py | 51 +++++++++++++++++-- .../models/getactivityresponse.py | 50 +++++++++++++++++- .../models/getageddebtorsresponse.py | 50 +++++++++++++++++- .../models/getapiresourcecoverageresponse.py | 51 +++++++++++++++++-- .../models/getapiresourceresponse.py | 51 +++++++++++++++++-- src/apideck_unify/models/getapiresponse.py | 51 +++++++++++++++++-- src/apideck_unify/models/getapisresponse.py | 51 +++++++++++++++++-- .../models/getapplicantresponse.py | 50 +++++++++++++++++- .../models/getapplicantsresponse.py | 51 +++++++++++++++++-- .../models/getapplicationresponse.py | 50 +++++++++++++++++- .../models/getapplicationsresponse.py | 51 +++++++++++++++++-- .../models/getattachmentresponse.py | 50 +++++++++++++++++- .../models/getattachmentsresponse.py | 51 +++++++++++++++++-- .../models/getbalancesheetresponse.py | 50 +++++++++++++++++- .../models/getbillpaymentresponse.py | 50 +++++++++++++++++- .../models/getbillpaymentsresponse.py | 51 +++++++++++++++++-- src/apideck_unify/models/getbillresponse.py | 50 +++++++++++++++++- src/apideck_unify/models/getbillsresponse.py | 51 +++++++++++++++++-- .../models/getcollectionresponse.py | 50 +++++++++++++++++- .../models/getcollectionsresponse.py | 51 +++++++++++++++++-- .../models/getcollectiontagsresponse.py | 51 +++++++++++++++++-- .../models/getcollectionuserresponse.py | 50 +++++++++++++++++- .../models/getcollectionusersresponse.py | 51 +++++++++++++++++-- .../models/getcommentresponse.py | 50 +++++++++++++++++- .../models/getcommentsresponse.py | 51 +++++++++++++++++-- .../models/getcompaniesresponse.py | 51 +++++++++++++++++-- .../models/getcompanyinforesponse.py | 50 +++++++++++++++++- .../models/getcompanyresponse.py | 50 +++++++++++++++++- .../models/getconnectionresponse.py | 50 +++++++++++++++++- .../models/getconnectionsresponse.py | 51 +++++++++++++++++-- .../models/getconnectorresourceresponse.py | 51 +++++++++++++++++-- .../models/getconnectorresponse.py | 51 +++++++++++++++++-- .../models/getconnectorsresponse.py | 51 +++++++++++++++++-- .../models/getconsumerresponse.py | 50 +++++++++++++++++- .../models/getconsumersresponse.py | 51 +++++++++++++++++-- .../models/getcontactresponse.py | 50 +++++++++++++++++- .../models/getcontactsresponse.py | 51 +++++++++++++++++-- .../models/getcreditnoteresponse.py | 50 +++++++++++++++++- .../models/getcreditnotesresponse.py | 51 +++++++++++++++++-- .../models/getcustomerresponse.py | 50 +++++++++++++++++- .../models/getcustomersresponse.py | 51 +++++++++++++++++-- .../models/getcustomfieldsresponse.py | 51 +++++++++++++++++-- .../models/getcustommappingsresponse.py | 51 +++++++++++++++++-- .../models/getdepartmentresponse.py | 50 +++++++++++++++++- .../models/getdepartmentsresponse.py | 51 +++++++++++++++++-- .../models/getdrivegroupresponse.py | 50 +++++++++++++++++- .../models/getdrivegroupsresponse.py | 51 +++++++++++++++++-- src/apideck_unify/models/getdriveresponse.py | 50 +++++++++++++++++- src/apideck_unify/models/getdrivesresponse.py | 51 +++++++++++++++++-- .../models/getecommercecustomerresponse.py | 50 +++++++++++++++++- .../models/getecommercecustomersresponse.py | 51 +++++++++++++++++-- .../models/getecommerceorderresponse.py | 50 +++++++++++++++++- .../models/getecommerceordersresponse.py | 51 +++++++++++++++++-- .../models/getemployeepayrollresponse.py | 50 +++++++++++++++++- .../models/getemployeepayrollsresponse.py | 51 +++++++++++++++++-- .../models/getemployeeresponse.py | 50 +++++++++++++++++- .../models/getemployeeschedulesresponse.py | 50 +++++++++++++++++- .../models/getemployeesresponse.py | 51 +++++++++++++++++-- .../models/getexpenseresponse.py | 50 +++++++++++++++++- .../models/getexpensesresponse.py | 51 +++++++++++++++++-- src/apideck_unify/models/getfileresponse.py | 50 +++++++++++++++++- src/apideck_unify/models/getfilesresponse.py | 51 +++++++++++++++++-- src/apideck_unify/models/getfolderresponse.py | 50 +++++++++++++++++- .../models/gethriscompaniesresponse.py | 51 +++++++++++++++++-- .../models/gethriscompanyresponse.py | 50 +++++++++++++++++- .../models/getinvoiceitemresponse.py | 50 +++++++++++++++++- .../models/getinvoiceitemsresponse.py | 51 +++++++++++++++++-- .../models/getinvoiceresponse.py | 50 +++++++++++++++++- .../models/getinvoicesresponse.py | 51 +++++++++++++++++-- src/apideck_unify/models/getjobresponse.py | 50 +++++++++++++++++- src/apideck_unify/models/getjobsresponse.py | 51 +++++++++++++++++-- .../models/getjournalentriesresponse.py | 51 +++++++++++++++++-- .../models/getjournalentryresponse.py | 50 +++++++++++++++++- src/apideck_unify/models/getleadresponse.py | 50 +++++++++++++++++- src/apideck_unify/models/getleadsresponse.py | 51 +++++++++++++++++-- .../models/getledgeraccountresponse.py | 50 +++++++++++++++++- .../models/getledgeraccountsresponse.py | 51 +++++++++++++++++-- src/apideck_unify/models/getlogsresponse.py | 51 +++++++++++++++++-- .../models/getmessageresponse.py | 50 +++++++++++++++++- .../models/getmessagesresponse.py | 51 +++++++++++++++++-- src/apideck_unify/models/getnoteresponse.py | 50 +++++++++++++++++- src/apideck_unify/models/getnotesresponse.py | 51 +++++++++++++++++-- .../models/getopportunitiesresponse.py | 51 +++++++++++++++++-- .../models/getopportunityresponse.py | 50 +++++++++++++++++- .../models/getpaymentresponse.py | 50 +++++++++++++++++- .../models/getpaymentsresponse.py | 51 +++++++++++++++++-- .../models/getpayrollresponse.py | 50 +++++++++++++++++- .../models/getpayrollsresponse.py | 51 +++++++++++++++++-- .../models/getpipelinesresponse.py | 51 +++++++++++++++++-- .../models/getproductresponse.py | 50 +++++++++++++++++- .../models/getproductsresponse.py | 51 +++++++++++++++++-- .../models/getprofitandlossresponse.py | 50 +++++++++++++++++- .../models/getpurchaseorderresponse.py | 50 +++++++++++++++++- .../models/getpurchaseordersresponse.py | 51 +++++++++++++++++-- .../models/getsharedlinkresponse.py | 50 +++++++++++++++++- .../models/getsharedlinksresponse.py | 51 +++++++++++++++++-- src/apideck_unify/models/getstoreresponse.py | 50 +++++++++++++++++- .../models/getsubsidiariesresponse.py | 51 +++++++++++++++++-- .../models/getsubsidiaryresponse.py | 50 +++++++++++++++++- .../models/getsupplierresponse.py | 50 +++++++++++++++++- .../models/getsuppliersresponse.py | 51 +++++++++++++++++-- .../models/gettaxrateresponse.py | 50 +++++++++++++++++- .../models/gettaxratesresponse.py | 51 +++++++++++++++++-- src/apideck_unify/models/getticketresponse.py | 50 +++++++++++++++++- .../models/getticketsresponse.py | 51 +++++++++++++++++-- .../models/gettimeoffrequestresponse.py | 50 +++++++++++++++++- .../models/gettimeoffrequestsresponse.py | 51 +++++++++++++++++-- .../models/gettrackingcategoriesresponse.py | 51 +++++++++++++++++-- .../models/gettrackingcategoryresponse.py | 50 +++++++++++++++++- .../models/getuploadsessionresponse.py | 50 +++++++++++++++++- src/apideck_unify/models/getuserresponse.py | 50 +++++++++++++++++- src/apideck_unify/models/getusersresponse.py | 51 +++++++++++++++++-- .../models/getwebhookeventlogsresponse.py | 51 +++++++++++++++++-- .../models/getwebhookresponse.py | 50 +++++++++++++++++- .../models/getwebhooksresponse.py | 51 +++++++++++++++++-- .../updateaccountingdepartmentresponse.py | 50 +++++++++++++++++- .../updateaccountinglocationresponse.py | 50 +++++++++++++++++- .../models/updateactivityresponse.py | 50 +++++++++++++++++- .../models/updateapplicantresponse.py | 50 +++++++++++++++++- .../models/updateapplicationresponse.py | 50 +++++++++++++++++- .../models/updatebillpaymentresponse.py | 50 +++++++++++++++++- .../models/updatebillresponse.py | 50 +++++++++++++++++- .../models/updatecommentresponse.py | 50 +++++++++++++++++- .../models/updatecompanyresponse.py | 50 +++++++++++++++++- .../models/updateconnectionresponse.py | 50 +++++++++++++++++- .../models/updateconsumerresponse.py | 50 +++++++++++++++++- .../models/updatecontactresponse.py | 50 +++++++++++++++++- .../models/updatecreditnoteresponse.py | 50 +++++++++++++++++- .../models/updatecustomerresponse.py | 50 +++++++++++++++++- .../models/updatedepartmentresponse.py | 50 +++++++++++++++++- .../models/updatedrivegroupresponse.py | 50 +++++++++++++++++- .../models/updatedriveresponse.py | 50 +++++++++++++++++- .../models/updateemployeeresponse.py | 50 +++++++++++++++++- .../models/updateexpenseresponse.py | 50 +++++++++++++++++- .../models/updatefileresponse.py | 50 +++++++++++++++++- .../models/updatefolderresponse.py | 50 +++++++++++++++++- .../models/updatehriscompanyresponse.py | 50 +++++++++++++++++- .../models/updateinvoiceitemsresponse.py | 50 +++++++++++++++++- .../models/updateinvoiceresponse.py | 50 +++++++++++++++++- .../models/updatejournalentryresponse.py | 50 +++++++++++++++++- .../models/updateleadresponse.py | 50 +++++++++++++++++- .../models/updateledgeraccountresponse.py | 50 +++++++++++++++++- .../models/updatemessageresponse.py | 50 +++++++++++++++++- .../models/updatenoteresponse.py | 50 +++++++++++++++++- .../models/updateopportunityresponse.py | 50 +++++++++++++++++- .../models/updatepaymentresponse.py | 50 +++++++++++++++++- .../models/updatepurchaseorderresponse.py | 50 +++++++++++++++++- .../models/updatesharedlinkresponse.py | 50 +++++++++++++++++- .../models/updatesubsidiaryresponse.py | 50 +++++++++++++++++- .../models/updatesupplierresponse.py | 50 +++++++++++++++++- .../models/updatetaxrateresponse.py | 50 +++++++++++++++++- .../models/updateticketresponse.py | 50 +++++++++++++++++- .../models/updatetimeoffrequestresponse.py | 50 +++++++++++++++++- .../models/updatetrackingcategoryresponse.py | 50 +++++++++++++++++- .../models/updateuserresponse.py | 50 +++++++++++++++++- .../models/updatewebhookresponse.py | 50 +++++++++++++++++- .../models/validateconnectionstateresponse.py | 51 +++++++++++++++++-- 498 files changed, 13265 insertions(+), 1759 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 458ee5ca..dbce569c 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: 574d7ff63ddc9ad70121a9688e856e09 + docChecksum: 7c6ef2ed512e323eb81fb00225e7e166 docVersion: 10.11.5 - speakeasyVersion: 1.497.0 - generationVersion: 2.517.3 - releaseVersion: 0.7.0 - configChecksum: ac6a49f41cabe6b8c313c165fc8a5d90 + speakeasyVersion: 1.501.1 + generationVersion: 2.522.5 + releaseVersion: 0.8.0 + configChecksum: 5cc9cdf7161979901cc0e0ee06065fd3 repoURL: https://github.com/apideck-libraries/sdk-python.git installationURL: https://github.com/apideck-libraries/sdk-python.git published: true @@ -15,7 +15,7 @@ features: acceptHeaders: 3.0.0 additionalDependencies: 1.0.0 constsAndDefaults: 1.0.5 - core: 5.11.0 + core: 5.12.1 deepObjectParams: 0.1.0 defaultEnabledRetries: 0.2.0 deprecations: 3.0.2 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index aebab193..4edabfa4 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -18,7 +18,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: true python: - version: 0.7.0 + version: 0.8.0 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index b548fcff..9c01c9d5 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.497.0 +speakeasyVersion: 1.501.1 sources: Apideck: sourceNamespace: apideck - sourceRevisionDigest: sha256:c5eaf993a4fe7e63cde034e5c0e4bec854cf7c40489077e56976fced6daf6030 - sourceBlobDigest: sha256:fa7d1dbc22eb02e7bbef1ce1374563d9400ac7aaa467a60c42721a6fca902b2a + sourceRevisionDigest: sha256:f87c895c56d9e11c3082319a386ddfb6780ef54b06df2a05a47035140382938f + sourceBlobDigest: sha256:af4739fe176a827ca5a5054b4ca4061886717f775dbb5eb11f3c57e63a9f3b99 tags: - latest - - speakeasy-sdk-regen-1739751479 + - speakeasy-sdk-regen-1740396639 - 10.11.5 targets: apideck: source: Apideck sourceNamespace: apideck - sourceRevisionDigest: sha256:c5eaf993a4fe7e63cde034e5c0e4bec854cf7c40489077e56976fced6daf6030 - sourceBlobDigest: sha256:fa7d1dbc22eb02e7bbef1ce1374563d9400ac7aaa467a60c42721a6fca902b2a + sourceRevisionDigest: sha256:f87c895c56d9e11c3082319a386ddfb6780ef54b06df2a05a47035140382938f + sourceBlobDigest: sha256:af4739fe176a827ca5a5054b4ca4061886717f775dbb5eb11f3c57e63a9f3b99 codeSamplesNamespace: apideck-python-code-samples - codeSamplesRevisionDigest: sha256:89af23dce4cc538b3760689b2b0803fc4f4d0eb83348a25b5d45b1970c365657 + codeSamplesRevisionDigest: sha256:bd0f347ccba2c1525660cc4e6400d319fe2e146d03c96dc62e5326971f89e3b8 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 0afcb481..9e5d3fc2 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -118,4 +118,14 @@ Based on: ### Generated - [python v0.7.0] . ### Releases -- [PyPI v0.7.0] https://pypi.org/project/apideck-unify/0.7.0 - . \ No newline at end of file +- [PyPI v0.7.0] https://pypi.org/project/apideck-unify/0.7.0 - . + +## 2025-02-24 11:37:48 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.501.1 (2.522.5) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.8.0] . +### Releases +- [PyPI v0.8.0] https://pypi.org/project/apideck-unify/0.8.0 - . \ No newline at end of file diff --git a/docs/models/consumerrequestcountsindaterangeresponse.md b/docs/models/consumerrequestcountsindaterangeresponse.md index f656a35d..dd8dd711 100644 --- a/docs/models/consumerrequestcountsindaterangeresponse.md +++ b/docs/models/consumerrequestcountsindaterangeresponse.md @@ -9,4 +9,5 @@ Consumers Request Counts within Date Range | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | | `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | | `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.ConsumerRequestCountsInDateRangeResponseData](../models/consumerrequestcountsindaterangeresponsedata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `data` | [models.ConsumerRequestCountsInDateRangeResponseData](../models/consumerrequestcountsindaterangeresponsedata.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createaccountingdepartmentresponse.md b/docs/models/createaccountingdepartmentresponse.md index e9be7d63..81bd3a53 100644 --- a/docs/models/createaccountingdepartmentresponse.md +++ b/docs/models/createaccountingdepartmentresponse.md @@ -12,4 +12,5 @@ Department | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | departments | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createaccountinglocationresponse.md b/docs/models/createaccountinglocationresponse.md index adf80bb3..a1e1a6db 100644 --- a/docs/models/createaccountinglocationresponse.md +++ b/docs/models/createaccountinglocationresponse.md @@ -12,4 +12,5 @@ Location | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | locations | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createactivityresponse.md b/docs/models/createactivityresponse.md index d948d83b..546d0f3a 100644 --- a/docs/models/createactivityresponse.md +++ b/docs/models/createactivityresponse.md @@ -12,4 +12,5 @@ Activity created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | activities | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createapplicantresponse.md b/docs/models/createapplicantresponse.md index 05b5e782..55f949c3 100644 --- a/docs/models/createapplicantresponse.md +++ b/docs/models/createapplicantresponse.md @@ -12,4 +12,5 @@ Applicants | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | lever | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applicants | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createapplicationresponse.md b/docs/models/createapplicationresponse.md index f282f496..e0d0f5cf 100644 --- a/docs/models/createapplicationresponse.md +++ b/docs/models/createapplicationresponse.md @@ -12,4 +12,5 @@ Applications | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sap-successfactors | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applications | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createbillpaymentresponse.md b/docs/models/createbillpaymentresponse.md index fd348516..da825090 100644 --- a/docs/models/createbillpaymentresponse.md +++ b/docs/models/createbillpaymentresponse.md @@ -12,4 +12,5 @@ Bill Payment created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createbillresponse.md b/docs/models/createbillresponse.md index 0bfec3be..cafbac56 100644 --- a/docs/models/createbillresponse.md +++ b/docs/models/createbillresponse.md @@ -12,4 +12,5 @@ Bill created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | bills | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createcallbackstateresponse.md b/docs/models/createcallbackstateresponse.md index f4edcef3..143c0729 100644 --- a/docs/models/createcallbackstateresponse.md +++ b/docs/models/createcallbackstateresponse.md @@ -9,4 +9,5 @@ Callback state created | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | | `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.CreateCallbackStateResponseData](../models/createcallbackstateresponsedata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `data` | [models.CreateCallbackStateResponseData](../models/createcallbackstateresponsedata.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createcommentresponse.md b/docs/models/createcommentresponse.md index 477c1c10..5d121510 100644 --- a/docs/models/createcommentresponse.md +++ b/docs/models/createcommentresponse.md @@ -12,4 +12,5 @@ Create a Comment | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createcompanyresponse.md b/docs/models/createcompanyresponse.md index bc4692c3..06942a7b 100644 --- a/docs/models/createcompanyresponse.md +++ b/docs/models/createcompanyresponse.md @@ -12,4 +12,5 @@ Company created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createconnectionresponse.md b/docs/models/createconnectionresponse.md index 0bce0f54..f7985aab 100644 --- a/docs/models/createconnectionresponse.md +++ b/docs/models/createconnectionresponse.md @@ -5,8 +5,9 @@ Connection created ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 201 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.Connection](../models/connection.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 201 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.Connection](../models/connection.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createconsumerresponse.md b/docs/models/createconsumerresponse.md index 9bc39208..00c1cd76 100644 --- a/docs/models/createconsumerresponse.md +++ b/docs/models/createconsumerresponse.md @@ -5,8 +5,9 @@ Consumer created ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.Consumer](../models/consumer.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.Consumer](../models/consumer.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createcontactresponse.md b/docs/models/createcontactresponse.md index b9bab1d4..b6eb9087 100644 --- a/docs/models/createcontactresponse.md +++ b/docs/models/createcontactresponse.md @@ -12,4 +12,5 @@ Contact created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | contacts | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createcreditnoteresponse.md b/docs/models/createcreditnoteresponse.md index 09a61480..eda3b873 100644 --- a/docs/models/createcreditnoteresponse.md +++ b/docs/models/createcreditnoteresponse.md @@ -12,4 +12,5 @@ Credit Note created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | credit-notes | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createcustomerresponse.md b/docs/models/createcustomerresponse.md index 2b235030..599d21c5 100644 --- a/docs/models/createcustomerresponse.md +++ b/docs/models/createcustomerresponse.md @@ -12,4 +12,5 @@ Customers | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | customers | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createdepartmentresponse.md b/docs/models/createdepartmentresponse.md index 2aea1085..b0ef9796 100644 --- a/docs/models/createdepartmentresponse.md +++ b/docs/models/createdepartmentresponse.md @@ -12,4 +12,5 @@ Departments | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | workday | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Departments | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createdrivegroupresponse.md b/docs/models/createdrivegroupresponse.md index 5065d685..1b2d9924 100644 --- a/docs/models/createdrivegroupresponse.md +++ b/docs/models/createdrivegroupresponse.md @@ -12,4 +12,5 @@ DriveGroups | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | DriveGroups | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createdriveresponse.md b/docs/models/createdriveresponse.md index 68e3485f..fd0332a2 100644 --- a/docs/models/createdriveresponse.md +++ b/docs/models/createdriveresponse.md @@ -12,4 +12,5 @@ Drives | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Drives | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createemployeeresponse.md b/docs/models/createemployeeresponse.md index 6e4eea2a..518e4180 100644 --- a/docs/models/createemployeeresponse.md +++ b/docs/models/createemployeeresponse.md @@ -12,4 +12,5 @@ Employees | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createexpenseresponse.md b/docs/models/createexpenseresponse.md index 0c22a543..e1896b8d 100644 --- a/docs/models/createexpenseresponse.md +++ b/docs/models/createexpenseresponse.md @@ -12,4 +12,5 @@ Expenses | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Expenses | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createfolderresponse.md b/docs/models/createfolderresponse.md index aaa36709..7c2d56e7 100644 --- a/docs/models/createfolderresponse.md +++ b/docs/models/createfolderresponse.md @@ -12,4 +12,5 @@ Folders | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Folders | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createhriscompanyresponse.md b/docs/models/createhriscompanyresponse.md index f7a49322..fff0b166 100644 --- a/docs/models/createhriscompanyresponse.md +++ b/docs/models/createhriscompanyresponse.md @@ -12,4 +12,5 @@ Companies | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Companies | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createinvoiceitemresponse.md b/docs/models/createinvoiceitemresponse.md index f4ef0643..f276f985 100644 --- a/docs/models/createinvoiceitemresponse.md +++ b/docs/models/createinvoiceitemresponse.md @@ -12,4 +12,5 @@ InvoiceItems | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoice-items | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createinvoiceresponse.md b/docs/models/createinvoiceresponse.md index 5a9f5361..81902ca0 100644 --- a/docs/models/createinvoiceresponse.md +++ b/docs/models/createinvoiceresponse.md @@ -5,11 +5,12 @@ Invoice created ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoices | -| `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.InvoiceResponse](../models/invoiceresponse.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoices | +| `operation` | *str* | :heavy_check_mark: | Operation performed | add | +| `data` | [models.InvoiceResponse](../models/invoiceresponse.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createjournalentryresponse.md b/docs/models/createjournalentryresponse.md index 972b1a59..0e357cb7 100644 --- a/docs/models/createjournalentryresponse.md +++ b/docs/models/createjournalentryresponse.md @@ -12,4 +12,5 @@ JournalEntries | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | journal-entries | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createleadresponse.md b/docs/models/createleadresponse.md index 77743e92..59b54ca4 100644 --- a/docs/models/createleadresponse.md +++ b/docs/models/createleadresponse.md @@ -12,4 +12,5 @@ Lead created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createledgeraccountresponse.md b/docs/models/createledgeraccountresponse.md index d6e8e4a2..26b216a1 100644 --- a/docs/models/createledgeraccountresponse.md +++ b/docs/models/createledgeraccountresponse.md @@ -12,4 +12,5 @@ LedgerAccount created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | ledger-accounts | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createmessageresponse.md b/docs/models/createmessageresponse.md index 4f778c45..99f78dba 100644 --- a/docs/models/createmessageresponse.md +++ b/docs/models/createmessageresponse.md @@ -12,4 +12,5 @@ Messages | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | twilio | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Messages | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createnoteresponse.md b/docs/models/createnoteresponse.md index 64518dad..20f393a6 100644 --- a/docs/models/createnoteresponse.md +++ b/docs/models/createnoteresponse.md @@ -12,4 +12,5 @@ Note created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | notes | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createopportunityresponse.md b/docs/models/createopportunityresponse.md index 674ba8b2..f258cef8 100644 --- a/docs/models/createopportunityresponse.md +++ b/docs/models/createopportunityresponse.md @@ -12,4 +12,5 @@ Opportunity created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | opportunities | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createpaymentresponse.md b/docs/models/createpaymentresponse.md index 91430b89..b8ce2c5d 100644 --- a/docs/models/createpaymentresponse.md +++ b/docs/models/createpaymentresponse.md @@ -12,4 +12,5 @@ Payment created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createpurchaseorderresponse.md b/docs/models/createpurchaseorderresponse.md index 8e4c1686..78e44fee 100644 --- a/docs/models/createpurchaseorderresponse.md +++ b/docs/models/createpurchaseorderresponse.md @@ -12,4 +12,5 @@ PurchaseOrders | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | PurchaseOrders | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createsessionresponse.md b/docs/models/createsessionresponse.md index 386a67dd..e80470c9 100644 --- a/docs/models/createsessionresponse.md +++ b/docs/models/createsessionresponse.md @@ -9,4 +9,5 @@ Session created | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | | `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | | `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.CreateSessionResponseData](../models/createsessionresponsedata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `data` | [models.CreateSessionResponseData](../models/createsessionresponsedata.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createsharedlinkresponse.md b/docs/models/createsharedlinkresponse.md index 3a800836..e6302756 100644 --- a/docs/models/createsharedlinkresponse.md +++ b/docs/models/createsharedlinkresponse.md @@ -12,4 +12,5 @@ Shared Links | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | dropbox | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Shared Links | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createsubsidiaryresponse.md b/docs/models/createsubsidiaryresponse.md index 8fa0efe1..3fc639ea 100644 --- a/docs/models/createsubsidiaryresponse.md +++ b/docs/models/createsubsidiaryresponse.md @@ -12,4 +12,5 @@ Subsidiaries | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createsupplierresponse.md b/docs/models/createsupplierresponse.md index 1cd3c6f7..d62c930e 100644 --- a/docs/models/createsupplierresponse.md +++ b/docs/models/createsupplierresponse.md @@ -12,4 +12,5 @@ Supplier created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createtaxrateresponse.md b/docs/models/createtaxrateresponse.md index d2f4dca7..df94de24 100644 --- a/docs/models/createtaxrateresponse.md +++ b/docs/models/createtaxrateresponse.md @@ -12,4 +12,5 @@ TaxRate created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | tax-rates | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createticketresponse.md b/docs/models/createticketresponse.md index 292a1cae..2f2f3ac3 100644 --- a/docs/models/createticketresponse.md +++ b/docs/models/createticketresponse.md @@ -12,4 +12,5 @@ Create a Ticket | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createtimeoffrequestresponse.md b/docs/models/createtimeoffrequestresponse.md index dd74c1c6..072cdb8c 100644 --- a/docs/models/createtimeoffrequestresponse.md +++ b/docs/models/createtimeoffrequestresponse.md @@ -12,4 +12,5 @@ TimeOffRequests | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | bamboohr | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | time-off-requests | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createtrackingcategoryresponse.md b/docs/models/createtrackingcategoryresponse.md index 95de4c8d..c452c42d 100644 --- a/docs/models/createtrackingcategoryresponse.md +++ b/docs/models/createtrackingcategoryresponse.md @@ -12,4 +12,5 @@ Tracking category created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | tracking-categories | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createuploadsessionresponse.md b/docs/models/createuploadsessionresponse.md index aee5974f..f1fe415a 100644 --- a/docs/models/createuploadsessionresponse.md +++ b/docs/models/createuploadsessionresponse.md @@ -12,4 +12,5 @@ UploadSessions | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | dropbox | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | UploadSessions | | `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createuserresponse.md b/docs/models/createuserresponse.md index 0babeb59..9ccca5ff 100644 --- a/docs/models/createuserresponse.md +++ b/docs/models/createuserresponse.md @@ -12,4 +12,5 @@ User created | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | users | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/createwebhookresponse.md b/docs/models/createwebhookresponse.md index 1255171f..f75d0c09 100644 --- a/docs/models/createwebhookresponse.md +++ b/docs/models/createwebhookresponse.md @@ -5,8 +5,9 @@ Webhooks ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.Webhook](../models/webhook.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.Webhook](../models/webhook.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteaccountingdepartmentresponse.md b/docs/models/deleteaccountingdepartmentresponse.md index ecc34fb3..48233877 100644 --- a/docs/models/deleteaccountingdepartmentresponse.md +++ b/docs/models/deleteaccountingdepartmentresponse.md @@ -12,4 +12,5 @@ Department deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | departments | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteaccountinglocationresponse.md b/docs/models/deleteaccountinglocationresponse.md index c7a7ad13..43d22a18 100644 --- a/docs/models/deleteaccountinglocationresponse.md +++ b/docs/models/deleteaccountinglocationresponse.md @@ -12,4 +12,5 @@ Location deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | locations | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteactivityresponse.md b/docs/models/deleteactivityresponse.md index 1990dc28..e6baad21 100644 --- a/docs/models/deleteactivityresponse.md +++ b/docs/models/deleteactivityresponse.md @@ -12,4 +12,5 @@ Activity deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | activities | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteapplicantresponse.md b/docs/models/deleteapplicantresponse.md index 62acee83..238de67a 100644 --- a/docs/models/deleteapplicantresponse.md +++ b/docs/models/deleteapplicantresponse.md @@ -12,4 +12,5 @@ Applicants | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | lever | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applicants | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteapplicationresponse.md b/docs/models/deleteapplicationresponse.md index f278f3b2..e8beb154 100644 --- a/docs/models/deleteapplicationresponse.md +++ b/docs/models/deleteapplicationresponse.md @@ -12,4 +12,5 @@ Applications | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sap-successfactors | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applications | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteattachmentresponse.md b/docs/models/deleteattachmentresponse.md index a2e2e3c8..e6146b25 100644 --- a/docs/models/deleteattachmentresponse.md +++ b/docs/models/deleteattachmentresponse.md @@ -12,4 +12,5 @@ Attachments | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | files | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletebillpaymentresponse.md b/docs/models/deletebillpaymentresponse.md index 41feb5e4..bbee50ae 100644 --- a/docs/models/deletebillpaymentresponse.md +++ b/docs/models/deletebillpaymentresponse.md @@ -12,4 +12,5 @@ Bill Payment deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletebillresponse.md b/docs/models/deletebillresponse.md index 01e0aeb2..292c3de7 100644 --- a/docs/models/deletebillresponse.md +++ b/docs/models/deletebillresponse.md @@ -12,4 +12,5 @@ Bill deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | bills | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletecommentresponse.md b/docs/models/deletecommentresponse.md index b27174d7..bbcc93c4 100644 --- a/docs/models/deletecommentresponse.md +++ b/docs/models/deletecommentresponse.md @@ -12,4 +12,5 @@ Delete a Comment | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletecompanyresponse.md b/docs/models/deletecompanyresponse.md index 342ed8f8..766c6fb5 100644 --- a/docs/models/deletecompanyresponse.md +++ b/docs/models/deletecompanyresponse.md @@ -12,4 +12,5 @@ Company deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteconsumerresponse.md b/docs/models/deleteconsumerresponse.md index 8a7c9ddc..c5686932 100644 --- a/docs/models/deleteconsumerresponse.md +++ b/docs/models/deleteconsumerresponse.md @@ -9,4 +9,5 @@ Consumer deleted | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | | `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | | `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.DeleteConsumerResponseData](../models/deleteconsumerresponsedata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `data` | [models.DeleteConsumerResponseData](../models/deleteconsumerresponsedata.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletecontactresponse.md b/docs/models/deletecontactresponse.md index 7675bba4..aed8ef5a 100644 --- a/docs/models/deletecontactresponse.md +++ b/docs/models/deletecontactresponse.md @@ -12,4 +12,5 @@ Contact deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | contacts | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletecreditnoteresponse.md b/docs/models/deletecreditnoteresponse.md index e4861c31..21e0c4a0 100644 --- a/docs/models/deletecreditnoteresponse.md +++ b/docs/models/deletecreditnoteresponse.md @@ -12,4 +12,5 @@ Credit Note deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | credit-notes | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletecustomerresponse.md b/docs/models/deletecustomerresponse.md index b78fd0cb..fd0eda2b 100644 --- a/docs/models/deletecustomerresponse.md +++ b/docs/models/deletecustomerresponse.md @@ -12,4 +12,5 @@ Customers | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | customers | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletedepartmentresponse.md b/docs/models/deletedepartmentresponse.md index be383f58..00626276 100644 --- a/docs/models/deletedepartmentresponse.md +++ b/docs/models/deletedepartmentresponse.md @@ -12,4 +12,5 @@ Departments | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | workday | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Departments | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletedrivegroupresponse.md b/docs/models/deletedrivegroupresponse.md index 08d22943..da772b21 100644 --- a/docs/models/deletedrivegroupresponse.md +++ b/docs/models/deletedrivegroupresponse.md @@ -12,4 +12,5 @@ DriveGroups | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | DriveGroups | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletedriveresponse.md b/docs/models/deletedriveresponse.md index 04cfe305..1ba4812e 100644 --- a/docs/models/deletedriveresponse.md +++ b/docs/models/deletedriveresponse.md @@ -12,4 +12,5 @@ Drives | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Drives | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteemployeeresponse.md b/docs/models/deleteemployeeresponse.md index a23d7d74..6ab3e0ca 100644 --- a/docs/models/deleteemployeeresponse.md +++ b/docs/models/deleteemployeeresponse.md @@ -12,4 +12,5 @@ Employees | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteexpenseresponse.md b/docs/models/deleteexpenseresponse.md index 5916ff82..903a5891 100644 --- a/docs/models/deleteexpenseresponse.md +++ b/docs/models/deleteexpenseresponse.md @@ -12,4 +12,5 @@ Expenses | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Expenses | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletefileresponse.md b/docs/models/deletefileresponse.md index 3fd04cf4..97b097c0 100644 --- a/docs/models/deletefileresponse.md +++ b/docs/models/deletefileresponse.md @@ -12,4 +12,5 @@ Files | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | files | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletefolderresponse.md b/docs/models/deletefolderresponse.md index d3181560..34bba821 100644 --- a/docs/models/deletefolderresponse.md +++ b/docs/models/deletefolderresponse.md @@ -12,4 +12,5 @@ Folders | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Folders | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletehriscompanyresponse.md b/docs/models/deletehriscompanyresponse.md index 32d38175..9f47e7d3 100644 --- a/docs/models/deletehriscompanyresponse.md +++ b/docs/models/deletehriscompanyresponse.md @@ -12,4 +12,5 @@ Companies | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Companies | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteinvoiceresponse.md b/docs/models/deleteinvoiceresponse.md index 411ef1a9..9b3fa058 100644 --- a/docs/models/deleteinvoiceresponse.md +++ b/docs/models/deleteinvoiceresponse.md @@ -5,11 +5,12 @@ Invoice deleted ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoices | -| `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.InvoiceResponse](../models/invoiceresponse.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoices | +| `operation` | *str* | :heavy_check_mark: | Operation performed | delete | +| `data` | [models.InvoiceResponse](../models/invoiceresponse.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletejournalentryresponse.md b/docs/models/deletejournalentryresponse.md index d10d41ae..506b8f92 100644 --- a/docs/models/deletejournalentryresponse.md +++ b/docs/models/deletejournalentryresponse.md @@ -12,4 +12,5 @@ JournalEntries | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | journal-entries | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteleadresponse.md b/docs/models/deleteleadresponse.md index e8f27b05..1244549c 100644 --- a/docs/models/deleteleadresponse.md +++ b/docs/models/deleteleadresponse.md @@ -12,4 +12,5 @@ Lead deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteledgeraccountresponse.md b/docs/models/deleteledgeraccountresponse.md index 47c4c379..6e4db9ea 100644 --- a/docs/models/deleteledgeraccountresponse.md +++ b/docs/models/deleteledgeraccountresponse.md @@ -12,4 +12,5 @@ LedgerAccount deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | ledger-accounts | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletemessageresponse.md b/docs/models/deletemessageresponse.md index ca5a6f17..d8b2d5ea 100644 --- a/docs/models/deletemessageresponse.md +++ b/docs/models/deletemessageresponse.md @@ -12,4 +12,5 @@ Messages | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | twilio | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Messages | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletenoteresponse.md b/docs/models/deletenoteresponse.md index 7ea3af1f..0997eb41 100644 --- a/docs/models/deletenoteresponse.md +++ b/docs/models/deletenoteresponse.md @@ -12,4 +12,5 @@ Note deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | notes | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteopportunityresponse.md b/docs/models/deleteopportunityresponse.md index ce041a5c..a19ef777 100644 --- a/docs/models/deleteopportunityresponse.md +++ b/docs/models/deleteopportunityresponse.md @@ -12,4 +12,5 @@ Opportunity deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletepaymentresponse.md b/docs/models/deletepaymentresponse.md index 62c97338..a809340b 100644 --- a/docs/models/deletepaymentresponse.md +++ b/docs/models/deletepaymentresponse.md @@ -12,4 +12,5 @@ Payment deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletepurchaseorderresponse.md b/docs/models/deletepurchaseorderresponse.md index 83e97dae..721524b9 100644 --- a/docs/models/deletepurchaseorderresponse.md +++ b/docs/models/deletepurchaseorderresponse.md @@ -12,4 +12,5 @@ PurchaseOrders | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | PurchaseOrders | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletesharedlinkresponse.md b/docs/models/deletesharedlinkresponse.md index 32005609..d740f374 100644 --- a/docs/models/deletesharedlinkresponse.md +++ b/docs/models/deletesharedlinkresponse.md @@ -12,4 +12,5 @@ Shared Links | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | dropbox | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Shared Links | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletesubsidiaryresponse.md b/docs/models/deletesubsidiaryresponse.md index 77430683..cf825ae6 100644 --- a/docs/models/deletesubsidiaryresponse.md +++ b/docs/models/deletesubsidiaryresponse.md @@ -12,4 +12,5 @@ Subsidiarys | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletesupplierresponse.md b/docs/models/deletesupplierresponse.md index 33aec841..a030113f 100644 --- a/docs/models/deletesupplierresponse.md +++ b/docs/models/deletesupplierresponse.md @@ -12,4 +12,5 @@ Supplier deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | suppliers | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletetaxrateresponse.md b/docs/models/deletetaxrateresponse.md index 817050f9..199c3702 100644 --- a/docs/models/deletetaxrateresponse.md +++ b/docs/models/deletetaxrateresponse.md @@ -12,4 +12,5 @@ TaxRates deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | tax-rates | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteticketresponse.md b/docs/models/deleteticketresponse.md index 0c83b52c..ea816c1c 100644 --- a/docs/models/deleteticketresponse.md +++ b/docs/models/deleteticketresponse.md @@ -12,4 +12,5 @@ Delete a Ticket | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | | `operation` | *str* | :heavy_check_mark: | Operation performed | add | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletetimeoffrequestresponse.md b/docs/models/deletetimeoffrequestresponse.md index d7fac2fa..8f9ae236 100644 --- a/docs/models/deletetimeoffrequestresponse.md +++ b/docs/models/deletetimeoffrequestresponse.md @@ -12,4 +12,5 @@ TimeOffRequests | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | bamboohr | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | time-off-requests | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletetrackingcategoryresponse.md b/docs/models/deletetrackingcategoryresponse.md index cb4cc3cd..44071337 100644 --- a/docs/models/deletetrackingcategoryresponse.md +++ b/docs/models/deletetrackingcategoryresponse.md @@ -12,4 +12,5 @@ Tracking category deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | tracking-categories | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteuploadsessionresponse.md b/docs/models/deleteuploadsessionresponse.md index 065da993..e366d681 100644 --- a/docs/models/deleteuploadsessionresponse.md +++ b/docs/models/deleteuploadsessionresponse.md @@ -12,4 +12,5 @@ UploadSessions | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | dropbox | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | UploadSessions | | `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deleteuserresponse.md b/docs/models/deleteuserresponse.md index 3ec5461b..c4d6f6ca 100644 --- a/docs/models/deleteuserresponse.md +++ b/docs/models/deleteuserresponse.md @@ -12,4 +12,5 @@ User deleted | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | users | | `operation` | *str* | :heavy_check_mark: | Operation performed | delete | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/deletewebhookresponse.md b/docs/models/deletewebhookresponse.md index 01014c5d..a565b90c 100644 --- a/docs/models/deletewebhookresponse.md +++ b/docs/models/deletewebhookresponse.md @@ -5,8 +5,9 @@ Webhooks ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.Webhook](../models/webhook.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.Webhook](../models/webhook.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getaccountingdepartmentresponse.md b/docs/models/getaccountingdepartmentresponse.md index bbe07c62..b15b46ef 100644 --- a/docs/models/getaccountingdepartmentresponse.md +++ b/docs/models/getaccountingdepartmentresponse.md @@ -5,11 +5,12 @@ Location ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.AccountingDepartment](../models/accountingdepartment.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.AccountingDepartment](../models/accountingdepartment.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getaccountingdepartmentsresponse.md b/docs/models/getaccountingdepartmentsresponse.md index f147de2a..6550283f 100644 --- a/docs/models/getaccountingdepartmentsresponse.md +++ b/docs/models/getaccountingdepartmentsresponse.md @@ -5,13 +5,14 @@ Departments ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.AccountingDepartment](../models/accountingdepartment.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.AccountingDepartment](../models/accountingdepartment.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getaccountinglocationresponse.md b/docs/models/getaccountinglocationresponse.md index 09999206..4e936697 100644 --- a/docs/models/getaccountinglocationresponse.md +++ b/docs/models/getaccountinglocationresponse.md @@ -5,11 +5,12 @@ Location ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.AccountingLocation](../models/accountinglocation.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.AccountingLocation](../models/accountinglocation.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getaccountinglocationsresponse.md b/docs/models/getaccountinglocationsresponse.md index 12c67ee4..a8e0c63f 100644 --- a/docs/models/getaccountinglocationsresponse.md +++ b/docs/models/getaccountinglocationsresponse.md @@ -5,13 +5,14 @@ Locations ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.AccountingLocation](../models/accountinglocation.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.AccountingLocation](../models/accountinglocation.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getactivitiesresponse.md b/docs/models/getactivitiesresponse.md index c1adceb3..70349224 100644 --- a/docs/models/getactivitiesresponse.md +++ b/docs/models/getactivitiesresponse.md @@ -5,13 +5,14 @@ Activities ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | activities | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Activity](../models/activity.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | activities | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Activity](../models/activity.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getactivityresponse.md b/docs/models/getactivityresponse.md index 7b42a0ad..fe1ebead 100644 --- a/docs/models/getactivityresponse.md +++ b/docs/models/getactivityresponse.md @@ -5,11 +5,12 @@ Activity ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | activities | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Activity](../models/activity.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | activities | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Activity](../models/activity.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getageddebtorsresponse.md b/docs/models/getageddebtorsresponse.md index 190937cd..fc60c203 100644 --- a/docs/models/getageddebtorsresponse.md +++ b/docs/models/getageddebtorsresponse.md @@ -5,11 +5,12 @@ Aged Debtors ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | AgedDebtors | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.AgedDebtors](../models/ageddebtors.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | AgedDebtors | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.AgedDebtors](../models/ageddebtors.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getapiresourcecoverageresponse.md b/docs/models/getapiresourcecoverageresponse.md index 26ba4a89..e46532aa 100644 --- a/docs/models/getapiresourcecoverageresponse.md +++ b/docs/models/getapiresourcecoverageresponse.md @@ -5,10 +5,11 @@ ApiResources ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.APIResourceCoverage](../models/apiresourcecoverage.md) | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.APIResourceCoverage](../models/apiresourcecoverage.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getapiresourceresponse.md b/docs/models/getapiresourceresponse.md index 16c99f40..544eff95 100644 --- a/docs/models/getapiresourceresponse.md +++ b/docs/models/getapiresourceresponse.md @@ -5,10 +5,11 @@ ApiResources ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.APIResource](../models/apiresource.md) | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.APIResource](../models/apiresource.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getapiresponse.md b/docs/models/getapiresponse.md index 42441f4d..31a57604 100644 --- a/docs/models/getapiresponse.md +++ b/docs/models/getapiresponse.md @@ -5,10 +5,11 @@ Apis ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.API](../models/api.md) | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.API](../models/api.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getapisresponse.md b/docs/models/getapisresponse.md index 84e9d921..66e2997d 100644 --- a/docs/models/getapisresponse.md +++ b/docs/models/getapisresponse.md @@ -5,10 +5,11 @@ Apis ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | List[[models.API](../models/api.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | List[[models.API](../models/api.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getapplicantresponse.md b/docs/models/getapplicantresponse.md index 6a5dc1fb..eab9e4da 100644 --- a/docs/models/getapplicantresponse.md +++ b/docs/models/getapplicantresponse.md @@ -5,11 +5,12 @@ Applicants ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | lever | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applicants | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Applicant](../models/applicant.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | lever | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applicants | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Applicant](../models/applicant.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getapplicantsresponse.md b/docs/models/getapplicantsresponse.md index d2da9151..84d1cdec 100644 --- a/docs/models/getapplicantsresponse.md +++ b/docs/models/getapplicantsresponse.md @@ -5,13 +5,14 @@ Applicants ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | lever | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applicants | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Applicant](../models/applicant.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | lever | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applicants | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Applicant](../models/applicant.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getapplicationresponse.md b/docs/models/getapplicationresponse.md index 64d2aec3..05fd7532 100644 --- a/docs/models/getapplicationresponse.md +++ b/docs/models/getapplicationresponse.md @@ -5,11 +5,12 @@ Applications ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sap-successfactors | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applications | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Application](../models/application.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sap-successfactors | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applications | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Application](../models/application.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getapplicationsresponse.md b/docs/models/getapplicationsresponse.md index 3f5f92da..1ab7a578 100644 --- a/docs/models/getapplicationsresponse.md +++ b/docs/models/getapplicationsresponse.md @@ -5,13 +5,14 @@ Applications ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sap-successfactors | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applications | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Application](../models/application.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sap-successfactors | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applications | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Application](../models/application.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getattachmentresponse.md b/docs/models/getattachmentresponse.md index 169d0d62..726856f6 100644 --- a/docs/models/getattachmentresponse.md +++ b/docs/models/getattachmentresponse.md @@ -5,11 +5,12 @@ Attachments ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Attachment](../models/attachment.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Attachment](../models/attachment.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getattachmentsresponse.md b/docs/models/getattachmentsresponse.md index a9f258ed..8574845b 100644 --- a/docs/models/getattachmentsresponse.md +++ b/docs/models/getattachmentsresponse.md @@ -5,13 +5,14 @@ Attachments ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | PurchaseOrders | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Attachment](../models/attachment.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | PurchaseOrders | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Attachment](../models/attachment.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getbalancesheetresponse.md b/docs/models/getbalancesheetresponse.md index 2f6f1830..9b46249c 100644 --- a/docs/models/getbalancesheetresponse.md +++ b/docs/models/getbalancesheetresponse.md @@ -5,11 +5,12 @@ BalanceSheet ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | BalanceSheets | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.BalanceSheet](../models/balancesheet.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | BalanceSheets | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.BalanceSheet](../models/balancesheet.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getbillpaymentresponse.md b/docs/models/getbillpaymentresponse.md index d7156190..64b1fb09 100644 --- a/docs/models/getbillpaymentresponse.md +++ b/docs/models/getbillpaymentresponse.md @@ -5,11 +5,12 @@ Bill Payment ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.BillPayment](../models/billpayment.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.BillPayment](../models/billpayment.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getbillpaymentsresponse.md b/docs/models/getbillpaymentsresponse.md index 0c617c40..29872d41 100644 --- a/docs/models/getbillpaymentsresponse.md +++ b/docs/models/getbillpaymentsresponse.md @@ -5,13 +5,14 @@ Bill Payments ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.BillPayment](../models/billpayment.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.BillPayment](../models/billpayment.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getbillresponse.md b/docs/models/getbillresponse.md index 378bf3a2..a76ac605 100644 --- a/docs/models/getbillresponse.md +++ b/docs/models/getbillresponse.md @@ -5,11 +5,12 @@ Bill ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | bills | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Bill](../models/bill.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | bills | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Bill](../models/bill.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getbillsresponse.md b/docs/models/getbillsresponse.md index d1bccdbb..798beda3 100644 --- a/docs/models/getbillsresponse.md +++ b/docs/models/getbillsresponse.md @@ -5,13 +5,14 @@ Bills ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | bills | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Bill](../models/bill.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | bills | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Bill](../models/bill.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcollectionresponse.md b/docs/models/getcollectionresponse.md index 607e9f69..faebe5e8 100644 --- a/docs/models/getcollectionresponse.md +++ b/docs/models/getcollectionresponse.md @@ -5,11 +5,12 @@ Get a Collection ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Collection](../models/collection.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Collection](../models/collection.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcollectionsresponse.md b/docs/models/getcollectionsresponse.md index 154cf0c5..00b5771c 100644 --- a/docs/models/getcollectionsresponse.md +++ b/docs/models/getcollectionsresponse.md @@ -5,13 +5,14 @@ List Collections ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Collection](../models/collection.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Collection](../models/collection.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcollectiontagsresponse.md b/docs/models/getcollectiontagsresponse.md index e20ff589..c24c8e7d 100644 --- a/docs/models/getcollectiontagsresponse.md +++ b/docs/models/getcollectiontagsresponse.md @@ -5,13 +5,14 @@ List Tags ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.CollectionTag](../models/collectiontag.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.CollectionTag](../models/collectiontag.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcollectionuserresponse.md b/docs/models/getcollectionuserresponse.md index 7078527f..9a968015 100644 --- a/docs/models/getcollectionuserresponse.md +++ b/docs/models/getcollectionuserresponse.md @@ -5,11 +5,12 @@ User ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.CollectionUser](../models/collectionuser.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.CollectionUser](../models/collectionuser.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcollectionusersresponse.md b/docs/models/getcollectionusersresponse.md index bb992d01..d89b8953 100644 --- a/docs/models/getcollectionusersresponse.md +++ b/docs/models/getcollectionusersresponse.md @@ -5,13 +5,14 @@ Users ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.CollectionUser](../models/collectionuser.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.CollectionUser](../models/collectionuser.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcommentresponse.md b/docs/models/getcommentresponse.md index 691a74a2..4a95a52e 100644 --- a/docs/models/getcommentresponse.md +++ b/docs/models/getcommentresponse.md @@ -5,11 +5,12 @@ Get a Comment ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.CollectionTicketComment](../models/collectionticketcomment.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.CollectionTicketComment](../models/collectionticketcomment.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcommentsresponse.md b/docs/models/getcommentsresponse.md index 8ae24aea..5662ded6 100644 --- a/docs/models/getcommentsresponse.md +++ b/docs/models/getcommentsresponse.md @@ -14,4 +14,5 @@ List Comments | `operation` | *str* | :heavy_check_mark: | Operation performed | all | | `data` | List[[models.CollectionTicketComment](../models/collectionticketcomment.md)] | :heavy_check_mark: | N/A | | | `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcompaniesresponse.md b/docs/models/getcompaniesresponse.md index 960f1f57..10ae5f98 100644 --- a/docs/models/getcompaniesresponse.md +++ b/docs/models/getcompaniesresponse.md @@ -5,13 +5,14 @@ Companies ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Company](../models/company.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Company](../models/company.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcompanyinforesponse.md b/docs/models/getcompanyinforesponse.md index 50c31809..0c1d1baa 100644 --- a/docs/models/getcompanyinforesponse.md +++ b/docs/models/getcompanyinforesponse.md @@ -5,11 +5,12 @@ CompanyInfo ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | company-info | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.CompanyInfo](../models/companyinfo.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | company-info | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.CompanyInfo](../models/companyinfo.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcompanyresponse.md b/docs/models/getcompanyresponse.md index 5dde4be6..b495b524 100644 --- a/docs/models/getcompanyresponse.md +++ b/docs/models/getcompanyresponse.md @@ -5,11 +5,12 @@ Company ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Company](../models/company.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Company](../models/company.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getconnectionresponse.md b/docs/models/getconnectionresponse.md index 34bfebc4..698b6e60 100644 --- a/docs/models/getconnectionresponse.md +++ b/docs/models/getconnectionresponse.md @@ -5,8 +5,9 @@ Connection ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.Connection](../models/connection.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.Connection](../models/connection.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getconnectionsresponse.md b/docs/models/getconnectionsresponse.md index 334c2666..63cf0875 100644 --- a/docs/models/getconnectionsresponse.md +++ b/docs/models/getconnectionsresponse.md @@ -5,8 +5,9 @@ Connections ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | List[[models.Connection](../models/connection.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | List[[models.Connection](../models/connection.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getconnectorresourceresponse.md b/docs/models/getconnectorresourceresponse.md index 506ebca1..d6fb94c7 100644 --- a/docs/models/getconnectorresourceresponse.md +++ b/docs/models/getconnectorresourceresponse.md @@ -5,10 +5,11 @@ ConnectorResources ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.ConnectorResource](../models/connectorresource.md) | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.ConnectorResource](../models/connectorresource.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getconnectorresponse.md b/docs/models/getconnectorresponse.md index 739d5fa3..17510901 100644 --- a/docs/models/getconnectorresponse.md +++ b/docs/models/getconnectorresponse.md @@ -5,10 +5,11 @@ Connectors ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.Connector](../models/connector.md) | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.Connector](../models/connector.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getconnectorsresponse.md b/docs/models/getconnectorsresponse.md index 1a798c90..664704f2 100644 --- a/docs/models/getconnectorsresponse.md +++ b/docs/models/getconnectorsresponse.md @@ -5,10 +5,11 @@ Connectors ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | List[[models.Connector](../models/connector.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | List[[models.Connector](../models/connector.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getconsumerresponse.md b/docs/models/getconsumerresponse.md index c4883b62..39f9465f 100644 --- a/docs/models/getconsumerresponse.md +++ b/docs/models/getconsumerresponse.md @@ -5,8 +5,9 @@ Consumer ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.Consumer](../models/consumer.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.Consumer](../models/consumer.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getconsumersresponse.md b/docs/models/getconsumersresponse.md index 9a34eb34..0461b4b7 100644 --- a/docs/models/getconsumersresponse.md +++ b/docs/models/getconsumersresponse.md @@ -5,10 +5,11 @@ Consumers ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | List[[models.Data](../models/data.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | List[[models.Data](../models/data.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcontactresponse.md b/docs/models/getcontactresponse.md index 27a40eb3..7164017a 100644 --- a/docs/models/getcontactresponse.md +++ b/docs/models/getcontactresponse.md @@ -5,11 +5,12 @@ Contact ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Contact](../models/contact.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Contact](../models/contact.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcontactsresponse.md b/docs/models/getcontactsresponse.md index fe5ea69c..de0a878d 100644 --- a/docs/models/getcontactsresponse.md +++ b/docs/models/getcontactsresponse.md @@ -5,13 +5,14 @@ Contacts ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | contacts | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Contact](../models/contact.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | contacts | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Contact](../models/contact.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcreditnoteresponse.md b/docs/models/getcreditnoteresponse.md index b35bf772..c282ee4e 100644 --- a/docs/models/getcreditnoteresponse.md +++ b/docs/models/getcreditnoteresponse.md @@ -5,11 +5,12 @@ Credit Note ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | credit-notes | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.CreditNote](../models/creditnote.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | credit-notes | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.CreditNote](../models/creditnote.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcreditnotesresponse.md b/docs/models/getcreditnotesresponse.md index 4840ae46..2863e657 100644 --- a/docs/models/getcreditnotesresponse.md +++ b/docs/models/getcreditnotesresponse.md @@ -5,13 +5,14 @@ Credit Notes ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | credit-notes | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.CreditNote](../models/creditnote.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | credit-notes | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.CreditNote](../models/creditnote.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcustomerresponse.md b/docs/models/getcustomerresponse.md index 19e91af9..6f6b4f62 100644 --- a/docs/models/getcustomerresponse.md +++ b/docs/models/getcustomerresponse.md @@ -5,11 +5,12 @@ Customer ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | customers | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Customer](../models/customer.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | customers | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Customer](../models/customer.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcustomersresponse.md b/docs/models/getcustomersresponse.md index c8d19386..7411aa56 100644 --- a/docs/models/getcustomersresponse.md +++ b/docs/models/getcustomersresponse.md @@ -5,13 +5,14 @@ Customers ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | customers | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Customer](../models/customer.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | customers | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Customer](../models/customer.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcustomfieldsresponse.md b/docs/models/getcustomfieldsresponse.md index d8d19f89..665889de 100644 --- a/docs/models/getcustomfieldsresponse.md +++ b/docs/models/getcustomfieldsresponse.md @@ -5,8 +5,9 @@ Custom mapping ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | List[[models.CustomFieldFinder](../models/customfieldfinder.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | List[[models.CustomFieldFinder](../models/customfieldfinder.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getcustommappingsresponse.md b/docs/models/getcustommappingsresponse.md index df7a8165..9c04e01f 100644 --- a/docs/models/getcustommappingsresponse.md +++ b/docs/models/getcustommappingsresponse.md @@ -5,8 +5,9 @@ Custom mapping ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | List[[models.CustomMapping](../models/custommapping.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | List[[models.CustomMapping](../models/custommapping.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getdepartmentresponse.md b/docs/models/getdepartmentresponse.md index c5507305..d6359773 100644 --- a/docs/models/getdepartmentresponse.md +++ b/docs/models/getdepartmentresponse.md @@ -5,11 +5,12 @@ Departments ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | workday | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Departments | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Department](../models/department.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | workday | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Departments | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Department](../models/department.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getdepartmentsresponse.md b/docs/models/getdepartmentsresponse.md index 592275b0..7bf53cf6 100644 --- a/docs/models/getdepartmentsresponse.md +++ b/docs/models/getdepartmentsresponse.md @@ -5,13 +5,14 @@ Departments ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | workday | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Departments | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Department](../models/department.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | workday | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Departments | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Department](../models/department.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getdrivegroupresponse.md b/docs/models/getdrivegroupresponse.md index 754a656b..bc01b2d7 100644 --- a/docs/models/getdrivegroupresponse.md +++ b/docs/models/getdrivegroupresponse.md @@ -5,11 +5,12 @@ DriveGroups ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | DriveGroups | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.DriveGroup](../models/drivegroup.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | DriveGroups | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.DriveGroup](../models/drivegroup.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getdrivegroupsresponse.md b/docs/models/getdrivegroupsresponse.md index 86a40231..6db72444 100644 --- a/docs/models/getdrivegroupsresponse.md +++ b/docs/models/getdrivegroupsresponse.md @@ -5,13 +5,14 @@ DriveGroups ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | DriveGroups | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.DriveGroup](../models/drivegroup.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | DriveGroups | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.DriveGroup](../models/drivegroup.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getdriveresponse.md b/docs/models/getdriveresponse.md index c319b92e..2d14f88e 100644 --- a/docs/models/getdriveresponse.md +++ b/docs/models/getdriveresponse.md @@ -5,11 +5,12 @@ Drives ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Drives | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Drive](../models/drive.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Drives | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Drive](../models/drive.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getdrivesresponse.md b/docs/models/getdrivesresponse.md index a29e49d7..ef566daf 100644 --- a/docs/models/getdrivesresponse.md +++ b/docs/models/getdrivesresponse.md @@ -5,13 +5,14 @@ Drives ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Drives | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Drive](../models/drive.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Drives | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Drive](../models/drive.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getecommercecustomerresponse.md b/docs/models/getecommercecustomerresponse.md index e91dfc3a..a40ca09c 100644 --- a/docs/models/getecommercecustomerresponse.md +++ b/docs/models/getecommercecustomerresponse.md @@ -5,11 +5,12 @@ Customers ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | customers | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.EcommerceCustomer](../models/ecommercecustomer.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | customers | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.EcommerceCustomer](../models/ecommercecustomer.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getecommercecustomersresponse.md b/docs/models/getecommercecustomersresponse.md index 98f0782e..535b88fa 100644 --- a/docs/models/getecommercecustomersresponse.md +++ b/docs/models/getecommercecustomersresponse.md @@ -5,13 +5,14 @@ Customers ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | customers | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.EcommerceCustomer](../models/ecommercecustomer.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | customers | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.EcommerceCustomer](../models/ecommercecustomer.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getecommerceorderresponse.md b/docs/models/getecommerceorderresponse.md index b33be320..479b3e26 100644 --- a/docs/models/getecommerceorderresponse.md +++ b/docs/models/getecommerceorderresponse.md @@ -5,11 +5,12 @@ Orders ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | orders | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.EcommerceOrder](../models/ecommerceorder.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | orders | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.EcommerceOrder](../models/ecommerceorder.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getecommerceordersresponse.md b/docs/models/getecommerceordersresponse.md index dd857788..0a29f81f 100644 --- a/docs/models/getecommerceordersresponse.md +++ b/docs/models/getecommerceordersresponse.md @@ -5,13 +5,14 @@ Orders ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | orders | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.EcommerceOrder](../models/ecommerceorder.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | orders | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.EcommerceOrder](../models/ecommerceorder.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getemployeepayrollresponse.md b/docs/models/getemployeepayrollresponse.md index f86ae79a..609268b2 100644 --- a/docs/models/getemployeepayrollresponse.md +++ b/docs/models/getemployeepayrollresponse.md @@ -5,11 +5,12 @@ Payrolls ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Companies | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.EmployeePayroll](../models/employeepayroll.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Companies | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.EmployeePayroll](../models/employeepayroll.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getemployeepayrollsresponse.md b/docs/models/getemployeepayrollsresponse.md index 253b74cb..50dca22f 100644 --- a/docs/models/getemployeepayrollsresponse.md +++ b/docs/models/getemployeepayrollsresponse.md @@ -5,11 +5,12 @@ EmployeePayrolls ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.EmployeePayroll](../models/employeepayroll.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.EmployeePayroll](../models/employeepayroll.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getemployeeresponse.md b/docs/models/getemployeeresponse.md index 8a07dc43..1894c10c 100644 --- a/docs/models/getemployeeresponse.md +++ b/docs/models/getemployeeresponse.md @@ -5,11 +5,12 @@ Employees ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Employee](../models/employee.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Employee](../models/employee.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getemployeeschedulesresponse.md b/docs/models/getemployeeschedulesresponse.md index 2f3512e5..fcac7d54 100644 --- a/docs/models/getemployeeschedulesresponse.md +++ b/docs/models/getemployeeschedulesresponse.md @@ -5,11 +5,12 @@ EmployeeSchedules ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | [models.EmployeeSchedules](../models/employeeschedules.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | [models.EmployeeSchedules](../models/employeeschedules.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getemployeesresponse.md b/docs/models/getemployeesresponse.md index 274d0c34..066632e2 100644 --- a/docs/models/getemployeesresponse.md +++ b/docs/models/getemployeesresponse.md @@ -5,13 +5,14 @@ Employees ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Employee](../models/employee.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Employee](../models/employee.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getexpenseresponse.md b/docs/models/getexpenseresponse.md index ae3dbbd9..38593921 100644 --- a/docs/models/getexpenseresponse.md +++ b/docs/models/getexpenseresponse.md @@ -5,11 +5,12 @@ Expenses ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Expenses | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Expense](../models/expense.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Expenses | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Expense](../models/expense.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getexpensesresponse.md b/docs/models/getexpensesresponse.md index 6cece353..d1ee8412 100644 --- a/docs/models/getexpensesresponse.md +++ b/docs/models/getexpensesresponse.md @@ -5,13 +5,14 @@ Expenses ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Expenses | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Expense](../models/expense.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Expenses | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Expense](../models/expense.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getfileresponse.md b/docs/models/getfileresponse.md index 0a10444f..455fb0b0 100644 --- a/docs/models/getfileresponse.md +++ b/docs/models/getfileresponse.md @@ -5,11 +5,12 @@ File ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | files | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.UnifiedFile](../models/unifiedfile.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | files | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.UnifiedFile](../models/unifiedfile.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getfilesresponse.md b/docs/models/getfilesresponse.md index 24d4a224..d469c133 100644 --- a/docs/models/getfilesresponse.md +++ b/docs/models/getfilesresponse.md @@ -5,13 +5,14 @@ Files ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | files | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.UnifiedFile](../models/unifiedfile.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | files | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.UnifiedFile](../models/unifiedfile.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getfolderresponse.md b/docs/models/getfolderresponse.md index 25544dd1..6d29d179 100644 --- a/docs/models/getfolderresponse.md +++ b/docs/models/getfolderresponse.md @@ -5,11 +5,12 @@ Folders ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Folders | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Folder](../models/folder.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Folders | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Folder](../models/folder.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/gethriscompaniesresponse.md b/docs/models/gethriscompaniesresponse.md index 06a6b37e..74f4647b 100644 --- a/docs/models/gethriscompaniesresponse.md +++ b/docs/models/gethriscompaniesresponse.md @@ -5,13 +5,14 @@ Companies ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Companies | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.HrisCompany](../models/hriscompany.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Companies | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.HrisCompany](../models/hriscompany.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/gethriscompanyresponse.md b/docs/models/gethriscompanyresponse.md index a6d2dbe3..c16b26f9 100644 --- a/docs/models/gethriscompanyresponse.md +++ b/docs/models/gethriscompanyresponse.md @@ -5,11 +5,12 @@ Company ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Companies | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.HrisCompany](../models/hriscompany.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Companies | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.HrisCompany](../models/hriscompany.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getinvoiceitemresponse.md b/docs/models/getinvoiceitemresponse.md index 08d84ff3..1c98abc7 100644 --- a/docs/models/getinvoiceitemresponse.md +++ b/docs/models/getinvoiceitemresponse.md @@ -5,11 +5,12 @@ InvoiceItems ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoice-items | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.InvoiceItem](../models/invoiceitem.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoice-items | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.InvoiceItem](../models/invoiceitem.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getinvoiceitemsresponse.md b/docs/models/getinvoiceitemsresponse.md index 5471f0c9..da34e3ec 100644 --- a/docs/models/getinvoiceitemsresponse.md +++ b/docs/models/getinvoiceitemsresponse.md @@ -5,13 +5,14 @@ InvoiceItems ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoice-items | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.InvoiceItem](../models/invoiceitem.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoice-items | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.InvoiceItem](../models/invoiceitem.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getinvoiceresponse.md b/docs/models/getinvoiceresponse.md index 2631e1f1..340a9f34 100644 --- a/docs/models/getinvoiceresponse.md +++ b/docs/models/getinvoiceresponse.md @@ -5,11 +5,12 @@ Invoice ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoices | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Invoice](../models/invoice.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoices | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Invoice](../models/invoice.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getinvoicesresponse.md b/docs/models/getinvoicesresponse.md index 461feeba..fe41c83c 100644 --- a/docs/models/getinvoicesresponse.md +++ b/docs/models/getinvoicesresponse.md @@ -5,13 +5,14 @@ Invoices ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoices | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Invoice](../models/invoice.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoices | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Invoice](../models/invoice.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getjobresponse.md b/docs/models/getjobresponse.md index 6c3dc1cf..52b504a3 100644 --- a/docs/models/getjobresponse.md +++ b/docs/models/getjobresponse.md @@ -5,11 +5,12 @@ Jobs ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | lever | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Jobs | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Job](../models/job.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | lever | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Jobs | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Job](../models/job.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getjobsresponse.md b/docs/models/getjobsresponse.md index 9a5c5fc1..ecf37307 100644 --- a/docs/models/getjobsresponse.md +++ b/docs/models/getjobsresponse.md @@ -5,13 +5,14 @@ Jobs ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | lever | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Jobs | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Job](../models/job.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | lever | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Jobs | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Job](../models/job.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getjournalentriesresponse.md b/docs/models/getjournalentriesresponse.md index d66cd66b..992e2700 100644 --- a/docs/models/getjournalentriesresponse.md +++ b/docs/models/getjournalentriesresponse.md @@ -5,13 +5,14 @@ JournalEntry ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | journal-entries | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.JournalEntry](../models/journalentry.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | journal-entries | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.JournalEntry](../models/journalentry.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getjournalentryresponse.md b/docs/models/getjournalentryresponse.md index 3b33b11d..bb28ba95 100644 --- a/docs/models/getjournalentryresponse.md +++ b/docs/models/getjournalentryresponse.md @@ -5,11 +5,12 @@ JournalEntries ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | journal-entries | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.JournalEntry](../models/journalentry.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | journal-entries | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.JournalEntry](../models/journalentry.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getleadresponse.md b/docs/models/getleadresponse.md index 9f5c3772..a5268652 100644 --- a/docs/models/getleadresponse.md +++ b/docs/models/getleadresponse.md @@ -5,11 +5,12 @@ Lead ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Lead](../models/lead.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Lead](../models/lead.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getleadsresponse.md b/docs/models/getleadsresponse.md index 692849be..918e08d9 100644 --- a/docs/models/getleadsresponse.md +++ b/docs/models/getleadsresponse.md @@ -5,13 +5,14 @@ Leads ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Lead](../models/lead.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Lead](../models/lead.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getledgeraccountresponse.md b/docs/models/getledgeraccountresponse.md index 6e98a3d4..1e30c458 100644 --- a/docs/models/getledgeraccountresponse.md +++ b/docs/models/getledgeraccountresponse.md @@ -5,11 +5,12 @@ LedgerAccount ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | ledger-accounts | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.LedgerAccount](../models/ledgeraccount.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | ledger-accounts | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.LedgerAccount](../models/ledgeraccount.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getledgeraccountsresponse.md b/docs/models/getledgeraccountsresponse.md index 2b393ef1..97076399 100644 --- a/docs/models/getledgeraccountsresponse.md +++ b/docs/models/getledgeraccountsresponse.md @@ -5,13 +5,14 @@ LedgerAccounts ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | ledger-accounts | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.LedgerAccount](../models/ledgeraccount.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | ledger-accounts | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.LedgerAccount](../models/ledgeraccount.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getlogsresponse.md b/docs/models/getlogsresponse.md index b61cb197..cd42671a 100644 --- a/docs/models/getlogsresponse.md +++ b/docs/models/getlogsresponse.md @@ -5,10 +5,11 @@ Logs ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | List[[models.Log](../models/log.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | List[[models.Log](../models/log.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getmessageresponse.md b/docs/models/getmessageresponse.md index fd117ef8..1b78e7b8 100644 --- a/docs/models/getmessageresponse.md +++ b/docs/models/getmessageresponse.md @@ -5,11 +5,12 @@ Messages ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | twilio | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Messages | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Message](../models/message.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | twilio | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Messages | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Message](../models/message.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getmessagesresponse.md b/docs/models/getmessagesresponse.md index fc66ce5c..5023bbc0 100644 --- a/docs/models/getmessagesresponse.md +++ b/docs/models/getmessagesresponse.md @@ -5,13 +5,14 @@ Messages ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | twilio | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Messages | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Message](../models/message.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | twilio | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Messages | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Message](../models/message.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getnoteresponse.md b/docs/models/getnoteresponse.md index 27ad9e10..836fc4ed 100644 --- a/docs/models/getnoteresponse.md +++ b/docs/models/getnoteresponse.md @@ -5,11 +5,12 @@ Note ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | notes | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Note](../models/note.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | notes | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Note](../models/note.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getnotesresponse.md b/docs/models/getnotesresponse.md index c00d7b49..21454f26 100644 --- a/docs/models/getnotesresponse.md +++ b/docs/models/getnotesresponse.md @@ -5,13 +5,14 @@ Notes ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | notes | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Note](../models/note.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | notes | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Note](../models/note.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getopportunitiesresponse.md b/docs/models/getopportunitiesresponse.md index 84af3b0c..ea62470f 100644 --- a/docs/models/getopportunitiesresponse.md +++ b/docs/models/getopportunitiesresponse.md @@ -5,13 +5,14 @@ Opportunities ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | opportunities | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Opportunity](../models/opportunity.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | opportunities | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Opportunity](../models/opportunity.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getopportunityresponse.md b/docs/models/getopportunityresponse.md index a1a922ce..b89ec4d5 100644 --- a/docs/models/getopportunityresponse.md +++ b/docs/models/getopportunityresponse.md @@ -5,11 +5,12 @@ Opportunity ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | opportunities | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Opportunity](../models/opportunity.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | opportunities | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Opportunity](../models/opportunity.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getpaymentresponse.md b/docs/models/getpaymentresponse.md index cf1e4597..0b63604c 100644 --- a/docs/models/getpaymentresponse.md +++ b/docs/models/getpaymentresponse.md @@ -5,11 +5,12 @@ Payment ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Payment](../models/payment.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Payment](../models/payment.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getpaymentsresponse.md b/docs/models/getpaymentsresponse.md index 9e7d2652..49d7501c 100644 --- a/docs/models/getpaymentsresponse.md +++ b/docs/models/getpaymentsresponse.md @@ -5,13 +5,14 @@ Payments ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Payment](../models/payment.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Payment](../models/payment.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getpayrollresponse.md b/docs/models/getpayrollresponse.md index e12469f6..0b20cd2a 100644 --- a/docs/models/getpayrollresponse.md +++ b/docs/models/getpayrollresponse.md @@ -5,11 +5,12 @@ Payrolls ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Companies | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Payroll](../models/payroll.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Companies | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Payroll](../models/payroll.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getpayrollsresponse.md b/docs/models/getpayrollsresponse.md index 1543f241..ee3873d2 100644 --- a/docs/models/getpayrollsresponse.md +++ b/docs/models/getpayrollsresponse.md @@ -5,11 +5,12 @@ Payrolls ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Payroll](../models/payroll.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Payroll](../models/payroll.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getpipelinesresponse.md b/docs/models/getpipelinesresponse.md index f3b516fa..3710f5f2 100644 --- a/docs/models/getpipelinesresponse.md +++ b/docs/models/getpipelinesresponse.md @@ -5,13 +5,14 @@ Pipelines ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | pipelines | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Pipeline](../models/pipeline.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | pipelines | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Pipeline](../models/pipeline.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getproductresponse.md b/docs/models/getproductresponse.md index c1794f9e..b9df9650 100644 --- a/docs/models/getproductresponse.md +++ b/docs/models/getproductresponse.md @@ -5,11 +5,12 @@ Products ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | products | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.EcommerceProduct](../models/ecommerceproduct.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | products | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.EcommerceProduct](../models/ecommerceproduct.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getproductsresponse.md b/docs/models/getproductsresponse.md index c1452c3d..e8e2b7f7 100644 --- a/docs/models/getproductsresponse.md +++ b/docs/models/getproductsresponse.md @@ -5,13 +5,14 @@ Products ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | products | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.EcommerceProduct](../models/ecommerceproduct.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | products | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.EcommerceProduct](../models/ecommerceproduct.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getprofitandlossresponse.md b/docs/models/getprofitandlossresponse.md index f6e6987c..699b3e89 100644 --- a/docs/models/getprofitandlossresponse.md +++ b/docs/models/getprofitandlossresponse.md @@ -5,11 +5,12 @@ Profit & Loss Report ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | ProfitAndLosses | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.ProfitAndLoss](../models/profitandloss.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | ProfitAndLosses | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.ProfitAndLoss](../models/profitandloss.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getpurchaseorderresponse.md b/docs/models/getpurchaseorderresponse.md index 512dfef3..7dba65b2 100644 --- a/docs/models/getpurchaseorderresponse.md +++ b/docs/models/getpurchaseorderresponse.md @@ -5,11 +5,12 @@ PurchaseOrders ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | PurchaseOrders | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.PurchaseOrder](../models/purchaseorder.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | PurchaseOrders | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.PurchaseOrder](../models/purchaseorder.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getpurchaseordersresponse.md b/docs/models/getpurchaseordersresponse.md index 8cd79ee7..fc54d4a9 100644 --- a/docs/models/getpurchaseordersresponse.md +++ b/docs/models/getpurchaseordersresponse.md @@ -5,13 +5,14 @@ PurchaseOrders ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | PurchaseOrders | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.PurchaseOrder](../models/purchaseorder.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | PurchaseOrders | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.PurchaseOrder](../models/purchaseorder.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getsharedlinkresponse.md b/docs/models/getsharedlinkresponse.md index 70b33b82..802fb7e7 100644 --- a/docs/models/getsharedlinkresponse.md +++ b/docs/models/getsharedlinkresponse.md @@ -5,11 +5,12 @@ Shared Link ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | dropbox | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Shared Links | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.SharedLink](../models/sharedlink.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | dropbox | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Shared Links | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.SharedLink](../models/sharedlink.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getsharedlinksresponse.md b/docs/models/getsharedlinksresponse.md index a28b751d..4b72e1b2 100644 --- a/docs/models/getsharedlinksresponse.md +++ b/docs/models/getsharedlinksresponse.md @@ -5,13 +5,14 @@ Shared Links ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | dropbox | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Shared Links | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.SharedLink](../models/sharedlink.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | dropbox | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Shared Links | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.SharedLink](../models/sharedlink.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getstoreresponse.md b/docs/models/getstoreresponse.md index 5501deee..d2745d9d 100644 --- a/docs/models/getstoreresponse.md +++ b/docs/models/getstoreresponse.md @@ -5,11 +5,12 @@ Stores ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | stores | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.EcommerceStore](../models/ecommercestore.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | shopify | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | stores | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.EcommerceStore](../models/ecommercestore.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getsubsidiariesresponse.md b/docs/models/getsubsidiariesresponse.md index 7a0a04f1..2782b3f3 100644 --- a/docs/models/getsubsidiariesresponse.md +++ b/docs/models/getsubsidiariesresponse.md @@ -5,13 +5,14 @@ Subsidiaries ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Subsidiary](../models/subsidiary.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Subsidiary](../models/subsidiary.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getsubsidiaryresponse.md b/docs/models/getsubsidiaryresponse.md index e246d6a1..64f84908 100644 --- a/docs/models/getsubsidiaryresponse.md +++ b/docs/models/getsubsidiaryresponse.md @@ -5,11 +5,12 @@ Subsidiary ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Subsidiary](../models/subsidiary.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Subsidiary](../models/subsidiary.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getsupplierresponse.md b/docs/models/getsupplierresponse.md index 8b32967c..857ed770 100644 --- a/docs/models/getsupplierresponse.md +++ b/docs/models/getsupplierresponse.md @@ -5,11 +5,12 @@ Supplier ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | suppliers | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Supplier](../models/supplier.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | suppliers | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Supplier](../models/supplier.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getsuppliersresponse.md b/docs/models/getsuppliersresponse.md index fa1290e0..95c623f5 100644 --- a/docs/models/getsuppliersresponse.md +++ b/docs/models/getsuppliersresponse.md @@ -5,13 +5,14 @@ Suppliers ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | suppliers | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Supplier](../models/supplier.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | suppliers | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Supplier](../models/supplier.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/gettaxrateresponse.md b/docs/models/gettaxrateresponse.md index 686e12ac..7dc322b2 100644 --- a/docs/models/gettaxrateresponse.md +++ b/docs/models/gettaxrateresponse.md @@ -5,11 +5,12 @@ TaxRate ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | tax-rates | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.TaxRate](../models/taxrate.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | tax-rates | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.TaxRate](../models/taxrate.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/gettaxratesresponse.md b/docs/models/gettaxratesresponse.md index 18e3f505..ced0a2bf 100644 --- a/docs/models/gettaxratesresponse.md +++ b/docs/models/gettaxratesresponse.md @@ -5,13 +5,14 @@ TaxRates ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | tax-rates | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.TaxRate](../models/taxrate.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | tax-rates | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.TaxRate](../models/taxrate.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getticketresponse.md b/docs/models/getticketresponse.md index 2c25cef6..9d901a2a 100644 --- a/docs/models/getticketresponse.md +++ b/docs/models/getticketresponse.md @@ -5,11 +5,12 @@ Get a Ticket ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.Ticket](../models/ticket.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.Ticket](../models/ticket.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getticketsresponse.md b/docs/models/getticketsresponse.md index ff39f889..ae07be4f 100644 --- a/docs/models/getticketsresponse.md +++ b/docs/models/getticketsresponse.md @@ -5,13 +5,14 @@ List Tickets ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.Ticket](../models/ticket.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | jira | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.Ticket](../models/ticket.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/gettimeoffrequestresponse.md b/docs/models/gettimeoffrequestresponse.md index de1fdecf..d88b33a6 100644 --- a/docs/models/gettimeoffrequestresponse.md +++ b/docs/models/gettimeoffrequestresponse.md @@ -5,11 +5,12 @@ TimeOffRequests ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | bamboohr | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | time-off-requests | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.TimeOffRequest](../models/timeoffrequest.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | bamboohr | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | time-off-requests | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.TimeOffRequest](../models/timeoffrequest.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/gettimeoffrequestsresponse.md b/docs/models/gettimeoffrequestsresponse.md index bf5c2b97..a66da8c2 100644 --- a/docs/models/gettimeoffrequestsresponse.md +++ b/docs/models/gettimeoffrequestsresponse.md @@ -5,13 +5,14 @@ TimeOffRequests ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | bamboohr | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | time-off-requests | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.TimeOffRequest](../models/timeoffrequest.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | bamboohr | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | time-off-requests | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.TimeOffRequest](../models/timeoffrequest.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/gettrackingcategoriesresponse.md b/docs/models/gettrackingcategoriesresponse.md index 17c76bb3..b62fc12f 100644 --- a/docs/models/gettrackingcategoriesresponse.md +++ b/docs/models/gettrackingcategoriesresponse.md @@ -5,13 +5,14 @@ Tracking categories ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | tracking-categories | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.TrackingCategory](../models/trackingcategory.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | tracking-categories | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.TrackingCategory](../models/trackingcategory.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/gettrackingcategoryresponse.md b/docs/models/gettrackingcategoryresponse.md index 58103edd..58133278 100644 --- a/docs/models/gettrackingcategoryresponse.md +++ b/docs/models/gettrackingcategoryresponse.md @@ -5,11 +5,12 @@ Tracking category ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | tracking-categories | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.TrackingCategory](../models/trackingcategory.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | tracking-categories | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.TrackingCategory](../models/trackingcategory.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getuploadsessionresponse.md b/docs/models/getuploadsessionresponse.md index 7f2b4134..04d96ac5 100644 --- a/docs/models/getuploadsessionresponse.md +++ b/docs/models/getuploadsessionresponse.md @@ -5,11 +5,12 @@ UploadSessions ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | dropbox | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | UploadSessions | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.UploadSession](../models/uploadsession.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | dropbox | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | UploadSessions | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.UploadSession](../models/uploadsession.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getuserresponse.md b/docs/models/getuserresponse.md index cb4141e4..73ce0fd4 100644 --- a/docs/models/getuserresponse.md +++ b/docs/models/getuserresponse.md @@ -5,11 +5,12 @@ User ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | -| `operation` | *str* | :heavy_check_mark: | Operation performed | one | -| `data` | [models.User](../models/user.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | +| `operation` | *str* | :heavy_check_mark: | Operation performed | one | +| `data` | [models.User](../models/user.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getusersresponse.md b/docs/models/getusersresponse.md index 45d246a0..571da724 100644 --- a/docs/models/getusersresponse.md +++ b/docs/models/getusersresponse.md @@ -5,13 +5,14 @@ Users ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | users | -| `operation` | *str* | :heavy_check_mark: | Operation performed | all | -| `data` | List[[models.User](../models/user.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | users | +| `operation` | *str* | :heavy_check_mark: | Operation performed | all | +| `data` | List[[models.User](../models/user.md)] | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file diff --git a/docs/models/getwebhookeventlogsresponse.md b/docs/models/getwebhookeventlogsresponse.md index 86150bfb..1358e544 100644 --- a/docs/models/getwebhookeventlogsresponse.md +++ b/docs/models/getwebhookeventlogsresponse.md @@ -5,10 +5,11 @@ EventLogs ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | List[[models.WebhookEventLog](../models/webhookeventlog.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | List[[models.WebhookEventLog](../models/webhookeventlog.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getwebhookresponse.md b/docs/models/getwebhookresponse.md index 22219421..2d81a5de 100644 --- a/docs/models/getwebhookresponse.md +++ b/docs/models/getwebhookresponse.md @@ -5,8 +5,9 @@ Webhooks ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.Webhook](../models/webhook.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.Webhook](../models/webhook.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/getwebhooksresponse.md b/docs/models/getwebhooksresponse.md index 57630691..29f0dbad 100644 --- a/docs/models/getwebhooksresponse.md +++ b/docs/models/getwebhooksresponse.md @@ -5,10 +5,11 @@ Webhooks ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | List[[models.Webhook](../models/webhook.md)] | :heavy_check_mark: | N/A | | -| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | -| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | List[[models.Webhook](../models/webhook.md)] | :heavy_check_mark: | N/A | | +| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | Response metadata | | +| `links` | [Optional[models.Links]](../models/links.md) | :heavy_minus_sign: | Links to navigate to previous or next pages through the API | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateaccountingdepartmentresponse.md b/docs/models/updateaccountingdepartmentresponse.md index 45df6531..b97427bd 100644 --- a/docs/models/updateaccountingdepartmentresponse.md +++ b/docs/models/updateaccountingdepartmentresponse.md @@ -12,4 +12,5 @@ Department | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | departments | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateaccountinglocationresponse.md b/docs/models/updateaccountinglocationresponse.md index 0502076e..c427dd86 100644 --- a/docs/models/updateaccountinglocationresponse.md +++ b/docs/models/updateaccountinglocationresponse.md @@ -12,4 +12,5 @@ Location | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | locations | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateactivityresponse.md b/docs/models/updateactivityresponse.md index 45a24693..0d27911f 100644 --- a/docs/models/updateactivityresponse.md +++ b/docs/models/updateactivityresponse.md @@ -12,4 +12,5 @@ Activity updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | activities | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateapplicantresponse.md b/docs/models/updateapplicantresponse.md index 6fce5f39..92007426 100644 --- a/docs/models/updateapplicantresponse.md +++ b/docs/models/updateapplicantresponse.md @@ -12,4 +12,5 @@ Applicants | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | lever | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applicants | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateapplicationresponse.md b/docs/models/updateapplicationresponse.md index d552ec6b..58a22599 100644 --- a/docs/models/updateapplicationresponse.md +++ b/docs/models/updateapplicationresponse.md @@ -12,4 +12,5 @@ Applications | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sap-successfactors | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Applications | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatebillpaymentresponse.md b/docs/models/updatebillpaymentresponse.md index a89cbb13..961044a5 100644 --- a/docs/models/updatebillpaymentresponse.md +++ b/docs/models/updatebillpaymentresponse.md @@ -12,4 +12,5 @@ Bill Payment updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatebillresponse.md b/docs/models/updatebillresponse.md index 3e64e609..2d71412a 100644 --- a/docs/models/updatebillresponse.md +++ b/docs/models/updatebillresponse.md @@ -12,4 +12,5 @@ Bill Updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | bills | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatecommentresponse.md b/docs/models/updatecommentresponse.md index b93e3bc1..3f0d7f1c 100644 --- a/docs/models/updatecommentresponse.md +++ b/docs/models/updatecommentresponse.md @@ -12,4 +12,5 @@ Update a Comment | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | github | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatecompanyresponse.md b/docs/models/updatecompanyresponse.md index 444a5596..cfc708dc 100644 --- a/docs/models/updatecompanyresponse.md +++ b/docs/models/updatecompanyresponse.md @@ -12,4 +12,5 @@ Company updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateconnectionresponse.md b/docs/models/updateconnectionresponse.md index 7f673b3a..11d5f346 100644 --- a/docs/models/updateconnectionresponse.md +++ b/docs/models/updateconnectionresponse.md @@ -5,8 +5,9 @@ Connection updated ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.Connection](../models/connection.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.Connection](../models/connection.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateconsumerresponse.md b/docs/models/updateconsumerresponse.md index 0e92129e..6ad7c15b 100644 --- a/docs/models/updateconsumerresponse.md +++ b/docs/models/updateconsumerresponse.md @@ -5,8 +5,9 @@ Consumer updated ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.Consumer](../models/consumer.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.Consumer](../models/consumer.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatecontactresponse.md b/docs/models/updatecontactresponse.md index 564c5119..bdb53d85 100644 --- a/docs/models/updatecontactresponse.md +++ b/docs/models/updatecontactresponse.md @@ -12,4 +12,5 @@ Contact updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | contacts | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatecreditnoteresponse.md b/docs/models/updatecreditnoteresponse.md index 59057cef..09d65516 100644 --- a/docs/models/updatecreditnoteresponse.md +++ b/docs/models/updatecreditnoteresponse.md @@ -12,4 +12,5 @@ Credit Note updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | credit-notes | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatecustomerresponse.md b/docs/models/updatecustomerresponse.md index 58bcce8a..ca02c013 100644 --- a/docs/models/updatecustomerresponse.md +++ b/docs/models/updatecustomerresponse.md @@ -12,4 +12,5 @@ Customers | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | customers | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatedepartmentresponse.md b/docs/models/updatedepartmentresponse.md index 1e3792b7..a7b31a65 100644 --- a/docs/models/updatedepartmentresponse.md +++ b/docs/models/updatedepartmentresponse.md @@ -12,4 +12,5 @@ Departments | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | workday | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Departments | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatedrivegroupresponse.md b/docs/models/updatedrivegroupresponse.md index 5477244f..60fddd53 100644 --- a/docs/models/updatedrivegroupresponse.md +++ b/docs/models/updatedrivegroupresponse.md @@ -12,4 +12,5 @@ DriveGroups | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | DriveGroups | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatedriveresponse.md b/docs/models/updatedriveresponse.md index 80cfd8c2..bdee03d0 100644 --- a/docs/models/updatedriveresponse.md +++ b/docs/models/updatedriveresponse.md @@ -12,4 +12,5 @@ Drives | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Drives | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateemployeeresponse.md b/docs/models/updateemployeeresponse.md index cc7e63a4..f7fc42c0 100644 --- a/docs/models/updateemployeeresponse.md +++ b/docs/models/updateemployeeresponse.md @@ -12,4 +12,5 @@ Employees | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | sage-hr | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Employees | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateexpenseresponse.md b/docs/models/updateexpenseresponse.md index cbb3b041..29063c4e 100644 --- a/docs/models/updateexpenseresponse.md +++ b/docs/models/updateexpenseresponse.md @@ -12,4 +12,5 @@ Expenses | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Expenses | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatefileresponse.md b/docs/models/updatefileresponse.md index 2333f753..88cf0c26 100644 --- a/docs/models/updatefileresponse.md +++ b/docs/models/updatefileresponse.md @@ -12,4 +12,5 @@ Files | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | google-drive | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | files | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatefolderresponse.md b/docs/models/updatefolderresponse.md index ab00c982..229919db 100644 --- a/docs/models/updatefolderresponse.md +++ b/docs/models/updatefolderresponse.md @@ -12,4 +12,5 @@ Folders | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Folders | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatehriscompanyresponse.md b/docs/models/updatehriscompanyresponse.md index ef1d3ce5..c668ce3a 100644 --- a/docs/models/updatehriscompanyresponse.md +++ b/docs/models/updatehriscompanyresponse.md @@ -12,4 +12,5 @@ Companies | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | undefined | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Companies | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateinvoiceitemsresponse.md b/docs/models/updateinvoiceitemsresponse.md index 5d1d5095..5ff0bffa 100644 --- a/docs/models/updateinvoiceitemsresponse.md +++ b/docs/models/updateinvoiceitemsresponse.md @@ -12,4 +12,5 @@ InvoiceItems | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoice-items | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateinvoiceresponse.md b/docs/models/updateinvoiceresponse.md index 86f0399e..0256ee3e 100644 --- a/docs/models/updateinvoiceresponse.md +++ b/docs/models/updateinvoiceresponse.md @@ -5,11 +5,12 @@ Invoice updated ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | -| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoices | -| `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.InvoiceResponse](../models/invoiceresponse.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | +| `resource` | *str* | :heavy_check_mark: | Unified API resource name | invoices | +| `operation` | *str* | :heavy_check_mark: | Operation performed | update | +| `data` | [models.InvoiceResponse](../models/invoiceresponse.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatejournalentryresponse.md b/docs/models/updatejournalentryresponse.md index 517805db..49efb447 100644 --- a/docs/models/updatejournalentryresponse.md +++ b/docs/models/updatejournalentryresponse.md @@ -12,4 +12,5 @@ JournalEntries | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | journal-entries | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateleadresponse.md b/docs/models/updateleadresponse.md index a8c6c5f0..9ede8117 100644 --- a/docs/models/updateleadresponse.md +++ b/docs/models/updateleadresponse.md @@ -12,4 +12,5 @@ Lead updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateledgeraccountresponse.md b/docs/models/updateledgeraccountresponse.md index 3b8c9f65..d3107919 100644 --- a/docs/models/updateledgeraccountresponse.md +++ b/docs/models/updateledgeraccountresponse.md @@ -12,4 +12,5 @@ LedgerAccount updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | ledger-accounts | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatemessageresponse.md b/docs/models/updatemessageresponse.md index 6a6b3529..793999a8 100644 --- a/docs/models/updatemessageresponse.md +++ b/docs/models/updatemessageresponse.md @@ -12,4 +12,5 @@ Messages | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | twilio | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Messages | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatenoteresponse.md b/docs/models/updatenoteresponse.md index 13cfc516..2013315e 100644 --- a/docs/models/updatenoteresponse.md +++ b/docs/models/updatenoteresponse.md @@ -12,4 +12,5 @@ Note updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | notes | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateopportunityresponse.md b/docs/models/updateopportunityresponse.md index 0997a155..b8a3e8a5 100644 --- a/docs/models/updateopportunityresponse.md +++ b/docs/models/updateopportunityresponse.md @@ -12,4 +12,5 @@ Opportunity updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatepaymentresponse.md b/docs/models/updatepaymentresponse.md index 6c6afb7e..bfba1488 100644 --- a/docs/models/updatepaymentresponse.md +++ b/docs/models/updatepaymentresponse.md @@ -12,4 +12,5 @@ Payment Updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | payments | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatepurchaseorderresponse.md b/docs/models/updatepurchaseorderresponse.md index 1acab33c..78e606a0 100644 --- a/docs/models/updatepurchaseorderresponse.md +++ b/docs/models/updatepurchaseorderresponse.md @@ -12,4 +12,5 @@ PurchaseOrders | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | PurchaseOrders | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatesharedlinkresponse.md b/docs/models/updatesharedlinkresponse.md index 027f4a45..7d0abe58 100644 --- a/docs/models/updatesharedlinkresponse.md +++ b/docs/models/updatesharedlinkresponse.md @@ -12,4 +12,5 @@ Shared Links | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | dropbox | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Shared Links | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatesubsidiaryresponse.md b/docs/models/updatesubsidiaryresponse.md index e88c8016..88b4be57 100644 --- a/docs/models/updatesubsidiaryresponse.md +++ b/docs/models/updatesubsidiaryresponse.md @@ -12,4 +12,5 @@ Subsidiaries | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | subsidiaries | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatesupplierresponse.md b/docs/models/updatesupplierresponse.md index 94b09670..d6e9e6a7 100644 --- a/docs/models/updatesupplierresponse.md +++ b/docs/models/updatesupplierresponse.md @@ -12,4 +12,5 @@ Supplier updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | suppliers | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatetaxrateresponse.md b/docs/models/updatetaxrateresponse.md index 81156979..9334191f 100644 --- a/docs/models/updatetaxrateresponse.md +++ b/docs/models/updatetaxrateresponse.md @@ -12,4 +12,5 @@ TaxRate updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | xero | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | tax-rates | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateticketresponse.md b/docs/models/updateticketresponse.md index 29c130be..cd0b4786 100644 --- a/docs/models/updateticketresponse.md +++ b/docs/models/updateticketresponse.md @@ -12,4 +12,5 @@ Update a Ticket | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | github | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | Tickets | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatetimeoffrequestresponse.md b/docs/models/updatetimeoffrequestresponse.md index a5eaeac3..1a58c8f3 100644 --- a/docs/models/updatetimeoffrequestresponse.md +++ b/docs/models/updatetimeoffrequestresponse.md @@ -12,4 +12,5 @@ TimeOffRequests | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | bamboohr | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | time-off-requests | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatetrackingcategoryresponse.md b/docs/models/updatetrackingcategoryresponse.md index ce30a253..7a4be604 100644 --- a/docs/models/updatetrackingcategoryresponse.md +++ b/docs/models/updatetrackingcategoryresponse.md @@ -12,4 +12,5 @@ Tracking category updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | quickbooks | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | tracking-categories | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updateuserresponse.md b/docs/models/updateuserresponse.md index 0447e43f..14b930a2 100644 --- a/docs/models/updateuserresponse.md +++ b/docs/models/updateuserresponse.md @@ -12,4 +12,5 @@ User updated | `service` | *str* | :heavy_check_mark: | Apideck ID of service provider | zoho-crm | | `resource` | *str* | :heavy_check_mark: | Unified API resource name | companies | | `operation` | *str* | :heavy_check_mark: | Operation performed | update | -| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | \ No newline at end of file +| `data` | [models.UnifiedID](../models/unifiedid.md) | :heavy_check_mark: | A object containing a unique identifier for the resource that was created, updated, or deleted. | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/updatewebhookresponse.md b/docs/models/updatewebhookresponse.md index ab425c9c..f56e96ec 100644 --- a/docs/models/updatewebhookresponse.md +++ b/docs/models/updatewebhookresponse.md @@ -5,8 +5,9 @@ Webhooks ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | -| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | -| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.Webhook](../models/webhook.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | +| `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | +| `data` | [models.Webhook](../models/webhook.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/docs/models/validateconnectionstateresponse.md b/docs/models/validateconnectionstateresponse.md index 8409edfd..a69d9e04 100644 --- a/docs/models/validateconnectionstateresponse.md +++ b/docs/models/validateconnectionstateresponse.md @@ -9,4 +9,5 @@ Connection access token refreshed | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | `status_code` | *int* | :heavy_check_mark: | HTTP Response Status Code | 200 | | `status` | *str* | :heavy_check_mark: | HTTP Response Status | OK | -| `data` | [models.ValidateConnectionStateResponseData](../models/validateconnectionstateresponsedata.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `data` | [models.ValidateConnectionStateResponseData](../models/validateconnectionstateresponsedata.md) | :heavy_check_mark: | N/A | | +| `raw` | Dict[str, *Any*] | :heavy_minus_sign: | Raw response from the integration when raw=true query param is provided | | \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index d3d03b65..11ca66a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "apideck-unify" -version = "0.7.0" +version = "0.8.0" 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 d9409e16..47ac86d0 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.7.0" +__version__: str = "0.8.0" __openapi_doc_version__: str = "10.11.5" -__gen_version__: str = "2.517.3" -__user_agent__: str = "speakeasy-sdk/python 0.7.0 2.517.3 10.11.5 apideck-unify" +__gen_version__: str = "2.522.5" +__user_agent__: str = "speakeasy-sdk/python 0.8.0 2.522.5 10.11.5 apideck-unify" try: if __package__ is not None: diff --git a/src/apideck_unify/models/consumerrequestcountsindaterangeresponse.py b/src/apideck_unify/models/consumerrequestcountsindaterangeresponse.py index 7a7cbcdf..9e49078e 100644 --- a/src/apideck_unify/models/consumerrequestcountsindaterangeresponse.py +++ b/src/apideck_unify/models/consumerrequestcountsindaterangeresponse.py @@ -5,9 +5,17 @@ RequestCountAllocation, RequestCountAllocationTypedDict, ) -from apideck_unify.types import BaseModel -from typing import Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class ConsumerRequestCountsInDateRangeResponseDataTypedDict(TypedDict): @@ -41,6 +49,8 @@ class ConsumerRequestCountsInDateRangeResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: ConsumerRequestCountsInDateRangeResponseDataTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class ConsumerRequestCountsInDateRangeResponse(BaseModel): @@ -53,3 +63,38 @@ class ConsumerRequestCountsInDateRangeResponse(BaseModel): r"""HTTP Response Status""" data: ConsumerRequestCountsInDateRangeResponseData + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createaccountingdepartmentresponse.py b/src/apideck_unify/models/createaccountingdepartmentresponse.py index 171e06b6..4a09d131 100644 --- a/src/apideck_unify/models/createaccountingdepartmentresponse.py +++ b/src/apideck_unify/models/createaccountingdepartmentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateAccountingDepartmentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateAccountingDepartmentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateAccountingDepartmentResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateAccountingDepartmentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createaccountinglocationresponse.py b/src/apideck_unify/models/createaccountinglocationresponse.py index bb5f22bf..445ce408 100644 --- a/src/apideck_unify/models/createaccountinglocationresponse.py +++ b/src/apideck_unify/models/createaccountinglocationresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateAccountingLocationResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateAccountingLocationResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateAccountingLocationResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateAccountingLocationResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createactivityresponse.py b/src/apideck_unify/models/createactivityresponse.py index f0c92699..2348c55a 100644 --- a/src/apideck_unify/models/createactivityresponse.py +++ b/src/apideck_unify/models/createactivityresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateActivityResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateActivityResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateActivityResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateActivityResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createapplicantresponse.py b/src/apideck_unify/models/createapplicantresponse.py index 21219a42..89ece657 100644 --- a/src/apideck_unify/models/createapplicantresponse.py +++ b/src/apideck_unify/models/createapplicantresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateApplicantResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateApplicantResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateApplicantResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateApplicantResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createapplicationresponse.py b/src/apideck_unify/models/createapplicationresponse.py index 61fd7a8e..c3e5af83 100644 --- a/src/apideck_unify/models/createapplicationresponse.py +++ b/src/apideck_unify/models/createapplicationresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateApplicationResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateApplicationResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateApplicationResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateApplicationResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createbillpaymentresponse.py b/src/apideck_unify/models/createbillpaymentresponse.py index 724bd089..4dbfffb3 100644 --- a/src/apideck_unify/models/createbillpaymentresponse.py +++ b/src/apideck_unify/models/createbillpaymentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateBillPaymentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateBillPaymentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateBillPaymentResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateBillPaymentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createbillresponse.py b/src/apideck_unify/models/createbillresponse.py index 25b4b2ff..acabedb2 100644 --- a/src/apideck_unify/models/createbillresponse.py +++ b/src/apideck_unify/models/createbillresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateBillResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateBillResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateBillResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateBillResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createcallbackstateresponse.py b/src/apideck_unify/models/createcallbackstateresponse.py index 0c0c7739..9eb7932b 100644 --- a/src/apideck_unify/models/createcallbackstateresponse.py +++ b/src/apideck_unify/models/createcallbackstateresponse.py @@ -1,9 +1,17 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from apideck_unify.types import BaseModel -from typing import Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class CreateCallbackStateResponseDataTypedDict(TypedDict): @@ -24,6 +32,8 @@ class CreateCallbackStateResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: CreateCallbackStateResponseDataTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateCallbackStateResponse(BaseModel): @@ -36,3 +46,38 @@ class CreateCallbackStateResponse(BaseModel): r"""HTTP Response Status""" data: CreateCallbackStateResponseData + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createcommentresponse.py b/src/apideck_unify/models/createcommentresponse.py index 3741257a..ea3a2b9d 100644 --- a/src/apideck_unify/models/createcommentresponse.py +++ b/src/apideck_unify/models/createcommentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateCommentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateCommentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateCommentResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateCommentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createcompanyresponse.py b/src/apideck_unify/models/createcompanyresponse.py index 7e085aca..8a48b17c 100644 --- a/src/apideck_unify/models/createcompanyresponse.py +++ b/src/apideck_unify/models/createcompanyresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateCompanyResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateCompanyResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateCompanyResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateCompanyResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createconnectionresponse.py b/src/apideck_unify/models/createconnectionresponse.py index c47f9431..43b86248 100644 --- a/src/apideck_unify/models/createconnectionresponse.py +++ b/src/apideck_unify/models/createconnectionresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .connection import Connection, ConnectionTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateConnectionResponseTypedDict(TypedDict): @@ -14,6 +23,8 @@ class CreateConnectionResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: ConnectionTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateConnectionResponse(BaseModel): @@ -26,3 +37,38 @@ class CreateConnectionResponse(BaseModel): r"""HTTP Response Status""" data: Connection + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createconsumerresponse.py b/src/apideck_unify/models/createconsumerresponse.py index d3a8f222..c8a1e461 100644 --- a/src/apideck_unify/models/createconsumerresponse.py +++ b/src/apideck_unify/models/createconsumerresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .consumer import Consumer, ConsumerTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateConsumerResponseTypedDict(TypedDict): @@ -14,6 +23,8 @@ class CreateConsumerResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: ConsumerTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateConsumerResponse(BaseModel): @@ -26,3 +37,38 @@ class CreateConsumerResponse(BaseModel): r"""HTTP Response Status""" data: Consumer + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createcontactresponse.py b/src/apideck_unify/models/createcontactresponse.py index 85d9e75a..7f8e4751 100644 --- a/src/apideck_unify/models/createcontactresponse.py +++ b/src/apideck_unify/models/createcontactresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateContactResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateContactResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateContactResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateContactResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createcreditnoteresponse.py b/src/apideck_unify/models/createcreditnoteresponse.py index c4408349..916252a0 100644 --- a/src/apideck_unify/models/createcreditnoteresponse.py +++ b/src/apideck_unify/models/createcreditnoteresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateCreditNoteResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateCreditNoteResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateCreditNoteResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateCreditNoteResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createcustomerresponse.py b/src/apideck_unify/models/createcustomerresponse.py index 9cbc4b73..c24a583a 100644 --- a/src/apideck_unify/models/createcustomerresponse.py +++ b/src/apideck_unify/models/createcustomerresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateCustomerResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateCustomerResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateCustomerResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateCustomerResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createdepartmentresponse.py b/src/apideck_unify/models/createdepartmentresponse.py index 3834627b..a108fb25 100644 --- a/src/apideck_unify/models/createdepartmentresponse.py +++ b/src/apideck_unify/models/createdepartmentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateDepartmentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateDepartmentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateDepartmentResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateDepartmentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createdrivegroupresponse.py b/src/apideck_unify/models/createdrivegroupresponse.py index 40f1c3c8..1bd2f6be 100644 --- a/src/apideck_unify/models/createdrivegroupresponse.py +++ b/src/apideck_unify/models/createdrivegroupresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateDriveGroupResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateDriveGroupResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateDriveGroupResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateDriveGroupResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createdriveresponse.py b/src/apideck_unify/models/createdriveresponse.py index c34e9835..1876db2f 100644 --- a/src/apideck_unify/models/createdriveresponse.py +++ b/src/apideck_unify/models/createdriveresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateDriveResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateDriveResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateDriveResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateDriveResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createemployeeresponse.py b/src/apideck_unify/models/createemployeeresponse.py index 3e66b7fe..52a5a797 100644 --- a/src/apideck_unify/models/createemployeeresponse.py +++ b/src/apideck_unify/models/createemployeeresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateEmployeeResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateEmployeeResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateEmployeeResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateEmployeeResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createexpenseresponse.py b/src/apideck_unify/models/createexpenseresponse.py index c650005e..7f63a91a 100644 --- a/src/apideck_unify/models/createexpenseresponse.py +++ b/src/apideck_unify/models/createexpenseresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateExpenseResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateExpenseResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateExpenseResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateExpenseResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createfolderresponse.py b/src/apideck_unify/models/createfolderresponse.py index 605c885a..9d435f19 100644 --- a/src/apideck_unify/models/createfolderresponse.py +++ b/src/apideck_unify/models/createfolderresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateFolderResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateFolderResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateFolderResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateFolderResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createhriscompanyresponse.py b/src/apideck_unify/models/createhriscompanyresponse.py index 61210044..9badb058 100644 --- a/src/apideck_unify/models/createhriscompanyresponse.py +++ b/src/apideck_unify/models/createhriscompanyresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateHrisCompanyResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateHrisCompanyResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateHrisCompanyResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateHrisCompanyResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createinvoiceitemresponse.py b/src/apideck_unify/models/createinvoiceitemresponse.py index f44cff9e..38c5f0e0 100644 --- a/src/apideck_unify/models/createinvoiceitemresponse.py +++ b/src/apideck_unify/models/createinvoiceitemresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateInvoiceItemResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateInvoiceItemResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateInvoiceItemResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateInvoiceItemResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createinvoiceresponse.py b/src/apideck_unify/models/createinvoiceresponse.py index 6d9b88e7..47d07b1e 100644 --- a/src/apideck_unify/models/createinvoiceresponse.py +++ b/src/apideck_unify/models/createinvoiceresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .invoiceresponse import InvoiceResponse, InvoiceResponseTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateInvoiceResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class CreateInvoiceResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: InvoiceResponseTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateInvoiceResponse(BaseModel): @@ -41,3 +52,38 @@ class CreateInvoiceResponse(BaseModel): r"""Operation performed""" data: InvoiceResponse + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createjournalentryresponse.py b/src/apideck_unify/models/createjournalentryresponse.py index d38c7f42..1a3115ac 100644 --- a/src/apideck_unify/models/createjournalentryresponse.py +++ b/src/apideck_unify/models/createjournalentryresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateJournalEntryResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateJournalEntryResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateJournalEntryResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateJournalEntryResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createleadresponse.py b/src/apideck_unify/models/createleadresponse.py index 3e112fb1..9bd8c482 100644 --- a/src/apideck_unify/models/createleadresponse.py +++ b/src/apideck_unify/models/createleadresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateLeadResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateLeadResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateLeadResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateLeadResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createledgeraccountresponse.py b/src/apideck_unify/models/createledgeraccountresponse.py index 5c6a93f5..cb2669c3 100644 --- a/src/apideck_unify/models/createledgeraccountresponse.py +++ b/src/apideck_unify/models/createledgeraccountresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateLedgerAccountResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateLedgerAccountResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateLedgerAccountResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateLedgerAccountResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createmessageresponse.py b/src/apideck_unify/models/createmessageresponse.py index d7634c98..1af60655 100644 --- a/src/apideck_unify/models/createmessageresponse.py +++ b/src/apideck_unify/models/createmessageresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateMessageResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateMessageResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateMessageResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateMessageResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createnoteresponse.py b/src/apideck_unify/models/createnoteresponse.py index ac14993d..cdd56b8e 100644 --- a/src/apideck_unify/models/createnoteresponse.py +++ b/src/apideck_unify/models/createnoteresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateNoteResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateNoteResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateNoteResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateNoteResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createopportunityresponse.py b/src/apideck_unify/models/createopportunityresponse.py index aa47cb96..9c2615bd 100644 --- a/src/apideck_unify/models/createopportunityresponse.py +++ b/src/apideck_unify/models/createopportunityresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateOpportunityResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateOpportunityResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateOpportunityResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateOpportunityResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createpaymentresponse.py b/src/apideck_unify/models/createpaymentresponse.py index 10a1fbb5..c675e52b 100644 --- a/src/apideck_unify/models/createpaymentresponse.py +++ b/src/apideck_unify/models/createpaymentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreatePaymentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreatePaymentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreatePaymentResponse(BaseModel): @@ -43,3 +54,38 @@ class CreatePaymentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createpurchaseorderresponse.py b/src/apideck_unify/models/createpurchaseorderresponse.py index 83d5bc41..65144245 100644 --- a/src/apideck_unify/models/createpurchaseorderresponse.py +++ b/src/apideck_unify/models/createpurchaseorderresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreatePurchaseOrderResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreatePurchaseOrderResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreatePurchaseOrderResponse(BaseModel): @@ -43,3 +54,38 @@ class CreatePurchaseOrderResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createsessionresponse.py b/src/apideck_unify/models/createsessionresponse.py index 08a7a2df..704fea40 100644 --- a/src/apideck_unify/models/createsessionresponse.py +++ b/src/apideck_unify/models/createsessionresponse.py @@ -1,8 +1,17 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateSessionResponseDataTypedDict(TypedDict): @@ -24,6 +33,8 @@ class CreateSessionResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: CreateSessionResponseDataTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateSessionResponse(BaseModel): @@ -36,3 +47,38 @@ class CreateSessionResponse(BaseModel): r"""HTTP Response Status""" data: CreateSessionResponseData + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createsharedlinkresponse.py b/src/apideck_unify/models/createsharedlinkresponse.py index 1f4bf822..9c0b79ea 100644 --- a/src/apideck_unify/models/createsharedlinkresponse.py +++ b/src/apideck_unify/models/createsharedlinkresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateSharedLinkResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateSharedLinkResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateSharedLinkResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateSharedLinkResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createsubsidiaryresponse.py b/src/apideck_unify/models/createsubsidiaryresponse.py index 0a6c34ed..c73da1b7 100644 --- a/src/apideck_unify/models/createsubsidiaryresponse.py +++ b/src/apideck_unify/models/createsubsidiaryresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateSubsidiaryResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateSubsidiaryResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateSubsidiaryResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateSubsidiaryResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createsupplierresponse.py b/src/apideck_unify/models/createsupplierresponse.py index 24ab8aed..fe9f470c 100644 --- a/src/apideck_unify/models/createsupplierresponse.py +++ b/src/apideck_unify/models/createsupplierresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateSupplierResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateSupplierResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateSupplierResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateSupplierResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createtaxrateresponse.py b/src/apideck_unify/models/createtaxrateresponse.py index 0484184d..a1498888 100644 --- a/src/apideck_unify/models/createtaxrateresponse.py +++ b/src/apideck_unify/models/createtaxrateresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateTaxRateResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateTaxRateResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateTaxRateResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateTaxRateResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createticketresponse.py b/src/apideck_unify/models/createticketresponse.py index ea63b1e8..52194b28 100644 --- a/src/apideck_unify/models/createticketresponse.py +++ b/src/apideck_unify/models/createticketresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateTicketResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateTicketResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateTicketResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateTicketResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createtimeoffrequestresponse.py b/src/apideck_unify/models/createtimeoffrequestresponse.py index 23590664..f70b1289 100644 --- a/src/apideck_unify/models/createtimeoffrequestresponse.py +++ b/src/apideck_unify/models/createtimeoffrequestresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateTimeOffRequestResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateTimeOffRequestResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateTimeOffRequestResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateTimeOffRequestResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createtrackingcategoryresponse.py b/src/apideck_unify/models/createtrackingcategoryresponse.py index b7f5a1b5..635dcc2c 100644 --- a/src/apideck_unify/models/createtrackingcategoryresponse.py +++ b/src/apideck_unify/models/createtrackingcategoryresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateTrackingCategoryResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateTrackingCategoryResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateTrackingCategoryResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateTrackingCategoryResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createuploadsessionresponse.py b/src/apideck_unify/models/createuploadsessionresponse.py index 64f671e2..f103eaec 100644 --- a/src/apideck_unify/models/createuploadsessionresponse.py +++ b/src/apideck_unify/models/createuploadsessionresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateUploadSessionResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateUploadSessionResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateUploadSessionResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateUploadSessionResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createuserresponse.py b/src/apideck_unify/models/createuserresponse.py index 7bee61d9..fc8265db 100644 --- a/src/apideck_unify/models/createuserresponse.py +++ b/src/apideck_unify/models/createuserresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateUserResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class CreateUserResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateUserResponse(BaseModel): @@ -43,3 +54,38 @@ class CreateUserResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/createwebhookresponse.py b/src/apideck_unify/models/createwebhookresponse.py index 2cbfad0a..bcd77d2b 100644 --- a/src/apideck_unify/models/createwebhookresponse.py +++ b/src/apideck_unify/models/createwebhookresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .webhook import Webhook, WebhookTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class CreateWebhookResponseTypedDict(TypedDict): @@ -14,6 +23,8 @@ class CreateWebhookResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: WebhookTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class CreateWebhookResponse(BaseModel): @@ -26,3 +37,38 @@ class CreateWebhookResponse(BaseModel): r"""HTTP Response Status""" data: Webhook + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteaccountingdepartmentresponse.py b/src/apideck_unify/models/deleteaccountingdepartmentresponse.py index 05bc4760..0781ab5d 100644 --- a/src/apideck_unify/models/deleteaccountingdepartmentresponse.py +++ b/src/apideck_unify/models/deleteaccountingdepartmentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteAccountingDepartmentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteAccountingDepartmentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteAccountingDepartmentResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteAccountingDepartmentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteaccountinglocationresponse.py b/src/apideck_unify/models/deleteaccountinglocationresponse.py index c66df9d2..c7b7393d 100644 --- a/src/apideck_unify/models/deleteaccountinglocationresponse.py +++ b/src/apideck_unify/models/deleteaccountinglocationresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteAccountingLocationResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteAccountingLocationResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteAccountingLocationResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteAccountingLocationResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteactivityresponse.py b/src/apideck_unify/models/deleteactivityresponse.py index c5dd2d56..47f9ee07 100644 --- a/src/apideck_unify/models/deleteactivityresponse.py +++ b/src/apideck_unify/models/deleteactivityresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteActivityResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteActivityResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteActivityResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteActivityResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteapplicantresponse.py b/src/apideck_unify/models/deleteapplicantresponse.py index 3d6961b4..029cb15b 100644 --- a/src/apideck_unify/models/deleteapplicantresponse.py +++ b/src/apideck_unify/models/deleteapplicantresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteApplicantResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteApplicantResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteApplicantResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteApplicantResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteapplicationresponse.py b/src/apideck_unify/models/deleteapplicationresponse.py index 81a2217f..cc42c666 100644 --- a/src/apideck_unify/models/deleteapplicationresponse.py +++ b/src/apideck_unify/models/deleteapplicationresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteApplicationResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteApplicationResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteApplicationResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteApplicationResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteattachmentresponse.py b/src/apideck_unify/models/deleteattachmentresponse.py index bdb322df..caa5b8a8 100644 --- a/src/apideck_unify/models/deleteattachmentresponse.py +++ b/src/apideck_unify/models/deleteattachmentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteAttachmentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteAttachmentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteAttachmentResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteAttachmentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletebillpaymentresponse.py b/src/apideck_unify/models/deletebillpaymentresponse.py index 3f600f7b..9d02fb2b 100644 --- a/src/apideck_unify/models/deletebillpaymentresponse.py +++ b/src/apideck_unify/models/deletebillpaymentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteBillPaymentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteBillPaymentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteBillPaymentResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteBillPaymentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletebillresponse.py b/src/apideck_unify/models/deletebillresponse.py index a1a67eab..0ff5a443 100644 --- a/src/apideck_unify/models/deletebillresponse.py +++ b/src/apideck_unify/models/deletebillresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteBillResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteBillResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteBillResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteBillResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletecommentresponse.py b/src/apideck_unify/models/deletecommentresponse.py index 2d1b313e..0cf9a8de 100644 --- a/src/apideck_unify/models/deletecommentresponse.py +++ b/src/apideck_unify/models/deletecommentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteCommentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteCommentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteCommentResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteCommentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletecompanyresponse.py b/src/apideck_unify/models/deletecompanyresponse.py index 3c4c8df4..009f6a3d 100644 --- a/src/apideck_unify/models/deletecompanyresponse.py +++ b/src/apideck_unify/models/deletecompanyresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteCompanyResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteCompanyResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteCompanyResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteCompanyResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteconsumerresponse.py b/src/apideck_unify/models/deleteconsumerresponse.py index ade1dbed..aec33312 100644 --- a/src/apideck_unify/models/deleteconsumerresponse.py +++ b/src/apideck_unify/models/deleteconsumerresponse.py @@ -1,9 +1,17 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from apideck_unify.types import BaseModel -from typing import Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteConsumerResponseDataTypedDict(TypedDict): @@ -24,6 +32,8 @@ class DeleteConsumerResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: DeleteConsumerResponseDataTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteConsumerResponse(BaseModel): @@ -36,3 +46,38 @@ class DeleteConsumerResponse(BaseModel): r"""HTTP Response Status""" data: DeleteConsumerResponseData + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletecontactresponse.py b/src/apideck_unify/models/deletecontactresponse.py index ec61a9c0..ea9c979d 100644 --- a/src/apideck_unify/models/deletecontactresponse.py +++ b/src/apideck_unify/models/deletecontactresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteContactResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteContactResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteContactResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteContactResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletecreditnoteresponse.py b/src/apideck_unify/models/deletecreditnoteresponse.py index 5663c02b..674eff8d 100644 --- a/src/apideck_unify/models/deletecreditnoteresponse.py +++ b/src/apideck_unify/models/deletecreditnoteresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteCreditNoteResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteCreditNoteResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteCreditNoteResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteCreditNoteResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletecustomerresponse.py b/src/apideck_unify/models/deletecustomerresponse.py index 1715d793..00141c5d 100644 --- a/src/apideck_unify/models/deletecustomerresponse.py +++ b/src/apideck_unify/models/deletecustomerresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteCustomerResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteCustomerResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteCustomerResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteCustomerResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletedepartmentresponse.py b/src/apideck_unify/models/deletedepartmentresponse.py index 4d0713a2..578ae5ad 100644 --- a/src/apideck_unify/models/deletedepartmentresponse.py +++ b/src/apideck_unify/models/deletedepartmentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteDepartmentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteDepartmentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteDepartmentResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteDepartmentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletedrivegroupresponse.py b/src/apideck_unify/models/deletedrivegroupresponse.py index e928f715..0f0b4a76 100644 --- a/src/apideck_unify/models/deletedrivegroupresponse.py +++ b/src/apideck_unify/models/deletedrivegroupresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteDriveGroupResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteDriveGroupResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteDriveGroupResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteDriveGroupResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletedriveresponse.py b/src/apideck_unify/models/deletedriveresponse.py index 4f9293df..f9ca5e28 100644 --- a/src/apideck_unify/models/deletedriveresponse.py +++ b/src/apideck_unify/models/deletedriveresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteDriveResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteDriveResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteDriveResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteDriveResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteemployeeresponse.py b/src/apideck_unify/models/deleteemployeeresponse.py index 97fed0ee..49b8a968 100644 --- a/src/apideck_unify/models/deleteemployeeresponse.py +++ b/src/apideck_unify/models/deleteemployeeresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteEmployeeResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteEmployeeResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteEmployeeResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteEmployeeResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteexpenseresponse.py b/src/apideck_unify/models/deleteexpenseresponse.py index f30b294a..8ca6c6c5 100644 --- a/src/apideck_unify/models/deleteexpenseresponse.py +++ b/src/apideck_unify/models/deleteexpenseresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteExpenseResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteExpenseResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteExpenseResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteExpenseResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletefileresponse.py b/src/apideck_unify/models/deletefileresponse.py index b9871697..42c323ee 100644 --- a/src/apideck_unify/models/deletefileresponse.py +++ b/src/apideck_unify/models/deletefileresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteFileResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteFileResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteFileResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteFileResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletefolderresponse.py b/src/apideck_unify/models/deletefolderresponse.py index 75af80b1..e228a786 100644 --- a/src/apideck_unify/models/deletefolderresponse.py +++ b/src/apideck_unify/models/deletefolderresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteFolderResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteFolderResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteFolderResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteFolderResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletehriscompanyresponse.py b/src/apideck_unify/models/deletehriscompanyresponse.py index a2818bbe..1abec7e1 100644 --- a/src/apideck_unify/models/deletehriscompanyresponse.py +++ b/src/apideck_unify/models/deletehriscompanyresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteHrisCompanyResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteHrisCompanyResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteHrisCompanyResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteHrisCompanyResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteinvoiceresponse.py b/src/apideck_unify/models/deleteinvoiceresponse.py index 3d12243a..ca3b706e 100644 --- a/src/apideck_unify/models/deleteinvoiceresponse.py +++ b/src/apideck_unify/models/deleteinvoiceresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .invoiceresponse import InvoiceResponse, InvoiceResponseTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteInvoiceResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class DeleteInvoiceResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: InvoiceResponseTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteInvoiceResponse(BaseModel): @@ -41,3 +52,38 @@ class DeleteInvoiceResponse(BaseModel): r"""Operation performed""" data: InvoiceResponse + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletejournalentryresponse.py b/src/apideck_unify/models/deletejournalentryresponse.py index cc0b75c7..a873f8e3 100644 --- a/src/apideck_unify/models/deletejournalentryresponse.py +++ b/src/apideck_unify/models/deletejournalentryresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteJournalEntryResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteJournalEntryResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteJournalEntryResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteJournalEntryResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteleadresponse.py b/src/apideck_unify/models/deleteleadresponse.py index d6eb9a8a..e92c8a8c 100644 --- a/src/apideck_unify/models/deleteleadresponse.py +++ b/src/apideck_unify/models/deleteleadresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteLeadResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteLeadResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteLeadResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteLeadResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteledgeraccountresponse.py b/src/apideck_unify/models/deleteledgeraccountresponse.py index 0c25bc7b..c147eb00 100644 --- a/src/apideck_unify/models/deleteledgeraccountresponse.py +++ b/src/apideck_unify/models/deleteledgeraccountresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteLedgerAccountResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteLedgerAccountResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteLedgerAccountResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteLedgerAccountResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletemessageresponse.py b/src/apideck_unify/models/deletemessageresponse.py index d520919d..c8f462c1 100644 --- a/src/apideck_unify/models/deletemessageresponse.py +++ b/src/apideck_unify/models/deletemessageresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteMessageResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteMessageResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteMessageResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteMessageResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletenoteresponse.py b/src/apideck_unify/models/deletenoteresponse.py index 6ffc8fec..0438be07 100644 --- a/src/apideck_unify/models/deletenoteresponse.py +++ b/src/apideck_unify/models/deletenoteresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteNoteResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteNoteResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteNoteResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteNoteResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteopportunityresponse.py b/src/apideck_unify/models/deleteopportunityresponse.py index d7ecde7b..5194b6ae 100644 --- a/src/apideck_unify/models/deleteopportunityresponse.py +++ b/src/apideck_unify/models/deleteopportunityresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteOpportunityResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteOpportunityResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteOpportunityResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteOpportunityResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletepaymentresponse.py b/src/apideck_unify/models/deletepaymentresponse.py index 1bb7bddf..dfb661c9 100644 --- a/src/apideck_unify/models/deletepaymentresponse.py +++ b/src/apideck_unify/models/deletepaymentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeletePaymentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeletePaymentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeletePaymentResponse(BaseModel): @@ -43,3 +54,38 @@ class DeletePaymentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletepurchaseorderresponse.py b/src/apideck_unify/models/deletepurchaseorderresponse.py index e96d6f9c..06c988ed 100644 --- a/src/apideck_unify/models/deletepurchaseorderresponse.py +++ b/src/apideck_unify/models/deletepurchaseorderresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeletePurchaseOrderResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeletePurchaseOrderResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeletePurchaseOrderResponse(BaseModel): @@ -43,3 +54,38 @@ class DeletePurchaseOrderResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletesharedlinkresponse.py b/src/apideck_unify/models/deletesharedlinkresponse.py index 42d906b8..aaf2b023 100644 --- a/src/apideck_unify/models/deletesharedlinkresponse.py +++ b/src/apideck_unify/models/deletesharedlinkresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteSharedLinkResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteSharedLinkResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteSharedLinkResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteSharedLinkResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletesubsidiaryresponse.py b/src/apideck_unify/models/deletesubsidiaryresponse.py index 6948c995..a23e0114 100644 --- a/src/apideck_unify/models/deletesubsidiaryresponse.py +++ b/src/apideck_unify/models/deletesubsidiaryresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteSubsidiaryResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteSubsidiaryResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteSubsidiaryResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteSubsidiaryResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletesupplierresponse.py b/src/apideck_unify/models/deletesupplierresponse.py index 98716611..54f82181 100644 --- a/src/apideck_unify/models/deletesupplierresponse.py +++ b/src/apideck_unify/models/deletesupplierresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteSupplierResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteSupplierResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteSupplierResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteSupplierResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletetaxrateresponse.py b/src/apideck_unify/models/deletetaxrateresponse.py index 0c7e53df..9c806d6e 100644 --- a/src/apideck_unify/models/deletetaxrateresponse.py +++ b/src/apideck_unify/models/deletetaxrateresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteTaxRateResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteTaxRateResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteTaxRateResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteTaxRateResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteticketresponse.py b/src/apideck_unify/models/deleteticketresponse.py index 803e215f..5c57cda7 100644 --- a/src/apideck_unify/models/deleteticketresponse.py +++ b/src/apideck_unify/models/deleteticketresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteTicketResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteTicketResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteTicketResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteTicketResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletetimeoffrequestresponse.py b/src/apideck_unify/models/deletetimeoffrequestresponse.py index c6608cdc..db9b0be6 100644 --- a/src/apideck_unify/models/deletetimeoffrequestresponse.py +++ b/src/apideck_unify/models/deletetimeoffrequestresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteTimeOffRequestResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteTimeOffRequestResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteTimeOffRequestResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteTimeOffRequestResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletetrackingcategoryresponse.py b/src/apideck_unify/models/deletetrackingcategoryresponse.py index 3f4b9cfd..80fe830b 100644 --- a/src/apideck_unify/models/deletetrackingcategoryresponse.py +++ b/src/apideck_unify/models/deletetrackingcategoryresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteTrackingCategoryResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteTrackingCategoryResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteTrackingCategoryResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteTrackingCategoryResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteuploadsessionresponse.py b/src/apideck_unify/models/deleteuploadsessionresponse.py index 4c3f7bf3..d73e6fff 100644 --- a/src/apideck_unify/models/deleteuploadsessionresponse.py +++ b/src/apideck_unify/models/deleteuploadsessionresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteUploadSessionResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteUploadSessionResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteUploadSessionResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteUploadSessionResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deleteuserresponse.py b/src/apideck_unify/models/deleteuserresponse.py index 870c0196..c619d06d 100644 --- a/src/apideck_unify/models/deleteuserresponse.py +++ b/src/apideck_unify/models/deleteuserresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteUserResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class DeleteUserResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteUserResponse(BaseModel): @@ -43,3 +54,38 @@ class DeleteUserResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/deletewebhookresponse.py b/src/apideck_unify/models/deletewebhookresponse.py index 397bbf51..9948b7ed 100644 --- a/src/apideck_unify/models/deletewebhookresponse.py +++ b/src/apideck_unify/models/deletewebhookresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .webhook import Webhook, WebhookTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class DeleteWebhookResponseTypedDict(TypedDict): @@ -14,6 +23,8 @@ class DeleteWebhookResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: WebhookTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class DeleteWebhookResponse(BaseModel): @@ -26,3 +37,38 @@ class DeleteWebhookResponse(BaseModel): r"""HTTP Response Status""" data: Webhook + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getaccountingdepartmentresponse.py b/src/apideck_unify/models/getaccountingdepartmentresponse.py index 4eed66ad..d6c369fe 100644 --- a/src/apideck_unify/models/getaccountingdepartmentresponse.py +++ b/src/apideck_unify/models/getaccountingdepartmentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .accountingdepartment import AccountingDepartment, AccountingDepartmentTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetAccountingDepartmentResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetAccountingDepartmentResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: AccountingDepartmentTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetAccountingDepartmentResponse(BaseModel): @@ -41,3 +52,38 @@ class GetAccountingDepartmentResponse(BaseModel): r"""Operation performed""" data: AccountingDepartment + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getaccountingdepartmentsresponse.py b/src/apideck_unify/models/getaccountingdepartmentsresponse.py index 6cfd6236..690125b2 100644 --- a/src/apideck_unify/models/getaccountingdepartmentsresponse.py +++ b/src/apideck_unify/models/getaccountingdepartmentsresponse.py @@ -4,9 +4,17 @@ from .accountingdepartment import AccountingDepartment, AccountingDepartmentTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetAccountingDepartmentsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetAccountingDepartmentsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetAccountingDepartmentsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetAccountingDepartmentsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getaccountinglocationresponse.py b/src/apideck_unify/models/getaccountinglocationresponse.py index 592dc0d7..032a40b2 100644 --- a/src/apideck_unify/models/getaccountinglocationresponse.py +++ b/src/apideck_unify/models/getaccountinglocationresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .accountinglocation import AccountingLocation, AccountingLocationTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetAccountingLocationResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetAccountingLocationResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: AccountingLocationTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetAccountingLocationResponse(BaseModel): @@ -41,3 +52,38 @@ class GetAccountingLocationResponse(BaseModel): r"""Operation performed""" data: AccountingLocation + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getaccountinglocationsresponse.py b/src/apideck_unify/models/getaccountinglocationsresponse.py index 5e0925f2..1f9ed3b8 100644 --- a/src/apideck_unify/models/getaccountinglocationsresponse.py +++ b/src/apideck_unify/models/getaccountinglocationsresponse.py @@ -4,9 +4,17 @@ from .accountinglocation import AccountingLocation, AccountingLocationTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetAccountingLocationsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetAccountingLocationsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetAccountingLocationsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetAccountingLocationsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getactivitiesresponse.py b/src/apideck_unify/models/getactivitiesresponse.py index d49c2b0b..9904df65 100644 --- a/src/apideck_unify/models/getactivitiesresponse.py +++ b/src/apideck_unify/models/getactivitiesresponse.py @@ -4,9 +4,17 @@ from .activity import Activity, ActivityTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetActivitiesResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetActivitiesResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[ActivityTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetActivitiesResponse(BaseModel): data: List[Activity] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getactivityresponse.py b/src/apideck_unify/models/getactivityresponse.py index a97608e3..f338e195 100644 --- a/src/apideck_unify/models/getactivityresponse.py +++ b/src/apideck_unify/models/getactivityresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .activity import Activity, ActivityTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetActivityResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetActivityResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: ActivityTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetActivityResponse(BaseModel): @@ -41,3 +52,38 @@ class GetActivityResponse(BaseModel): r"""Operation performed""" data: Activity + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getageddebtorsresponse.py b/src/apideck_unify/models/getageddebtorsresponse.py index ab0aefef..a74b25e9 100644 --- a/src/apideck_unify/models/getageddebtorsresponse.py +++ b/src/apideck_unify/models/getageddebtorsresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .ageddebtors import AgedDebtors, AgedDebtorsTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetAgedDebtorsResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetAgedDebtorsResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: AgedDebtorsTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetAgedDebtorsResponse(BaseModel): @@ -41,3 +52,38 @@ class GetAgedDebtorsResponse(BaseModel): r"""Operation performed""" data: AgedDebtors + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getapiresourcecoverageresponse.py b/src/apideck_unify/models/getapiresourcecoverageresponse.py index 6676c6da..b29a767c 100644 --- a/src/apideck_unify/models/getapiresourcecoverageresponse.py +++ b/src/apideck_unify/models/getapiresourcecoverageresponse.py @@ -4,9 +4,17 @@ from .apiresourcecoverage import APIResourceCoverage, APIResourceCoverageTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetAPIResourceCoverageResponseTypedDict(TypedDict): @@ -17,6 +25,8 @@ class GetAPIResourceCoverageResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: APIResourceCoverageTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -34,8 +44,43 @@ class GetAPIResourceCoverageResponse(BaseModel): data: APIResourceCoverage + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getapiresourceresponse.py b/src/apideck_unify/models/getapiresourceresponse.py index d65b3e72..186efeb4 100644 --- a/src/apideck_unify/models/getapiresourceresponse.py +++ b/src/apideck_unify/models/getapiresourceresponse.py @@ -4,9 +4,17 @@ from .apiresource import APIResource, APIResourceTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetAPIResourceResponseTypedDict(TypedDict): @@ -17,6 +25,8 @@ class GetAPIResourceResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: APIResourceTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -34,8 +44,43 @@ class GetAPIResourceResponse(BaseModel): data: APIResource + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getapiresponse.py b/src/apideck_unify/models/getapiresponse.py index 8f8a1317..13a10722 100644 --- a/src/apideck_unify/models/getapiresponse.py +++ b/src/apideck_unify/models/getapiresponse.py @@ -4,9 +4,17 @@ from .api import API, APITypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetAPIResponseTypedDict(TypedDict): @@ -17,6 +25,8 @@ class GetAPIResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: APITypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -34,8 +44,43 @@ class GetAPIResponse(BaseModel): data: API + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getapisresponse.py b/src/apideck_unify/models/getapisresponse.py index 7ba3d9a5..f673eca2 100644 --- a/src/apideck_unify/models/getapisresponse.py +++ b/src/apideck_unify/models/getapisresponse.py @@ -4,9 +4,17 @@ from .api import API, APITypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetApisResponseTypedDict(TypedDict): @@ -17,6 +25,8 @@ class GetApisResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: List[APITypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -34,8 +44,43 @@ class GetApisResponse(BaseModel): data: List[API] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getapplicantresponse.py b/src/apideck_unify/models/getapplicantresponse.py index 33f359d6..e27771e2 100644 --- a/src/apideck_unify/models/getapplicantresponse.py +++ b/src/apideck_unify/models/getapplicantresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .applicant import Applicant, ApplicantTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetApplicantResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetApplicantResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: ApplicantTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetApplicantResponse(BaseModel): @@ -41,3 +52,38 @@ class GetApplicantResponse(BaseModel): r"""Operation performed""" data: Applicant + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getapplicantsresponse.py b/src/apideck_unify/models/getapplicantsresponse.py index b0179994..e9aa05d3 100644 --- a/src/apideck_unify/models/getapplicantsresponse.py +++ b/src/apideck_unify/models/getapplicantsresponse.py @@ -4,9 +4,17 @@ from .applicant import Applicant, ApplicantTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetApplicantsResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetApplicantsResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[ApplicantTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetApplicantsResponse(BaseModel): data: List[Applicant] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getapplicationresponse.py b/src/apideck_unify/models/getapplicationresponse.py index 0ee14897..e03e8602 100644 --- a/src/apideck_unify/models/getapplicationresponse.py +++ b/src/apideck_unify/models/getapplicationresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .application import Application, ApplicationTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetApplicationResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetApplicationResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: ApplicationTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetApplicationResponse(BaseModel): @@ -41,3 +52,38 @@ class GetApplicationResponse(BaseModel): r"""Operation performed""" data: Application + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getapplicationsresponse.py b/src/apideck_unify/models/getapplicationsresponse.py index 9d3562c4..874f308c 100644 --- a/src/apideck_unify/models/getapplicationsresponse.py +++ b/src/apideck_unify/models/getapplicationsresponse.py @@ -4,9 +4,17 @@ from .application import Application, ApplicationTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetApplicationsResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetApplicationsResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[ApplicationTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetApplicationsResponse(BaseModel): data: List[Application] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getattachmentresponse.py b/src/apideck_unify/models/getattachmentresponse.py index e534c8d7..3a7517f3 100644 --- a/src/apideck_unify/models/getattachmentresponse.py +++ b/src/apideck_unify/models/getattachmentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .attachment import Attachment, AttachmentTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetAttachmentResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetAttachmentResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: AttachmentTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetAttachmentResponse(BaseModel): @@ -41,3 +52,38 @@ class GetAttachmentResponse(BaseModel): r"""Operation performed""" data: Attachment + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getattachmentsresponse.py b/src/apideck_unify/models/getattachmentsresponse.py index 494fc510..67328fc1 100644 --- a/src/apideck_unify/models/getattachmentsresponse.py +++ b/src/apideck_unify/models/getattachmentsresponse.py @@ -4,9 +4,17 @@ from .attachment import Attachment, AttachmentTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetAttachmentsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetAttachmentsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetAttachmentsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetAttachmentsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getbalancesheetresponse.py b/src/apideck_unify/models/getbalancesheetresponse.py index 165c60e4..b433894c 100644 --- a/src/apideck_unify/models/getbalancesheetresponse.py +++ b/src/apideck_unify/models/getbalancesheetresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .balancesheet import BalanceSheet, BalanceSheetTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetBalanceSheetResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetBalanceSheetResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: BalanceSheetTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetBalanceSheetResponse(BaseModel): @@ -41,3 +52,38 @@ class GetBalanceSheetResponse(BaseModel): r"""Operation performed""" data: BalanceSheet + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getbillpaymentresponse.py b/src/apideck_unify/models/getbillpaymentresponse.py index b342ee0c..399edc32 100644 --- a/src/apideck_unify/models/getbillpaymentresponse.py +++ b/src/apideck_unify/models/getbillpaymentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .billpayment import BillPayment, BillPaymentTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetBillPaymentResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetBillPaymentResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: BillPaymentTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetBillPaymentResponse(BaseModel): @@ -41,3 +52,38 @@ class GetBillPaymentResponse(BaseModel): r"""Operation performed""" data: BillPayment + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getbillpaymentsresponse.py b/src/apideck_unify/models/getbillpaymentsresponse.py index fa532737..e2989a88 100644 --- a/src/apideck_unify/models/getbillpaymentsresponse.py +++ b/src/apideck_unify/models/getbillpaymentsresponse.py @@ -4,9 +4,17 @@ from .billpayment import BillPayment, BillPaymentTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetBillPaymentsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetBillPaymentsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetBillPaymentsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetBillPaymentsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getbillresponse.py b/src/apideck_unify/models/getbillresponse.py index 4ec896dd..9c7e708e 100644 --- a/src/apideck_unify/models/getbillresponse.py +++ b/src/apideck_unify/models/getbillresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .bill import Bill, BillTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetBillResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetBillResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: BillTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetBillResponse(BaseModel): @@ -41,3 +52,38 @@ class GetBillResponse(BaseModel): r"""Operation performed""" data: Bill + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getbillsresponse.py b/src/apideck_unify/models/getbillsresponse.py index fdcfe02d..d3d4d799 100644 --- a/src/apideck_unify/models/getbillsresponse.py +++ b/src/apideck_unify/models/getbillsresponse.py @@ -4,9 +4,17 @@ from .bill import Bill, BillTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetBillsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetBillsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetBillsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetBillsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcollectionresponse.py b/src/apideck_unify/models/getcollectionresponse.py index 2e191444..6267c941 100644 --- a/src/apideck_unify/models/getcollectionresponse.py +++ b/src/apideck_unify/models/getcollectionresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .collection import Collection, CollectionTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetCollectionResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetCollectionResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: CollectionTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCollectionResponse(BaseModel): @@ -41,3 +52,38 @@ class GetCollectionResponse(BaseModel): r"""Operation performed""" data: Collection + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcollectionsresponse.py b/src/apideck_unify/models/getcollectionsresponse.py index 7b67f917..acba6f33 100644 --- a/src/apideck_unify/models/getcollectionsresponse.py +++ b/src/apideck_unify/models/getcollectionsresponse.py @@ -4,9 +4,17 @@ from .collection import Collection, CollectionTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetCollectionsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetCollectionsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCollectionsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetCollectionsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcollectiontagsresponse.py b/src/apideck_unify/models/getcollectiontagsresponse.py index c67ba415..39eb5b2a 100644 --- a/src/apideck_unify/models/getcollectiontagsresponse.py +++ b/src/apideck_unify/models/getcollectiontagsresponse.py @@ -4,9 +4,17 @@ from .collectiontag import CollectionTag, CollectionTagTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetCollectionTagsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetCollectionTagsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCollectionTagsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetCollectionTagsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcollectionuserresponse.py b/src/apideck_unify/models/getcollectionuserresponse.py index a63067c3..ba1f8bdb 100644 --- a/src/apideck_unify/models/getcollectionuserresponse.py +++ b/src/apideck_unify/models/getcollectionuserresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .collectionuser import CollectionUser, CollectionUserTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetCollectionUserResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetCollectionUserResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: CollectionUserTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCollectionUserResponse(BaseModel): @@ -41,3 +52,38 @@ class GetCollectionUserResponse(BaseModel): r"""Operation performed""" data: CollectionUser + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcollectionusersresponse.py b/src/apideck_unify/models/getcollectionusersresponse.py index 7c76522b..0edcf3b7 100644 --- a/src/apideck_unify/models/getcollectionusersresponse.py +++ b/src/apideck_unify/models/getcollectionusersresponse.py @@ -4,9 +4,17 @@ from .collectionuser import CollectionUser, CollectionUserTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetCollectionUsersResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetCollectionUsersResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCollectionUsersResponse(BaseModel): @@ -54,3 +64,38 @@ class GetCollectionUsersResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcommentresponse.py b/src/apideck_unify/models/getcommentresponse.py index f09fcb32..c8ed106a 100644 --- a/src/apideck_unify/models/getcommentresponse.py +++ b/src/apideck_unify/models/getcommentresponse.py @@ -5,8 +5,17 @@ CollectionTicketComment, CollectionTicketCommentTypedDict, ) -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetCommentResponseTypedDict(TypedDict): @@ -23,6 +32,8 @@ class GetCommentResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: CollectionTicketCommentTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCommentResponse(BaseModel): @@ -44,3 +55,38 @@ class GetCommentResponse(BaseModel): r"""Operation performed""" data: CollectionTicketComment + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcommentsresponse.py b/src/apideck_unify/models/getcommentsresponse.py index 1c7c67f2..5c04d2a9 100644 --- a/src/apideck_unify/models/getcommentsresponse.py +++ b/src/apideck_unify/models/getcommentsresponse.py @@ -7,9 +7,17 @@ ) from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetCommentsResponseTypedDict(TypedDict): @@ -30,6 +38,8 @@ class GetCommentsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCommentsResponse(BaseModel): @@ -57,3 +67,38 @@ class GetCommentsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcompaniesresponse.py b/src/apideck_unify/models/getcompaniesresponse.py index 40feb2d0..1493ac22 100644 --- a/src/apideck_unify/models/getcompaniesresponse.py +++ b/src/apideck_unify/models/getcompaniesresponse.py @@ -4,9 +4,17 @@ from .company import Company, CompanyTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetCompaniesResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetCompaniesResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCompaniesResponse(BaseModel): @@ -54,3 +64,38 @@ class GetCompaniesResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcompanyinforesponse.py b/src/apideck_unify/models/getcompanyinforesponse.py index 8199f209..89fb7509 100644 --- a/src/apideck_unify/models/getcompanyinforesponse.py +++ b/src/apideck_unify/models/getcompanyinforesponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .companyinfo import CompanyInfo, CompanyInfoTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetCompanyInfoResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetCompanyInfoResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: CompanyInfoTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCompanyInfoResponse(BaseModel): @@ -41,3 +52,38 @@ class GetCompanyInfoResponse(BaseModel): r"""Operation performed""" data: CompanyInfo + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcompanyresponse.py b/src/apideck_unify/models/getcompanyresponse.py index ff66c690..9e4eebfc 100644 --- a/src/apideck_unify/models/getcompanyresponse.py +++ b/src/apideck_unify/models/getcompanyresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .company import Company, CompanyTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetCompanyResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetCompanyResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: CompanyTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCompanyResponse(BaseModel): @@ -41,3 +52,38 @@ class GetCompanyResponse(BaseModel): r"""Operation performed""" data: Company + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getconnectionresponse.py b/src/apideck_unify/models/getconnectionresponse.py index 15332601..349e7dce 100644 --- a/src/apideck_unify/models/getconnectionresponse.py +++ b/src/apideck_unify/models/getconnectionresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .connection import Connection, ConnectionTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetConnectionResponseTypedDict(TypedDict): @@ -14,6 +23,8 @@ class GetConnectionResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: ConnectionTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetConnectionResponse(BaseModel): @@ -26,3 +37,38 @@ class GetConnectionResponse(BaseModel): r"""HTTP Response Status""" data: Connection + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getconnectionsresponse.py b/src/apideck_unify/models/getconnectionsresponse.py index 5ead23ea..e83b3af2 100644 --- a/src/apideck_unify/models/getconnectionsresponse.py +++ b/src/apideck_unify/models/getconnectionsresponse.py @@ -2,9 +2,17 @@ from __future__ import annotations from .connection import Connection, ConnectionTypedDict -from apideck_unify.types import BaseModel -from typing import List -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List +from typing_extensions import Annotated, NotRequired, TypedDict class GetConnectionsResponseTypedDict(TypedDict): @@ -15,6 +23,8 @@ class GetConnectionsResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: List[ConnectionTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetConnectionsResponse(BaseModel): @@ -27,3 +37,38 @@ class GetConnectionsResponse(BaseModel): r"""HTTP Response Status""" data: List[Connection] + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getconnectorresourceresponse.py b/src/apideck_unify/models/getconnectorresourceresponse.py index b48e67a2..ba963a9a 100644 --- a/src/apideck_unify/models/getconnectorresourceresponse.py +++ b/src/apideck_unify/models/getconnectorresourceresponse.py @@ -4,9 +4,17 @@ from .connectorresource import ConnectorResource, ConnectorResourceTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetConnectorResourceResponseTypedDict(TypedDict): @@ -17,6 +25,8 @@ class GetConnectorResourceResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: ConnectorResourceTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -34,8 +44,43 @@ class GetConnectorResourceResponse(BaseModel): data: ConnectorResource + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getconnectorresponse.py b/src/apideck_unify/models/getconnectorresponse.py index 5a192823..482b2882 100644 --- a/src/apideck_unify/models/getconnectorresponse.py +++ b/src/apideck_unify/models/getconnectorresponse.py @@ -4,9 +4,17 @@ from .connector import Connector, ConnectorTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetConnectorResponseTypedDict(TypedDict): @@ -17,6 +25,8 @@ class GetConnectorResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: ConnectorTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -34,8 +44,43 @@ class GetConnectorResponse(BaseModel): data: Connector + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getconnectorsresponse.py b/src/apideck_unify/models/getconnectorsresponse.py index 08bd49c9..d924ea61 100644 --- a/src/apideck_unify/models/getconnectorsresponse.py +++ b/src/apideck_unify/models/getconnectorsresponse.py @@ -4,9 +4,17 @@ from .connector import Connector, ConnectorTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetConnectorsResponseTypedDict(TypedDict): @@ -17,6 +25,8 @@ class GetConnectorsResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: List[ConnectorTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -34,8 +44,43 @@ class GetConnectorsResponse(BaseModel): data: List[Connector] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getconsumerresponse.py b/src/apideck_unify/models/getconsumerresponse.py index 85acc2b7..a706841a 100644 --- a/src/apideck_unify/models/getconsumerresponse.py +++ b/src/apideck_unify/models/getconsumerresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .consumer import Consumer, ConsumerTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetConsumerResponseTypedDict(TypedDict): @@ -14,6 +23,8 @@ class GetConsumerResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: ConsumerTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetConsumerResponse(BaseModel): @@ -26,3 +37,38 @@ class GetConsumerResponse(BaseModel): r"""HTTP Response Status""" data: Consumer + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getconsumersresponse.py b/src/apideck_unify/models/getconsumersresponse.py index 88a4da3c..b5e75f79 100644 --- a/src/apideck_unify/models/getconsumersresponse.py +++ b/src/apideck_unify/models/getconsumersresponse.py @@ -8,9 +8,17 @@ RequestCountAllocation, RequestCountAllocationTypedDict, ) -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class DataTypedDict(TypedDict): @@ -59,6 +67,8 @@ class GetConsumersResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetConsumersResponse(BaseModel): @@ -77,3 +87,38 @@ class GetConsumersResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcontactresponse.py b/src/apideck_unify/models/getcontactresponse.py index 2de95389..b8d3cc34 100644 --- a/src/apideck_unify/models/getcontactresponse.py +++ b/src/apideck_unify/models/getcontactresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .contact import Contact, ContactTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetContactResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetContactResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: ContactTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetContactResponse(BaseModel): @@ -41,3 +52,38 @@ class GetContactResponse(BaseModel): r"""Operation performed""" data: Contact + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcontactsresponse.py b/src/apideck_unify/models/getcontactsresponse.py index 31f0b2b5..e6eff3b7 100644 --- a/src/apideck_unify/models/getcontactsresponse.py +++ b/src/apideck_unify/models/getcontactsresponse.py @@ -4,9 +4,17 @@ from .contact import Contact, ContactTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetContactsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetContactsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetContactsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetContactsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcreditnoteresponse.py b/src/apideck_unify/models/getcreditnoteresponse.py index 51579bfd..c81623c5 100644 --- a/src/apideck_unify/models/getcreditnoteresponse.py +++ b/src/apideck_unify/models/getcreditnoteresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .creditnote import CreditNote, CreditNoteTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetCreditNoteResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetCreditNoteResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: CreditNoteTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCreditNoteResponse(BaseModel): @@ -41,3 +52,38 @@ class GetCreditNoteResponse(BaseModel): r"""Operation performed""" data: CreditNote + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcreditnotesresponse.py b/src/apideck_unify/models/getcreditnotesresponse.py index 3e4cf8c6..2375a67b 100644 --- a/src/apideck_unify/models/getcreditnotesresponse.py +++ b/src/apideck_unify/models/getcreditnotesresponse.py @@ -4,9 +4,17 @@ from .creditnote import CreditNote, CreditNoteTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetCreditNotesResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetCreditNotesResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCreditNotesResponse(BaseModel): @@ -54,3 +64,38 @@ class GetCreditNotesResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcustomerresponse.py b/src/apideck_unify/models/getcustomerresponse.py index c99a6704..5b41c3a2 100644 --- a/src/apideck_unify/models/getcustomerresponse.py +++ b/src/apideck_unify/models/getcustomerresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .customer import Customer, CustomerTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetCustomerResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetCustomerResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: CustomerTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCustomerResponse(BaseModel): @@ -41,3 +52,38 @@ class GetCustomerResponse(BaseModel): r"""Operation performed""" data: Customer + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcustomersresponse.py b/src/apideck_unify/models/getcustomersresponse.py index a9e73cff..718fb046 100644 --- a/src/apideck_unify/models/getcustomersresponse.py +++ b/src/apideck_unify/models/getcustomersresponse.py @@ -4,9 +4,17 @@ from .customer import Customer, CustomerTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetCustomersResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetCustomersResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCustomersResponse(BaseModel): @@ -54,3 +64,38 @@ class GetCustomersResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcustomfieldsresponse.py b/src/apideck_unify/models/getcustomfieldsresponse.py index c3e8e707..f9ca7077 100644 --- a/src/apideck_unify/models/getcustomfieldsresponse.py +++ b/src/apideck_unify/models/getcustomfieldsresponse.py @@ -2,9 +2,17 @@ from __future__ import annotations from .customfieldfinder import CustomFieldFinder, CustomFieldFinderTypedDict -from apideck_unify.types import BaseModel -from typing import List -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List +from typing_extensions import Annotated, NotRequired, TypedDict class GetCustomFieldsResponseTypedDict(TypedDict): @@ -15,6 +23,8 @@ class GetCustomFieldsResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: List[CustomFieldFinderTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCustomFieldsResponse(BaseModel): @@ -27,3 +37,38 @@ class GetCustomFieldsResponse(BaseModel): r"""HTTP Response Status""" data: List[CustomFieldFinder] + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getcustommappingsresponse.py b/src/apideck_unify/models/getcustommappingsresponse.py index 27851355..90d6213a 100644 --- a/src/apideck_unify/models/getcustommappingsresponse.py +++ b/src/apideck_unify/models/getcustommappingsresponse.py @@ -2,9 +2,17 @@ from __future__ import annotations from .custommapping import CustomMapping, CustomMappingTypedDict -from apideck_unify.types import BaseModel -from typing import List -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List +from typing_extensions import Annotated, NotRequired, TypedDict class GetCustomMappingsResponseTypedDict(TypedDict): @@ -15,6 +23,8 @@ class GetCustomMappingsResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: List[CustomMappingTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetCustomMappingsResponse(BaseModel): @@ -27,3 +37,38 @@ class GetCustomMappingsResponse(BaseModel): r"""HTTP Response Status""" data: List[CustomMapping] + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getdepartmentresponse.py b/src/apideck_unify/models/getdepartmentresponse.py index ef80dfcc..c656da27 100644 --- a/src/apideck_unify/models/getdepartmentresponse.py +++ b/src/apideck_unify/models/getdepartmentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .department import Department, DepartmentTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetDepartmentResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetDepartmentResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: DepartmentTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetDepartmentResponse(BaseModel): @@ -41,3 +52,38 @@ class GetDepartmentResponse(BaseModel): r"""Operation performed""" data: Department + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getdepartmentsresponse.py b/src/apideck_unify/models/getdepartmentsresponse.py index 01dad289..f66434fd 100644 --- a/src/apideck_unify/models/getdepartmentsresponse.py +++ b/src/apideck_unify/models/getdepartmentsresponse.py @@ -4,9 +4,17 @@ from .department import Department, DepartmentTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetDepartmentsResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetDepartmentsResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[DepartmentTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetDepartmentsResponse(BaseModel): data: List[Department] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getdrivegroupresponse.py b/src/apideck_unify/models/getdrivegroupresponse.py index 984b7ac9..2296b679 100644 --- a/src/apideck_unify/models/getdrivegroupresponse.py +++ b/src/apideck_unify/models/getdrivegroupresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .drivegroup import DriveGroup, DriveGroupTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetDriveGroupResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetDriveGroupResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: DriveGroupTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetDriveGroupResponse(BaseModel): @@ -41,3 +52,38 @@ class GetDriveGroupResponse(BaseModel): r"""Operation performed""" data: DriveGroup + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getdrivegroupsresponse.py b/src/apideck_unify/models/getdrivegroupsresponse.py index acdc7919..cf415f4d 100644 --- a/src/apideck_unify/models/getdrivegroupsresponse.py +++ b/src/apideck_unify/models/getdrivegroupsresponse.py @@ -4,9 +4,17 @@ from .drivegroup import DriveGroup, DriveGroupTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetDriveGroupsResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetDriveGroupsResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[DriveGroupTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetDriveGroupsResponse(BaseModel): data: List[DriveGroup] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getdriveresponse.py b/src/apideck_unify/models/getdriveresponse.py index 923afffc..8a857f34 100644 --- a/src/apideck_unify/models/getdriveresponse.py +++ b/src/apideck_unify/models/getdriveresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .drive import Drive, DriveTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetDriveResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetDriveResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: DriveTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetDriveResponse(BaseModel): @@ -41,3 +52,38 @@ class GetDriveResponse(BaseModel): r"""Operation performed""" data: Drive + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getdrivesresponse.py b/src/apideck_unify/models/getdrivesresponse.py index 2b696f9d..7fff8d90 100644 --- a/src/apideck_unify/models/getdrivesresponse.py +++ b/src/apideck_unify/models/getdrivesresponse.py @@ -4,9 +4,17 @@ from .drive import Drive, DriveTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetDrivesResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetDrivesResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[DriveTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetDrivesResponse(BaseModel): data: List[Drive] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getecommercecustomerresponse.py b/src/apideck_unify/models/getecommercecustomerresponse.py index 2ff1def5..b69fa997 100644 --- a/src/apideck_unify/models/getecommercecustomerresponse.py +++ b/src/apideck_unify/models/getecommercecustomerresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .ecommercecustomer import EcommerceCustomer, EcommerceCustomerTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetEcommerceCustomerResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetEcommerceCustomerResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: EcommerceCustomerTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetEcommerceCustomerResponse(BaseModel): @@ -41,3 +52,38 @@ class GetEcommerceCustomerResponse(BaseModel): r"""Operation performed""" data: EcommerceCustomer + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getecommercecustomersresponse.py b/src/apideck_unify/models/getecommercecustomersresponse.py index 7626502e..a99c14f7 100644 --- a/src/apideck_unify/models/getecommercecustomersresponse.py +++ b/src/apideck_unify/models/getecommercecustomersresponse.py @@ -4,9 +4,17 @@ from .ecommercecustomer import EcommerceCustomer, EcommerceCustomerTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetEcommerceCustomersResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetEcommerceCustomersResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[EcommerceCustomerTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetEcommerceCustomersResponse(BaseModel): data: List[EcommerceCustomer] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getecommerceorderresponse.py b/src/apideck_unify/models/getecommerceorderresponse.py index a8a85a0c..ca44f8e6 100644 --- a/src/apideck_unify/models/getecommerceorderresponse.py +++ b/src/apideck_unify/models/getecommerceorderresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .ecommerceorder import EcommerceOrder, EcommerceOrderTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetEcommerceOrderResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetEcommerceOrderResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: EcommerceOrderTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetEcommerceOrderResponse(BaseModel): @@ -41,3 +52,38 @@ class GetEcommerceOrderResponse(BaseModel): r"""Operation performed""" data: EcommerceOrder + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getecommerceordersresponse.py b/src/apideck_unify/models/getecommerceordersresponse.py index d9879bc7..d87eec32 100644 --- a/src/apideck_unify/models/getecommerceordersresponse.py +++ b/src/apideck_unify/models/getecommerceordersresponse.py @@ -4,9 +4,17 @@ from .ecommerceorder import EcommerceOrder, EcommerceOrderTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetEcommerceOrdersResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetEcommerceOrdersResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[EcommerceOrderTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetEcommerceOrdersResponse(BaseModel): data: List[EcommerceOrder] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getemployeepayrollresponse.py b/src/apideck_unify/models/getemployeepayrollresponse.py index 02105036..16aacd75 100644 --- a/src/apideck_unify/models/getemployeepayrollresponse.py +++ b/src/apideck_unify/models/getemployeepayrollresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .employeepayroll import EmployeePayroll, EmployeePayrollTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetEmployeePayrollResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetEmployeePayrollResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: EmployeePayrollTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetEmployeePayrollResponse(BaseModel): @@ -41,3 +52,38 @@ class GetEmployeePayrollResponse(BaseModel): r"""Operation performed""" data: EmployeePayroll + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getemployeepayrollsresponse.py b/src/apideck_unify/models/getemployeepayrollsresponse.py index 86292f81..1939a395 100644 --- a/src/apideck_unify/models/getemployeepayrollsresponse.py +++ b/src/apideck_unify/models/getemployeepayrollsresponse.py @@ -2,9 +2,17 @@ from __future__ import annotations from .employeepayroll import EmployeePayroll, EmployeePayrollTypedDict -from apideck_unify.types import BaseModel -from typing import List -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List +from typing_extensions import Annotated, NotRequired, TypedDict class GetEmployeePayrollsResponseTypedDict(TypedDict): @@ -21,6 +29,8 @@ class GetEmployeePayrollsResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[EmployeePayrollTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetEmployeePayrollsResponse(BaseModel): @@ -42,3 +52,38 @@ class GetEmployeePayrollsResponse(BaseModel): r"""Operation performed""" data: List[EmployeePayroll] + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getemployeeresponse.py b/src/apideck_unify/models/getemployeeresponse.py index 5005b63d..64ace58e 100644 --- a/src/apideck_unify/models/getemployeeresponse.py +++ b/src/apideck_unify/models/getemployeeresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .employee import Employee, EmployeeTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetEmployeeResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetEmployeeResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: EmployeeTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetEmployeeResponse(BaseModel): @@ -41,3 +52,38 @@ class GetEmployeeResponse(BaseModel): r"""Operation performed""" data: Employee + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getemployeeschedulesresponse.py b/src/apideck_unify/models/getemployeeschedulesresponse.py index 909ed98d..c4dcf53f 100644 --- a/src/apideck_unify/models/getemployeeschedulesresponse.py +++ b/src/apideck_unify/models/getemployeeschedulesresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .employeeschedules import EmployeeSchedules, EmployeeSchedulesTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetEmployeeSchedulesResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetEmployeeSchedulesResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: EmployeeSchedulesTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetEmployeeSchedulesResponse(BaseModel): @@ -41,3 +52,38 @@ class GetEmployeeSchedulesResponse(BaseModel): r"""Operation performed""" data: EmployeeSchedules + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getemployeesresponse.py b/src/apideck_unify/models/getemployeesresponse.py index 0b07d839..cd3981cd 100644 --- a/src/apideck_unify/models/getemployeesresponse.py +++ b/src/apideck_unify/models/getemployeesresponse.py @@ -4,9 +4,17 @@ from .employee import Employee, EmployeeTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetEmployeesResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetEmployeesResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[EmployeeTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetEmployeesResponse(BaseModel): data: List[Employee] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getexpenseresponse.py b/src/apideck_unify/models/getexpenseresponse.py index 827d1958..cd74e54b 100644 --- a/src/apideck_unify/models/getexpenseresponse.py +++ b/src/apideck_unify/models/getexpenseresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .expense import Expense, ExpenseTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetExpenseResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetExpenseResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: ExpenseTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetExpenseResponse(BaseModel): @@ -41,3 +52,38 @@ class GetExpenseResponse(BaseModel): r"""Operation performed""" data: Expense + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getexpensesresponse.py b/src/apideck_unify/models/getexpensesresponse.py index f5261e07..3c1ce231 100644 --- a/src/apideck_unify/models/getexpensesresponse.py +++ b/src/apideck_unify/models/getexpensesresponse.py @@ -4,9 +4,17 @@ from .expense import Expense, ExpenseTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetExpensesResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetExpensesResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetExpensesResponse(BaseModel): @@ -54,3 +64,38 @@ class GetExpensesResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getfileresponse.py b/src/apideck_unify/models/getfileresponse.py index 8e4674fb..036daaaa 100644 --- a/src/apideck_unify/models/getfileresponse.py +++ b/src/apideck_unify/models/getfileresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedfile import UnifiedFile, UnifiedFileTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetFileResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetFileResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: UnifiedFileTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetFileResponse(BaseModel): @@ -41,3 +52,38 @@ class GetFileResponse(BaseModel): r"""Operation performed""" data: UnifiedFile + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getfilesresponse.py b/src/apideck_unify/models/getfilesresponse.py index 9fb94a9c..ecd157e3 100644 --- a/src/apideck_unify/models/getfilesresponse.py +++ b/src/apideck_unify/models/getfilesresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .unifiedfile import UnifiedFile, UnifiedFileTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetFilesResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetFilesResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetFilesResponse(BaseModel): @@ -54,3 +64,38 @@ class GetFilesResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getfolderresponse.py b/src/apideck_unify/models/getfolderresponse.py index 065f5a74..3f032440 100644 --- a/src/apideck_unify/models/getfolderresponse.py +++ b/src/apideck_unify/models/getfolderresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .folder import Folder, FolderTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetFolderResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetFolderResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: FolderTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetFolderResponse(BaseModel): @@ -41,3 +52,38 @@ class GetFolderResponse(BaseModel): r"""Operation performed""" data: Folder + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/gethriscompaniesresponse.py b/src/apideck_unify/models/gethriscompaniesresponse.py index 480f8647..7b919c55 100644 --- a/src/apideck_unify/models/gethriscompaniesresponse.py +++ b/src/apideck_unify/models/gethriscompaniesresponse.py @@ -4,9 +4,17 @@ from .hriscompany import HrisCompany, HrisCompanyTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetHrisCompaniesResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetHrisCompaniesResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[HrisCompanyTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetHrisCompaniesResponse(BaseModel): data: List[HrisCompany] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/gethriscompanyresponse.py b/src/apideck_unify/models/gethriscompanyresponse.py index 25267583..7cdfb4bc 100644 --- a/src/apideck_unify/models/gethriscompanyresponse.py +++ b/src/apideck_unify/models/gethriscompanyresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .hriscompany import HrisCompany, HrisCompanyTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetHrisCompanyResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetHrisCompanyResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: HrisCompanyTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetHrisCompanyResponse(BaseModel): @@ -41,3 +52,38 @@ class GetHrisCompanyResponse(BaseModel): r"""Operation performed""" data: HrisCompany + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getinvoiceitemresponse.py b/src/apideck_unify/models/getinvoiceitemresponse.py index bde1d721..2c17d209 100644 --- a/src/apideck_unify/models/getinvoiceitemresponse.py +++ b/src/apideck_unify/models/getinvoiceitemresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .invoiceitem import InvoiceItem, InvoiceItemTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetInvoiceItemResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetInvoiceItemResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: InvoiceItemTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetInvoiceItemResponse(BaseModel): @@ -41,3 +52,38 @@ class GetInvoiceItemResponse(BaseModel): r"""Operation performed""" data: InvoiceItem + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getinvoiceitemsresponse.py b/src/apideck_unify/models/getinvoiceitemsresponse.py index 121a7f25..814dad79 100644 --- a/src/apideck_unify/models/getinvoiceitemsresponse.py +++ b/src/apideck_unify/models/getinvoiceitemsresponse.py @@ -4,9 +4,17 @@ from .invoiceitem import InvoiceItem, InvoiceItemTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetInvoiceItemsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetInvoiceItemsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetInvoiceItemsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetInvoiceItemsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getinvoiceresponse.py b/src/apideck_unify/models/getinvoiceresponse.py index 7b27c844..a2f95b6c 100644 --- a/src/apideck_unify/models/getinvoiceresponse.py +++ b/src/apideck_unify/models/getinvoiceresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .invoice import Invoice, InvoiceTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetInvoiceResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetInvoiceResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: InvoiceTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetInvoiceResponse(BaseModel): @@ -41,3 +52,38 @@ class GetInvoiceResponse(BaseModel): r"""Operation performed""" data: Invoice + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getinvoicesresponse.py b/src/apideck_unify/models/getinvoicesresponse.py index 3be824b1..e778bc33 100644 --- a/src/apideck_unify/models/getinvoicesresponse.py +++ b/src/apideck_unify/models/getinvoicesresponse.py @@ -4,9 +4,17 @@ from .invoice import Invoice, InvoiceTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetInvoicesResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetInvoicesResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetInvoicesResponse(BaseModel): @@ -54,3 +64,38 @@ class GetInvoicesResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getjobresponse.py b/src/apideck_unify/models/getjobresponse.py index c54c8a9b..0a7de8d3 100644 --- a/src/apideck_unify/models/getjobresponse.py +++ b/src/apideck_unify/models/getjobresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .job import Job, JobTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetJobResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetJobResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: JobTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetJobResponse(BaseModel): @@ -41,3 +52,38 @@ class GetJobResponse(BaseModel): r"""Operation performed""" data: Job + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getjobsresponse.py b/src/apideck_unify/models/getjobsresponse.py index aab0c07d..5dcb1ce9 100644 --- a/src/apideck_unify/models/getjobsresponse.py +++ b/src/apideck_unify/models/getjobsresponse.py @@ -4,9 +4,17 @@ from .job import Job, JobTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetJobsResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetJobsResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[JobTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetJobsResponse(BaseModel): data: List[Job] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getjournalentriesresponse.py b/src/apideck_unify/models/getjournalentriesresponse.py index 4db3ee2a..4bd434c8 100644 --- a/src/apideck_unify/models/getjournalentriesresponse.py +++ b/src/apideck_unify/models/getjournalentriesresponse.py @@ -4,9 +4,17 @@ from .journalentry import JournalEntry, JournalEntryTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetJournalEntriesResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetJournalEntriesResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetJournalEntriesResponse(BaseModel): @@ -54,3 +64,38 @@ class GetJournalEntriesResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getjournalentryresponse.py b/src/apideck_unify/models/getjournalentryresponse.py index 3f70d5a6..388c89af 100644 --- a/src/apideck_unify/models/getjournalentryresponse.py +++ b/src/apideck_unify/models/getjournalentryresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .journalentry import JournalEntry, JournalEntryTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetJournalEntryResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetJournalEntryResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: JournalEntryTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetJournalEntryResponse(BaseModel): @@ -41,3 +52,38 @@ class GetJournalEntryResponse(BaseModel): r"""Operation performed""" data: JournalEntry + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getleadresponse.py b/src/apideck_unify/models/getleadresponse.py index e9f08a05..b0e94941 100644 --- a/src/apideck_unify/models/getleadresponse.py +++ b/src/apideck_unify/models/getleadresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .lead import Lead, LeadTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetLeadResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetLeadResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: LeadTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetLeadResponse(BaseModel): @@ -41,3 +52,38 @@ class GetLeadResponse(BaseModel): r"""Operation performed""" data: Lead + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getleadsresponse.py b/src/apideck_unify/models/getleadsresponse.py index 6a48408d..b0282854 100644 --- a/src/apideck_unify/models/getleadsresponse.py +++ b/src/apideck_unify/models/getleadsresponse.py @@ -4,9 +4,17 @@ from .lead import Lead, LeadTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetLeadsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetLeadsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetLeadsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetLeadsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getledgeraccountresponse.py b/src/apideck_unify/models/getledgeraccountresponse.py index 666c262c..c3f59742 100644 --- a/src/apideck_unify/models/getledgeraccountresponse.py +++ b/src/apideck_unify/models/getledgeraccountresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .ledgeraccount import LedgerAccount, LedgerAccountTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetLedgerAccountResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetLedgerAccountResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: LedgerAccountTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetLedgerAccountResponse(BaseModel): @@ -41,3 +52,38 @@ class GetLedgerAccountResponse(BaseModel): r"""Operation performed""" data: LedgerAccount + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getledgeraccountsresponse.py b/src/apideck_unify/models/getledgeraccountsresponse.py index 49ea700a..f47ae040 100644 --- a/src/apideck_unify/models/getledgeraccountsresponse.py +++ b/src/apideck_unify/models/getledgeraccountsresponse.py @@ -4,9 +4,17 @@ from .ledgeraccount import LedgerAccount, LedgerAccountTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetLedgerAccountsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetLedgerAccountsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetLedgerAccountsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetLedgerAccountsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getlogsresponse.py b/src/apideck_unify/models/getlogsresponse.py index c1806403..995cc56d 100644 --- a/src/apideck_unify/models/getlogsresponse.py +++ b/src/apideck_unify/models/getlogsresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .log import Log, LogTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetLogsResponseTypedDict(TypedDict): @@ -21,6 +29,8 @@ class GetLogsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetLogsResponse(BaseModel): @@ -39,3 +49,38 @@ class GetLogsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getmessageresponse.py b/src/apideck_unify/models/getmessageresponse.py index 49f246f2..c8fbea63 100644 --- a/src/apideck_unify/models/getmessageresponse.py +++ b/src/apideck_unify/models/getmessageresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .message import Message, MessageTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetMessageResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetMessageResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: MessageTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetMessageResponse(BaseModel): @@ -41,3 +52,38 @@ class GetMessageResponse(BaseModel): r"""Operation performed""" data: Message + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getmessagesresponse.py b/src/apideck_unify/models/getmessagesresponse.py index 797358af..61331bdc 100644 --- a/src/apideck_unify/models/getmessagesresponse.py +++ b/src/apideck_unify/models/getmessagesresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .message import Message, MessageTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetMessagesResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetMessagesResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[MessageTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetMessagesResponse(BaseModel): data: List[Message] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getnoteresponse.py b/src/apideck_unify/models/getnoteresponse.py index 4a44bb01..5f0305e3 100644 --- a/src/apideck_unify/models/getnoteresponse.py +++ b/src/apideck_unify/models/getnoteresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .note import Note, NoteTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetNoteResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetNoteResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: NoteTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetNoteResponse(BaseModel): @@ -41,3 +52,38 @@ class GetNoteResponse(BaseModel): r"""Operation performed""" data: Note + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getnotesresponse.py b/src/apideck_unify/models/getnotesresponse.py index bfce0cda..61df755d 100644 --- a/src/apideck_unify/models/getnotesresponse.py +++ b/src/apideck_unify/models/getnotesresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .note import Note, NoteTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetNotesResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetNotesResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[NoteTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetNotesResponse(BaseModel): data: List[Note] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getopportunitiesresponse.py b/src/apideck_unify/models/getopportunitiesresponse.py index aba9e491..2a8c2cf7 100644 --- a/src/apideck_unify/models/getopportunitiesresponse.py +++ b/src/apideck_unify/models/getopportunitiesresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .opportunity import Opportunity, OpportunityTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetOpportunitiesResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetOpportunitiesResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[OpportunityTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetOpportunitiesResponse(BaseModel): data: List[Opportunity] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getopportunityresponse.py b/src/apideck_unify/models/getopportunityresponse.py index 763fd99f..260f411f 100644 --- a/src/apideck_unify/models/getopportunityresponse.py +++ b/src/apideck_unify/models/getopportunityresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .opportunity import Opportunity, OpportunityTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetOpportunityResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetOpportunityResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: OpportunityTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetOpportunityResponse(BaseModel): @@ -41,3 +52,38 @@ class GetOpportunityResponse(BaseModel): r"""Operation performed""" data: Opportunity + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getpaymentresponse.py b/src/apideck_unify/models/getpaymentresponse.py index fbc97da6..97858ac3 100644 --- a/src/apideck_unify/models/getpaymentresponse.py +++ b/src/apideck_unify/models/getpaymentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .payment import Payment, PaymentTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetPaymentResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetPaymentResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: PaymentTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetPaymentResponse(BaseModel): @@ -41,3 +52,38 @@ class GetPaymentResponse(BaseModel): r"""Operation performed""" data: Payment + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getpaymentsresponse.py b/src/apideck_unify/models/getpaymentsresponse.py index c4030fcf..2880ca41 100644 --- a/src/apideck_unify/models/getpaymentsresponse.py +++ b/src/apideck_unify/models/getpaymentsresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .payment import Payment, PaymentTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetPaymentsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetPaymentsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetPaymentsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetPaymentsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getpayrollresponse.py b/src/apideck_unify/models/getpayrollresponse.py index b639a398..9c30c4ba 100644 --- a/src/apideck_unify/models/getpayrollresponse.py +++ b/src/apideck_unify/models/getpayrollresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .payroll import Payroll, PayrollTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetPayrollResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetPayrollResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: PayrollTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetPayrollResponse(BaseModel): @@ -41,3 +52,38 @@ class GetPayrollResponse(BaseModel): r"""Operation performed""" data: Payroll + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getpayrollsresponse.py b/src/apideck_unify/models/getpayrollsresponse.py index 021b2856..1a1f7572 100644 --- a/src/apideck_unify/models/getpayrollsresponse.py +++ b/src/apideck_unify/models/getpayrollsresponse.py @@ -2,9 +2,17 @@ from __future__ import annotations from .payroll import Payroll, PayrollTypedDict -from apideck_unify.types import BaseModel -from typing import List -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List +from typing_extensions import Annotated, NotRequired, TypedDict class GetPayrollsResponseTypedDict(TypedDict): @@ -21,6 +29,8 @@ class GetPayrollsResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[PayrollTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetPayrollsResponse(BaseModel): @@ -42,3 +52,38 @@ class GetPayrollsResponse(BaseModel): r"""Operation performed""" data: List[Payroll] + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getpipelinesresponse.py b/src/apideck_unify/models/getpipelinesresponse.py index a900c63f..d68610fb 100644 --- a/src/apideck_unify/models/getpipelinesresponse.py +++ b/src/apideck_unify/models/getpipelinesresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .pipeline import Pipeline, PipelineTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetPipelinesResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetPipelinesResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[PipelineTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetPipelinesResponse(BaseModel): data: List[Pipeline] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getproductresponse.py b/src/apideck_unify/models/getproductresponse.py index 27db4a8c..749f06ca 100644 --- a/src/apideck_unify/models/getproductresponse.py +++ b/src/apideck_unify/models/getproductresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .ecommerceproduct import EcommerceProduct, EcommerceProductTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetProductResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetProductResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: EcommerceProductTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetProductResponse(BaseModel): @@ -41,3 +52,38 @@ class GetProductResponse(BaseModel): r"""Operation performed""" data: EcommerceProduct + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getproductsresponse.py b/src/apideck_unify/models/getproductsresponse.py index ed724af4..11bc624e 100644 --- a/src/apideck_unify/models/getproductsresponse.py +++ b/src/apideck_unify/models/getproductsresponse.py @@ -4,9 +4,17 @@ from .ecommerceproduct import EcommerceProduct, EcommerceProductTypedDict from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetProductsResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetProductsResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[EcommerceProductTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetProductsResponse(BaseModel): data: List[EcommerceProduct] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getprofitandlossresponse.py b/src/apideck_unify/models/getprofitandlossresponse.py index 459bb11f..417559a0 100644 --- a/src/apideck_unify/models/getprofitandlossresponse.py +++ b/src/apideck_unify/models/getprofitandlossresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .profitandloss import ProfitAndLoss, ProfitAndLossTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetProfitAndLossResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetProfitAndLossResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: ProfitAndLossTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetProfitAndLossResponse(BaseModel): @@ -41,3 +52,38 @@ class GetProfitAndLossResponse(BaseModel): r"""Operation performed""" data: ProfitAndLoss + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getpurchaseorderresponse.py b/src/apideck_unify/models/getpurchaseorderresponse.py index d086c9a7..e998ef62 100644 --- a/src/apideck_unify/models/getpurchaseorderresponse.py +++ b/src/apideck_unify/models/getpurchaseorderresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .purchaseorder import PurchaseOrder, PurchaseOrderTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetPurchaseOrderResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetPurchaseOrderResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: PurchaseOrderTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetPurchaseOrderResponse(BaseModel): @@ -41,3 +52,38 @@ class GetPurchaseOrderResponse(BaseModel): r"""Operation performed""" data: PurchaseOrder + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getpurchaseordersresponse.py b/src/apideck_unify/models/getpurchaseordersresponse.py index ae74520c..b71bdcfa 100644 --- a/src/apideck_unify/models/getpurchaseordersresponse.py +++ b/src/apideck_unify/models/getpurchaseordersresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .purchaseorder import PurchaseOrder, PurchaseOrderTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetPurchaseOrdersResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetPurchaseOrdersResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetPurchaseOrdersResponse(BaseModel): @@ -54,3 +64,38 @@ class GetPurchaseOrdersResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getsharedlinkresponse.py b/src/apideck_unify/models/getsharedlinkresponse.py index 64567ef2..9f40c6e3 100644 --- a/src/apideck_unify/models/getsharedlinkresponse.py +++ b/src/apideck_unify/models/getsharedlinkresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .sharedlink import SharedLink, SharedLinkTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetSharedLinkResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetSharedLinkResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: SharedLinkTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetSharedLinkResponse(BaseModel): @@ -41,3 +52,38 @@ class GetSharedLinkResponse(BaseModel): r"""Operation performed""" data: SharedLink + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getsharedlinksresponse.py b/src/apideck_unify/models/getsharedlinksresponse.py index 89cb7ab3..52285c9d 100644 --- a/src/apideck_unify/models/getsharedlinksresponse.py +++ b/src/apideck_unify/models/getsharedlinksresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .sharedlink import SharedLink, SharedLinkTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetSharedLinksResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetSharedLinksResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[SharedLinkTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetSharedLinksResponse(BaseModel): data: List[SharedLink] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getstoreresponse.py b/src/apideck_unify/models/getstoreresponse.py index 7387a559..d6b6feb7 100644 --- a/src/apideck_unify/models/getstoreresponse.py +++ b/src/apideck_unify/models/getstoreresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .ecommercestore import EcommerceStore, EcommerceStoreTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetStoreResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetStoreResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: EcommerceStoreTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetStoreResponse(BaseModel): @@ -41,3 +52,38 @@ class GetStoreResponse(BaseModel): r"""Operation performed""" data: EcommerceStore + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getsubsidiariesresponse.py b/src/apideck_unify/models/getsubsidiariesresponse.py index 37ad6949..82588e23 100644 --- a/src/apideck_unify/models/getsubsidiariesresponse.py +++ b/src/apideck_unify/models/getsubsidiariesresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .subsidiary import Subsidiary, SubsidiaryTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetSubsidiariesResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetSubsidiariesResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetSubsidiariesResponse(BaseModel): @@ -54,3 +64,38 @@ class GetSubsidiariesResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getsubsidiaryresponse.py b/src/apideck_unify/models/getsubsidiaryresponse.py index 5af6ba45..b076516d 100644 --- a/src/apideck_unify/models/getsubsidiaryresponse.py +++ b/src/apideck_unify/models/getsubsidiaryresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .subsidiary import Subsidiary, SubsidiaryTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetSubsidiaryResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetSubsidiaryResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: SubsidiaryTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetSubsidiaryResponse(BaseModel): @@ -41,3 +52,38 @@ class GetSubsidiaryResponse(BaseModel): r"""Operation performed""" data: Subsidiary + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getsupplierresponse.py b/src/apideck_unify/models/getsupplierresponse.py index d8963732..2ae80751 100644 --- a/src/apideck_unify/models/getsupplierresponse.py +++ b/src/apideck_unify/models/getsupplierresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .supplier import Supplier, SupplierTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetSupplierResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetSupplierResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: SupplierTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetSupplierResponse(BaseModel): @@ -41,3 +52,38 @@ class GetSupplierResponse(BaseModel): r"""Operation performed""" data: Supplier + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getsuppliersresponse.py b/src/apideck_unify/models/getsuppliersresponse.py index 59dd8f6b..cc50f0ca 100644 --- a/src/apideck_unify/models/getsuppliersresponse.py +++ b/src/apideck_unify/models/getsuppliersresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .supplier import Supplier, SupplierTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetSuppliersResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetSuppliersResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetSuppliersResponse(BaseModel): @@ -54,3 +64,38 @@ class GetSuppliersResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/gettaxrateresponse.py b/src/apideck_unify/models/gettaxrateresponse.py index 01c34a26..9236e806 100644 --- a/src/apideck_unify/models/gettaxrateresponse.py +++ b/src/apideck_unify/models/gettaxrateresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .taxrate import TaxRate, TaxRateTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetTaxRateResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetTaxRateResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: TaxRateTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetTaxRateResponse(BaseModel): @@ -41,3 +52,38 @@ class GetTaxRateResponse(BaseModel): r"""Operation performed""" data: TaxRate + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/gettaxratesresponse.py b/src/apideck_unify/models/gettaxratesresponse.py index 810ca81e..8e37ffe6 100644 --- a/src/apideck_unify/models/gettaxratesresponse.py +++ b/src/apideck_unify/models/gettaxratesresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .taxrate import TaxRate, TaxRateTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetTaxRatesResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetTaxRatesResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetTaxRatesResponse(BaseModel): @@ -54,3 +64,38 @@ class GetTaxRatesResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getticketresponse.py b/src/apideck_unify/models/getticketresponse.py index 692bb542..bc98847f 100644 --- a/src/apideck_unify/models/getticketresponse.py +++ b/src/apideck_unify/models/getticketresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .ticket import Ticket, TicketTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetTicketResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetTicketResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: TicketTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetTicketResponse(BaseModel): @@ -41,3 +52,38 @@ class GetTicketResponse(BaseModel): r"""Operation performed""" data: Ticket + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getticketsresponse.py b/src/apideck_unify/models/getticketsresponse.py index 64e6c11d..14329720 100644 --- a/src/apideck_unify/models/getticketsresponse.py +++ b/src/apideck_unify/models/getticketsresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .ticket import Ticket, TicketTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetTicketsResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetTicketsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetTicketsResponse(BaseModel): @@ -54,3 +64,38 @@ class GetTicketsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/gettimeoffrequestresponse.py b/src/apideck_unify/models/gettimeoffrequestresponse.py index 35bc47c1..b16f464d 100644 --- a/src/apideck_unify/models/gettimeoffrequestresponse.py +++ b/src/apideck_unify/models/gettimeoffrequestresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .timeoffrequest import TimeOffRequest, TimeOffRequestTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetTimeOffRequestResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetTimeOffRequestResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: TimeOffRequestTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetTimeOffRequestResponse(BaseModel): @@ -41,3 +52,38 @@ class GetTimeOffRequestResponse(BaseModel): r"""Operation performed""" data: TimeOffRequest + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/gettimeoffrequestsresponse.py b/src/apideck_unify/models/gettimeoffrequestsresponse.py index 34d1ee03..e9b587dc 100644 --- a/src/apideck_unify/models/gettimeoffrequestsresponse.py +++ b/src/apideck_unify/models/gettimeoffrequestsresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .timeoffrequest import TimeOffRequest, TimeOffRequestTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetTimeOffRequestsResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetTimeOffRequestsResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[TimeOffRequestTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetTimeOffRequestsResponse(BaseModel): data: List[TimeOffRequest] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/gettrackingcategoriesresponse.py b/src/apideck_unify/models/gettrackingcategoriesresponse.py index 4b95995c..1577f819 100644 --- a/src/apideck_unify/models/gettrackingcategoriesresponse.py +++ b/src/apideck_unify/models/gettrackingcategoriesresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .trackingcategory import TrackingCategory, TrackingCategoryTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetTrackingCategoriesResponseTypedDict(TypedDict): @@ -27,6 +35,8 @@ class GetTrackingCategoriesResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetTrackingCategoriesResponse(BaseModel): @@ -54,3 +64,38 @@ class GetTrackingCategoriesResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/gettrackingcategoryresponse.py b/src/apideck_unify/models/gettrackingcategoryresponse.py index 5d46d68b..536a5059 100644 --- a/src/apideck_unify/models/gettrackingcategoryresponse.py +++ b/src/apideck_unify/models/gettrackingcategoryresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .trackingcategory import TrackingCategory, TrackingCategoryTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetTrackingCategoryResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetTrackingCategoryResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: TrackingCategoryTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetTrackingCategoryResponse(BaseModel): @@ -41,3 +52,38 @@ class GetTrackingCategoryResponse(BaseModel): r"""Operation performed""" data: TrackingCategory + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getuploadsessionresponse.py b/src/apideck_unify/models/getuploadsessionresponse.py index 9cd75475..16582fff 100644 --- a/src/apideck_unify/models/getuploadsessionresponse.py +++ b/src/apideck_unify/models/getuploadsessionresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .uploadsession import UploadSession, UploadSessionTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetUploadSessionResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetUploadSessionResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: UploadSessionTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetUploadSessionResponse(BaseModel): @@ -41,3 +52,38 @@ class GetUploadSessionResponse(BaseModel): r"""Operation performed""" data: UploadSession + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getuserresponse.py b/src/apideck_unify/models/getuserresponse.py index 07b5200c..cf6eeddf 100644 --- a/src/apideck_unify/models/getuserresponse.py +++ b/src/apideck_unify/models/getuserresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .user import User, UserTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetUserResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class GetUserResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: UserTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetUserResponse(BaseModel): @@ -41,3 +52,38 @@ class GetUserResponse(BaseModel): r"""Operation performed""" data: User + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getusersresponse.py b/src/apideck_unify/models/getusersresponse.py index d61a608a..c4d5bb7a 100644 --- a/src/apideck_unify/models/getusersresponse.py +++ b/src/apideck_unify/models/getusersresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .user import User, UserTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetUsersResponseTypedDict(TypedDict): @@ -23,6 +31,8 @@ class GetUsersResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: List[UserTypedDict] + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" meta: NotRequired[MetaTypedDict] r"""Response metadata""" links: NotRequired[LinksTypedDict] @@ -49,8 +59,43 @@ class GetUsersResponse(BaseModel): data: List[User] + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + meta: Optional[Meta] = None r"""Response metadata""" links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw", "meta", "links"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getwebhookeventlogsresponse.py b/src/apideck_unify/models/getwebhookeventlogsresponse.py index c203fd5b..458d92d7 100644 --- a/src/apideck_unify/models/getwebhookeventlogsresponse.py +++ b/src/apideck_unify/models/getwebhookeventlogsresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .webhookeventlog import WebhookEventLog, WebhookEventLogTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetWebhookEventLogsResponseTypedDict(TypedDict): @@ -21,6 +29,8 @@ class GetWebhookEventLogsResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetWebhookEventLogsResponse(BaseModel): @@ -39,3 +49,38 @@ class GetWebhookEventLogsResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getwebhookresponse.py b/src/apideck_unify/models/getwebhookresponse.py index 292a3b96..748d6b43 100644 --- a/src/apideck_unify/models/getwebhookresponse.py +++ b/src/apideck_unify/models/getwebhookresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .webhook import Webhook, WebhookTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class GetWebhookResponseTypedDict(TypedDict): @@ -14,6 +23,8 @@ class GetWebhookResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: WebhookTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetWebhookResponse(BaseModel): @@ -26,3 +37,38 @@ class GetWebhookResponse(BaseModel): r"""HTTP Response Status""" data: Webhook + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/getwebhooksresponse.py b/src/apideck_unify/models/getwebhooksresponse.py index c3163bef..66c5f08d 100644 --- a/src/apideck_unify/models/getwebhooksresponse.py +++ b/src/apideck_unify/models/getwebhooksresponse.py @@ -4,9 +4,17 @@ from .links import Links, LinksTypedDict from .meta import Meta, MetaTypedDict from .webhook import Webhook, WebhookTypedDict -from apideck_unify.types import BaseModel -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class GetWebhooksResponseTypedDict(TypedDict): @@ -21,6 +29,8 @@ class GetWebhooksResponseTypedDict(TypedDict): r"""Response metadata""" links: NotRequired[LinksTypedDict] r"""Links to navigate to previous or next pages through the API""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class GetWebhooksResponse(BaseModel): @@ -39,3 +49,38 @@ class GetWebhooksResponse(BaseModel): links: Optional[Links] = None r"""Links to navigate to previous or next pages through the API""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["meta", "links", "_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateaccountingdepartmentresponse.py b/src/apideck_unify/models/updateaccountingdepartmentresponse.py index 131333d0..b54f3d02 100644 --- a/src/apideck_unify/models/updateaccountingdepartmentresponse.py +++ b/src/apideck_unify/models/updateaccountingdepartmentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateAccountingDepartmentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateAccountingDepartmentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateAccountingDepartmentResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateAccountingDepartmentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateaccountinglocationresponse.py b/src/apideck_unify/models/updateaccountinglocationresponse.py index 69dc5d0f..9d1689ba 100644 --- a/src/apideck_unify/models/updateaccountinglocationresponse.py +++ b/src/apideck_unify/models/updateaccountinglocationresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateAccountingLocationResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateAccountingLocationResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateAccountingLocationResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateAccountingLocationResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateactivityresponse.py b/src/apideck_unify/models/updateactivityresponse.py index 3d0c9666..559be4c4 100644 --- a/src/apideck_unify/models/updateactivityresponse.py +++ b/src/apideck_unify/models/updateactivityresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateActivityResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateActivityResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateActivityResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateActivityResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateapplicantresponse.py b/src/apideck_unify/models/updateapplicantresponse.py index 9cc128d6..5e2ee358 100644 --- a/src/apideck_unify/models/updateapplicantresponse.py +++ b/src/apideck_unify/models/updateapplicantresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateApplicantResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateApplicantResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateApplicantResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateApplicantResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateapplicationresponse.py b/src/apideck_unify/models/updateapplicationresponse.py index 34bb93c6..d269541c 100644 --- a/src/apideck_unify/models/updateapplicationresponse.py +++ b/src/apideck_unify/models/updateapplicationresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateApplicationResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateApplicationResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateApplicationResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateApplicationResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatebillpaymentresponse.py b/src/apideck_unify/models/updatebillpaymentresponse.py index ff673040..3b74f32c 100644 --- a/src/apideck_unify/models/updatebillpaymentresponse.py +++ b/src/apideck_unify/models/updatebillpaymentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateBillPaymentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateBillPaymentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateBillPaymentResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateBillPaymentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatebillresponse.py b/src/apideck_unify/models/updatebillresponse.py index 60578d74..41199bae 100644 --- a/src/apideck_unify/models/updatebillresponse.py +++ b/src/apideck_unify/models/updatebillresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateBillResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateBillResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateBillResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateBillResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatecommentresponse.py b/src/apideck_unify/models/updatecommentresponse.py index f0e538a0..716cd2cb 100644 --- a/src/apideck_unify/models/updatecommentresponse.py +++ b/src/apideck_unify/models/updatecommentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateCommentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateCommentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateCommentResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateCommentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatecompanyresponse.py b/src/apideck_unify/models/updatecompanyresponse.py index ce1467f8..bfddc1d9 100644 --- a/src/apideck_unify/models/updatecompanyresponse.py +++ b/src/apideck_unify/models/updatecompanyresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateCompanyResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateCompanyResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateCompanyResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateCompanyResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateconnectionresponse.py b/src/apideck_unify/models/updateconnectionresponse.py index fbb8e73b..7b93376b 100644 --- a/src/apideck_unify/models/updateconnectionresponse.py +++ b/src/apideck_unify/models/updateconnectionresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .connection import Connection, ConnectionTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateConnectionResponseTypedDict(TypedDict): @@ -14,6 +23,8 @@ class UpdateConnectionResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: ConnectionTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateConnectionResponse(BaseModel): @@ -26,3 +37,38 @@ class UpdateConnectionResponse(BaseModel): r"""HTTP Response Status""" data: Connection + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateconsumerresponse.py b/src/apideck_unify/models/updateconsumerresponse.py index e606715d..86b1da98 100644 --- a/src/apideck_unify/models/updateconsumerresponse.py +++ b/src/apideck_unify/models/updateconsumerresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .consumer import Consumer, ConsumerTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateConsumerResponseTypedDict(TypedDict): @@ -14,6 +23,8 @@ class UpdateConsumerResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: ConsumerTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateConsumerResponse(BaseModel): @@ -26,3 +37,38 @@ class UpdateConsumerResponse(BaseModel): r"""HTTP Response Status""" data: Consumer + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatecontactresponse.py b/src/apideck_unify/models/updatecontactresponse.py index 815e72c5..1133c7eb 100644 --- a/src/apideck_unify/models/updatecontactresponse.py +++ b/src/apideck_unify/models/updatecontactresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateContactResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateContactResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateContactResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateContactResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatecreditnoteresponse.py b/src/apideck_unify/models/updatecreditnoteresponse.py index 48005294..cc3898e7 100644 --- a/src/apideck_unify/models/updatecreditnoteresponse.py +++ b/src/apideck_unify/models/updatecreditnoteresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateCreditNoteResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateCreditNoteResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateCreditNoteResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateCreditNoteResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatecustomerresponse.py b/src/apideck_unify/models/updatecustomerresponse.py index 9b6d23b9..28b186ac 100644 --- a/src/apideck_unify/models/updatecustomerresponse.py +++ b/src/apideck_unify/models/updatecustomerresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateCustomerResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateCustomerResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateCustomerResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateCustomerResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatedepartmentresponse.py b/src/apideck_unify/models/updatedepartmentresponse.py index dacba7a7..ecb60ed0 100644 --- a/src/apideck_unify/models/updatedepartmentresponse.py +++ b/src/apideck_unify/models/updatedepartmentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateDepartmentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateDepartmentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateDepartmentResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateDepartmentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatedrivegroupresponse.py b/src/apideck_unify/models/updatedrivegroupresponse.py index ada75e92..7ca3ff51 100644 --- a/src/apideck_unify/models/updatedrivegroupresponse.py +++ b/src/apideck_unify/models/updatedrivegroupresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateDriveGroupResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateDriveGroupResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateDriveGroupResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateDriveGroupResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatedriveresponse.py b/src/apideck_unify/models/updatedriveresponse.py index 7ade08c4..553f2303 100644 --- a/src/apideck_unify/models/updatedriveresponse.py +++ b/src/apideck_unify/models/updatedriveresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateDriveResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateDriveResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateDriveResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateDriveResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateemployeeresponse.py b/src/apideck_unify/models/updateemployeeresponse.py index c14dfaa2..ed84e5b7 100644 --- a/src/apideck_unify/models/updateemployeeresponse.py +++ b/src/apideck_unify/models/updateemployeeresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateEmployeeResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateEmployeeResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateEmployeeResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateEmployeeResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateexpenseresponse.py b/src/apideck_unify/models/updateexpenseresponse.py index dcec459c..4dfa1e63 100644 --- a/src/apideck_unify/models/updateexpenseresponse.py +++ b/src/apideck_unify/models/updateexpenseresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateExpenseResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateExpenseResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateExpenseResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateExpenseResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatefileresponse.py b/src/apideck_unify/models/updatefileresponse.py index 54e5c777..98a8e3e1 100644 --- a/src/apideck_unify/models/updatefileresponse.py +++ b/src/apideck_unify/models/updatefileresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateFileResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateFileResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateFileResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateFileResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatefolderresponse.py b/src/apideck_unify/models/updatefolderresponse.py index 34db2bf4..1e5d5501 100644 --- a/src/apideck_unify/models/updatefolderresponse.py +++ b/src/apideck_unify/models/updatefolderresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateFolderResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateFolderResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateFolderResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateFolderResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatehriscompanyresponse.py b/src/apideck_unify/models/updatehriscompanyresponse.py index 36d1b9da..7a1eea38 100644 --- a/src/apideck_unify/models/updatehriscompanyresponse.py +++ b/src/apideck_unify/models/updatehriscompanyresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateHrisCompanyResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateHrisCompanyResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateHrisCompanyResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateHrisCompanyResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateinvoiceitemsresponse.py b/src/apideck_unify/models/updateinvoiceitemsresponse.py index 2f11d785..0063ed9b 100644 --- a/src/apideck_unify/models/updateinvoiceitemsresponse.py +++ b/src/apideck_unify/models/updateinvoiceitemsresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateInvoiceItemsResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateInvoiceItemsResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateInvoiceItemsResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateInvoiceItemsResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateinvoiceresponse.py b/src/apideck_unify/models/updateinvoiceresponse.py index 04ff949c..fd8621b7 100644 --- a/src/apideck_unify/models/updateinvoiceresponse.py +++ b/src/apideck_unify/models/updateinvoiceresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .invoiceresponse import InvoiceResponse, InvoiceResponseTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateInvoiceResponseTypedDict(TypedDict): @@ -20,6 +29,8 @@ class UpdateInvoiceResponseTypedDict(TypedDict): operation: str r"""Operation performed""" data: InvoiceResponseTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateInvoiceResponse(BaseModel): @@ -41,3 +52,38 @@ class UpdateInvoiceResponse(BaseModel): r"""Operation performed""" data: InvoiceResponse + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatejournalentryresponse.py b/src/apideck_unify/models/updatejournalentryresponse.py index c8cf0a7a..07144015 100644 --- a/src/apideck_unify/models/updatejournalentryresponse.py +++ b/src/apideck_unify/models/updatejournalentryresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateJournalEntryResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateJournalEntryResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateJournalEntryResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateJournalEntryResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateleadresponse.py b/src/apideck_unify/models/updateleadresponse.py index 78d7a2d8..bd97e21e 100644 --- a/src/apideck_unify/models/updateleadresponse.py +++ b/src/apideck_unify/models/updateleadresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateLeadResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateLeadResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateLeadResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateLeadResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateledgeraccountresponse.py b/src/apideck_unify/models/updateledgeraccountresponse.py index ca7b8cc7..4c429591 100644 --- a/src/apideck_unify/models/updateledgeraccountresponse.py +++ b/src/apideck_unify/models/updateledgeraccountresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateLedgerAccountResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateLedgerAccountResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateLedgerAccountResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateLedgerAccountResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatemessageresponse.py b/src/apideck_unify/models/updatemessageresponse.py index 65e1c3f5..0f7c02ee 100644 --- a/src/apideck_unify/models/updatemessageresponse.py +++ b/src/apideck_unify/models/updatemessageresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateMessageResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateMessageResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateMessageResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateMessageResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatenoteresponse.py b/src/apideck_unify/models/updatenoteresponse.py index ad6a4490..f1592da4 100644 --- a/src/apideck_unify/models/updatenoteresponse.py +++ b/src/apideck_unify/models/updatenoteresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateNoteResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateNoteResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateNoteResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateNoteResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateopportunityresponse.py b/src/apideck_unify/models/updateopportunityresponse.py index 500831ef..9c30e168 100644 --- a/src/apideck_unify/models/updateopportunityresponse.py +++ b/src/apideck_unify/models/updateopportunityresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateOpportunityResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateOpportunityResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateOpportunityResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateOpportunityResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatepaymentresponse.py b/src/apideck_unify/models/updatepaymentresponse.py index c88eaad1..b67cea55 100644 --- a/src/apideck_unify/models/updatepaymentresponse.py +++ b/src/apideck_unify/models/updatepaymentresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdatePaymentResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdatePaymentResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdatePaymentResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdatePaymentResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatepurchaseorderresponse.py b/src/apideck_unify/models/updatepurchaseorderresponse.py index 6b823791..0dca80a3 100644 --- a/src/apideck_unify/models/updatepurchaseorderresponse.py +++ b/src/apideck_unify/models/updatepurchaseorderresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdatePurchaseOrderResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdatePurchaseOrderResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdatePurchaseOrderResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdatePurchaseOrderResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatesharedlinkresponse.py b/src/apideck_unify/models/updatesharedlinkresponse.py index dbd72ac2..0ec1ed17 100644 --- a/src/apideck_unify/models/updatesharedlinkresponse.py +++ b/src/apideck_unify/models/updatesharedlinkresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateSharedLinkResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateSharedLinkResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateSharedLinkResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateSharedLinkResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatesubsidiaryresponse.py b/src/apideck_unify/models/updatesubsidiaryresponse.py index cd622669..f762d0af 100644 --- a/src/apideck_unify/models/updatesubsidiaryresponse.py +++ b/src/apideck_unify/models/updatesubsidiaryresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateSubsidiaryResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateSubsidiaryResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateSubsidiaryResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateSubsidiaryResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatesupplierresponse.py b/src/apideck_unify/models/updatesupplierresponse.py index 3213fca0..151ef642 100644 --- a/src/apideck_unify/models/updatesupplierresponse.py +++ b/src/apideck_unify/models/updatesupplierresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateSupplierResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateSupplierResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateSupplierResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateSupplierResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatetaxrateresponse.py b/src/apideck_unify/models/updatetaxrateresponse.py index ff290a64..ef5b7b11 100644 --- a/src/apideck_unify/models/updatetaxrateresponse.py +++ b/src/apideck_unify/models/updatetaxrateresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateTaxRateResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateTaxRateResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateTaxRateResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateTaxRateResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateticketresponse.py b/src/apideck_unify/models/updateticketresponse.py index 180e2b97..6bd78d83 100644 --- a/src/apideck_unify/models/updateticketresponse.py +++ b/src/apideck_unify/models/updateticketresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateTicketResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateTicketResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateTicketResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateTicketResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatetimeoffrequestresponse.py b/src/apideck_unify/models/updatetimeoffrequestresponse.py index 9636fa27..5a2746f9 100644 --- a/src/apideck_unify/models/updatetimeoffrequestresponse.py +++ b/src/apideck_unify/models/updatetimeoffrequestresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateTimeOffRequestResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateTimeOffRequestResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateTimeOffRequestResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateTimeOffRequestResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatetrackingcategoryresponse.py b/src/apideck_unify/models/updatetrackingcategoryresponse.py index ee721474..b25daf3d 100644 --- a/src/apideck_unify/models/updatetrackingcategoryresponse.py +++ b/src/apideck_unify/models/updatetrackingcategoryresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateTrackingCategoryResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateTrackingCategoryResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateTrackingCategoryResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateTrackingCategoryResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updateuserresponse.py b/src/apideck_unify/models/updateuserresponse.py index 8e357e8a..adecb770 100644 --- a/src/apideck_unify/models/updateuserresponse.py +++ b/src/apideck_unify/models/updateuserresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .unifiedid import UnifiedID, UnifiedIDTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateUserResponseTypedDict(TypedDict): @@ -21,6 +30,8 @@ class UpdateUserResponseTypedDict(TypedDict): r"""Operation performed""" data: UnifiedIDTypedDict r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateUserResponse(BaseModel): @@ -43,3 +54,38 @@ class UpdateUserResponse(BaseModel): data: UnifiedID r"""A object containing a unique identifier for the resource that was created, updated, or deleted.""" + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/updatewebhookresponse.py b/src/apideck_unify/models/updatewebhookresponse.py index dd10cfeb..2b0bcdf2 100644 --- a/src/apideck_unify/models/updatewebhookresponse.py +++ b/src/apideck_unify/models/updatewebhookresponse.py @@ -2,8 +2,17 @@ from __future__ import annotations from .webhook import Webhook, WebhookTypedDict -from apideck_unify.types import BaseModel -from typing_extensions import TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict +from typing_extensions import Annotated, NotRequired, TypedDict class UpdateWebhookResponseTypedDict(TypedDict): @@ -14,6 +23,8 @@ class UpdateWebhookResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: WebhookTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class UpdateWebhookResponse(BaseModel): @@ -26,3 +37,38 @@ class UpdateWebhookResponse(BaseModel): r"""HTTP Response Status""" data: Webhook + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/apideck_unify/models/validateconnectionstateresponse.py b/src/apideck_unify/models/validateconnectionstateresponse.py index bf4c1af1..f6d24d8a 100644 --- a/src/apideck_unify/models/validateconnectionstateresponse.py +++ b/src/apideck_unify/models/validateconnectionstateresponse.py @@ -2,9 +2,17 @@ from __future__ import annotations from .connectionstate import ConnectionState -from apideck_unify.types import BaseModel -from typing import Optional -from typing_extensions import NotRequired, TypedDict +from apideck_unify.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +import pydantic +from pydantic import model_serializer +from typing import Any, Dict, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class ValidateConnectionStateResponseDataTypedDict(TypedDict): @@ -30,6 +38,8 @@ class ValidateConnectionStateResponseTypedDict(TypedDict): status: str r"""HTTP Response Status""" data: ValidateConnectionStateResponseDataTypedDict + raw: NotRequired[Nullable[Dict[str, Any]]] + r"""Raw response from the integration when raw=true query param is provided""" class ValidateConnectionStateResponse(BaseModel): @@ -42,3 +52,38 @@ class ValidateConnectionStateResponse(BaseModel): r"""HTTP Response Status""" data: ValidateConnectionStateResponseData + + raw: Annotated[OptionalNullable[Dict[str, Any]], pydantic.Field(alias="_raw")] = ( + UNSET + ) + r"""Raw response from the integration when raw=true query param is provided""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["_raw"] + nullable_fields = ["_raw"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in self.model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m From cbb750a068623c111279712ff53fa10093ed627a Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 11:41:39 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow