diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 000000000..4d160bd21 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,28 @@ +/* eslint-env node */ +module.exports = { + root: true, + extends: [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "plugin:import/recommended", + "plugin:import/typescript", + ], + parser: "@typescript-eslint/parser", + plugins: ["@typescript-eslint"], + settings: { + "import/resolver": { + typescript: true, + node: true, + }, + }, + rules: { + // Handled by typescript compiler + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/ban-types": "off", + "@typescript-eslint/no-namespace": "off", + "@typescript-eslint/no-explicit-any": "off", + "import/no-named-as-default-member": "off", + + "import/no-default-export": "error", + }, +}; diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..113eead50 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# This allows generated code to be indexed correctly +*.ts linguist-generated=false \ No newline at end of file diff --git a/.gitignore b/.gitignore index 2377557f2..9533be4ae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,13 @@ +/models +/models/errors +/types +/lib +/sdk +/hooks +/index.* +/cjs +/node_modules +/.tsbuildinfo **/node_modules/ **/dist/ node_modules @@ -12,4 +22,4 @@ redis_data .pnpm-store/ .npmrc .vscode -ngrok.yml \ No newline at end of file +ngrok.yml diff --git a/.npmignore b/.npmignore new file mode 100644 index 000000000..709e6847d --- /dev/null +++ b/.npmignore @@ -0,0 +1,7 @@ +**/* +!/**/*.ts +!/**/*.js +!/**/*.map + +/.eslintrc.js +/cjs diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock new file mode 100755 index 000000000..9617efc01 --- /dev/null +++ b/.speakeasy/gen.lock @@ -0,0 +1,1931 @@ +lockVersion: 2.0.0 +id: 39646f85-9828-4dd3-a58b-ac84b0ec4a51 +management: + docChecksum: 84c5c2750bcc12a2193f758fd197bd09 + docVersion: "1.0" + speakeasyVersion: 1.308.2 + generationVersion: 2.342.6 + releaseVersion: 0.0.1 + configChecksum: d8a920813aad583e39802db06dfbd5c5 + repoURL: https://github.com/panoratech/Panora.git + installationURL: https://github.com/panoratech/Panora +features: + typescript: + additionalDependencies: 0.1.0 + constsAndDefaults: 0.1.5 + core: 3.9.14 + flattening: 2.81.1 + globalSecurity: 2.82.9 + globalSecurityCallbacks: 0.1.0 + globalSecurityFlattening: 0.1.0 + globalServerURLs: 2.82.4 + responseFormat: 0.2.3 + sdkHooks: 0.1.0 +generatedFiles: + - src/sdk/auth.ts + - src/sdk/connections.ts + - src/sdk/webhook.ts + - src/sdk/managedwebhooks.ts + - src/sdk/mw.ts + - src/sdk/ticketingtickets.ts + - src/sdk/ticketingusers.ts + - src/sdk/ticketingaccounts.ts + - src/sdk/ticketingcontacts.ts + - src/sdk/crmcompanies.ts + - src/sdk/crmcontacts.ts + - src/sdk/crmdeals.ts + - src/sdk/crmengagements.ts + - src/sdk/crmnotes.ts + - src/sdk/crmstages.ts + - src/sdk/crmtasks.ts + - src/sdk/crmusers.ts + - src/sdk/ticketingcollections.ts + - src/sdk/ticketingcomments.ts + - src/sdk/ticketingtags.ts + - src/sdk/ticketingteams.ts + - src/sdk/linkedusers.ts + - src/sdk/organisations.ts + - src/sdk/projects.ts + - src/sdk/fieldmappings.ts + - src/sdk/events.ts + - src/sdk/magiclinks.ts + - src/sdk/passthrough.ts + - src/sdk/connectionsstrategies.ts + - src/sdk/syncs.ts + - src/sdk/projectconnectors.ts + - src/sdk/hrisbankinfo.ts + - src/sdk/hrisbenefit.ts + - src/sdk/hriscompany.ts + - src/sdk/hrisdependent.ts + - src/sdk/hrisemployeepayrollrun.ts + - src/sdk/hrisemployee.ts + - src/sdk/hrisemployerbenefit.ts + - src/sdk/hrisemployment.ts + - src/sdk/hrisgroup.ts + - src/sdk/hrislocation.ts + - src/sdk/hrispaygroup.ts + - src/sdk/hrispayrollrun.ts + - src/sdk/hristimeoff.ts + - src/sdk/hristimeoffbalance.ts + - src/sdk/marketingautomationaction.ts + - src/sdk/marketingautomationautomation.ts + - src/sdk/marketingautomationcampaign.ts + - src/sdk/marketingautomationcontact.ts + - src/sdk/marketingautomationemail.ts + - src/sdk/marketingautomationevent.ts + - src/sdk/marketingautomationlist.ts + - src/sdk/marketingautomationmessage.ts + - src/sdk/marketingautomationtemplate.ts + - src/sdk/marketingautomationuser.ts + - src/sdk/atsactivity.ts + - src/sdk/atsapplication.ts + - src/sdk/atsattachment.ts + - src/sdk/atscandidate.ts + - src/sdk/atsdepartment.ts + - src/sdk/atsinterview.ts + - src/sdk/atsjobinterviewstage.ts + - src/sdk/atsjob.ts + - src/sdk/atsoffer.ts + - src/sdk/atsoffice.ts + - src/sdk/atsrejectreason.ts + - src/sdk/atsscorecard.ts + - src/sdk/atsscreeningquestion.ts + - src/sdk/atstag.ts + - src/sdk/atsuser.ts + - src/sdk/atseeocs.ts + - src/sdk/accountingaccount.ts + - src/sdk/accountingaddress.ts + - src/sdk/accountingattachment.ts + - src/sdk/accountingbalancesheet.ts + - src/sdk/accountingcashflowstatement.ts + - src/sdk/accountingcompanyinfo.ts + - src/sdk/accountingcontact.ts + - src/sdk/accountingcreditnote.ts + - src/sdk/accountingexpense.ts + - src/sdk/accountingincomestatement.ts + - src/sdk/accountinginvoice.ts + - src/sdk/accountingitem.ts + - src/sdk/accountingjournalentry.ts + - src/sdk/accountingpayment.ts + - src/sdk/accountingphonenumber.ts + - src/sdk/accountingpurchaseorder.ts + - src/sdk/accountingtaxrate.ts + - src/sdk/accountingtrackingcategory.ts + - src/sdk/accountingtransaction.ts + - src/sdk/accountingvendorcredit.ts + - src/sdk/filestoragedrive.ts + - src/sdk/filestoragefile.ts + - src/sdk/filestoragefolder.ts + - src/sdk/filestoragesharedlink.ts + - src/sdk/filestoragepermission.ts + - src/sdk/ticketingattachments.ts + - src/sdk/sdk.ts + - .eslintrc.js + - .npmignore + - RUNTIMES.md + - jsr.json + - package.json + - src/index.ts + - src/lib/base64.ts + - src/lib/config.ts + - src/lib/encodings.ts + - src/lib/http.ts + - src/lib/is-plain-object.ts + - src/lib/primitives.ts + - src/lib/retries.ts + - src/lib/schemas.ts + - src/lib/sdks.ts + - src/lib/security.ts + - src/lib/url.ts + - src/sdk/index.ts + - src/models/errors/sdkerror.ts + - src/models/errors/sdkvalidationerror.ts + - src/types/blobs.ts + - src/types/enums.ts + - src/types/index.ts + - src/types/operations.ts + - src/types/rfcdate.ts + - tsconfig.json + - src/models/operations/gethello.ts + - src/models/operations/gethealth.ts + - src/models/operations/gethelloprotected.ts + - src/models/operations/signup.ts + - src/models/operations/signin.ts + - src/models/operations/getpanoracoreusers.ts + - src/models/operations/authcontrollergetprofile.ts + - src/models/operations/getapikeys.ts + - src/models/operations/deleteapikey.ts + - src/models/operations/generateapikey.ts + - src/models/operations/refreshaccesstoken.ts + - src/models/operations/handleoauthcallback.ts + - src/models/operations/connectionscontrollerhandlegorgiasauthurl.ts + - src/models/operations/handleapikeycallback.ts + - src/models/operations/getconnections.ts + - src/models/operations/getwebhooksmetadata.ts + - src/models/operations/createwebhookmetadata.ts + - src/models/operations/deletewebhook.ts + - src/models/operations/updatewebhookstatus.ts + - src/models/operations/verifyevent.ts + - src/models/operations/getmanagedwebhooks.ts + - src/models/operations/updatemanagedwebhooksstatus.ts + - src/models/operations/createmanagedwebhook.ts + - src/models/operations/createremotethirdpartywebhook.ts + - src/models/operations/handlethirdpartywebhook.ts + - src/models/operations/gettickets.ts + - src/models/operations/addticket.ts + - src/models/operations/updateticket.ts + - src/models/operations/getticket.ts + - src/models/operations/addtickets.ts + - src/models/operations/getticketingusers.ts + - src/models/operations/getticketinguser.ts + - src/models/operations/getticketingaccounts.ts + - src/models/operations/getticketingaccount.ts + - src/models/operations/getticketingcontacts.ts + - src/models/operations/getticketingcontact.ts + - src/models/operations/getcompanies.ts + - src/models/operations/addcrmcompany.ts + - src/models/operations/updatecompany.ts + - src/models/operations/getcrmcompany.ts + - src/models/operations/addcompanies.ts + - src/models/operations/getcrmcontacts.ts + - src/models/operations/addcrmcontact.ts + - src/models/operations/updatecontact.ts + - src/models/operations/getcrmcontact.ts + - src/models/operations/addcrmcontacts.ts + - src/models/operations/getdeals.ts + - src/models/operations/adddeal.ts + - src/models/operations/getdeal.ts + - src/models/operations/updatedeal.ts + - src/models/operations/adddeals.ts + - src/models/operations/getengagements.ts + - src/models/operations/addengagement.ts + - src/models/operations/updateengagement.ts + - src/models/operations/getengagement.ts + - src/models/operations/addengagements.ts + - src/models/operations/getnotes.ts + - src/models/operations/addnote.ts + - src/models/operations/getnote.ts + - src/models/operations/addnotes.ts + - src/models/operations/getstages.ts + - src/models/operations/getstage.ts + - src/models/operations/gettasks.ts + - src/models/operations/addtask.ts + - src/models/operations/updatetask.ts + - src/models/operations/gettask.ts + - src/models/operations/addtasks.ts + - src/models/operations/getcrmusers.ts + - src/models/operations/getcrmuser.ts + - src/models/operations/getcollections.ts + - src/models/operations/getcollection.ts + - src/models/operations/getcomments.ts + - src/models/operations/addcomment.ts + - src/models/operations/getcomment.ts + - src/models/operations/addcomments.ts + - src/models/operations/getticketingtags.ts + - src/models/operations/getticketingtag.ts + - src/models/operations/getteams.ts + - src/models/operations/getteam.ts + - src/models/operations/addlinkeduser.ts + - src/models/operations/fetchlinkedusers.ts + - src/models/operations/addbatchlinkedusers.ts + - src/models/operations/getlinkeduser.ts + - src/models/operations/linkeduserfromremoteid.ts + - src/models/operations/getorganisations.ts + - src/models/operations/createorganisation.ts + - src/models/operations/getprojects.ts + - src/models/operations/createproject.ts + - src/models/operations/getfieldmappingsentities.ts + - src/models/operations/getfieldmappings.ts + - src/models/operations/getfieldmappingvalues.ts + - src/models/operations/definetargetfield.ts + - src/models/operations/createcustomfield.ts + - src/models/operations/mapfield.ts + - src/models/operations/getcustomproviderproperties.ts + - src/models/operations/getpanoracoreevents.ts + - src/models/operations/geteventscount.ts + - src/models/operations/createmagiclink.ts + - src/models/operations/getmagiclinks.ts + - src/models/operations/getmagiclink.ts + - src/models/operations/passthroughrequest.ts + - src/models/operations/createconnectionstrategy.ts + - src/models/operations/toggleconnectionstrategy.ts + - src/models/operations/deleteconnectionstrategy.ts + - src/models/operations/updateconnectionstrategy.ts + - src/models/operations/getconnectionstrategycredentials.ts + - src/models/operations/getcredentials.ts + - src/models/operations/getconnectionstrategiesforproject.ts + - src/models/operations/getsyncstatus.ts + - src/models/operations/resync.ts + - src/models/operations/updateconnectorstoproject.ts + - src/models/operations/getconnectorsfromproject.ts + - src/models/operations/getbankinfos.ts + - src/models/operations/addbankinfo.ts + - src/models/operations/getbankinfo.ts + - src/models/operations/addbankinfos.ts + - src/models/operations/getbenefits.ts + - src/models/operations/addbenefit.ts + - src/models/operations/getbenefit.ts + - src/models/operations/addbenefits.ts + - src/models/operations/getcompanys.ts + - src/models/operations/addhriscompany.ts + - src/models/operations/gethriscompany.ts + - src/models/operations/addcompanys.ts + - src/models/operations/getdependents.ts + - src/models/operations/adddependent.ts + - src/models/operations/getdependent.ts + - src/models/operations/adddependents.ts + - src/models/operations/getemployeepayrollruns.ts + - src/models/operations/addemployeepayrollrun.ts + - src/models/operations/getemployeepayrollrun.ts + - src/models/operations/addemployeepayrollruns.ts + - src/models/operations/getemployees.ts + - src/models/operations/addemployee.ts + - src/models/operations/getemployee.ts + - src/models/operations/addemployees.ts + - src/models/operations/getemployerbenefits.ts + - src/models/operations/addemployerbenefit.ts + - src/models/operations/getemployerbenefit.ts + - src/models/operations/addemployerbenefits.ts + - src/models/operations/getemployments.ts + - src/models/operations/addemployment.ts + - src/models/operations/getemployment.ts + - src/models/operations/addemployments.ts + - src/models/operations/getgroups.ts + - src/models/operations/addgroup.ts + - src/models/operations/getgroup.ts + - src/models/operations/addgroups.ts + - src/models/operations/getlocations.ts + - src/models/operations/addlocation.ts + - src/models/operations/getlocation.ts + - src/models/operations/addlocations.ts + - src/models/operations/getpaygroups.ts + - src/models/operations/addpaygroup.ts + - src/models/operations/getpaygroup.ts + - src/models/operations/addpaygroups.ts + - src/models/operations/getpayrollruns.ts + - src/models/operations/addpayrollrun.ts + - src/models/operations/getpayrollrun.ts + - src/models/operations/addpayrollruns.ts + - src/models/operations/gettimeoffs.ts + - src/models/operations/addtimeoff.ts + - src/models/operations/gettimeoff.ts + - src/models/operations/addtimeoffs.ts + - src/models/operations/gettimeoffbalances.ts + - src/models/operations/addtimeoffbalance.ts + - src/models/operations/gettimeoffbalance.ts + - src/models/operations/addtimeoffbalances.ts + - src/models/operations/getactions.ts + - src/models/operations/addaction.ts + - src/models/operations/getaction.ts + - src/models/operations/addactions.ts + - src/models/operations/getautomations.ts + - src/models/operations/addautomation.ts + - src/models/operations/getautomation.ts + - src/models/operations/addautomations.ts + - src/models/operations/getcampaigns.ts + - src/models/operations/addcampaign.ts + - src/models/operations/getcampaign.ts + - src/models/operations/addcampaigns.ts + - src/models/operations/getmarketingautomationcontacts.ts + - src/models/operations/addmarketingautomationcontact.ts + - src/models/operations/getmarketingautomationcontact.ts + - src/models/operations/addmarketingautomationcontacts.ts + - src/models/operations/getemails.ts + - src/models/operations/addemail.ts + - src/models/operations/getemail.ts + - src/models/operations/addemails.ts + - src/models/operations/getmarketingautomationevents.ts + - src/models/operations/addevent.ts + - src/models/operations/getevent.ts + - src/models/operations/addevents.ts + - src/models/operations/getlists.ts + - src/models/operations/addlist.ts + - src/models/operations/getlist.ts + - src/models/operations/addlists.ts + - src/models/operations/getmessages.ts + - src/models/operations/addmessage.ts + - src/models/operations/getmessage.ts + - src/models/operations/addmessages.ts + - src/models/operations/gettemplates.ts + - src/models/operations/addtemplate.ts + - src/models/operations/gettemplate.ts + - src/models/operations/addtemplates.ts + - src/models/operations/getmarketingautomationusers.ts + - src/models/operations/addmarketingautomationuser.ts + - src/models/operations/getmarketingautomationuser.ts + - src/models/operations/addmarketingautomationusers.ts + - src/models/operations/getactivitys.ts + - src/models/operations/addactivity.ts + - src/models/operations/getactivity.ts + - src/models/operations/addactivitys.ts + - src/models/operations/getapplications.ts + - src/models/operations/addapplication.ts + - src/models/operations/getapplication.ts + - src/models/operations/addapplications.ts + - src/models/operations/getatsattachments.ts + - src/models/operations/addatsattachment.ts + - src/models/operations/getatsattachment.ts + - src/models/operations/addatsattachments.ts + - src/models/operations/getcandidates.ts + - src/models/operations/addcandidate.ts + - src/models/operations/getcandidate.ts + - src/models/operations/addcandidates.ts + - src/models/operations/getdepartments.ts + - src/models/operations/adddepartment.ts + - src/models/operations/getdepartment.ts + - src/models/operations/adddepartments.ts + - src/models/operations/getinterviews.ts + - src/models/operations/addinterview.ts + - src/models/operations/getinterview.ts + - src/models/operations/addinterviews.ts + - src/models/operations/getjobinterviewstages.ts + - src/models/operations/addjobinterviewstage.ts + - src/models/operations/getjobinterviewstage.ts + - src/models/operations/addjobinterviewstages.ts + - src/models/operations/getjobs.ts + - src/models/operations/addjob.ts + - src/models/operations/getjob.ts + - src/models/operations/addjobs.ts + - src/models/operations/getoffers.ts + - src/models/operations/addoffer.ts + - src/models/operations/getoffer.ts + - src/models/operations/addoffers.ts + - src/models/operations/getoffices.ts + - src/models/operations/addoffice.ts + - src/models/operations/getoffice.ts + - src/models/operations/addoffices.ts + - src/models/operations/getrejectreasons.ts + - src/models/operations/addrejectreason.ts + - src/models/operations/getrejectreason.ts + - src/models/operations/addrejectreasons.ts + - src/models/operations/getscorecards.ts + - src/models/operations/addscorecard.ts + - src/models/operations/getscorecard.ts + - src/models/operations/addscorecards.ts + - src/models/operations/getscreeningquestions.ts + - src/models/operations/addscreeningquestion.ts + - src/models/operations/getscreeningquestion.ts + - src/models/operations/addscreeningquestions.ts + - src/models/operations/getatstags.ts + - src/models/operations/addtag.ts + - src/models/operations/getatstag.ts + - src/models/operations/addtags.ts + - src/models/operations/getatsusers.ts + - src/models/operations/addatsuser.ts + - src/models/operations/getatsuser.ts + - src/models/operations/addatsusers.ts + - src/models/operations/geteeocss.ts + - src/models/operations/addeeocs.ts + - src/models/operations/geteeocs.ts + - src/models/operations/addeeocss.ts + - src/models/operations/getaccountingaccounts.ts + - src/models/operations/addaccount.ts + - src/models/operations/getaccountingaccount.ts + - src/models/operations/addaccounts.ts + - src/models/operations/getaddresss.ts + - src/models/operations/addaddress.ts + - src/models/operations/getaddress.ts + - src/models/operations/addaddresss.ts + - src/models/operations/getaccountingattachments.ts + - src/models/operations/addaccountingattachment.ts + - src/models/operations/getaccountingattachment.ts + - src/models/operations/addaccountingattachments.ts + - src/models/operations/getbalancesheets.ts + - src/models/operations/addbalancesheet.ts + - src/models/operations/getbalancesheet.ts + - src/models/operations/addbalancesheets.ts + - src/models/operations/getcashflowstatements.ts + - src/models/operations/addcashflowstatement.ts + - src/models/operations/getcashflowstatement.ts + - src/models/operations/addcashflowstatements.ts + - src/models/operations/getcompanyinfos.ts + - src/models/operations/addcompanyinfo.ts + - src/models/operations/getcompanyinfo.ts + - src/models/operations/addcompanyinfos.ts + - src/models/operations/getaccountingcontacts.ts + - src/models/operations/addaccountingcontact.ts + - src/models/operations/getaccountingcontact.ts + - src/models/operations/addaccountingcontacts.ts + - src/models/operations/getcreditnotes.ts + - src/models/operations/addcreditnote.ts + - src/models/operations/getcreditnote.ts + - src/models/operations/addcreditnotes.ts + - src/models/operations/getexpenses.ts + - src/models/operations/addexpense.ts + - src/models/operations/getexpense.ts + - src/models/operations/addexpenses.ts + - src/models/operations/getincomestatements.ts + - src/models/operations/addincomestatement.ts + - src/models/operations/getincomestatement.ts + - src/models/operations/addincomestatements.ts + - src/models/operations/getinvoices.ts + - src/models/operations/addinvoice.ts + - src/models/operations/getinvoice.ts + - src/models/operations/addinvoices.ts + - src/models/operations/getitems.ts + - src/models/operations/additem.ts + - src/models/operations/getitem.ts + - src/models/operations/additems.ts + - src/models/operations/getjournalentrys.ts + - src/models/operations/addjournalentry.ts + - src/models/operations/getjournalentry.ts + - src/models/operations/addjournalentrys.ts + - src/models/operations/getpayments.ts + - src/models/operations/addpayment.ts + - src/models/operations/getpayment.ts + - src/models/operations/addpayments.ts + - src/models/operations/getphonenumbers.ts + - src/models/operations/addphonenumber.ts + - src/models/operations/getphonenumber.ts + - src/models/operations/addphonenumbers.ts + - src/models/operations/getpurchaseorders.ts + - src/models/operations/addpurchaseorder.ts + - src/models/operations/getpurchaseorder.ts + - src/models/operations/addpurchaseorders.ts + - src/models/operations/gettaxrates.ts + - src/models/operations/addtaxrate.ts + - src/models/operations/gettaxrate.ts + - src/models/operations/addtaxrates.ts + - src/models/operations/gettrackingcategorys.ts + - src/models/operations/addtrackingcategory.ts + - src/models/operations/gettrackingcategory.ts + - src/models/operations/addtrackingcategorys.ts + - src/models/operations/gettransactions.ts + - src/models/operations/addtransaction.ts + - src/models/operations/gettransaction.ts + - src/models/operations/addtransactions.ts + - src/models/operations/getvendorcredits.ts + - src/models/operations/addvendorcredit.ts + - src/models/operations/getvendorcredit.ts + - src/models/operations/addvendorcredits.ts + - src/models/operations/getdrives.ts + - src/models/operations/adddrive.ts + - src/models/operations/getdrive.ts + - src/models/operations/adddrives.ts + - src/models/operations/getfiles.ts + - src/models/operations/addfile.ts + - src/models/operations/getfile.ts + - src/models/operations/addfiles.ts + - src/models/operations/getfolders.ts + - src/models/operations/addfolder.ts + - src/models/operations/getfolder.ts + - src/models/operations/addfolders.ts + - src/models/operations/getsharedlinks.ts + - src/models/operations/addsharedlink.ts + - src/models/operations/getsharedlink.ts + - src/models/operations/addsharedlinks.ts + - src/models/operations/getpermissions.ts + - src/models/operations/addpermission.ts + - src/models/operations/updatepermission.ts + - src/models/operations/getpermission.ts + - src/models/operations/addpermissions.ts + - src/models/operations/getticketingattachments.ts + - src/models/operations/addticketingattachment.ts + - src/models/operations/getticketingattachment.ts + - src/models/operations/downloadattachment.ts + - src/models/operations/addticketingattachments.ts + - src/models/components/httpmetadata.ts + - src/models/components/createuserdto.ts + - src/models/components/logindto.ts + - src/models/components/verifyuserdto.ts + - src/models/components/apikeydto.ts + - src/models/components/refreshdto.ts + - src/models/components/bodydatatype.ts + - src/models/components/webhookdto.ts + - src/models/components/signatureverificationdto.ts + - src/models/components/managedwebhooksdto.ts + - src/models/components/remotethirdpartycreationdto.ts + - src/models/components/unifiedticketoutput.ts + - src/models/components/unifiedcommentinput.ts + - src/models/components/unifiedticketinput.ts + - src/models/components/unifieduseroutput.ts + - src/models/components/unifiedaccountoutput.ts + - src/models/components/unifiedcontactoutput.ts + - src/models/components/unifiedcompanyoutput.ts + - src/models/components/unifiedcompanyinput.ts + - src/models/components/unifiedcontactinput.ts + - src/models/components/unifieddealoutput.ts + - src/models/components/unifieddealinput.ts + - src/models/components/unifiedengagementoutput.ts + - src/models/components/unifiedengagementinput.ts + - src/models/components/unifiednoteoutput.ts + - src/models/components/unifiednoteinput.ts + - src/models/components/unifiedstageoutput.ts + - src/models/components/unifiedtaskoutput.ts + - src/models/components/unifiedtaskinput.ts + - src/models/components/unifiedcollectionoutput.ts + - src/models/components/unifiedcommentoutput.ts + - src/models/components/unifiedattachmentoutput.ts + - src/models/components/unifiedtagoutput.ts + - src/models/components/unifiedteamoutput.ts + - src/models/components/createlinkeduserdto.ts + - src/models/components/createbatchlinkeduserdto.ts + - src/models/components/createorganizationdto.ts + - src/models/components/createprojectdto.ts + - src/models/components/definetargetfielddto.ts + - src/models/components/customfieldcreatedto.ts + - src/models/components/mapfieldtoproviderdto.ts + - src/models/components/createmagiclinkdto.ts + - src/models/components/passthroughresponse.ts + - src/models/components/passthroughrequestdto.ts + - src/models/components/createconnectionstrategydto.ts + - src/models/components/togglestrategydto.ts + - src/models/components/deletecsdto.ts + - src/models/components/updatecsdto.ts + - src/models/components/connectionstrategycredentials.ts + - src/models/components/projectconnectorsdto.ts + - src/models/components/unifiedbankinfooutput.ts + - src/models/components/unifiedbankinfoinput.ts + - src/models/components/unifiedbenefitoutput.ts + - src/models/components/unifiedbenefitinput.ts + - src/models/components/unifieddependentoutput.ts + - src/models/components/unifieddependentinput.ts + - src/models/components/unifiedemployeepayrollrunoutput.ts + - src/models/components/unifiedemployeepayrollruninput.ts + - src/models/components/unifiedemployeeoutput.ts + - src/models/components/unifiedemployeeinput.ts + - src/models/components/unifiedemployerbenefitoutput.ts + - src/models/components/unifiedemployerbenefitinput.ts + - src/models/components/unifiedemploymentoutput.ts + - src/models/components/unifiedemploymentinput.ts + - src/models/components/unifiedgroupoutput.ts + - src/models/components/unifiedgroupinput.ts + - src/models/components/unifiedlocationoutput.ts + - src/models/components/unifiedlocationinput.ts + - src/models/components/unifiedpaygroupoutput.ts + - src/models/components/unifiedpaygroupinput.ts + - src/models/components/unifiedpayrollrunoutput.ts + - src/models/components/unifiedpayrollruninput.ts + - src/models/components/unifiedtimeoffoutput.ts + - src/models/components/unifiedtimeoffinput.ts + - src/models/components/unifiedtimeoffbalanceoutput.ts + - src/models/components/unifiedtimeoffbalanceinput.ts + - src/models/components/unifiedactionoutput.ts + - src/models/components/unifiedactioninput.ts + - src/models/components/unifiedautomationoutput.ts + - src/models/components/unifiedautomationinput.ts + - src/models/components/unifiedcampaignoutput.ts + - src/models/components/unifiedcampaigninput.ts + - src/models/components/unifiedemailoutput.ts + - src/models/components/unifiedemailinput.ts + - src/models/components/unifiedeventoutput.ts + - src/models/components/unifiedeventinput.ts + - src/models/components/unifiedlistoutput.ts + - src/models/components/unifiedlistinput.ts + - src/models/components/unifiedmessageoutput.ts + - src/models/components/unifiedmessageinput.ts + - src/models/components/unifiedtemplateoutput.ts + - src/models/components/unifiedtemplateinput.ts + - src/models/components/unifieduserinput.ts + - src/models/components/unifiedactivityoutput.ts + - src/models/components/unifiedactivityinput.ts + - src/models/components/unifiedapplicationoutput.ts + - src/models/components/unifiedapplicationinput.ts + - src/models/components/unifiedattachmentinput.ts + - src/models/components/unifiedcandidateoutput.ts + - src/models/components/unifiedcandidateinput.ts + - src/models/components/unifieddepartmentoutput.ts + - src/models/components/unifieddepartmentinput.ts + - src/models/components/unifiedinterviewoutput.ts + - src/models/components/unifiedinterviewinput.ts + - src/models/components/unifiedjobinterviewstageoutput.ts + - src/models/components/unifiedjobinterviewstageinput.ts + - src/models/components/unifiedjoboutput.ts + - src/models/components/unifiedjobinput.ts + - src/models/components/unifiedofferoutput.ts + - src/models/components/unifiedofferinput.ts + - src/models/components/unifiedofficeoutput.ts + - src/models/components/unifiedofficeinput.ts + - src/models/components/unifiedrejectreasonoutput.ts + - src/models/components/unifiedrejectreasoninput.ts + - src/models/components/unifiedscorecardoutput.ts + - src/models/components/unifiedscorecardinput.ts + - src/models/components/unifiedscreeningquestionoutput.ts + - src/models/components/unifiedscreeningquestioninput.ts + - src/models/components/unifiedtaginput.ts + - src/models/components/unifiedeeocsoutput.ts + - src/models/components/unifiedeeocsinput.ts + - src/models/components/unifiedaccountinput.ts + - src/models/components/unifiedaddressoutput.ts + - src/models/components/unifiedaddressinput.ts + - src/models/components/unifiedbalancesheetoutput.ts + - src/models/components/unifiedbalancesheetinput.ts + - src/models/components/unifiedcashflowstatementoutput.ts + - src/models/components/unifiedcashflowstatementinput.ts + - src/models/components/unifiedcompanyinfooutput.ts + - src/models/components/unifiedcompanyinfoinput.ts + - src/models/components/unifiedcreditnoteoutput.ts + - src/models/components/unifiedcreditnoteinput.ts + - src/models/components/unifiedexpenseoutput.ts + - src/models/components/unifiedexpenseinput.ts + - src/models/components/unifiedincomestatementoutput.ts + - src/models/components/unifiedincomestatementinput.ts + - src/models/components/unifiedinvoiceoutput.ts + - src/models/components/unifiedinvoiceinput.ts + - src/models/components/unifieditemoutput.ts + - src/models/components/unifiediteminput.ts + - src/models/components/unifiedjournalentryoutput.ts + - src/models/components/unifiedjournalentryinput.ts + - src/models/components/unifiedpaymentoutput.ts + - src/models/components/unifiedpaymentinput.ts + - src/models/components/unifiedphonenumberoutput.ts + - src/models/components/unifiedphonenumberinput.ts + - src/models/components/unifiedpurchaseorderoutput.ts + - src/models/components/unifiedpurchaseorderinput.ts + - src/models/components/unifiedtaxrateoutput.ts + - src/models/components/unifiedtaxrateinput.ts + - src/models/components/unifiedtrackingcategoryoutput.ts + - src/models/components/unifiedtrackingcategoryinput.ts + - src/models/components/unifiedtransactionoutput.ts + - src/models/components/unifiedtransactioninput.ts + - src/models/components/unifiedvendorcreditoutput.ts + - src/models/components/unifiedvendorcreditinput.ts + - src/models/components/unifieddriveoutput.ts + - src/models/components/unifieddriveinput.ts + - src/models/components/unifiedfileoutput.ts + - src/models/components/unifiedfileinput.ts + - src/models/components/unifiedfolderoutput.ts + - src/models/components/unifiedfolderinput.ts + - src/models/components/unifiedsharedlinkoutput.ts + - src/models/components/unifiedsharedlinkinput.ts + - src/models/components/unifiedpermissionoutput.ts + - src/models/components/unifiedpermissioninput.ts + - src/models/components/security.ts + - src/models/errors/index.ts + - src/models/operations/index.ts + - src/models/components/index.ts + - docs/models/operations/gethelloresponse.md + - docs/models/operations/gethealthresponse.md + - docs/models/operations/gethelloprotectedresponse.md + - docs/models/operations/signupresponse.md + - docs/models/operations/signinresponse.md + - docs/models/operations/getpanoracoreusersresponse.md + - docs/models/operations/authcontrollergetprofileresponse.md + - docs/models/operations/getapikeysresponse.md + - docs/models/operations/deleteapikeyrequest.md + - docs/models/operations/deleteapikeyresponse.md + - docs/models/operations/generateapikeyresponse.md + - docs/models/operations/refreshaccesstokenresponse.md + - docs/models/operations/handleoauthcallbackrequest.md + - docs/models/operations/handleoauthcallbackresponse.md + - docs/models/operations/connectionscontrollerhandlegorgiasauthurlrequest.md + - docs/models/operations/connectionscontrollerhandlegorgiasauthurlresponse.md + - docs/models/operations/handleapikeycallbackrequest.md + - docs/models/operations/handleapikeycallbackresponse.md + - docs/models/operations/getconnectionsresponse.md + - docs/models/operations/getwebhooksmetadataresponse.md + - docs/models/operations/createwebhookmetadataresponse.md + - docs/models/operations/deletewebhookrequest.md + - docs/models/operations/deletewebhookresponse.md + - docs/models/operations/updatewebhookstatusrequest.md + - docs/models/operations/updatewebhookstatusresponse.md + - docs/models/operations/verifyeventresponse.md + - docs/models/operations/getmanagedwebhooksrequest.md + - docs/models/operations/getmanagedwebhooksresponse.md + - docs/models/operations/updatemanagedwebhooksstatusrequest.md + - docs/models/operations/updatemanagedwebhooksstatusresponse.md + - docs/models/operations/createmanagedwebhookresponse.md + - docs/models/operations/createremotethirdpartywebhookresponse.md + - docs/models/operations/handlethirdpartywebhookrequest.md + - docs/models/operations/handlethirdpartywebhookresponse.md + - docs/models/operations/getticketsrequest.md + - docs/models/operations/getticketsresponsebody.md + - docs/models/operations/getticketsresponse.md + - docs/models/operations/addticketrequest.md + - docs/models/operations/addticketresponsebody.md + - docs/models/operations/addticketresponse.md + - docs/models/operations/updateticketrequest.md + - docs/models/operations/updateticketresponse.md + - docs/models/operations/getticketrequest.md + - docs/models/operations/getticketresponsebody.md + - docs/models/operations/getticketresponse.md + - docs/models/operations/addticketsrequest.md + - docs/models/operations/addticketsresponsebody.md + - docs/models/operations/addticketsresponse.md + - docs/models/operations/getticketingusersrequest.md + - docs/models/operations/getticketingusersresponsebody.md + - docs/models/operations/getticketingusersresponse.md + - docs/models/operations/getticketinguserrequest.md + - docs/models/operations/getticketinguserresponsebody.md + - docs/models/operations/getticketinguserresponse.md + - docs/models/operations/getticketingaccountsrequest.md + - docs/models/operations/getticketingaccountsresponsebody.md + - docs/models/operations/getticketingaccountsresponse.md + - docs/models/operations/getticketingaccountrequest.md + - docs/models/operations/getticketingaccountresponsebody.md + - docs/models/operations/getticketingaccountresponse.md + - docs/models/operations/getticketingcontactsrequest.md + - docs/models/operations/getticketingcontactsresponsebody.md + - docs/models/operations/getticketingcontactsresponse.md + - docs/models/operations/getticketingcontactrequest.md + - docs/models/operations/getticketingcontactresponsebody.md + - docs/models/operations/getticketingcontactresponse.md + - docs/models/operations/getcompaniesrequest.md + - docs/models/operations/getcompaniesresponsebody.md + - docs/models/operations/getcompaniesresponse.md + - docs/models/operations/addcrmcompanyrequest.md + - docs/models/operations/addcrmcompanyresponsebody.md + - docs/models/operations/addcrmcompanyresponse.md + - docs/models/operations/updatecompanyrequest.md + - docs/models/operations/updatecompanyresponsebody.md + - docs/models/operations/updatecompanyresponse.md + - docs/models/operations/getcrmcompanyrequest.md + - docs/models/operations/getcrmcompanyresponsebody.md + - docs/models/operations/getcrmcompanyresponse.md + - docs/models/operations/addcompaniesrequest.md + - docs/models/operations/addcompaniesresponsebody.md + - docs/models/operations/addcompaniesresponse.md + - docs/models/operations/getcrmcontactsrequest.md + - docs/models/operations/getcrmcontactsresponsebody.md + - docs/models/operations/getcrmcontactsresponse.md + - docs/models/operations/addcrmcontactrequest.md + - docs/models/operations/addcrmcontactresponsebody.md + - docs/models/operations/addcrmcontactresponse.md + - docs/models/operations/updatecontactrequest.md + - docs/models/operations/updatecontactresponse.md + - docs/models/operations/getcrmcontactrequest.md + - docs/models/operations/getcrmcontactresponsebody.md + - docs/models/operations/getcrmcontactresponse.md + - docs/models/operations/addcrmcontactsrequest.md + - docs/models/operations/addcrmcontactsresponsebody.md + - docs/models/operations/addcrmcontactsresponse.md + - docs/models/operations/getdealsrequest.md + - docs/models/operations/getdealsresponsebody.md + - docs/models/operations/getdealsresponse.md + - docs/models/operations/adddealrequest.md + - docs/models/operations/adddealresponsebody.md + - docs/models/operations/adddealresponse.md + - docs/models/operations/getdealrequest.md + - docs/models/operations/getdealresponsebody.md + - docs/models/operations/getdealresponse.md + - docs/models/operations/updatedealrequest.md + - docs/models/operations/updatedealresponsebody.md + - docs/models/operations/updatedealresponse.md + - docs/models/operations/adddealsrequest.md + - docs/models/operations/adddealsresponsebody.md + - docs/models/operations/adddealsresponse.md + - docs/models/operations/getengagementsrequest.md + - docs/models/operations/getengagementsresponsebody.md + - docs/models/operations/getengagementsresponse.md + - docs/models/operations/addengagementrequest.md + - docs/models/operations/addengagementresponsebody.md + - docs/models/operations/addengagementresponse.md + - docs/models/operations/updateengagementrequest.md + - docs/models/operations/updateengagementresponsebody.md + - docs/models/operations/updateengagementresponse.md + - docs/models/operations/getengagementrequest.md + - docs/models/operations/getengagementresponsebody.md + - docs/models/operations/getengagementresponse.md + - docs/models/operations/addengagementsrequest.md + - docs/models/operations/addengagementsresponsebody.md + - docs/models/operations/addengagementsresponse.md + - docs/models/operations/getnotesrequest.md + - docs/models/operations/getnotesresponsebody.md + - docs/models/operations/getnotesresponse.md + - docs/models/operations/addnoterequest.md + - docs/models/operations/addnoteresponsebody.md + - docs/models/operations/addnoteresponse.md + - docs/models/operations/getnoterequest.md + - docs/models/operations/getnoteresponsebody.md + - docs/models/operations/getnoteresponse.md + - docs/models/operations/addnotesrequest.md + - docs/models/operations/addnotesresponsebody.md + - docs/models/operations/addnotesresponse.md + - docs/models/operations/getstagesrequest.md + - docs/models/operations/getstagesresponsebody.md + - docs/models/operations/getstagesresponse.md + - docs/models/operations/getstagerequest.md + - docs/models/operations/getstageresponsebody.md + - docs/models/operations/getstageresponse.md + - docs/models/operations/gettasksrequest.md + - docs/models/operations/gettasksresponsebody.md + - docs/models/operations/gettasksresponse.md + - docs/models/operations/addtaskrequest.md + - docs/models/operations/addtaskresponsebody.md + - docs/models/operations/addtaskresponse.md + - docs/models/operations/updatetaskrequest.md + - docs/models/operations/updatetaskresponsebody.md + - docs/models/operations/updatetaskresponse.md + - docs/models/operations/gettaskrequest.md + - docs/models/operations/gettaskresponsebody.md + - docs/models/operations/gettaskresponse.md + - docs/models/operations/addtasksrequest.md + - docs/models/operations/addtasksresponsebody.md + - docs/models/operations/addtasksresponse.md + - docs/models/operations/getcrmusersrequest.md + - docs/models/operations/getcrmusersresponsebody.md + - docs/models/operations/getcrmusersresponse.md + - docs/models/operations/getcrmuserrequest.md + - docs/models/operations/getcrmuserresponsebody.md + - docs/models/operations/getcrmuserresponse.md + - docs/models/operations/getcollectionsrequest.md + - docs/models/operations/getcollectionsresponsebody.md + - docs/models/operations/getcollectionsresponse.md + - docs/models/operations/getcollectionrequest.md + - docs/models/operations/getcollectionresponsebody.md + - docs/models/operations/getcollectionresponse.md + - docs/models/operations/getcommentsrequest.md + - docs/models/operations/getcommentsresponsebody.md + - docs/models/operations/getcommentsresponse.md + - docs/models/operations/addcommentrequest.md + - docs/models/operations/addcommentresponsebody.md + - docs/models/operations/addcommentresponse.md + - docs/models/operations/getcommentrequest.md + - docs/models/operations/getcommentresponsebody.md + - docs/models/operations/getcommentresponse.md + - docs/models/operations/addcommentsrequest.md + - docs/models/operations/addcommentsresponsebody.md + - docs/models/operations/addcommentsresponse.md + - docs/models/operations/getticketingtagsrequest.md + - docs/models/operations/getticketingtagsresponsebody.md + - docs/models/operations/getticketingtagsresponse.md + - docs/models/operations/getticketingtagrequest.md + - docs/models/operations/getticketingtagresponsebody.md + - docs/models/operations/getticketingtagresponse.md + - docs/models/operations/getteamsrequest.md + - docs/models/operations/getteamsresponsebody.md + - docs/models/operations/getteamsresponse.md + - docs/models/operations/getteamrequest.md + - docs/models/operations/getteamresponsebody.md + - docs/models/operations/getteamresponse.md + - docs/models/operations/addlinkeduserresponse.md + - docs/models/operations/fetchlinkedusersresponse.md + - docs/models/operations/addbatchlinkedusersresponse.md + - docs/models/operations/getlinkeduserrequest.md + - docs/models/operations/getlinkeduserresponse.md + - docs/models/operations/linkeduserfromremoteidrequest.md + - docs/models/operations/linkeduserfromremoteidresponse.md + - docs/models/operations/getorganisationsresponse.md + - docs/models/operations/createorganisationresponse.md + - docs/models/operations/getprojectsresponse.md + - docs/models/operations/createprojectresponse.md + - docs/models/operations/getfieldmappingsentitiesresponse.md + - docs/models/operations/getfieldmappingsresponse.md + - docs/models/operations/getfieldmappingvaluesresponse.md + - docs/models/operations/definetargetfieldresponse.md + - docs/models/operations/createcustomfieldresponse.md + - docs/models/operations/mapfieldresponse.md + - docs/models/operations/getcustomproviderpropertiesrequest.md + - docs/models/operations/getcustomproviderpropertiesresponse.md + - docs/models/operations/getpanoracoreeventsrequest.md + - docs/models/operations/getpanoracoreeventsresponse.md + - docs/models/operations/geteventscountresponse.md + - docs/models/operations/createmagiclinkresponse.md + - docs/models/operations/getmagiclinksresponse.md + - docs/models/operations/getmagiclinkrequest.md + - docs/models/operations/getmagiclinkresponse.md + - docs/models/operations/passthroughrequestrequest.md + - docs/models/operations/passthroughrequestresponse.md + - docs/models/operations/createconnectionstrategyresponse.md + - docs/models/operations/toggleconnectionstrategyresponse.md + - docs/models/operations/deleteconnectionstrategyresponse.md + - docs/models/operations/updateconnectionstrategyresponse.md + - docs/models/operations/getconnectionstrategycredentialsresponse.md + - docs/models/operations/getcredentialsrequest.md + - docs/models/operations/getcredentialsresponse.md + - docs/models/operations/getconnectionstrategiesforprojectresponse.md + - docs/models/operations/getsyncstatusrequest.md + - docs/models/operations/getsyncstatusresponse.md + - docs/models/operations/resyncrequest.md + - docs/models/operations/resyncresponse.md + - docs/models/operations/updateconnectorstoprojectresponse.md + - docs/models/operations/getconnectorsfromprojectrequest.md + - docs/models/operations/getconnectorsfromprojectresponse.md + - docs/models/operations/getbankinfosrequest.md + - docs/models/operations/getbankinfosresponsebody.md + - docs/models/operations/getbankinfosresponse.md + - docs/models/operations/addbankinforequest.md + - docs/models/operations/addbankinforesponsebody.md + - docs/models/operations/addbankinforesponse.md + - docs/models/operations/getbankinforequest.md + - docs/models/operations/getbankinforesponsebody.md + - docs/models/operations/getbankinforesponse.md + - docs/models/operations/addbankinfosrequest.md + - docs/models/operations/addbankinfosresponsebody.md + - docs/models/operations/addbankinfosresponse.md + - docs/models/operations/getbenefitsrequest.md + - docs/models/operations/getbenefitsresponsebody.md + - docs/models/operations/getbenefitsresponse.md + - docs/models/operations/addbenefitrequest.md + - docs/models/operations/addbenefitresponsebody.md + - docs/models/operations/addbenefitresponse.md + - docs/models/operations/getbenefitrequest.md + - docs/models/operations/getbenefitresponsebody.md + - docs/models/operations/getbenefitresponse.md + - docs/models/operations/addbenefitsrequest.md + - docs/models/operations/addbenefitsresponsebody.md + - docs/models/operations/addbenefitsresponse.md + - docs/models/operations/getcompanysrequest.md + - docs/models/operations/getcompanysresponsebody.md + - docs/models/operations/getcompanysresponse.md + - docs/models/operations/addhriscompanyrequest.md + - docs/models/operations/addhriscompanyresponsebody.md + - docs/models/operations/addhriscompanyresponse.md + - docs/models/operations/gethriscompanyrequest.md + - docs/models/operations/gethriscompanyresponsebody.md + - docs/models/operations/gethriscompanyresponse.md + - docs/models/operations/addcompanysrequest.md + - docs/models/operations/addcompanysresponsebody.md + - docs/models/operations/addcompanysresponse.md + - docs/models/operations/getdependentsrequest.md + - docs/models/operations/getdependentsresponsebody.md + - docs/models/operations/getdependentsresponse.md + - docs/models/operations/adddependentrequest.md + - docs/models/operations/adddependentresponsebody.md + - docs/models/operations/adddependentresponse.md + - docs/models/operations/getdependentrequest.md + - docs/models/operations/getdependentresponsebody.md + - docs/models/operations/getdependentresponse.md + - docs/models/operations/adddependentsrequest.md + - docs/models/operations/adddependentsresponsebody.md + - docs/models/operations/adddependentsresponse.md + - docs/models/operations/getemployeepayrollrunsrequest.md + - docs/models/operations/getemployeepayrollrunsresponsebody.md + - docs/models/operations/getemployeepayrollrunsresponse.md + - docs/models/operations/addemployeepayrollrunrequest.md + - docs/models/operations/addemployeepayrollrunresponsebody.md + - docs/models/operations/addemployeepayrollrunresponse.md + - docs/models/operations/getemployeepayrollrunrequest.md + - docs/models/operations/getemployeepayrollrunresponsebody.md + - docs/models/operations/getemployeepayrollrunresponse.md + - docs/models/operations/addemployeepayrollrunsrequest.md + - docs/models/operations/addemployeepayrollrunsresponsebody.md + - docs/models/operations/addemployeepayrollrunsresponse.md + - docs/models/operations/getemployeesrequest.md + - docs/models/operations/getemployeesresponsebody.md + - docs/models/operations/getemployeesresponse.md + - docs/models/operations/addemployeerequest.md + - docs/models/operations/addemployeeresponsebody.md + - docs/models/operations/addemployeeresponse.md + - docs/models/operations/getemployeerequest.md + - docs/models/operations/getemployeeresponsebody.md + - docs/models/operations/getemployeeresponse.md + - docs/models/operations/addemployeesrequest.md + - docs/models/operations/addemployeesresponsebody.md + - docs/models/operations/addemployeesresponse.md + - docs/models/operations/getemployerbenefitsrequest.md + - docs/models/operations/getemployerbenefitsresponsebody.md + - docs/models/operations/getemployerbenefitsresponse.md + - docs/models/operations/addemployerbenefitrequest.md + - docs/models/operations/addemployerbenefitresponsebody.md + - docs/models/operations/addemployerbenefitresponse.md + - docs/models/operations/getemployerbenefitrequest.md + - docs/models/operations/getemployerbenefitresponsebody.md + - docs/models/operations/getemployerbenefitresponse.md + - docs/models/operations/addemployerbenefitsrequest.md + - docs/models/operations/addemployerbenefitsresponsebody.md + - docs/models/operations/addemployerbenefitsresponse.md + - docs/models/operations/getemploymentsrequest.md + - docs/models/operations/getemploymentsresponsebody.md + - docs/models/operations/getemploymentsresponse.md + - docs/models/operations/addemploymentrequest.md + - docs/models/operations/addemploymentresponsebody.md + - docs/models/operations/addemploymentresponse.md + - docs/models/operations/getemploymentrequest.md + - docs/models/operations/getemploymentresponsebody.md + - docs/models/operations/getemploymentresponse.md + - docs/models/operations/addemploymentsrequest.md + - docs/models/operations/addemploymentsresponsebody.md + - docs/models/operations/addemploymentsresponse.md + - docs/models/operations/getgroupsrequest.md + - docs/models/operations/getgroupsresponsebody.md + - docs/models/operations/getgroupsresponse.md + - docs/models/operations/addgrouprequest.md + - docs/models/operations/addgroupresponsebody.md + - docs/models/operations/addgroupresponse.md + - docs/models/operations/getgrouprequest.md + - docs/models/operations/getgroupresponsebody.md + - docs/models/operations/getgroupresponse.md + - docs/models/operations/addgroupsrequest.md + - docs/models/operations/addgroupsresponsebody.md + - docs/models/operations/addgroupsresponse.md + - docs/models/operations/getlocationsrequest.md + - docs/models/operations/getlocationsresponsebody.md + - docs/models/operations/getlocationsresponse.md + - docs/models/operations/addlocationrequest.md + - docs/models/operations/addlocationresponsebody.md + - docs/models/operations/addlocationresponse.md + - docs/models/operations/getlocationrequest.md + - docs/models/operations/getlocationresponsebody.md + - docs/models/operations/getlocationresponse.md + - docs/models/operations/addlocationsrequest.md + - docs/models/operations/addlocationsresponsebody.md + - docs/models/operations/addlocationsresponse.md + - docs/models/operations/getpaygroupsrequest.md + - docs/models/operations/getpaygroupsresponsebody.md + - docs/models/operations/getpaygroupsresponse.md + - docs/models/operations/addpaygrouprequest.md + - docs/models/operations/addpaygroupresponsebody.md + - docs/models/operations/addpaygroupresponse.md + - docs/models/operations/getpaygrouprequest.md + - docs/models/operations/getpaygroupresponsebody.md + - docs/models/operations/getpaygroupresponse.md + - docs/models/operations/addpaygroupsrequest.md + - docs/models/operations/addpaygroupsresponsebody.md + - docs/models/operations/addpaygroupsresponse.md + - docs/models/operations/getpayrollrunsrequest.md + - docs/models/operations/getpayrollrunsresponsebody.md + - docs/models/operations/getpayrollrunsresponse.md + - docs/models/operations/addpayrollrunrequest.md + - docs/models/operations/addpayrollrunresponsebody.md + - docs/models/operations/addpayrollrunresponse.md + - docs/models/operations/getpayrollrunrequest.md + - docs/models/operations/getpayrollrunresponsebody.md + - docs/models/operations/getpayrollrunresponse.md + - docs/models/operations/addpayrollrunsrequest.md + - docs/models/operations/addpayrollrunsresponsebody.md + - docs/models/operations/addpayrollrunsresponse.md + - docs/models/operations/gettimeoffsrequest.md + - docs/models/operations/gettimeoffsresponsebody.md + - docs/models/operations/gettimeoffsresponse.md + - docs/models/operations/addtimeoffrequest.md + - docs/models/operations/addtimeoffresponsebody.md + - docs/models/operations/addtimeoffresponse.md + - docs/models/operations/gettimeoffrequest.md + - docs/models/operations/gettimeoffresponsebody.md + - docs/models/operations/gettimeoffresponse.md + - docs/models/operations/addtimeoffsrequest.md + - docs/models/operations/addtimeoffsresponsebody.md + - docs/models/operations/addtimeoffsresponse.md + - docs/models/operations/gettimeoffbalancesrequest.md + - docs/models/operations/gettimeoffbalancesresponsebody.md + - docs/models/operations/gettimeoffbalancesresponse.md + - docs/models/operations/addtimeoffbalancerequest.md + - docs/models/operations/addtimeoffbalanceresponsebody.md + - docs/models/operations/addtimeoffbalanceresponse.md + - docs/models/operations/gettimeoffbalancerequest.md + - docs/models/operations/gettimeoffbalanceresponsebody.md + - docs/models/operations/gettimeoffbalanceresponse.md + - docs/models/operations/addtimeoffbalancesrequest.md + - docs/models/operations/addtimeoffbalancesresponsebody.md + - docs/models/operations/addtimeoffbalancesresponse.md + - docs/models/operations/getactionsrequest.md + - docs/models/operations/getactionsresponsebody.md + - docs/models/operations/getactionsresponse.md + - docs/models/operations/addactionrequest.md + - docs/models/operations/addactionresponsebody.md + - docs/models/operations/addactionresponse.md + - docs/models/operations/getactionrequest.md + - docs/models/operations/getactionresponsebody.md + - docs/models/operations/getactionresponse.md + - docs/models/operations/addactionsrequest.md + - docs/models/operations/addactionsresponsebody.md + - docs/models/operations/addactionsresponse.md + - docs/models/operations/getautomationsrequest.md + - docs/models/operations/getautomationsresponsebody.md + - docs/models/operations/getautomationsresponse.md + - docs/models/operations/addautomationrequest.md + - docs/models/operations/addautomationresponsebody.md + - docs/models/operations/addautomationresponse.md + - docs/models/operations/getautomationrequest.md + - docs/models/operations/getautomationresponsebody.md + - docs/models/operations/getautomationresponse.md + - docs/models/operations/addautomationsrequest.md + - docs/models/operations/addautomationsresponsebody.md + - docs/models/operations/addautomationsresponse.md + - docs/models/operations/getcampaignsrequest.md + - docs/models/operations/getcampaignsresponsebody.md + - docs/models/operations/getcampaignsresponse.md + - docs/models/operations/addcampaignrequest.md + - docs/models/operations/addcampaignresponsebody.md + - docs/models/operations/addcampaignresponse.md + - docs/models/operations/getcampaignrequest.md + - docs/models/operations/getcampaignresponsebody.md + - docs/models/operations/getcampaignresponse.md + - docs/models/operations/addcampaignsrequest.md + - docs/models/operations/addcampaignsresponsebody.md + - docs/models/operations/addcampaignsresponse.md + - docs/models/operations/getmarketingautomationcontactsrequest.md + - docs/models/operations/getmarketingautomationcontactsresponsebody.md + - docs/models/operations/getmarketingautomationcontactsresponse.md + - docs/models/operations/addmarketingautomationcontactrequest.md + - docs/models/operations/addmarketingautomationcontactresponsebody.md + - docs/models/operations/addmarketingautomationcontactresponse.md + - docs/models/operations/getmarketingautomationcontactrequest.md + - docs/models/operations/getmarketingautomationcontactresponsebody.md + - docs/models/operations/getmarketingautomationcontactresponse.md + - docs/models/operations/addmarketingautomationcontactsrequest.md + - docs/models/operations/addmarketingautomationcontactsresponsebody.md + - docs/models/operations/addmarketingautomationcontactsresponse.md + - docs/models/operations/getemailsrequest.md + - docs/models/operations/getemailsresponsebody.md + - docs/models/operations/getemailsresponse.md + - docs/models/operations/addemailrequest.md + - docs/models/operations/addemailresponsebody.md + - docs/models/operations/addemailresponse.md + - docs/models/operations/getemailrequest.md + - docs/models/operations/getemailresponsebody.md + - docs/models/operations/getemailresponse.md + - docs/models/operations/addemailsrequest.md + - docs/models/operations/addemailsresponsebody.md + - docs/models/operations/addemailsresponse.md + - docs/models/operations/getmarketingautomationeventsrequest.md + - docs/models/operations/getmarketingautomationeventsresponsebody.md + - docs/models/operations/getmarketingautomationeventsresponse.md + - docs/models/operations/addeventrequest.md + - docs/models/operations/addeventresponsebody.md + - docs/models/operations/addeventresponse.md + - docs/models/operations/geteventrequest.md + - docs/models/operations/geteventresponsebody.md + - docs/models/operations/geteventresponse.md + - docs/models/operations/addeventsrequest.md + - docs/models/operations/addeventsresponsebody.md + - docs/models/operations/addeventsresponse.md + - docs/models/operations/getlistsrequest.md + - docs/models/operations/getlistsresponsebody.md + - docs/models/operations/getlistsresponse.md + - docs/models/operations/addlistrequest.md + - docs/models/operations/addlistresponsebody.md + - docs/models/operations/addlistresponse.md + - docs/models/operations/getlistrequest.md + - docs/models/operations/getlistresponsebody.md + - docs/models/operations/getlistresponse.md + - docs/models/operations/addlistsrequest.md + - docs/models/operations/addlistsresponsebody.md + - docs/models/operations/addlistsresponse.md + - docs/models/operations/getmessagesrequest.md + - docs/models/operations/getmessagesresponsebody.md + - docs/models/operations/getmessagesresponse.md + - docs/models/operations/addmessagerequest.md + - docs/models/operations/addmessageresponsebody.md + - docs/models/operations/addmessageresponse.md + - docs/models/operations/getmessagerequest.md + - docs/models/operations/getmessageresponsebody.md + - docs/models/operations/getmessageresponse.md + - docs/models/operations/addmessagesrequest.md + - docs/models/operations/addmessagesresponsebody.md + - docs/models/operations/addmessagesresponse.md + - docs/models/operations/gettemplatesrequest.md + - docs/models/operations/gettemplatesresponsebody.md + - docs/models/operations/gettemplatesresponse.md + - docs/models/operations/addtemplaterequest.md + - docs/models/operations/addtemplateresponsebody.md + - docs/models/operations/addtemplateresponse.md + - docs/models/operations/gettemplaterequest.md + - docs/models/operations/gettemplateresponsebody.md + - docs/models/operations/gettemplateresponse.md + - docs/models/operations/addtemplatesrequest.md + - docs/models/operations/addtemplatesresponsebody.md + - docs/models/operations/addtemplatesresponse.md + - docs/models/operations/getmarketingautomationusersrequest.md + - docs/models/operations/getmarketingautomationusersresponsebody.md + - docs/models/operations/getmarketingautomationusersresponse.md + - docs/models/operations/addmarketingautomationuserrequest.md + - docs/models/operations/addmarketingautomationuserresponsebody.md + - docs/models/operations/addmarketingautomationuserresponse.md + - docs/models/operations/getmarketingautomationuserrequest.md + - docs/models/operations/getmarketingautomationuserresponsebody.md + - docs/models/operations/getmarketingautomationuserresponse.md + - docs/models/operations/addmarketingautomationusersrequest.md + - docs/models/operations/addmarketingautomationusersresponsebody.md + - docs/models/operations/addmarketingautomationusersresponse.md + - docs/models/operations/getactivitysrequest.md + - docs/models/operations/getactivitysresponsebody.md + - docs/models/operations/getactivitysresponse.md + - docs/models/operations/addactivityrequest.md + - docs/models/operations/addactivityresponsebody.md + - docs/models/operations/addactivityresponse.md + - docs/models/operations/getactivityrequest.md + - docs/models/operations/getactivityresponsebody.md + - docs/models/operations/getactivityresponse.md + - docs/models/operations/addactivitysrequest.md + - docs/models/operations/addactivitysresponsebody.md + - docs/models/operations/addactivitysresponse.md + - docs/models/operations/getapplicationsrequest.md + - docs/models/operations/getapplicationsresponsebody.md + - docs/models/operations/getapplicationsresponse.md + - docs/models/operations/addapplicationrequest.md + - docs/models/operations/addapplicationresponsebody.md + - docs/models/operations/addapplicationresponse.md + - docs/models/operations/getapplicationrequest.md + - docs/models/operations/getapplicationresponsebody.md + - docs/models/operations/getapplicationresponse.md + - docs/models/operations/addapplicationsrequest.md + - docs/models/operations/addapplicationsresponsebody.md + - docs/models/operations/addapplicationsresponse.md + - docs/models/operations/getatsattachmentsrequest.md + - docs/models/operations/getatsattachmentsresponsebody.md + - docs/models/operations/getatsattachmentsresponse.md + - docs/models/operations/addatsattachmentrequest.md + - docs/models/operations/addatsattachmentresponsebody.md + - docs/models/operations/addatsattachmentresponse.md + - docs/models/operations/getatsattachmentrequest.md + - docs/models/operations/getatsattachmentresponsebody.md + - docs/models/operations/getatsattachmentresponse.md + - docs/models/operations/addatsattachmentsrequest.md + - docs/models/operations/addatsattachmentsresponsebody.md + - docs/models/operations/addatsattachmentsresponse.md + - docs/models/operations/getcandidatesrequest.md + - docs/models/operations/getcandidatesresponsebody.md + - docs/models/operations/getcandidatesresponse.md + - docs/models/operations/addcandidaterequest.md + - docs/models/operations/addcandidateresponsebody.md + - docs/models/operations/addcandidateresponse.md + - docs/models/operations/getcandidaterequest.md + - docs/models/operations/getcandidateresponsebody.md + - docs/models/operations/getcandidateresponse.md + - docs/models/operations/addcandidatesrequest.md + - docs/models/operations/addcandidatesresponsebody.md + - docs/models/operations/addcandidatesresponse.md + - docs/models/operations/getdepartmentsrequest.md + - docs/models/operations/getdepartmentsresponsebody.md + - docs/models/operations/getdepartmentsresponse.md + - docs/models/operations/adddepartmentrequest.md + - docs/models/operations/adddepartmentresponsebody.md + - docs/models/operations/adddepartmentresponse.md + - docs/models/operations/getdepartmentrequest.md + - docs/models/operations/getdepartmentresponsebody.md + - docs/models/operations/getdepartmentresponse.md + - docs/models/operations/adddepartmentsrequest.md + - docs/models/operations/adddepartmentsresponsebody.md + - docs/models/operations/adddepartmentsresponse.md + - docs/models/operations/getinterviewsrequest.md + - docs/models/operations/getinterviewsresponsebody.md + - docs/models/operations/getinterviewsresponse.md + - docs/models/operations/addinterviewrequest.md + - docs/models/operations/addinterviewresponsebody.md + - docs/models/operations/addinterviewresponse.md + - docs/models/operations/getinterviewrequest.md + - docs/models/operations/getinterviewresponsebody.md + - docs/models/operations/getinterviewresponse.md + - docs/models/operations/addinterviewsrequest.md + - docs/models/operations/addinterviewsresponsebody.md + - docs/models/operations/addinterviewsresponse.md + - docs/models/operations/getjobinterviewstagesrequest.md + - docs/models/operations/getjobinterviewstagesresponsebody.md + - docs/models/operations/getjobinterviewstagesresponse.md + - docs/models/operations/addjobinterviewstagerequest.md + - docs/models/operations/addjobinterviewstageresponsebody.md + - docs/models/operations/addjobinterviewstageresponse.md + - docs/models/operations/getjobinterviewstagerequest.md + - docs/models/operations/getjobinterviewstageresponsebody.md + - docs/models/operations/getjobinterviewstageresponse.md + - docs/models/operations/addjobinterviewstagesrequest.md + - docs/models/operations/addjobinterviewstagesresponsebody.md + - docs/models/operations/addjobinterviewstagesresponse.md + - docs/models/operations/getjobsrequest.md + - docs/models/operations/getjobsresponsebody.md + - docs/models/operations/getjobsresponse.md + - docs/models/operations/addjobrequest.md + - docs/models/operations/addjobresponsebody.md + - docs/models/operations/addjobresponse.md + - docs/models/operations/getjobrequest.md + - docs/models/operations/getjobresponsebody.md + - docs/models/operations/getjobresponse.md + - docs/models/operations/addjobsrequest.md + - docs/models/operations/addjobsresponsebody.md + - docs/models/operations/addjobsresponse.md + - docs/models/operations/getoffersrequest.md + - docs/models/operations/getoffersresponsebody.md + - docs/models/operations/getoffersresponse.md + - docs/models/operations/addofferrequest.md + - docs/models/operations/addofferresponsebody.md + - docs/models/operations/addofferresponse.md + - docs/models/operations/getofferrequest.md + - docs/models/operations/getofferresponsebody.md + - docs/models/operations/getofferresponse.md + - docs/models/operations/addoffersrequest.md + - docs/models/operations/addoffersresponsebody.md + - docs/models/operations/addoffersresponse.md + - docs/models/operations/getofficesrequest.md + - docs/models/operations/getofficesresponsebody.md + - docs/models/operations/getofficesresponse.md + - docs/models/operations/addofficerequest.md + - docs/models/operations/addofficeresponsebody.md + - docs/models/operations/addofficeresponse.md + - docs/models/operations/getofficerequest.md + - docs/models/operations/getofficeresponsebody.md + - docs/models/operations/getofficeresponse.md + - docs/models/operations/addofficesrequest.md + - docs/models/operations/addofficesresponsebody.md + - docs/models/operations/addofficesresponse.md + - docs/models/operations/getrejectreasonsrequest.md + - docs/models/operations/getrejectreasonsresponsebody.md + - docs/models/operations/getrejectreasonsresponse.md + - docs/models/operations/addrejectreasonrequest.md + - docs/models/operations/addrejectreasonresponsebody.md + - docs/models/operations/addrejectreasonresponse.md + - docs/models/operations/getrejectreasonrequest.md + - docs/models/operations/getrejectreasonresponsebody.md + - docs/models/operations/getrejectreasonresponse.md + - docs/models/operations/addrejectreasonsrequest.md + - docs/models/operations/addrejectreasonsresponsebody.md + - docs/models/operations/addrejectreasonsresponse.md + - docs/models/operations/getscorecardsrequest.md + - docs/models/operations/getscorecardsresponsebody.md + - docs/models/operations/getscorecardsresponse.md + - docs/models/operations/addscorecardrequest.md + - docs/models/operations/addscorecardresponsebody.md + - docs/models/operations/addscorecardresponse.md + - docs/models/operations/getscorecardrequest.md + - docs/models/operations/getscorecardresponsebody.md + - docs/models/operations/getscorecardresponse.md + - docs/models/operations/addscorecardsrequest.md + - docs/models/operations/addscorecardsresponsebody.md + - docs/models/operations/addscorecardsresponse.md + - docs/models/operations/getscreeningquestionsrequest.md + - docs/models/operations/getscreeningquestionsresponsebody.md + - docs/models/operations/getscreeningquestionsresponse.md + - docs/models/operations/addscreeningquestionrequest.md + - docs/models/operations/addscreeningquestionresponsebody.md + - docs/models/operations/addscreeningquestionresponse.md + - docs/models/operations/getscreeningquestionrequest.md + - docs/models/operations/getscreeningquestionresponsebody.md + - docs/models/operations/getscreeningquestionresponse.md + - docs/models/operations/addscreeningquestionsrequest.md + - docs/models/operations/addscreeningquestionsresponsebody.md + - docs/models/operations/addscreeningquestionsresponse.md + - docs/models/operations/getatstagsrequest.md + - docs/models/operations/getatstagsresponsebody.md + - docs/models/operations/getatstagsresponse.md + - docs/models/operations/addtagrequest.md + - docs/models/operations/addtagresponsebody.md + - docs/models/operations/addtagresponse.md + - docs/models/operations/getatstagrequest.md + - docs/models/operations/getatstagresponsebody.md + - docs/models/operations/getatstagresponse.md + - docs/models/operations/addtagsrequest.md + - docs/models/operations/addtagsresponsebody.md + - docs/models/operations/addtagsresponse.md + - docs/models/operations/getatsusersrequest.md + - docs/models/operations/getatsusersresponsebody.md + - docs/models/operations/getatsusersresponse.md + - docs/models/operations/addatsuserrequest.md + - docs/models/operations/addatsuserresponsebody.md + - docs/models/operations/addatsuserresponse.md + - docs/models/operations/getatsuserrequest.md + - docs/models/operations/getatsuserresponsebody.md + - docs/models/operations/getatsuserresponse.md + - docs/models/operations/addatsusersrequest.md + - docs/models/operations/addatsusersresponsebody.md + - docs/models/operations/addatsusersresponse.md + - docs/models/operations/geteeocssrequest.md + - docs/models/operations/geteeocssresponsebody.md + - docs/models/operations/geteeocssresponse.md + - docs/models/operations/addeeocsrequest.md + - docs/models/operations/addeeocsresponsebody.md + - docs/models/operations/addeeocsresponse.md + - docs/models/operations/geteeocsrequest.md + - docs/models/operations/geteeocsresponsebody.md + - docs/models/operations/geteeocsresponse.md + - docs/models/operations/addeeocssrequest.md + - docs/models/operations/addeeocssresponsebody.md + - docs/models/operations/addeeocssresponse.md + - docs/models/operations/getaccountingaccountsrequest.md + - docs/models/operations/getaccountingaccountsresponsebody.md + - docs/models/operations/getaccountingaccountsresponse.md + - docs/models/operations/addaccountrequest.md + - docs/models/operations/addaccountresponsebody.md + - docs/models/operations/addaccountresponse.md + - docs/models/operations/getaccountingaccountrequest.md + - docs/models/operations/getaccountingaccountresponsebody.md + - docs/models/operations/getaccountingaccountresponse.md + - docs/models/operations/addaccountsrequest.md + - docs/models/operations/addaccountsresponsebody.md + - docs/models/operations/addaccountsresponse.md + - docs/models/operations/getaddresssrequest.md + - docs/models/operations/getaddresssresponsebody.md + - docs/models/operations/getaddresssresponse.md + - docs/models/operations/addaddressrequest.md + - docs/models/operations/addaddressresponsebody.md + - docs/models/operations/addaddressresponse.md + - docs/models/operations/getaddressrequest.md + - docs/models/operations/getaddressresponsebody.md + - docs/models/operations/getaddressresponse.md + - docs/models/operations/addaddresssrequest.md + - docs/models/operations/addaddresssresponsebody.md + - docs/models/operations/addaddresssresponse.md + - docs/models/operations/getaccountingattachmentsrequest.md + - docs/models/operations/getaccountingattachmentsresponsebody.md + - docs/models/operations/getaccountingattachmentsresponse.md + - docs/models/operations/addaccountingattachmentrequest.md + - docs/models/operations/addaccountingattachmentresponsebody.md + - docs/models/operations/addaccountingattachmentresponse.md + - docs/models/operations/getaccountingattachmentrequest.md + - docs/models/operations/getaccountingattachmentresponsebody.md + - docs/models/operations/getaccountingattachmentresponse.md + - docs/models/operations/addaccountingattachmentsrequest.md + - docs/models/operations/addaccountingattachmentsresponsebody.md + - docs/models/operations/addaccountingattachmentsresponse.md + - docs/models/operations/getbalancesheetsrequest.md + - docs/models/operations/getbalancesheetsresponsebody.md + - docs/models/operations/getbalancesheetsresponse.md + - docs/models/operations/addbalancesheetrequest.md + - docs/models/operations/addbalancesheetresponsebody.md + - docs/models/operations/addbalancesheetresponse.md + - docs/models/operations/getbalancesheetrequest.md + - docs/models/operations/getbalancesheetresponsebody.md + - docs/models/operations/getbalancesheetresponse.md + - docs/models/operations/addbalancesheetsrequest.md + - docs/models/operations/addbalancesheetsresponsebody.md + - docs/models/operations/addbalancesheetsresponse.md + - docs/models/operations/getcashflowstatementsrequest.md + - docs/models/operations/getcashflowstatementsresponsebody.md + - docs/models/operations/getcashflowstatementsresponse.md + - docs/models/operations/addcashflowstatementrequest.md + - docs/models/operations/addcashflowstatementresponsebody.md + - docs/models/operations/addcashflowstatementresponse.md + - docs/models/operations/getcashflowstatementrequest.md + - docs/models/operations/getcashflowstatementresponsebody.md + - docs/models/operations/getcashflowstatementresponse.md + - docs/models/operations/addcashflowstatementsrequest.md + - docs/models/operations/addcashflowstatementsresponsebody.md + - docs/models/operations/addcashflowstatementsresponse.md + - docs/models/operations/getcompanyinfosrequest.md + - docs/models/operations/getcompanyinfosresponsebody.md + - docs/models/operations/getcompanyinfosresponse.md + - docs/models/operations/addcompanyinforequest.md + - docs/models/operations/addcompanyinforesponsebody.md + - docs/models/operations/addcompanyinforesponse.md + - docs/models/operations/getcompanyinforequest.md + - docs/models/operations/getcompanyinforesponsebody.md + - docs/models/operations/getcompanyinforesponse.md + - docs/models/operations/addcompanyinfosrequest.md + - docs/models/operations/addcompanyinfosresponsebody.md + - docs/models/operations/addcompanyinfosresponse.md + - docs/models/operations/getaccountingcontactsrequest.md + - docs/models/operations/getaccountingcontactsresponsebody.md + - docs/models/operations/getaccountingcontactsresponse.md + - docs/models/operations/addaccountingcontactrequest.md + - docs/models/operations/addaccountingcontactresponsebody.md + - docs/models/operations/addaccountingcontactresponse.md + - docs/models/operations/getaccountingcontactrequest.md + - docs/models/operations/getaccountingcontactresponsebody.md + - docs/models/operations/getaccountingcontactresponse.md + - docs/models/operations/addaccountingcontactsrequest.md + - docs/models/operations/addaccountingcontactsresponsebody.md + - docs/models/operations/addaccountingcontactsresponse.md + - docs/models/operations/getcreditnotesrequest.md + - docs/models/operations/getcreditnotesresponsebody.md + - docs/models/operations/getcreditnotesresponse.md + - docs/models/operations/addcreditnoterequest.md + - docs/models/operations/addcreditnoteresponsebody.md + - docs/models/operations/addcreditnoteresponse.md + - docs/models/operations/getcreditnoterequest.md + - docs/models/operations/getcreditnoteresponsebody.md + - docs/models/operations/getcreditnoteresponse.md + - docs/models/operations/addcreditnotesrequest.md + - docs/models/operations/addcreditnotesresponsebody.md + - docs/models/operations/addcreditnotesresponse.md + - docs/models/operations/getexpensesrequest.md + - docs/models/operations/getexpensesresponsebody.md + - docs/models/operations/getexpensesresponse.md + - docs/models/operations/addexpenserequest.md + - docs/models/operations/addexpenseresponsebody.md + - docs/models/operations/addexpenseresponse.md + - docs/models/operations/getexpenserequest.md + - docs/models/operations/getexpenseresponsebody.md + - docs/models/operations/getexpenseresponse.md + - docs/models/operations/addexpensesrequest.md + - docs/models/operations/addexpensesresponsebody.md + - docs/models/operations/addexpensesresponse.md + - docs/models/operations/getincomestatementsrequest.md + - docs/models/operations/getincomestatementsresponsebody.md + - docs/models/operations/getincomestatementsresponse.md + - docs/models/operations/addincomestatementrequest.md + - docs/models/operations/addincomestatementresponsebody.md + - docs/models/operations/addincomestatementresponse.md + - docs/models/operations/getincomestatementrequest.md + - docs/models/operations/getincomestatementresponsebody.md + - docs/models/operations/getincomestatementresponse.md + - docs/models/operations/addincomestatementsrequest.md + - docs/models/operations/addincomestatementsresponsebody.md + - docs/models/operations/addincomestatementsresponse.md + - docs/models/operations/getinvoicesrequest.md + - docs/models/operations/getinvoicesresponsebody.md + - docs/models/operations/getinvoicesresponse.md + - docs/models/operations/addinvoicerequest.md + - docs/models/operations/addinvoiceresponsebody.md + - docs/models/operations/addinvoiceresponse.md + - docs/models/operations/getinvoicerequest.md + - docs/models/operations/getinvoiceresponsebody.md + - docs/models/operations/getinvoiceresponse.md + - docs/models/operations/addinvoicesrequest.md + - docs/models/operations/addinvoicesresponsebody.md + - docs/models/operations/addinvoicesresponse.md + - docs/models/operations/getitemsrequest.md + - docs/models/operations/getitemsresponsebody.md + - docs/models/operations/getitemsresponse.md + - docs/models/operations/additemrequest.md + - docs/models/operations/additemresponsebody.md + - docs/models/operations/additemresponse.md + - docs/models/operations/getitemrequest.md + - docs/models/operations/getitemresponsebody.md + - docs/models/operations/getitemresponse.md + - docs/models/operations/additemsrequest.md + - docs/models/operations/additemsresponsebody.md + - docs/models/operations/additemsresponse.md + - docs/models/operations/getjournalentrysrequest.md + - docs/models/operations/getjournalentrysresponsebody.md + - docs/models/operations/getjournalentrysresponse.md + - docs/models/operations/addjournalentryrequest.md + - docs/models/operations/addjournalentryresponsebody.md + - docs/models/operations/addjournalentryresponse.md + - docs/models/operations/getjournalentryrequest.md + - docs/models/operations/getjournalentryresponsebody.md + - docs/models/operations/getjournalentryresponse.md + - docs/models/operations/addjournalentrysrequest.md + - docs/models/operations/addjournalentrysresponsebody.md + - docs/models/operations/addjournalentrysresponse.md + - docs/models/operations/getpaymentsrequest.md + - docs/models/operations/getpaymentsresponsebody.md + - docs/models/operations/getpaymentsresponse.md + - docs/models/operations/addpaymentrequest.md + - docs/models/operations/addpaymentresponsebody.md + - docs/models/operations/addpaymentresponse.md + - docs/models/operations/getpaymentrequest.md + - docs/models/operations/getpaymentresponsebody.md + - docs/models/operations/getpaymentresponse.md + - docs/models/operations/addpaymentsrequest.md + - docs/models/operations/addpaymentsresponsebody.md + - docs/models/operations/addpaymentsresponse.md + - docs/models/operations/getphonenumbersrequest.md + - docs/models/operations/getphonenumbersresponsebody.md + - docs/models/operations/getphonenumbersresponse.md + - docs/models/operations/addphonenumberrequest.md + - docs/models/operations/addphonenumberresponsebody.md + - docs/models/operations/addphonenumberresponse.md + - docs/models/operations/getphonenumberrequest.md + - docs/models/operations/getphonenumberresponsebody.md + - docs/models/operations/getphonenumberresponse.md + - docs/models/operations/addphonenumbersrequest.md + - docs/models/operations/addphonenumbersresponsebody.md + - docs/models/operations/addphonenumbersresponse.md + - docs/models/operations/getpurchaseordersrequest.md + - docs/models/operations/getpurchaseordersresponsebody.md + - docs/models/operations/getpurchaseordersresponse.md + - docs/models/operations/addpurchaseorderrequest.md + - docs/models/operations/addpurchaseorderresponsebody.md + - docs/models/operations/addpurchaseorderresponse.md + - docs/models/operations/getpurchaseorderrequest.md + - docs/models/operations/getpurchaseorderresponsebody.md + - docs/models/operations/getpurchaseorderresponse.md + - docs/models/operations/addpurchaseordersrequest.md + - docs/models/operations/addpurchaseordersresponsebody.md + - docs/models/operations/addpurchaseordersresponse.md + - docs/models/operations/gettaxratesrequest.md + - docs/models/operations/gettaxratesresponsebody.md + - docs/models/operations/gettaxratesresponse.md + - docs/models/operations/addtaxraterequest.md + - docs/models/operations/addtaxrateresponsebody.md + - docs/models/operations/addtaxrateresponse.md + - docs/models/operations/gettaxraterequest.md + - docs/models/operations/gettaxrateresponsebody.md + - docs/models/operations/gettaxrateresponse.md + - docs/models/operations/addtaxratesrequest.md + - docs/models/operations/addtaxratesresponsebody.md + - docs/models/operations/addtaxratesresponse.md + - docs/models/operations/gettrackingcategorysrequest.md + - docs/models/operations/gettrackingcategorysresponsebody.md + - docs/models/operations/gettrackingcategorysresponse.md + - docs/models/operations/addtrackingcategoryrequest.md + - docs/models/operations/addtrackingcategoryresponsebody.md + - docs/models/operations/addtrackingcategoryresponse.md + - docs/models/operations/gettrackingcategoryrequest.md + - docs/models/operations/gettrackingcategoryresponsebody.md + - docs/models/operations/gettrackingcategoryresponse.md + - docs/models/operations/addtrackingcategorysrequest.md + - docs/models/operations/addtrackingcategorysresponsebody.md + - docs/models/operations/addtrackingcategorysresponse.md + - docs/models/operations/gettransactionsrequest.md + - docs/models/operations/gettransactionsresponsebody.md + - docs/models/operations/gettransactionsresponse.md + - docs/models/operations/addtransactionrequest.md + - docs/models/operations/addtransactionresponsebody.md + - docs/models/operations/addtransactionresponse.md + - docs/models/operations/gettransactionrequest.md + - docs/models/operations/gettransactionresponsebody.md + - docs/models/operations/gettransactionresponse.md + - docs/models/operations/addtransactionsrequest.md + - docs/models/operations/addtransactionsresponsebody.md + - docs/models/operations/addtransactionsresponse.md + - docs/models/operations/getvendorcreditsrequest.md + - docs/models/operations/getvendorcreditsresponsebody.md + - docs/models/operations/getvendorcreditsresponse.md + - docs/models/operations/addvendorcreditrequest.md + - docs/models/operations/addvendorcreditresponsebody.md + - docs/models/operations/addvendorcreditresponse.md + - docs/models/operations/getvendorcreditrequest.md + - docs/models/operations/getvendorcreditresponsebody.md + - docs/models/operations/getvendorcreditresponse.md + - docs/models/operations/addvendorcreditsrequest.md + - docs/models/operations/addvendorcreditsresponsebody.md + - docs/models/operations/addvendorcreditsresponse.md + - docs/models/operations/getdrivesrequest.md + - docs/models/operations/getdrivesresponsebody.md + - docs/models/operations/getdrivesresponse.md + - docs/models/operations/adddriverequest.md + - docs/models/operations/adddriveresponsebody.md + - docs/models/operations/adddriveresponse.md + - docs/models/operations/getdriverequest.md + - docs/models/operations/getdriveresponsebody.md + - docs/models/operations/getdriveresponse.md + - docs/models/operations/adddrivesrequest.md + - docs/models/operations/adddrivesresponsebody.md + - docs/models/operations/adddrivesresponse.md + - docs/models/operations/getfilesrequest.md + - docs/models/operations/getfilesresponsebody.md + - docs/models/operations/getfilesresponse.md + - docs/models/operations/addfilerequest.md + - docs/models/operations/addfileresponsebody.md + - docs/models/operations/addfileresponse.md + - docs/models/operations/getfilerequest.md + - docs/models/operations/getfileresponsebody.md + - docs/models/operations/getfileresponse.md + - docs/models/operations/addfilesrequest.md + - docs/models/operations/addfilesresponsebody.md + - docs/models/operations/addfilesresponse.md + - docs/models/operations/getfoldersrequest.md + - docs/models/operations/getfoldersresponsebody.md + - docs/models/operations/getfoldersresponse.md + - docs/models/operations/addfolderrequest.md + - docs/models/operations/addfolderresponsebody.md + - docs/models/operations/addfolderresponse.md + - docs/models/operations/getfolderrequest.md + - docs/models/operations/getfolderresponsebody.md + - docs/models/operations/getfolderresponse.md + - docs/models/operations/addfoldersrequest.md + - docs/models/operations/addfoldersresponsebody.md + - docs/models/operations/addfoldersresponse.md + - docs/models/operations/getsharedlinksrequest.md + - docs/models/operations/getsharedlinksresponsebody.md + - docs/models/operations/getsharedlinksresponse.md + - docs/models/operations/addsharedlinkrequest.md + - docs/models/operations/addsharedlinkresponsebody.md + - docs/models/operations/addsharedlinkresponse.md + - docs/models/operations/getsharedlinkrequest.md + - docs/models/operations/getsharedlinkresponsebody.md + - docs/models/operations/getsharedlinkresponse.md + - docs/models/operations/addsharedlinksrequest.md + - docs/models/operations/addsharedlinksresponsebody.md + - docs/models/operations/addsharedlinksresponse.md + - docs/models/operations/getpermissionsrequest.md + - docs/models/operations/getpermissionsresponsebody.md + - docs/models/operations/getpermissionsresponse.md + - docs/models/operations/addpermissionrequest.md + - docs/models/operations/addpermissionresponsebody.md + - docs/models/operations/addpermissionresponse.md + - docs/models/operations/updatepermissionrequest.md + - docs/models/operations/updatepermissionresponsebody.md + - docs/models/operations/updatepermissionresponse.md + - docs/models/operations/getpermissionrequest.md + - docs/models/operations/getpermissionresponsebody.md + - docs/models/operations/getpermissionresponse.md + - docs/models/operations/addpermissionsrequest.md + - docs/models/operations/addpermissionsresponsebody.md + - docs/models/operations/addpermissionsresponse.md + - docs/models/operations/getticketingattachmentsrequest.md + - docs/models/operations/getticketingattachmentsresponsebody.md + - docs/models/operations/getticketingattachmentsresponse.md + - docs/models/operations/addticketingattachmentrequest.md + - docs/models/operations/addticketingattachmentresponsebody.md + - docs/models/operations/addticketingattachmentresponse.md + - docs/models/operations/getticketingattachmentrequest.md + - docs/models/operations/getticketingattachmentresponsebody.md + - docs/models/operations/getticketingattachmentresponse.md + - docs/models/operations/downloadattachmentrequest.md + - docs/models/operations/downloadattachmentresponsebody.md + - docs/models/operations/downloadattachmentresponse.md + - docs/models/operations/addticketingattachmentsrequest.md + - docs/models/operations/addticketingattachmentsresponsebody.md + - docs/models/operations/addticketingattachmentsresponse.md + - docs/models/components/httpmetadata.md + - docs/models/components/createuserdto.md + - docs/models/components/logindto.md + - docs/models/components/verifyuserdto.md + - docs/models/components/apikeydto.md + - docs/models/components/refreshdto.md + - docs/models/components/bodydatatype.md + - docs/models/components/webhookdto.md + - docs/models/components/signatureverificationdto.md + - docs/models/components/managedwebhooksdto.md + - docs/models/components/remotethirdpartycreationdto.md + - docs/models/components/fieldmappings.md + - docs/models/components/remotedata.md + - docs/models/components/unifiedticketoutput.md + - docs/models/components/unifiedcommentinput.md + - docs/models/components/unifiedticketinputfieldmappings.md + - docs/models/components/unifiedticketinput.md + - docs/models/components/unifieduseroutput.md + - docs/models/components/unifiedaccountoutput.md + - docs/models/components/unifiedcontactoutput.md + - docs/models/components/unifiedcompanyoutput.md + - docs/models/components/unifiedcompanyinput.md + - docs/models/components/unifiedcontactinput.md + - docs/models/components/unifieddealoutputfieldmappings.md + - docs/models/components/unifieddealoutputremotedata.md + - docs/models/components/unifieddealoutput.md + - docs/models/components/unifieddealinputfieldmappings.md + - docs/models/components/unifieddealinput.md + - docs/models/components/unifiedengagementoutputfieldmappings.md + - docs/models/components/unifiedengagementoutputremotedata.md + - docs/models/components/unifiedengagementoutput.md + - docs/models/components/unifiedengagementinputfieldmappings.md + - docs/models/components/unifiedengagementinput.md + - docs/models/components/unifiednoteoutputfieldmappings.md + - docs/models/components/unifiednoteoutputremotedata.md + - docs/models/components/unifiednoteoutput.md + - docs/models/components/unifiednoteinputfieldmappings.md + - docs/models/components/unifiednoteinput.md + - docs/models/components/unifiedstageoutputfieldmappings.md + - docs/models/components/unifiedstageoutputremotedata.md + - docs/models/components/unifiedstageoutput.md + - docs/models/components/unifiedtaskoutputfieldmappings.md + - docs/models/components/unifiedtaskoutputremotedata.md + - docs/models/components/unifiedtaskoutput.md + - docs/models/components/unifiedtaskinputfieldmappings.md + - docs/models/components/unifiedtaskinput.md + - docs/models/components/unifiedcollectionoutputremotedata.md + - docs/models/components/unifiedcollectionoutput.md + - docs/models/components/unifiedcommentoutputremotedata.md + - docs/models/components/unifiedcommentoutput.md + - docs/models/components/unifiedattachmentoutputfieldmappings.md + - docs/models/components/unifiedattachmentoutputremotedata.md + - docs/models/components/unifiedattachmentoutput.md + - docs/models/components/unifiedtagoutput.md + - docs/models/components/unifiedteamoutputfieldmappings.md + - docs/models/components/unifiedteamoutputremotedata.md + - docs/models/components/unifiedteamoutput.md + - docs/models/components/createlinkeduserdto.md + - docs/models/components/createbatchlinkeduserdto.md + - docs/models/components/createorganizationdto.md + - docs/models/components/createprojectdto.md + - docs/models/components/definetargetfielddto.md + - docs/models/components/customfieldcreatedto.md + - docs/models/components/mapfieldtoproviderdto.md + - docs/models/components/createmagiclinkdto.md + - docs/models/components/passthroughresponsedata.md + - docs/models/components/passthroughresponse.md + - docs/models/components/method.md + - docs/models/components/data.md + - docs/models/components/headers.md + - docs/models/components/passthroughrequestdto.md + - docs/models/components/createconnectionstrategydto.md + - docs/models/components/togglestrategydto.md + - docs/models/components/deletecsdto.md + - docs/models/components/updatecsdto.md + - docs/models/components/connectionstrategycredentials.md + - docs/models/components/projectconnectorsdto.md + - docs/models/components/unifiedbankinfooutput.md + - docs/models/components/unifiedbankinfoinput.md + - docs/models/components/unifiedbenefitoutput.md + - docs/models/components/unifiedbenefitinput.md + - docs/models/components/unifieddependentoutput.md + - docs/models/components/unifieddependentinput.md + - docs/models/components/unifiedemployeepayrollrunoutput.md + - docs/models/components/unifiedemployeepayrollruninput.md + - docs/models/components/unifiedemployeeoutput.md + - docs/models/components/unifiedemployeeinput.md + - docs/models/components/unifiedemployerbenefitoutput.md + - docs/models/components/unifiedemployerbenefitinput.md + - docs/models/components/unifiedemploymentoutput.md + - docs/models/components/unifiedemploymentinput.md + - docs/models/components/unifiedgroupoutput.md + - docs/models/components/unifiedgroupinput.md + - docs/models/components/unifiedlocationoutput.md + - docs/models/components/unifiedlocationinput.md + - docs/models/components/unifiedpaygroupoutput.md + - docs/models/components/unifiedpaygroupinput.md + - docs/models/components/unifiedpayrollrunoutput.md + - docs/models/components/unifiedpayrollruninput.md + - docs/models/components/unifiedtimeoffoutput.md + - docs/models/components/unifiedtimeoffinput.md + - docs/models/components/unifiedtimeoffbalanceoutput.md + - docs/models/components/unifiedtimeoffbalanceinput.md + - docs/models/components/unifiedactionoutput.md + - docs/models/components/unifiedactioninput.md + - docs/models/components/unifiedautomationoutput.md + - docs/models/components/unifiedautomationinput.md + - docs/models/components/unifiedcampaignoutput.md + - docs/models/components/unifiedcampaigninput.md + - docs/models/components/unifiedemailoutput.md + - docs/models/components/unifiedemailinput.md + - docs/models/components/unifiedeventoutput.md + - docs/models/components/unifiedeventinput.md + - docs/models/components/unifiedlistoutput.md + - docs/models/components/unifiedlistinput.md + - docs/models/components/unifiedmessageoutput.md + - docs/models/components/unifiedmessageinput.md + - docs/models/components/unifiedtemplateoutput.md + - docs/models/components/unifiedtemplateinput.md + - docs/models/components/unifieduserinput.md + - docs/models/components/unifiedactivityoutput.md + - docs/models/components/unifiedactivityinput.md + - docs/models/components/unifiedapplicationoutput.md + - docs/models/components/unifiedapplicationinput.md + - docs/models/components/unifiedattachmentinputfieldmappings.md + - docs/models/components/unifiedattachmentinput.md + - docs/models/components/unifiedcandidateoutput.md + - docs/models/components/unifiedcandidateinput.md + - docs/models/components/unifieddepartmentoutput.md + - docs/models/components/unifieddepartmentinput.md + - docs/models/components/unifiedinterviewoutput.md + - docs/models/components/unifiedinterviewinput.md + - docs/models/components/unifiedjobinterviewstageoutput.md + - docs/models/components/unifiedjobinterviewstageinput.md + - docs/models/components/unifiedjoboutput.md + - docs/models/components/unifiedjobinput.md + - docs/models/components/unifiedofferoutput.md + - docs/models/components/unifiedofferinput.md + - docs/models/components/unifiedofficeoutput.md + - docs/models/components/unifiedofficeinput.md + - docs/models/components/unifiedrejectreasonoutput.md + - docs/models/components/unifiedrejectreasoninput.md + - docs/models/components/unifiedscorecardoutput.md + - docs/models/components/unifiedscorecardinput.md + - docs/models/components/unifiedscreeningquestionoutput.md + - docs/models/components/unifiedscreeningquestioninput.md + - docs/models/components/unifiedtaginput.md + - docs/models/components/unifiedeeocsoutput.md + - docs/models/components/unifiedeeocsinput.md + - docs/models/components/unifiedaccountinput.md + - docs/models/components/unifiedaddressoutput.md + - docs/models/components/unifiedaddressinput.md + - docs/models/components/unifiedbalancesheetoutput.md + - docs/models/components/unifiedbalancesheetinput.md + - docs/models/components/unifiedcashflowstatementoutput.md + - docs/models/components/unifiedcashflowstatementinput.md + - docs/models/components/unifiedcompanyinfooutput.md + - docs/models/components/unifiedcompanyinfoinput.md + - docs/models/components/unifiedcreditnoteoutput.md + - docs/models/components/unifiedcreditnoteinput.md + - docs/models/components/unifiedexpenseoutput.md + - docs/models/components/unifiedexpenseinput.md + - docs/models/components/unifiedincomestatementoutput.md + - docs/models/components/unifiedincomestatementinput.md + - docs/models/components/unifiedinvoiceoutput.md + - docs/models/components/unifiedinvoiceinput.md + - docs/models/components/unifieditemoutput.md + - docs/models/components/unifiediteminput.md + - docs/models/components/unifiedjournalentryoutput.md + - docs/models/components/unifiedjournalentryinput.md + - docs/models/components/unifiedpaymentoutput.md + - docs/models/components/unifiedpaymentinput.md + - docs/models/components/unifiedphonenumberoutput.md + - docs/models/components/unifiedphonenumberinput.md + - docs/models/components/unifiedpurchaseorderoutput.md + - docs/models/components/unifiedpurchaseorderinput.md + - docs/models/components/unifiedtaxrateoutput.md + - docs/models/components/unifiedtaxrateinput.md + - docs/models/components/unifiedtrackingcategoryoutput.md + - docs/models/components/unifiedtrackingcategoryinput.md + - docs/models/components/unifiedtransactionoutput.md + - docs/models/components/unifiedtransactioninput.md + - docs/models/components/unifiedvendorcreditoutput.md + - docs/models/components/unifiedvendorcreditinput.md + - docs/models/components/unifieddriveoutput.md + - docs/models/components/unifieddriveinput.md + - docs/models/components/unifiedfileoutput.md + - docs/models/components/unifiedfileinput.md + - docs/models/components/unifiedfolderoutput.md + - docs/models/components/unifiedfolderinput.md + - docs/models/components/unifiedsharedlinkoutput.md + - docs/models/components/unifiedsharedlinkinput.md + - docs/models/components/unifiedpermissionoutput.md + - docs/models/components/unifiedpermissioninput.md + - docs/models/components/security.md + - USAGE.md + - .gitattributes + - src/hooks/hooks.ts + - src/hooks/types.ts + - src/hooks/index.ts diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml new file mode 100755 index 000000000..381cb7bb0 --- /dev/null +++ b/.speakeasy/gen.yaml @@ -0,0 +1,39 @@ +configVersion: 2.0.0 +generation: + sdkClassName: SDK + maintainOpenAPIOrder: true + usageSnippets: + optionalPropertyRendering: withExample + useClassNamesForArrayFields: true + fixes: + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true + auth: + oAuth2ClientCredentialsEnabled: false +typescript: + version: 0.0.1 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + author: Speakeasy + clientServerStatusCodesAsErrors: true + enumFormat: enum + flattenGlobalSecurity: true + imports: + option: openapi + paths: + callbacks: models/callbacks + errors: models/errors + operations: models/operations + shared: models/components + webhooks: models/webhooks + inputModelSuffix: input + maxMethodParams: 4 + methodArguments: require-security-and-request + outputModelSuffix: output + packageName: openapi + responseFormat: envelope-http + templateVersion: v2 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock new file mode 100644 index 000000000..4350d2730 --- /dev/null +++ b/.speakeasy/workflow.lock @@ -0,0 +1,29 @@ +speakeasyVersion: 1.308.2 +sources: + OpenAPI-Github-Main: + sourceNamespace: open-api-github-main + sourceRevisionDigest: sha256:b6e252e15daf5a04f42b2605f2655081c8ba3c8cc28ba5effc11b1a4f6dd4036 + sourceBlobDigest: sha256:b797a00de0abcc8d0c9f67e6a2672524e30e7b1eaa8b3ea791593a4a576449c6 + tags: + - latest + - main +targets: + my-first-target: + source: OpenAPI-Github-Main + sourceNamespace: open-api-github-main + sourceRevisionDigest: sha256:b6e252e15daf5a04f42b2605f2655081c8ba3c8cc28ba5effc11b1a4f6dd4036 + sourceBlobDigest: sha256:b797a00de0abcc8d0c9f67e6a2672524e30e7b1eaa8b3ea791593a4a576449c6 + outLocation: /github/workspace/repo +workflow: + workflowVersion: 1.0.0 + speakeasyVersion: latest + sources: + OpenAPI-Github-Main: + inputs: + - location: https://raw.githubusercontent.com/panoratech/Panora/main/packages/api/swagger/swagger-spec.json + registry: + location: registry.speakeasyapi.dev/panora/panora/open-api-github-main + targets: + my-first-target: + target: typescript + source: OpenAPI-Github-Main diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index be9b4256c..d25cc8291 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -1,4 +1,5 @@ workflowVersion: 1.0.0 +speakeasyVersion: latest sources: OpenAPI-Github-Main: inputs: diff --git a/README.md b/README.md index d0a2356c6..1b97ff8bd 100644 --- a/README.md +++ b/README.md @@ -101,3 +101,200 @@ Want to contribute? Visit our [guide](https://docs.panora.dev/open-source/contri Our [guidelines.](https://github.com/panoratech/Panora/blob/main/CONTRIBUTING.md) + + + + + +## Requirements + +For supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md). + + + +## Error Handling + +All SDK methods return a response object or throw an error. If Error objects are specified in your OpenAPI Spec, the SDK will throw the appropriate Error type. + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +Validation errors can also occur when either method arguments or data returned from the server do not match the expected format. The `SDKValidationError` that is thrown as a result will capture the raw value that failed validation in an attribute called `rawValue`. Additionally, a `pretty()` method is available on this error that can be used to log a nicely formatted string since validation errors can list many issues and the plain error string may be difficult read when debugging. + + +```typescript +import { SDK } from "openapi"; +import * as errors from "openapi/models/errors"; + +const sdk = new SDK({ + jwt: "", +}); + +async function run() { + let result; + try { + result = await sdk.getHello(); + } catch (err) { + switch (true) { + case err instanceof errors.SDKValidationError: { + // Validation errors can be pretty-printed + console.error(err.pretty()); + // Raw value may also be inspected + console.error(err.rawValue); + return; + } + default: { + throw err; + } + } + } + + // Handle the result + console.log(result); +} + +run(); + +``` + + + +## Server Selection + +### Select Server by Index + +You can override the default server globally by passing a server index to the `serverIdx` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers: + +| # | Server | Variables | +| - | ------ | --------- | +| 0 | `https://api.panora.dev` | None | +| 1 | `https://api-sandbox.panora.dev` | None | + +```typescript +import { SDK } from "openapi"; + +const sdk = new SDK({ + serverIdx: 1, + jwt: "", +}); + +async function run() { + const result = await sdk.getHello(); + + // Handle the result + console.log(result); +} + +run(); + +``` + + +### Override Server URL Per-Client + +The default server can also be overridden globally by passing a URL to the `serverURL` optional parameter when initializing the SDK client instance. For example: + +```typescript +import { SDK } from "openapi"; + +const sdk = new SDK({ + serverURL: "https://api.panora.dev", + jwt: "", +}); + +async function run() { + const result = await sdk.getHello(); + + // Handle the result + console.log(result); +} + +run(); + +``` + + + +## Custom HTTP Client + +The TypeScript SDK makes API calls using an `HTTPClient` that wraps the native +[Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). This +client is a thin wrapper around `fetch` and provides the ability to attach hooks +around the request lifecycle that can be used to modify the request or handle +errors and response. + +The `HTTPClient` constructor takes an optional `fetcher` argument that can be +used to integrate a third-party HTTP client or when writing tests to mock out +the HTTP client and feed in fixtures. + +The following example shows how to use the `"beforeRequest"` hook to to add a +custom header and a timeout to requests and how to use the `"requestError"` hook +to log errors: + +```typescript +import { SDK } from "openapi"; +import { HTTPClient } from "openapi/lib/http"; + +const httpClient = new HTTPClient({ + // fetcher takes a function that has the same signature as native `fetch`. + fetcher: (request) => { + return fetch(request); + } +}); + +httpClient.addHook("beforeRequest", (request) => { + const nextRequest = new Request(request, { + signal: request.signal || AbortSignal.timeout(5000) + }); + + nextRequest.headers.set("x-custom-header", "custom value"); + + return nextRequest; +}); + +httpClient.addHook("requestError", (error, request) => { + console.group("Request Error"); + console.log("Reason:", `${error}`); + console.log("Endpoint:", `${request.method} ${request.url}`); + console.groupEnd(); +}); + +const sdk = new SDK({ httpClient }); +``` + + + +## Authentication + +### Per-Client Security Schemes + +This SDK supports the following security scheme globally: + +| Name | Type | Scheme | +| ----------- | ----------- | ----------- | +| `jwt` | http | HTTP Bearer | + +To authenticate with the API the `jwt` parameter must be set when initializing the SDK client instance. For example: +```typescript +import { SDK } from "openapi"; + +const sdk = new SDK({ + jwt: "", +}); + +async function run() { + const result = await sdk.getHello(); + + // Handle the result + console.log(result); +} + +run(); + +``` + + + + + diff --git a/RELEASES.md b/RELEASES.md new file mode 100644 index 000000000..2a3f85862 --- /dev/null +++ b/RELEASES.md @@ -0,0 +1,9 @@ + + +## 2024-06-19 01:08:54 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.308.2 (2.342.6) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.0.1] . \ No newline at end of file diff --git a/RUNTIMES.md b/RUNTIMES.md new file mode 100644 index 000000000..71fa3daef --- /dev/null +++ b/RUNTIMES.md @@ -0,0 +1,22 @@ +# Supported JavaScript runtimes + +This SDK is intended to be used in JavaScript runtimes that support the following features: + +* [Web Fetch API][web-fetch] +* [Web Streams API](web-streams) and in particular `ReadableStream` +* [Async iterables][async-iter] using `Symbol.asyncIterator` + +[web-fetch]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API +[web-streams]: https://developer.mozilla.org/en-US/docs/Web/API/Streams_API +[async-iter]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_async_iterator_and_async_iterable_protocols + +Runtime environments that are explicitly supported are: + +- Evergreen browsers which include: Chrome, Safari, Edge, Firefox +- Node.js active and maintenance LTS releases + - Currently, this is v18 and v20 +- Bun v1 and above +- Deno v1.39 + - Note that Deno does not currently have native support for streaming file uploads backed by the filesystem ([issue link][deno-file-streaming]) + +[deno-file-streaming]: https://github.com/denoland/deno/issues/11018 diff --git a/USAGE.md b/USAGE.md new file mode 100644 index 000000000..912306fa8 --- /dev/null +++ b/USAGE.md @@ -0,0 +1,19 @@ + +```typescript +import { SDK } from "openapi"; + +const sdk = new SDK({ + jwt: "", +}); + +async function run() { + const result = await sdk.getHello(); + + // Handle the result + console.log(result); +} + +run(); + +``` + \ No newline at end of file diff --git a/docs/models/components/apikeydto.md b/docs/models/components/apikeydto.md new file mode 100644 index 000000000..dab2a2e7f --- /dev/null +++ b/docs/models/components/apikeydto.md @@ -0,0 +1,10 @@ +# ApiKeyDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `userId` | *string* | :heavy_check_mark: | N/A | +| `keyName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/bodydatatype.md b/docs/models/components/bodydatatype.md new file mode 100644 index 000000000..e38f254eb --- /dev/null +++ b/docs/models/components/bodydatatype.md @@ -0,0 +1,7 @@ +# BodyDataType + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/connectionstrategycredentials.md b/docs/models/components/connectionstrategycredentials.md new file mode 100644 index 000000000..18c6d0c21 --- /dev/null +++ b/docs/models/components/connectionstrategycredentials.md @@ -0,0 +1,9 @@ +# ConnectionStrategyCredentials + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `type` | *string* | :heavy_check_mark: | N/A | +| `attributes` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/createbatchlinkeduserdto.md b/docs/models/components/createbatchlinkeduserdto.md new file mode 100644 index 000000000..b68693f27 --- /dev/null +++ b/docs/models/components/createbatchlinkeduserdto.md @@ -0,0 +1,10 @@ +# CreateBatchLinkedUserDto + + +## Fields + +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `linkedUserOriginIds` | *string*[] | :heavy_check_mark: | N/A | +| `alias` | *string* | :heavy_check_mark: | N/A | +| `idProject` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/createconnectionstrategydto.md b/docs/models/components/createconnectionstrategydto.md new file mode 100644 index 000000000..f583ed31f --- /dev/null +++ b/docs/models/components/createconnectionstrategydto.md @@ -0,0 +1,10 @@ +# CreateConnectionStrategyDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `type` | *string* | :heavy_check_mark: | N/A | +| `attributes` | *string*[] | :heavy_check_mark: | N/A | +| `values` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/createlinkeduserdto.md b/docs/models/components/createlinkeduserdto.md new file mode 100644 index 000000000..c996a3898 --- /dev/null +++ b/docs/models/components/createlinkeduserdto.md @@ -0,0 +1,10 @@ +# CreateLinkedUserDto + + +## Fields + +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `linkedUserOriginId` | *string* | :heavy_check_mark: | N/A | +| `alias` | *string* | :heavy_check_mark: | N/A | +| `idProject` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/createmagiclinkdto.md b/docs/models/components/createmagiclinkdto.md new file mode 100644 index 000000000..ce233b0c5 --- /dev/null +++ b/docs/models/components/createmagiclinkdto.md @@ -0,0 +1,11 @@ +# CreateMagicLinkDto + + +## Fields + +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `linkedUserOriginId` | *string* | :heavy_check_mark: | N/A | +| `email` | *string* | :heavy_check_mark: | N/A | +| `alias` | *string* | :heavy_check_mark: | N/A | +| `idProject` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/createorganizationdto.md b/docs/models/components/createorganizationdto.md new file mode 100644 index 000000000..a310f9c44 --- /dev/null +++ b/docs/models/components/createorganizationdto.md @@ -0,0 +1,9 @@ +# CreateOrganizationDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *string* | :heavy_check_mark: | N/A | +| `stripeCustomerId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/createprojectdto.md b/docs/models/components/createprojectdto.md new file mode 100644 index 000000000..ab6539e8f --- /dev/null +++ b/docs/models/components/createprojectdto.md @@ -0,0 +1,10 @@ +# CreateProjectDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *string* | :heavy_check_mark: | N/A | +| `idOrganization` | *string* | :heavy_minus_sign: | N/A | +| `idUser` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/createuserdto.md b/docs/models/components/createuserdto.md new file mode 100644 index 000000000..511d0f2e5 --- /dev/null +++ b/docs/models/components/createuserdto.md @@ -0,0 +1,13 @@ +# CreateUserDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `firstName` | *string* | :heavy_check_mark: | N/A | +| `lastName` | *string* | :heavy_check_mark: | N/A | +| `email` | *string* | :heavy_check_mark: | N/A | +| `strategy` | *string* | :heavy_check_mark: | N/A | +| `passwordHash` | *string* | :heavy_minus_sign: | N/A | +| `idOrganisation` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/customfieldcreatedto.md b/docs/models/components/customfieldcreatedto.md new file mode 100644 index 000000000..deb43f7c9 --- /dev/null +++ b/docs/models/components/customfieldcreatedto.md @@ -0,0 +1,14 @@ +# CustomFieldCreateDto + + +## Fields + +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `objectTypeOwner` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_check_mark: | N/A | +| `dataType` | *string* | :heavy_check_mark: | N/A | +| `sourceCustomFieldId` | *string* | :heavy_check_mark: | N/A | +| `sourceProvider` | *string* | :heavy_check_mark: | N/A | +| `linkedUserId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/data.md b/docs/models/components/data.md new file mode 100644 index 000000000..5f132f03f --- /dev/null +++ b/docs/models/components/data.md @@ -0,0 +1,7 @@ +# Data + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/definetargetfielddto.md b/docs/models/components/definetargetfielddto.md new file mode 100644 index 000000000..73cea96bf --- /dev/null +++ b/docs/models/components/definetargetfielddto.md @@ -0,0 +1,11 @@ +# DefineTargetFieldDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `objectTypeOwner` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_check_mark: | N/A | +| `dataType` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/deletecsdto.md b/docs/models/components/deletecsdto.md new file mode 100644 index 000000000..f8a50129a --- /dev/null +++ b/docs/models/components/deletecsdto.md @@ -0,0 +1,8 @@ +# DeleteCSDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/fieldmappings.md b/docs/models/components/fieldmappings.md new file mode 100644 index 000000000..ff23cd715 --- /dev/null +++ b/docs/models/components/fieldmappings.md @@ -0,0 +1,7 @@ +# FieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/headers.md b/docs/models/components/headers.md new file mode 100644 index 000000000..a95ff212f --- /dev/null +++ b/docs/models/components/headers.md @@ -0,0 +1,7 @@ +# Headers + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/httpmetadata.md b/docs/models/components/httpmetadata.md new file mode 100644 index 000000000..8ce9328c4 --- /dev/null +++ b/docs/models/components/httpmetadata.md @@ -0,0 +1,9 @@ +# HTTPMetadata + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `response` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `request` | *Request* | :heavy_check_mark: | Raw HTTP request; suitable for debugging | \ No newline at end of file diff --git a/docs/models/components/logindto.md b/docs/models/components/logindto.md new file mode 100644 index 000000000..5faf5c632 --- /dev/null +++ b/docs/models/components/logindto.md @@ -0,0 +1,10 @@ +# LoginDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `idUser` | *string* | :heavy_minus_sign: | N/A | +| `email` | *string* | :heavy_check_mark: | N/A | +| `passwordHash` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/managedwebhooksdto.md b/docs/models/components/managedwebhooksdto.md new file mode 100644 index 000000000..48fbd2f6a --- /dev/null +++ b/docs/models/components/managedwebhooksdto.md @@ -0,0 +1,11 @@ +# ManagedWebhooksDto + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `idConnection` | *string* | :heavy_check_mark: | N/A | +| `scopes` | *string*[] | :heavy_check_mark: | N/A | +| `apiVersion` | *string* | :heavy_minus_sign: | N/A | +| `remoteSignatureSecret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/mapfieldtoproviderdto.md b/docs/models/components/mapfieldtoproviderdto.md new file mode 100644 index 000000000..de7db8fae --- /dev/null +++ b/docs/models/components/mapfieldtoproviderdto.md @@ -0,0 +1,11 @@ +# MapFieldToProviderDto + + +## Fields + +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `attributeId` | *string* | :heavy_check_mark: | N/A | +| `sourceCustomFieldId` | *string* | :heavy_check_mark: | N/A | +| `sourceProvider` | *string* | :heavy_check_mark: | N/A | +| `linkedUserId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/method.md b/docs/models/components/method.md new file mode 100644 index 000000000..934d5bb26 --- /dev/null +++ b/docs/models/components/method.md @@ -0,0 +1,12 @@ +# Method + + +## Values + +| Name | Value | +| -------- | -------- | +| `Get` | GET | +| `Post` | POST | +| `Patch` | PATCH | +| `Delete` | DELETE | +| `Put` | PUT | \ No newline at end of file diff --git a/docs/models/components/passthroughrequestdto.md b/docs/models/components/passthroughrequestdto.md new file mode 100644 index 000000000..445a26e27 --- /dev/null +++ b/docs/models/components/passthroughrequestdto.md @@ -0,0 +1,11 @@ +# PassThroughRequestDto + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `method` | [components.Method](../../models/components/method.md) | :heavy_check_mark: | N/A | +| `path` | *string* | :heavy_check_mark: | N/A | +| `data` | [components.Data](../../models/components/data.md) | :heavy_minus_sign: | N/A | +| `headers` | [components.Headers](../../models/components/headers.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/passthroughresponse.md b/docs/models/components/passthroughresponse.md new file mode 100644 index 000000000..bdbcca8fa --- /dev/null +++ b/docs/models/components/passthroughresponse.md @@ -0,0 +1,10 @@ +# PassThroughResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `url` | *string* | :heavy_check_mark: | N/A | +| `status` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.PassThroughResponseData](../../models/components/passthroughresponsedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/passthroughresponsedata.md b/docs/models/components/passthroughresponsedata.md new file mode 100644 index 000000000..e3b70424b --- /dev/null +++ b/docs/models/components/passthroughresponsedata.md @@ -0,0 +1,7 @@ +# PassThroughResponseData + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/projectconnectorsdto.md b/docs/models/components/projectconnectorsdto.md new file mode 100644 index 000000000..99fb18f26 --- /dev/null +++ b/docs/models/components/projectconnectorsdto.md @@ -0,0 +1,9 @@ +# ProjectConnectorsDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `column` | *string* | :heavy_check_mark: | N/A | +| `status` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/refreshdto.md b/docs/models/components/refreshdto.md new file mode 100644 index 000000000..1ea68fa57 --- /dev/null +++ b/docs/models/components/refreshdto.md @@ -0,0 +1,8 @@ +# RefreshDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/remotedata.md b/docs/models/components/remotedata.md new file mode 100644 index 000000000..effa4963e --- /dev/null +++ b/docs/models/components/remotedata.md @@ -0,0 +1,7 @@ +# RemoteData + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/remotethirdpartycreationdto.md b/docs/models/components/remotethirdpartycreationdto.md new file mode 100644 index 000000000..c3b696833 --- /dev/null +++ b/docs/models/components/remotethirdpartycreationdto.md @@ -0,0 +1,9 @@ +# RemoteThirdPartyCreationDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `idConnection` | *string* | :heavy_check_mark: | N/A | +| `mwIds` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/security.md b/docs/models/components/security.md new file mode 100644 index 000000000..bfd437f3e --- /dev/null +++ b/docs/models/components/security.md @@ -0,0 +1,8 @@ +# Security + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `jwt` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/signatureverificationdto.md b/docs/models/components/signatureverificationdto.md new file mode 100644 index 000000000..eed473f94 --- /dev/null +++ b/docs/models/components/signatureverificationdto.md @@ -0,0 +1,9 @@ +# SignatureVerificationDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `signature` | *string* | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/togglestrategydto.md b/docs/models/components/togglestrategydto.md new file mode 100644 index 000000000..2ebb53e02 --- /dev/null +++ b/docs/models/components/togglestrategydto.md @@ -0,0 +1,8 @@ +# ToggleStrategyDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `idCs` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedaccountinput.md b/docs/models/components/unifiedaccountinput.md new file mode 100644 index 000000000..7c9121623 --- /dev/null +++ b/docs/models/components/unifiedaccountinput.md @@ -0,0 +1,7 @@ +# UnifiedAccountInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedaccountoutput.md b/docs/models/components/unifiedaccountoutput.md new file mode 100644 index 000000000..6af000e6b --- /dev/null +++ b/docs/models/components/unifiedaccountoutput.md @@ -0,0 +1,7 @@ +# UnifiedAccountOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedactioninput.md b/docs/models/components/unifiedactioninput.md new file mode 100644 index 000000000..ea055662b --- /dev/null +++ b/docs/models/components/unifiedactioninput.md @@ -0,0 +1,7 @@ +# UnifiedActionInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedactionoutput.md b/docs/models/components/unifiedactionoutput.md new file mode 100644 index 000000000..d5c12b936 --- /dev/null +++ b/docs/models/components/unifiedactionoutput.md @@ -0,0 +1,7 @@ +# UnifiedActionOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedactivityinput.md b/docs/models/components/unifiedactivityinput.md new file mode 100644 index 000000000..63309afc7 --- /dev/null +++ b/docs/models/components/unifiedactivityinput.md @@ -0,0 +1,7 @@ +# UnifiedActivityInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedactivityoutput.md b/docs/models/components/unifiedactivityoutput.md new file mode 100644 index 000000000..22292ab3b --- /dev/null +++ b/docs/models/components/unifiedactivityoutput.md @@ -0,0 +1,7 @@ +# UnifiedActivityOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedaddressinput.md b/docs/models/components/unifiedaddressinput.md new file mode 100644 index 000000000..9e796b7dc --- /dev/null +++ b/docs/models/components/unifiedaddressinput.md @@ -0,0 +1,7 @@ +# UnifiedAddressInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedaddressoutput.md b/docs/models/components/unifiedaddressoutput.md new file mode 100644 index 000000000..ce4dc5762 --- /dev/null +++ b/docs/models/components/unifiedaddressoutput.md @@ -0,0 +1,7 @@ +# UnifiedAddressOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedapplicationinput.md b/docs/models/components/unifiedapplicationinput.md new file mode 100644 index 000000000..8dd41c939 --- /dev/null +++ b/docs/models/components/unifiedapplicationinput.md @@ -0,0 +1,7 @@ +# UnifiedApplicationInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedapplicationoutput.md b/docs/models/components/unifiedapplicationoutput.md new file mode 100644 index 000000000..affbe4425 --- /dev/null +++ b/docs/models/components/unifiedapplicationoutput.md @@ -0,0 +1,7 @@ +# UnifiedApplicationOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedattachmentinput.md b/docs/models/components/unifiedattachmentinput.md new file mode 100644 index 000000000..37c58d9f4 --- /dev/null +++ b/docs/models/components/unifiedattachmentinput.md @@ -0,0 +1,11 @@ +# UnifiedAttachmentInput + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `fileName` | *string* | :heavy_check_mark: | The file name of the attachment | +| `fileUrl` | *string* | :heavy_check_mark: | The file url of the attachment | +| `uploader` | *string* | :heavy_check_mark: | The uploader's uuid of the attachment | +| `fieldMappings` | [components.UnifiedAttachmentInputFieldMappings](../../models/components/unifiedattachmentinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedattachmentinputfieldmappings.md b/docs/models/components/unifiedattachmentinputfieldmappings.md new file mode 100644 index 000000000..2eb5a171b --- /dev/null +++ b/docs/models/components/unifiedattachmentinputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedAttachmentInputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedattachmentoutput.md b/docs/models/components/unifiedattachmentoutput.md new file mode 100644 index 000000000..fa0736795 --- /dev/null +++ b/docs/models/components/unifiedattachmentoutput.md @@ -0,0 +1,14 @@ +# UnifiedAttachmentOutput + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `fileName` | *string* | :heavy_check_mark: | The file name of the attachment | +| `fileUrl` | *string* | :heavy_check_mark: | The file url of the attachment | +| `uploader` | *string* | :heavy_check_mark: | The uploader's uuid of the attachment | +| `fieldMappings` | [components.UnifiedAttachmentOutputFieldMappings](../../models/components/unifiedattachmentoutputfieldmappings.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | The uuid of the attachment | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the attachment in the context of the 3rd Party | +| `remoteData` | [components.UnifiedAttachmentOutputRemoteData](../../models/components/unifiedattachmentoutputremotedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedattachmentoutputfieldmappings.md b/docs/models/components/unifiedattachmentoutputfieldmappings.md new file mode 100644 index 000000000..fdee9c4f9 --- /dev/null +++ b/docs/models/components/unifiedattachmentoutputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedAttachmentOutputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedattachmentoutputremotedata.md b/docs/models/components/unifiedattachmentoutputremotedata.md new file mode 100644 index 000000000..12f57955c --- /dev/null +++ b/docs/models/components/unifiedattachmentoutputremotedata.md @@ -0,0 +1,7 @@ +# UnifiedAttachmentOutputRemoteData + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedautomationinput.md b/docs/models/components/unifiedautomationinput.md new file mode 100644 index 000000000..73a9957e3 --- /dev/null +++ b/docs/models/components/unifiedautomationinput.md @@ -0,0 +1,7 @@ +# UnifiedAutomationInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedautomationoutput.md b/docs/models/components/unifiedautomationoutput.md new file mode 100644 index 000000000..12c573588 --- /dev/null +++ b/docs/models/components/unifiedautomationoutput.md @@ -0,0 +1,7 @@ +# UnifiedAutomationOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedbalancesheetinput.md b/docs/models/components/unifiedbalancesheetinput.md new file mode 100644 index 000000000..c1b83e7d1 --- /dev/null +++ b/docs/models/components/unifiedbalancesheetinput.md @@ -0,0 +1,7 @@ +# UnifiedBalanceSheetInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedbalancesheetoutput.md b/docs/models/components/unifiedbalancesheetoutput.md new file mode 100644 index 000000000..8fa7b6391 --- /dev/null +++ b/docs/models/components/unifiedbalancesheetoutput.md @@ -0,0 +1,7 @@ +# UnifiedBalanceSheetOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedbankinfoinput.md b/docs/models/components/unifiedbankinfoinput.md new file mode 100644 index 000000000..5be2321b2 --- /dev/null +++ b/docs/models/components/unifiedbankinfoinput.md @@ -0,0 +1,7 @@ +# UnifiedBankInfoInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedbankinfooutput.md b/docs/models/components/unifiedbankinfooutput.md new file mode 100644 index 000000000..e1418f161 --- /dev/null +++ b/docs/models/components/unifiedbankinfooutput.md @@ -0,0 +1,7 @@ +# UnifiedBankInfoOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedbenefitinput.md b/docs/models/components/unifiedbenefitinput.md new file mode 100644 index 000000000..f57dc7f13 --- /dev/null +++ b/docs/models/components/unifiedbenefitinput.md @@ -0,0 +1,7 @@ +# UnifiedBenefitInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedbenefitoutput.md b/docs/models/components/unifiedbenefitoutput.md new file mode 100644 index 000000000..b029bcb66 --- /dev/null +++ b/docs/models/components/unifiedbenefitoutput.md @@ -0,0 +1,7 @@ +# UnifiedBenefitOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcampaigninput.md b/docs/models/components/unifiedcampaigninput.md new file mode 100644 index 000000000..085f6fc90 --- /dev/null +++ b/docs/models/components/unifiedcampaigninput.md @@ -0,0 +1,7 @@ +# UnifiedCampaignInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcampaignoutput.md b/docs/models/components/unifiedcampaignoutput.md new file mode 100644 index 000000000..c2af25973 --- /dev/null +++ b/docs/models/components/unifiedcampaignoutput.md @@ -0,0 +1,7 @@ +# UnifiedCampaignOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcandidateinput.md b/docs/models/components/unifiedcandidateinput.md new file mode 100644 index 000000000..ead222329 --- /dev/null +++ b/docs/models/components/unifiedcandidateinput.md @@ -0,0 +1,7 @@ +# UnifiedCandidateInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcandidateoutput.md b/docs/models/components/unifiedcandidateoutput.md new file mode 100644 index 000000000..bf5337d3f --- /dev/null +++ b/docs/models/components/unifiedcandidateoutput.md @@ -0,0 +1,7 @@ +# UnifiedCandidateOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcashflowstatementinput.md b/docs/models/components/unifiedcashflowstatementinput.md new file mode 100644 index 000000000..75de12047 --- /dev/null +++ b/docs/models/components/unifiedcashflowstatementinput.md @@ -0,0 +1,7 @@ +# UnifiedCashflowStatementInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcashflowstatementoutput.md b/docs/models/components/unifiedcashflowstatementoutput.md new file mode 100644 index 000000000..35efce8f4 --- /dev/null +++ b/docs/models/components/unifiedcashflowstatementoutput.md @@ -0,0 +1,7 @@ +# UnifiedCashflowStatementOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcollectionoutput.md b/docs/models/components/unifiedcollectionoutput.md new file mode 100644 index 000000000..5853afa94 --- /dev/null +++ b/docs/models/components/unifiedcollectionoutput.md @@ -0,0 +1,13 @@ +# UnifiedCollectionOutput + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `name` | *string* | :heavy_check_mark: | The name of the collection | +| `description` | *string* | :heavy_minus_sign: | The description of the collection | +| `collectionType` | *string* | :heavy_minus_sign: | The type of the collection. Authorized values are either PROJECT or LIST | +| `id` | *string* | :heavy_minus_sign: | The uuid of the collection | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the collection in the context of the 3rd Party | +| `remoteData` | [components.UnifiedCollectionOutputRemoteData](../../models/components/unifiedcollectionoutputremotedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedcollectionoutputremotedata.md b/docs/models/components/unifiedcollectionoutputremotedata.md new file mode 100644 index 000000000..70d60c889 --- /dev/null +++ b/docs/models/components/unifiedcollectionoutputremotedata.md @@ -0,0 +1,7 @@ +# UnifiedCollectionOutputRemoteData + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcommentinput.md b/docs/models/components/unifiedcommentinput.md new file mode 100644 index 000000000..052f7e6ba --- /dev/null +++ b/docs/models/components/unifiedcommentinput.md @@ -0,0 +1,15 @@ +# UnifiedCommentInput + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `body` | *string* | :heavy_check_mark: | The body of the comment | +| `htmlBody` | *string* | :heavy_minus_sign: | The html body of the comment | +| `isPrivate` | *boolean* | :heavy_minus_sign: | The public status of the comment | +| `creatorType` | *string* | :heavy_minus_sign: | The creator type of the comment. Authorized values are either USER or CONTACT | +| `ticketId` | *string* | :heavy_minus_sign: | The uuid of the ticket the comment is tied to | +| `contactId` | *string* | :heavy_minus_sign: | The uuid of the contact which the comment belongs to (if no user_id specified) | +| `userId` | *string* | :heavy_minus_sign: | The uuid of the user which the comment belongs to (if no contact_id specified) | +| `attachments` | *string*[] | :heavy_minus_sign: | The attachements uuids tied to the comment | \ No newline at end of file diff --git a/docs/models/components/unifiedcommentoutput.md b/docs/models/components/unifiedcommentoutput.md new file mode 100644 index 000000000..fee1bb296 --- /dev/null +++ b/docs/models/components/unifiedcommentoutput.md @@ -0,0 +1,18 @@ +# UnifiedCommentOutput + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `body` | *string* | :heavy_check_mark: | The body of the comment | +| `htmlBody` | *string* | :heavy_minus_sign: | The html body of the comment | +| `isPrivate` | *boolean* | :heavy_minus_sign: | The public status of the comment | +| `creatorType` | *string* | :heavy_minus_sign: | The creator type of the comment. Authorized values are either USER or CONTACT | +| `ticketId` | *string* | :heavy_minus_sign: | The uuid of the ticket the comment is tied to | +| `contactId` | *string* | :heavy_minus_sign: | The uuid of the contact which the comment belongs to (if no user_id specified) | +| `userId` | *string* | :heavy_minus_sign: | The uuid of the user which the comment belongs to (if no contact_id specified) | +| `attachments` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md)[] | :heavy_minus_sign: | The attachemnets tied to the comment | +| `id` | *string* | :heavy_minus_sign: | The uuid of the comment | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the comment in the context of the 3rd Party | +| `remoteData` | [components.UnifiedCommentOutputRemoteData](../../models/components/unifiedcommentoutputremotedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedcommentoutputremotedata.md b/docs/models/components/unifiedcommentoutputremotedata.md new file mode 100644 index 000000000..a3d05e6dc --- /dev/null +++ b/docs/models/components/unifiedcommentoutputremotedata.md @@ -0,0 +1,7 @@ +# UnifiedCommentOutputRemoteData + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcompanyinfoinput.md b/docs/models/components/unifiedcompanyinfoinput.md new file mode 100644 index 000000000..ab251517b --- /dev/null +++ b/docs/models/components/unifiedcompanyinfoinput.md @@ -0,0 +1,7 @@ +# UnifiedCompanyInfoInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcompanyinfooutput.md b/docs/models/components/unifiedcompanyinfooutput.md new file mode 100644 index 000000000..3ed750b42 --- /dev/null +++ b/docs/models/components/unifiedcompanyinfooutput.md @@ -0,0 +1,7 @@ +# UnifiedCompanyInfoOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcompanyinput.md b/docs/models/components/unifiedcompanyinput.md new file mode 100644 index 000000000..36364cc65 --- /dev/null +++ b/docs/models/components/unifiedcompanyinput.md @@ -0,0 +1,7 @@ +# UnifiedCompanyInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcompanyoutput.md b/docs/models/components/unifiedcompanyoutput.md new file mode 100644 index 000000000..97878a802 --- /dev/null +++ b/docs/models/components/unifiedcompanyoutput.md @@ -0,0 +1,7 @@ +# UnifiedCompanyOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcontactinput.md b/docs/models/components/unifiedcontactinput.md new file mode 100644 index 000000000..9380a85a0 --- /dev/null +++ b/docs/models/components/unifiedcontactinput.md @@ -0,0 +1,7 @@ +# UnifiedContactInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcontactoutput.md b/docs/models/components/unifiedcontactoutput.md new file mode 100644 index 000000000..e40f0849f --- /dev/null +++ b/docs/models/components/unifiedcontactoutput.md @@ -0,0 +1,7 @@ +# UnifiedContactOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcreditnoteinput.md b/docs/models/components/unifiedcreditnoteinput.md new file mode 100644 index 000000000..2d11082f3 --- /dev/null +++ b/docs/models/components/unifiedcreditnoteinput.md @@ -0,0 +1,7 @@ +# UnifiedCreditNoteInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcreditnoteoutput.md b/docs/models/components/unifiedcreditnoteoutput.md new file mode 100644 index 000000000..db483aa66 --- /dev/null +++ b/docs/models/components/unifiedcreditnoteoutput.md @@ -0,0 +1,7 @@ +# UnifiedCreditNoteOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieddealinput.md b/docs/models/components/unifieddealinput.md new file mode 100644 index 000000000..7439b53a5 --- /dev/null +++ b/docs/models/components/unifieddealinput.md @@ -0,0 +1,14 @@ +# UnifiedDealInput + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the deal | +| `description` | *string* | :heavy_check_mark: | The description of the deal | +| `amount` | *number* | :heavy_check_mark: | The amount of the deal | +| `userId` | *string* | :heavy_minus_sign: | The uuid of the user who is on the deal | +| `stageId` | *string* | :heavy_minus_sign: | The uuid of the stage of the deal | +| `companyId` | *string* | :heavy_minus_sign: | The uuid of the company tied to the deal | +| `fieldMappings` | [components.UnifiedDealInputFieldMappings](../../models/components/unifieddealinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifieddealinputfieldmappings.md b/docs/models/components/unifieddealinputfieldmappings.md new file mode 100644 index 000000000..4e99ace49 --- /dev/null +++ b/docs/models/components/unifieddealinputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedDealInputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieddealoutput.md b/docs/models/components/unifieddealoutput.md new file mode 100644 index 000000000..1cdb560b7 --- /dev/null +++ b/docs/models/components/unifieddealoutput.md @@ -0,0 +1,17 @@ +# UnifiedDealOutput + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `name` | *string* | :heavy_check_mark: | The name of the deal | +| `description` | *string* | :heavy_check_mark: | The description of the deal | +| `amount` | *number* | :heavy_check_mark: | The amount of the deal | +| `userId` | *string* | :heavy_minus_sign: | The uuid of the user who is on the deal | +| `stageId` | *string* | :heavy_minus_sign: | The uuid of the stage of the deal | +| `companyId` | *string* | :heavy_minus_sign: | The uuid of the company tied to the deal | +| `fieldMappings` | [components.UnifiedDealOutputFieldMappings](../../models/components/unifieddealoutputfieldmappings.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | The uuid of the deal | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the deal in the context of the Crm 3rd Party | +| `remoteData` | [components.UnifiedDealOutputRemoteData](../../models/components/unifieddealoutputremotedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifieddealoutputfieldmappings.md b/docs/models/components/unifieddealoutputfieldmappings.md new file mode 100644 index 000000000..6e2526d12 --- /dev/null +++ b/docs/models/components/unifieddealoutputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedDealOutputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieddealoutputremotedata.md b/docs/models/components/unifieddealoutputremotedata.md new file mode 100644 index 000000000..81ee50fd6 --- /dev/null +++ b/docs/models/components/unifieddealoutputremotedata.md @@ -0,0 +1,7 @@ +# UnifiedDealOutputRemoteData + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieddepartmentinput.md b/docs/models/components/unifieddepartmentinput.md new file mode 100644 index 000000000..f99aca46a --- /dev/null +++ b/docs/models/components/unifieddepartmentinput.md @@ -0,0 +1,7 @@ +# UnifiedDepartmentInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieddepartmentoutput.md b/docs/models/components/unifieddepartmentoutput.md new file mode 100644 index 000000000..2544c9187 --- /dev/null +++ b/docs/models/components/unifieddepartmentoutput.md @@ -0,0 +1,7 @@ +# UnifiedDepartmentOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieddependentinput.md b/docs/models/components/unifieddependentinput.md new file mode 100644 index 000000000..9da6cb934 --- /dev/null +++ b/docs/models/components/unifieddependentinput.md @@ -0,0 +1,7 @@ +# UnifiedDependentInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieddependentoutput.md b/docs/models/components/unifieddependentoutput.md new file mode 100644 index 000000000..08a259904 --- /dev/null +++ b/docs/models/components/unifieddependentoutput.md @@ -0,0 +1,7 @@ +# UnifiedDependentOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieddriveinput.md b/docs/models/components/unifieddriveinput.md new file mode 100644 index 000000000..64e948b1b --- /dev/null +++ b/docs/models/components/unifieddriveinput.md @@ -0,0 +1,7 @@ +# UnifiedDriveInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieddriveoutput.md b/docs/models/components/unifieddriveoutput.md new file mode 100644 index 000000000..1e69809c4 --- /dev/null +++ b/docs/models/components/unifieddriveoutput.md @@ -0,0 +1,7 @@ +# UnifiedDriveOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedeeocsinput.md b/docs/models/components/unifiedeeocsinput.md new file mode 100644 index 000000000..32ddff558 --- /dev/null +++ b/docs/models/components/unifiedeeocsinput.md @@ -0,0 +1,7 @@ +# UnifiedEeocsInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedeeocsoutput.md b/docs/models/components/unifiedeeocsoutput.md new file mode 100644 index 000000000..1643d3951 --- /dev/null +++ b/docs/models/components/unifiedeeocsoutput.md @@ -0,0 +1,7 @@ +# UnifiedEeocsOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedemailinput.md b/docs/models/components/unifiedemailinput.md new file mode 100644 index 000000000..2f75b67f9 --- /dev/null +++ b/docs/models/components/unifiedemailinput.md @@ -0,0 +1,7 @@ +# UnifiedEmailInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedemailoutput.md b/docs/models/components/unifiedemailoutput.md new file mode 100644 index 000000000..b14f0e885 --- /dev/null +++ b/docs/models/components/unifiedemailoutput.md @@ -0,0 +1,7 @@ +# UnifiedEmailOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedemployeeinput.md b/docs/models/components/unifiedemployeeinput.md new file mode 100644 index 000000000..c939e821d --- /dev/null +++ b/docs/models/components/unifiedemployeeinput.md @@ -0,0 +1,7 @@ +# UnifiedEmployeeInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedemployeeoutput.md b/docs/models/components/unifiedemployeeoutput.md new file mode 100644 index 000000000..629be122a --- /dev/null +++ b/docs/models/components/unifiedemployeeoutput.md @@ -0,0 +1,7 @@ +# UnifiedEmployeeOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedemployeepayrollruninput.md b/docs/models/components/unifiedemployeepayrollruninput.md new file mode 100644 index 000000000..49b6e1d9f --- /dev/null +++ b/docs/models/components/unifiedemployeepayrollruninput.md @@ -0,0 +1,7 @@ +# UnifiedEmployeePayrollRunInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedemployeepayrollrunoutput.md b/docs/models/components/unifiedemployeepayrollrunoutput.md new file mode 100644 index 000000000..5d680a7dd --- /dev/null +++ b/docs/models/components/unifiedemployeepayrollrunoutput.md @@ -0,0 +1,7 @@ +# UnifiedEmployeePayrollRunOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedemployerbenefitinput.md b/docs/models/components/unifiedemployerbenefitinput.md new file mode 100644 index 000000000..d6a5ab5fb --- /dev/null +++ b/docs/models/components/unifiedemployerbenefitinput.md @@ -0,0 +1,7 @@ +# UnifiedEmployerBenefitInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedemployerbenefitoutput.md b/docs/models/components/unifiedemployerbenefitoutput.md new file mode 100644 index 000000000..db5e34c9f --- /dev/null +++ b/docs/models/components/unifiedemployerbenefitoutput.md @@ -0,0 +1,7 @@ +# UnifiedEmployerBenefitOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedemploymentinput.md b/docs/models/components/unifiedemploymentinput.md new file mode 100644 index 000000000..95055a77a --- /dev/null +++ b/docs/models/components/unifiedemploymentinput.md @@ -0,0 +1,7 @@ +# UnifiedEmploymentInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedemploymentoutput.md b/docs/models/components/unifiedemploymentoutput.md new file mode 100644 index 000000000..6bc08a69c --- /dev/null +++ b/docs/models/components/unifiedemploymentoutput.md @@ -0,0 +1,7 @@ +# UnifiedEmploymentOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedengagementinput.md b/docs/models/components/unifiedengagementinput.md new file mode 100644 index 000000000..366d92d16 --- /dev/null +++ b/docs/models/components/unifiedengagementinput.md @@ -0,0 +1,17 @@ +# UnifiedEngagementInput + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `content` | *string* | :heavy_minus_sign: | The content of the engagement | +| `direction` | *string* | :heavy_minus_sign: | The direction of the engagement. Authorized values are INBOUND or OUTBOUND | +| `subject` | *string* | :heavy_minus_sign: | The subject of the engagement | +| `startAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The start time of the engagement | +| `endTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The end time of the engagement | +| `type` | *string* | :heavy_check_mark: | The type of the engagement. Authorized values are EMAIL, CALL or MEETING | +| `userId` | *string* | :heavy_minus_sign: | The uuid of the user tied to the engagement | +| `companyId` | *string* | :heavy_minus_sign: | The uuid of the company tied to the engagement | +| `contacts` | *string*[] | :heavy_minus_sign: | The uuids of contacts tied to the engagement object | +| `fieldMappings` | [components.UnifiedEngagementInputFieldMappings](../../models/components/unifiedengagementinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedengagementinputfieldmappings.md b/docs/models/components/unifiedengagementinputfieldmappings.md new file mode 100644 index 000000000..ccf04ce30 --- /dev/null +++ b/docs/models/components/unifiedengagementinputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedEngagementInputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedengagementoutput.md b/docs/models/components/unifiedengagementoutput.md new file mode 100644 index 000000000..ec6812ac0 --- /dev/null +++ b/docs/models/components/unifiedengagementoutput.md @@ -0,0 +1,20 @@ +# UnifiedEngagementOutput + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `content` | *string* | :heavy_minus_sign: | The content of the engagement | +| `direction` | *string* | :heavy_minus_sign: | The direction of the engagement. Authorized values are INBOUND or OUTBOUND | +| `subject` | *string* | :heavy_minus_sign: | The subject of the engagement | +| `startAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The start time of the engagement | +| `endTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The end time of the engagement | +| `type` | *string* | :heavy_check_mark: | The type of the engagement. Authorized values are EMAIL, CALL or MEETING | +| `userId` | *string* | :heavy_minus_sign: | The uuid of the user tied to the engagement | +| `companyId` | *string* | :heavy_minus_sign: | The uuid of the company tied to the engagement | +| `contacts` | *string*[] | :heavy_minus_sign: | The uuids of contacts tied to the engagement object | +| `fieldMappings` | [components.UnifiedEngagementOutputFieldMappings](../../models/components/unifiedengagementoutputfieldmappings.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | The uuid of the engagement | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the engagement in the context of the Crm 3rd Party | +| `remoteData` | [components.UnifiedEngagementOutputRemoteData](../../models/components/unifiedengagementoutputremotedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedengagementoutputfieldmappings.md b/docs/models/components/unifiedengagementoutputfieldmappings.md new file mode 100644 index 000000000..748fd068a --- /dev/null +++ b/docs/models/components/unifiedengagementoutputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedEngagementOutputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedengagementoutputremotedata.md b/docs/models/components/unifiedengagementoutputremotedata.md new file mode 100644 index 000000000..e7f254c4a --- /dev/null +++ b/docs/models/components/unifiedengagementoutputremotedata.md @@ -0,0 +1,7 @@ +# UnifiedEngagementOutputRemoteData + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedeventinput.md b/docs/models/components/unifiedeventinput.md new file mode 100644 index 000000000..d65ce3d1d --- /dev/null +++ b/docs/models/components/unifiedeventinput.md @@ -0,0 +1,7 @@ +# UnifiedEventInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedeventoutput.md b/docs/models/components/unifiedeventoutput.md new file mode 100644 index 000000000..846645bfd --- /dev/null +++ b/docs/models/components/unifiedeventoutput.md @@ -0,0 +1,7 @@ +# UnifiedEventOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedexpenseinput.md b/docs/models/components/unifiedexpenseinput.md new file mode 100644 index 000000000..692b6a0db --- /dev/null +++ b/docs/models/components/unifiedexpenseinput.md @@ -0,0 +1,7 @@ +# UnifiedExpenseInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedexpenseoutput.md b/docs/models/components/unifiedexpenseoutput.md new file mode 100644 index 000000000..8700123dd --- /dev/null +++ b/docs/models/components/unifiedexpenseoutput.md @@ -0,0 +1,7 @@ +# UnifiedExpenseOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfileinput.md b/docs/models/components/unifiedfileinput.md new file mode 100644 index 000000000..35c61899f --- /dev/null +++ b/docs/models/components/unifiedfileinput.md @@ -0,0 +1,7 @@ +# UnifiedFileInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfileoutput.md b/docs/models/components/unifiedfileoutput.md new file mode 100644 index 000000000..819763fc5 --- /dev/null +++ b/docs/models/components/unifiedfileoutput.md @@ -0,0 +1,7 @@ +# UnifiedFileOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfolderinput.md b/docs/models/components/unifiedfolderinput.md new file mode 100644 index 000000000..63cd1984e --- /dev/null +++ b/docs/models/components/unifiedfolderinput.md @@ -0,0 +1,7 @@ +# UnifiedFolderInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfolderoutput.md b/docs/models/components/unifiedfolderoutput.md new file mode 100644 index 000000000..8c03c937d --- /dev/null +++ b/docs/models/components/unifiedfolderoutput.md @@ -0,0 +1,7 @@ +# UnifiedFolderOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedgroupinput.md b/docs/models/components/unifiedgroupinput.md new file mode 100644 index 000000000..fd30a0f29 --- /dev/null +++ b/docs/models/components/unifiedgroupinput.md @@ -0,0 +1,7 @@ +# UnifiedGroupInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedgroupoutput.md b/docs/models/components/unifiedgroupoutput.md new file mode 100644 index 000000000..8762a9734 --- /dev/null +++ b/docs/models/components/unifiedgroupoutput.md @@ -0,0 +1,7 @@ +# UnifiedGroupOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedincomestatementinput.md b/docs/models/components/unifiedincomestatementinput.md new file mode 100644 index 000000000..c85f6c83c --- /dev/null +++ b/docs/models/components/unifiedincomestatementinput.md @@ -0,0 +1,7 @@ +# UnifiedIncomeStatementInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedincomestatementoutput.md b/docs/models/components/unifiedincomestatementoutput.md new file mode 100644 index 000000000..af1ddcde5 --- /dev/null +++ b/docs/models/components/unifiedincomestatementoutput.md @@ -0,0 +1,7 @@ +# UnifiedIncomeStatementOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedinterviewinput.md b/docs/models/components/unifiedinterviewinput.md new file mode 100644 index 000000000..f0a80cbc8 --- /dev/null +++ b/docs/models/components/unifiedinterviewinput.md @@ -0,0 +1,7 @@ +# UnifiedInterviewInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedinterviewoutput.md b/docs/models/components/unifiedinterviewoutput.md new file mode 100644 index 000000000..f90245071 --- /dev/null +++ b/docs/models/components/unifiedinterviewoutput.md @@ -0,0 +1,7 @@ +# UnifiedInterviewOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedinvoiceinput.md b/docs/models/components/unifiedinvoiceinput.md new file mode 100644 index 000000000..c26d9f95b --- /dev/null +++ b/docs/models/components/unifiedinvoiceinput.md @@ -0,0 +1,7 @@ +# UnifiedInvoiceInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedinvoiceoutput.md b/docs/models/components/unifiedinvoiceoutput.md new file mode 100644 index 000000000..2863c2852 --- /dev/null +++ b/docs/models/components/unifiedinvoiceoutput.md @@ -0,0 +1,7 @@ +# UnifiedInvoiceOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiediteminput.md b/docs/models/components/unifiediteminput.md new file mode 100644 index 000000000..4ac8e1ba3 --- /dev/null +++ b/docs/models/components/unifiediteminput.md @@ -0,0 +1,7 @@ +# UnifiedItemInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieditemoutput.md b/docs/models/components/unifieditemoutput.md new file mode 100644 index 000000000..a9238eb37 --- /dev/null +++ b/docs/models/components/unifieditemoutput.md @@ -0,0 +1,7 @@ +# UnifiedItemOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedjobinput.md b/docs/models/components/unifiedjobinput.md new file mode 100644 index 000000000..1f4c923f6 --- /dev/null +++ b/docs/models/components/unifiedjobinput.md @@ -0,0 +1,7 @@ +# UnifiedJobInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedjobinterviewstageinput.md b/docs/models/components/unifiedjobinterviewstageinput.md new file mode 100644 index 000000000..5a26a4914 --- /dev/null +++ b/docs/models/components/unifiedjobinterviewstageinput.md @@ -0,0 +1,7 @@ +# UnifiedJobInterviewStageInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedjobinterviewstageoutput.md b/docs/models/components/unifiedjobinterviewstageoutput.md new file mode 100644 index 000000000..c7f1cb385 --- /dev/null +++ b/docs/models/components/unifiedjobinterviewstageoutput.md @@ -0,0 +1,7 @@ +# UnifiedJobInterviewStageOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedjoboutput.md b/docs/models/components/unifiedjoboutput.md new file mode 100644 index 000000000..69324100c --- /dev/null +++ b/docs/models/components/unifiedjoboutput.md @@ -0,0 +1,7 @@ +# UnifiedJobOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedjournalentryinput.md b/docs/models/components/unifiedjournalentryinput.md new file mode 100644 index 000000000..0aaf2ccd2 --- /dev/null +++ b/docs/models/components/unifiedjournalentryinput.md @@ -0,0 +1,7 @@ +# UnifiedJournalEntryInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedjournalentryoutput.md b/docs/models/components/unifiedjournalentryoutput.md new file mode 100644 index 000000000..4540fd792 --- /dev/null +++ b/docs/models/components/unifiedjournalentryoutput.md @@ -0,0 +1,7 @@ +# UnifiedJournalEntryOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedlistinput.md b/docs/models/components/unifiedlistinput.md new file mode 100644 index 000000000..d63429066 --- /dev/null +++ b/docs/models/components/unifiedlistinput.md @@ -0,0 +1,7 @@ +# UnifiedListInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedlistoutput.md b/docs/models/components/unifiedlistoutput.md new file mode 100644 index 000000000..2e10db1b3 --- /dev/null +++ b/docs/models/components/unifiedlistoutput.md @@ -0,0 +1,7 @@ +# UnifiedListOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedlocationinput.md b/docs/models/components/unifiedlocationinput.md new file mode 100644 index 000000000..e77c9db84 --- /dev/null +++ b/docs/models/components/unifiedlocationinput.md @@ -0,0 +1,7 @@ +# UnifiedLocationInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedlocationoutput.md b/docs/models/components/unifiedlocationoutput.md new file mode 100644 index 000000000..eab3912a2 --- /dev/null +++ b/docs/models/components/unifiedlocationoutput.md @@ -0,0 +1,7 @@ +# UnifiedLocationOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedmessageinput.md b/docs/models/components/unifiedmessageinput.md new file mode 100644 index 000000000..580e8df33 --- /dev/null +++ b/docs/models/components/unifiedmessageinput.md @@ -0,0 +1,7 @@ +# UnifiedMessageInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedmessageoutput.md b/docs/models/components/unifiedmessageoutput.md new file mode 100644 index 000000000..d0e38ca3d --- /dev/null +++ b/docs/models/components/unifiedmessageoutput.md @@ -0,0 +1,7 @@ +# UnifiedMessageOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiednoteinput.md b/docs/models/components/unifiednoteinput.md new file mode 100644 index 000000000..4d98aacf1 --- /dev/null +++ b/docs/models/components/unifiednoteinput.md @@ -0,0 +1,13 @@ +# UnifiedNoteInput + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `content` | *string* | :heavy_check_mark: | The content of the note | +| `userId` | *string* | :heavy_minus_sign: | The uuid of the user tied the note | +| `companyId` | *string* | :heavy_minus_sign: | The uuid of the company tied to the note | +| `contactId` | *string* | :heavy_minus_sign: | The uuid fo the contact tied to the note | +| `dealId` | *string* | :heavy_minus_sign: | The uuid of the deal tied to the note | +| `fieldMappings` | [components.UnifiedNoteInputFieldMappings](../../models/components/unifiednoteinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiednoteinputfieldmappings.md b/docs/models/components/unifiednoteinputfieldmappings.md new file mode 100644 index 000000000..a81506dd4 --- /dev/null +++ b/docs/models/components/unifiednoteinputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedNoteInputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiednoteoutput.md b/docs/models/components/unifiednoteoutput.md new file mode 100644 index 000000000..c41bfd183 --- /dev/null +++ b/docs/models/components/unifiednoteoutput.md @@ -0,0 +1,16 @@ +# UnifiedNoteOutput + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `content` | *string* | :heavy_check_mark: | The content of the note | +| `userId` | *string* | :heavy_minus_sign: | The uuid of the user tied the note | +| `companyId` | *string* | :heavy_minus_sign: | The uuid of the company tied to the note | +| `contactId` | *string* | :heavy_minus_sign: | The uuid fo the contact tied to the note | +| `dealId` | *string* | :heavy_minus_sign: | The uuid of the deal tied to the note | +| `fieldMappings` | [components.UnifiedNoteOutputFieldMappings](../../models/components/unifiednoteoutputfieldmappings.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | The uuid of the note | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the note in the context of the Crm 3rd Party | +| `remoteData` | [components.UnifiedNoteOutputRemoteData](../../models/components/unifiednoteoutputremotedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiednoteoutputfieldmappings.md b/docs/models/components/unifiednoteoutputfieldmappings.md new file mode 100644 index 000000000..28f260a17 --- /dev/null +++ b/docs/models/components/unifiednoteoutputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedNoteOutputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiednoteoutputremotedata.md b/docs/models/components/unifiednoteoutputremotedata.md new file mode 100644 index 000000000..e6161559e --- /dev/null +++ b/docs/models/components/unifiednoteoutputremotedata.md @@ -0,0 +1,7 @@ +# UnifiedNoteOutputRemoteData + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedofferinput.md b/docs/models/components/unifiedofferinput.md new file mode 100644 index 000000000..00d633bc4 --- /dev/null +++ b/docs/models/components/unifiedofferinput.md @@ -0,0 +1,7 @@ +# UnifiedOfferInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedofferoutput.md b/docs/models/components/unifiedofferoutput.md new file mode 100644 index 000000000..97ca964fe --- /dev/null +++ b/docs/models/components/unifiedofferoutput.md @@ -0,0 +1,7 @@ +# UnifiedOfferOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedofficeinput.md b/docs/models/components/unifiedofficeinput.md new file mode 100644 index 000000000..d4cc9293e --- /dev/null +++ b/docs/models/components/unifiedofficeinput.md @@ -0,0 +1,7 @@ +# UnifiedOfficeInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedofficeoutput.md b/docs/models/components/unifiedofficeoutput.md new file mode 100644 index 000000000..9aad9187a --- /dev/null +++ b/docs/models/components/unifiedofficeoutput.md @@ -0,0 +1,7 @@ +# UnifiedOfficeOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedpaygroupinput.md b/docs/models/components/unifiedpaygroupinput.md new file mode 100644 index 000000000..68d08b41f --- /dev/null +++ b/docs/models/components/unifiedpaygroupinput.md @@ -0,0 +1,7 @@ +# UnifiedPayGroupInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedpaygroupoutput.md b/docs/models/components/unifiedpaygroupoutput.md new file mode 100644 index 000000000..52d32733d --- /dev/null +++ b/docs/models/components/unifiedpaygroupoutput.md @@ -0,0 +1,7 @@ +# UnifiedPayGroupOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedpaymentinput.md b/docs/models/components/unifiedpaymentinput.md new file mode 100644 index 000000000..229142a28 --- /dev/null +++ b/docs/models/components/unifiedpaymentinput.md @@ -0,0 +1,7 @@ +# UnifiedPaymentInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedpaymentoutput.md b/docs/models/components/unifiedpaymentoutput.md new file mode 100644 index 000000000..4e36e88cf --- /dev/null +++ b/docs/models/components/unifiedpaymentoutput.md @@ -0,0 +1,7 @@ +# UnifiedPaymentOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedpayrollruninput.md b/docs/models/components/unifiedpayrollruninput.md new file mode 100644 index 000000000..cca739585 --- /dev/null +++ b/docs/models/components/unifiedpayrollruninput.md @@ -0,0 +1,7 @@ +# UnifiedPayrollRunInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedpayrollrunoutput.md b/docs/models/components/unifiedpayrollrunoutput.md new file mode 100644 index 000000000..16c92343b --- /dev/null +++ b/docs/models/components/unifiedpayrollrunoutput.md @@ -0,0 +1,7 @@ +# UnifiedPayrollRunOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedpermissioninput.md b/docs/models/components/unifiedpermissioninput.md new file mode 100644 index 000000000..b973188f0 --- /dev/null +++ b/docs/models/components/unifiedpermissioninput.md @@ -0,0 +1,7 @@ +# UnifiedPermissionInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedpermissionoutput.md b/docs/models/components/unifiedpermissionoutput.md new file mode 100644 index 000000000..d6dc484b1 --- /dev/null +++ b/docs/models/components/unifiedpermissionoutput.md @@ -0,0 +1,7 @@ +# UnifiedPermissionOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedphonenumberinput.md b/docs/models/components/unifiedphonenumberinput.md new file mode 100644 index 000000000..48eef2fff --- /dev/null +++ b/docs/models/components/unifiedphonenumberinput.md @@ -0,0 +1,7 @@ +# UnifiedPhoneNumberInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedphonenumberoutput.md b/docs/models/components/unifiedphonenumberoutput.md new file mode 100644 index 000000000..12e2ebd58 --- /dev/null +++ b/docs/models/components/unifiedphonenumberoutput.md @@ -0,0 +1,7 @@ +# UnifiedPhoneNumberOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedpurchaseorderinput.md b/docs/models/components/unifiedpurchaseorderinput.md new file mode 100644 index 000000000..91916c23b --- /dev/null +++ b/docs/models/components/unifiedpurchaseorderinput.md @@ -0,0 +1,7 @@ +# UnifiedPurchaseOrderInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedpurchaseorderoutput.md b/docs/models/components/unifiedpurchaseorderoutput.md new file mode 100644 index 000000000..b7f932c0f --- /dev/null +++ b/docs/models/components/unifiedpurchaseorderoutput.md @@ -0,0 +1,7 @@ +# UnifiedPurchaseOrderOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedrejectreasoninput.md b/docs/models/components/unifiedrejectreasoninput.md new file mode 100644 index 000000000..41067fa1d --- /dev/null +++ b/docs/models/components/unifiedrejectreasoninput.md @@ -0,0 +1,7 @@ +# UnifiedRejectReasonInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedrejectreasonoutput.md b/docs/models/components/unifiedrejectreasonoutput.md new file mode 100644 index 000000000..280222ed1 --- /dev/null +++ b/docs/models/components/unifiedrejectreasonoutput.md @@ -0,0 +1,7 @@ +# UnifiedRejectReasonOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedscorecardinput.md b/docs/models/components/unifiedscorecardinput.md new file mode 100644 index 000000000..e9c3cafbc --- /dev/null +++ b/docs/models/components/unifiedscorecardinput.md @@ -0,0 +1,7 @@ +# UnifiedScoreCardInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedscorecardoutput.md b/docs/models/components/unifiedscorecardoutput.md new file mode 100644 index 000000000..b053ffd9b --- /dev/null +++ b/docs/models/components/unifiedscorecardoutput.md @@ -0,0 +1,7 @@ +# UnifiedScoreCardOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedscreeningquestioninput.md b/docs/models/components/unifiedscreeningquestioninput.md new file mode 100644 index 000000000..275995e1c --- /dev/null +++ b/docs/models/components/unifiedscreeningquestioninput.md @@ -0,0 +1,7 @@ +# UnifiedScreeningQuestionInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedscreeningquestionoutput.md b/docs/models/components/unifiedscreeningquestionoutput.md new file mode 100644 index 000000000..6deac9f46 --- /dev/null +++ b/docs/models/components/unifiedscreeningquestionoutput.md @@ -0,0 +1,7 @@ +# UnifiedScreeningQuestionOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedsharedlinkinput.md b/docs/models/components/unifiedsharedlinkinput.md new file mode 100644 index 000000000..ee4de11b9 --- /dev/null +++ b/docs/models/components/unifiedsharedlinkinput.md @@ -0,0 +1,7 @@ +# UnifiedSharedLinkInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedsharedlinkoutput.md b/docs/models/components/unifiedsharedlinkoutput.md new file mode 100644 index 000000000..f20a3b1e6 --- /dev/null +++ b/docs/models/components/unifiedsharedlinkoutput.md @@ -0,0 +1,7 @@ +# UnifiedSharedLinkOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedstageoutput.md b/docs/models/components/unifiedstageoutput.md new file mode 100644 index 000000000..66d42a96e --- /dev/null +++ b/docs/models/components/unifiedstageoutput.md @@ -0,0 +1,12 @@ +# UnifiedStageOutput + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `stageName` | *string* | :heavy_check_mark: | The name of the stage | +| `fieldMappings` | [components.UnifiedStageOutputFieldMappings](../../models/components/unifiedstageoutputfieldmappings.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | The uuid of the stage | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the stage in the context of the Crm 3rd Party | +| `remoteData` | [components.UnifiedStageOutputRemoteData](../../models/components/unifiedstageoutputremotedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedstageoutputfieldmappings.md b/docs/models/components/unifiedstageoutputfieldmappings.md new file mode 100644 index 000000000..532830afb --- /dev/null +++ b/docs/models/components/unifiedstageoutputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedStageOutputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedstageoutputremotedata.md b/docs/models/components/unifiedstageoutputremotedata.md new file mode 100644 index 000000000..e1af1b621 --- /dev/null +++ b/docs/models/components/unifiedstageoutputremotedata.md @@ -0,0 +1,7 @@ +# UnifiedStageOutputRemoteData + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtaginput.md b/docs/models/components/unifiedtaginput.md new file mode 100644 index 000000000..f8dfb3fb6 --- /dev/null +++ b/docs/models/components/unifiedtaginput.md @@ -0,0 +1,7 @@ +# UnifiedTagInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtagoutput.md b/docs/models/components/unifiedtagoutput.md new file mode 100644 index 000000000..b5ec02b54 --- /dev/null +++ b/docs/models/components/unifiedtagoutput.md @@ -0,0 +1,7 @@ +# UnifiedTagOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtaskinput.md b/docs/models/components/unifiedtaskinput.md new file mode 100644 index 000000000..b4414049b --- /dev/null +++ b/docs/models/components/unifiedtaskinput.md @@ -0,0 +1,16 @@ +# UnifiedTaskInput + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `subject` | *string* | :heavy_check_mark: | The subject of the task | +| `content` | *string* | :heavy_check_mark: | The content of the task | +| `status` | *string* | :heavy_check_mark: | The status of the task. Authorized values are PENDING, COMPLETED. | +| `dueDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The due date of the task | +| `finishedDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The finished date of the task | +| `userId` | *string* | :heavy_minus_sign: | The uuid of the user tied to the task | +| `companyId` | *string* | :heavy_minus_sign: | The uuid fo the company tied to the task | +| `dealId` | *string* | :heavy_minus_sign: | The uuid of the deal tied to the task | +| `fieldMappings` | [components.UnifiedTaskInputFieldMappings](../../models/components/unifiedtaskinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedtaskinputfieldmappings.md b/docs/models/components/unifiedtaskinputfieldmappings.md new file mode 100644 index 000000000..b4b05d17c --- /dev/null +++ b/docs/models/components/unifiedtaskinputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedTaskInputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtaskoutput.md b/docs/models/components/unifiedtaskoutput.md new file mode 100644 index 000000000..5c4475320 --- /dev/null +++ b/docs/models/components/unifiedtaskoutput.md @@ -0,0 +1,19 @@ +# UnifiedTaskOutput + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `subject` | *string* | :heavy_check_mark: | The subject of the task | +| `content` | *string* | :heavy_check_mark: | The content of the task | +| `status` | *string* | :heavy_check_mark: | The status of the task. Authorized values are PENDING, COMPLETED. | +| `dueDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The due date of the task | +| `finishedDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The finished date of the task | +| `userId` | *string* | :heavy_minus_sign: | The uuid of the user tied to the task | +| `companyId` | *string* | :heavy_minus_sign: | The uuid fo the company tied to the task | +| `dealId` | *string* | :heavy_minus_sign: | The uuid of the deal tied to the task | +| `fieldMappings` | [components.UnifiedTaskOutputFieldMappings](../../models/components/unifiedtaskoutputfieldmappings.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | The uuid of the task | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the task in the context of the Crm 3rd Party | +| `remoteData` | [components.UnifiedTaskOutputRemoteData](../../models/components/unifiedtaskoutputremotedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedtaskoutputfieldmappings.md b/docs/models/components/unifiedtaskoutputfieldmappings.md new file mode 100644 index 000000000..362b07f2b --- /dev/null +++ b/docs/models/components/unifiedtaskoutputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedTaskOutputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtaskoutputremotedata.md b/docs/models/components/unifiedtaskoutputremotedata.md new file mode 100644 index 000000000..94c528e87 --- /dev/null +++ b/docs/models/components/unifiedtaskoutputremotedata.md @@ -0,0 +1,7 @@ +# UnifiedTaskOutputRemoteData + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtaxrateinput.md b/docs/models/components/unifiedtaxrateinput.md new file mode 100644 index 000000000..c63f451ab --- /dev/null +++ b/docs/models/components/unifiedtaxrateinput.md @@ -0,0 +1,7 @@ +# UnifiedTaxRateInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtaxrateoutput.md b/docs/models/components/unifiedtaxrateoutput.md new file mode 100644 index 000000000..ecf5d1f83 --- /dev/null +++ b/docs/models/components/unifiedtaxrateoutput.md @@ -0,0 +1,7 @@ +# UnifiedTaxRateOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedteamoutput.md b/docs/models/components/unifiedteamoutput.md new file mode 100644 index 000000000..91c55ff8c --- /dev/null +++ b/docs/models/components/unifiedteamoutput.md @@ -0,0 +1,13 @@ +# UnifiedTeamOutput + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `name` | *string* | :heavy_check_mark: | The name of the team | +| `description` | *string* | :heavy_minus_sign: | The description of the team | +| `fieldMappings` | [components.UnifiedTeamOutputFieldMappings](../../models/components/unifiedteamoutputfieldmappings.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | The uuid of the team | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the team in the context of the 3rd Party | +| `remoteData` | [components.UnifiedTeamOutputRemoteData](../../models/components/unifiedteamoutputremotedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedteamoutputfieldmappings.md b/docs/models/components/unifiedteamoutputfieldmappings.md new file mode 100644 index 000000000..25e0fcf02 --- /dev/null +++ b/docs/models/components/unifiedteamoutputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedTeamOutputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedteamoutputremotedata.md b/docs/models/components/unifiedteamoutputremotedata.md new file mode 100644 index 000000000..893ff2839 --- /dev/null +++ b/docs/models/components/unifiedteamoutputremotedata.md @@ -0,0 +1,7 @@ +# UnifiedTeamOutputRemoteData + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtemplateinput.md b/docs/models/components/unifiedtemplateinput.md new file mode 100644 index 000000000..9aefc8cfc --- /dev/null +++ b/docs/models/components/unifiedtemplateinput.md @@ -0,0 +1,7 @@ +# UnifiedTemplateInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtemplateoutput.md b/docs/models/components/unifiedtemplateoutput.md new file mode 100644 index 000000000..c46a7726a --- /dev/null +++ b/docs/models/components/unifiedtemplateoutput.md @@ -0,0 +1,7 @@ +# UnifiedTemplateOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketinput.md b/docs/models/components/unifiedticketinput.md new file mode 100644 index 000000000..c1877da6f --- /dev/null +++ b/docs/models/components/unifiedticketinput.md @@ -0,0 +1,22 @@ +# UnifiedTicketInput + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the ticket | +| `status` | *string* | :heavy_minus_sign: | The status of the ticket. Authorized values are OPEN or CLOSED. | +| `description` | *string* | :heavy_check_mark: | The description of the ticket | +| `dueDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date the ticket is due | +| `type` | *string* | :heavy_minus_sign: | The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK | +| `parentTicket` | *string* | :heavy_minus_sign: | The uuid of the parent ticket | +| `projectId` | *string* | :heavy_minus_sign: | The uuid of the collection (project) the ticket belongs to | +| `tags` | *string*[] | :heavy_minus_sign: | The tags names of the ticket | +| `completedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date the ticket has been completed | +| `priority` | *string* | :heavy_minus_sign: | The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. | +| `assignedTo` | *string*[] | :heavy_minus_sign: | The users uuids the ticket is assigned to | +| `comment` | [components.UnifiedCommentInput](../../models/components/unifiedcommentinput.md) | :heavy_minus_sign: | The comment of the ticket | +| `accountId` | *string* | :heavy_minus_sign: | The uuid of the account which the ticket belongs to | +| `contactId` | *string* | :heavy_minus_sign: | The uuid of the contact which the ticket belongs to | +| `fieldMappings` | [components.UnifiedTicketInputFieldMappings](../../models/components/unifiedticketinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedticketinputfieldmappings.md b/docs/models/components/unifiedticketinputfieldmappings.md new file mode 100644 index 000000000..8417d33d9 --- /dev/null +++ b/docs/models/components/unifiedticketinputfieldmappings.md @@ -0,0 +1,7 @@ +# UnifiedTicketInputFieldMappings + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketoutput.md b/docs/models/components/unifiedticketoutput.md new file mode 100644 index 000000000..11b909489 --- /dev/null +++ b/docs/models/components/unifiedticketoutput.md @@ -0,0 +1,25 @@ +# UnifiedTicketOutput + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the ticket | +| `status` | *string* | :heavy_minus_sign: | The status of the ticket. Authorized values are OPEN or CLOSED. | +| `description` | *string* | :heavy_check_mark: | The description of the ticket | +| `dueDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date the ticket is due | +| `type` | *string* | :heavy_minus_sign: | The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK | +| `parentTicket` | *string* | :heavy_minus_sign: | The uuid of the parent ticket | +| `projectId` | *string* | :heavy_minus_sign: | The uuid of the collection (project) the ticket belongs to | +| `tags` | *string*[] | :heavy_minus_sign: | The tags names of the ticket | +| `completedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date the ticket has been completed | +| `priority` | *string* | :heavy_minus_sign: | The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. | +| `assignedTo` | *string*[] | :heavy_minus_sign: | The users uuids the ticket is assigned to | +| `comment` | [components.UnifiedCommentInput](../../models/components/unifiedcommentinput.md) | :heavy_minus_sign: | The comment of the ticket | +| `accountId` | *string* | :heavy_minus_sign: | The uuid of the account which the ticket belongs to | +| `contactId` | *string* | :heavy_minus_sign: | The uuid of the contact which the ticket belongs to | +| `fieldMappings` | [components.FieldMappings](../../models/components/fieldmappings.md) | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | The uuid of the ticket | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the ticket in the context of the 3rd Party | +| `remoteData` | [components.RemoteData](../../models/components/remotedata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/unifiedtimeoffbalanceinput.md b/docs/models/components/unifiedtimeoffbalanceinput.md new file mode 100644 index 000000000..dfe31f53b --- /dev/null +++ b/docs/models/components/unifiedtimeoffbalanceinput.md @@ -0,0 +1,7 @@ +# UnifiedTimeoffBalanceInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtimeoffbalanceoutput.md b/docs/models/components/unifiedtimeoffbalanceoutput.md new file mode 100644 index 000000000..04259bba0 --- /dev/null +++ b/docs/models/components/unifiedtimeoffbalanceoutput.md @@ -0,0 +1,7 @@ +# UnifiedTimeoffBalanceOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtimeoffinput.md b/docs/models/components/unifiedtimeoffinput.md new file mode 100644 index 000000000..64ad0644c --- /dev/null +++ b/docs/models/components/unifiedtimeoffinput.md @@ -0,0 +1,7 @@ +# UnifiedTimeoffInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtimeoffoutput.md b/docs/models/components/unifiedtimeoffoutput.md new file mode 100644 index 000000000..29abfdb3c --- /dev/null +++ b/docs/models/components/unifiedtimeoffoutput.md @@ -0,0 +1,7 @@ +# UnifiedTimeoffOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtrackingcategoryinput.md b/docs/models/components/unifiedtrackingcategoryinput.md new file mode 100644 index 000000000..627ea6c5f --- /dev/null +++ b/docs/models/components/unifiedtrackingcategoryinput.md @@ -0,0 +1,7 @@ +# UnifiedTrackingCategoryInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtrackingcategoryoutput.md b/docs/models/components/unifiedtrackingcategoryoutput.md new file mode 100644 index 000000000..bd3b65769 --- /dev/null +++ b/docs/models/components/unifiedtrackingcategoryoutput.md @@ -0,0 +1,7 @@ +# UnifiedTrackingCategoryOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtransactioninput.md b/docs/models/components/unifiedtransactioninput.md new file mode 100644 index 000000000..73a191fe4 --- /dev/null +++ b/docs/models/components/unifiedtransactioninput.md @@ -0,0 +1,7 @@ +# UnifiedTransactionInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedtransactionoutput.md b/docs/models/components/unifiedtransactionoutput.md new file mode 100644 index 000000000..6b9c4eab4 --- /dev/null +++ b/docs/models/components/unifiedtransactionoutput.md @@ -0,0 +1,7 @@ +# UnifiedTransactionOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieduserinput.md b/docs/models/components/unifieduserinput.md new file mode 100644 index 000000000..355c2a49b --- /dev/null +++ b/docs/models/components/unifieduserinput.md @@ -0,0 +1,7 @@ +# UnifiedUserInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieduseroutput.md b/docs/models/components/unifieduseroutput.md new file mode 100644 index 000000000..966448705 --- /dev/null +++ b/docs/models/components/unifieduseroutput.md @@ -0,0 +1,7 @@ +# UnifiedUserOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedvendorcreditinput.md b/docs/models/components/unifiedvendorcreditinput.md new file mode 100644 index 000000000..14dba6045 --- /dev/null +++ b/docs/models/components/unifiedvendorcreditinput.md @@ -0,0 +1,7 @@ +# UnifiedVendorCreditInput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedvendorcreditoutput.md b/docs/models/components/unifiedvendorcreditoutput.md new file mode 100644 index 000000000..dc3ab6a84 --- /dev/null +++ b/docs/models/components/unifiedvendorcreditoutput.md @@ -0,0 +1,7 @@ +# UnifiedVendorCreditOutput + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/updatecsdto.md b/docs/models/components/updatecsdto.md new file mode 100644 index 000000000..c6226c9e0 --- /dev/null +++ b/docs/models/components/updatecsdto.md @@ -0,0 +1,11 @@ +# UpdateCSDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `idCs` | *string* | :heavy_check_mark: | N/A | +| `status` | *boolean* | :heavy_check_mark: | N/A | +| `attributes` | *string*[] | :heavy_check_mark: | N/A | +| `values` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/verifyuserdto.md b/docs/models/components/verifyuserdto.md new file mode 100644 index 000000000..6fe75f73c --- /dev/null +++ b/docs/models/components/verifyuserdto.md @@ -0,0 +1,11 @@ +# VerifyUserDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `idUser` | *string* | :heavy_check_mark: | N/A | +| `email` | *string* | :heavy_check_mark: | N/A | +| `firstName` | *string* | :heavy_check_mark: | N/A | +| `lastName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/webhookdto.md b/docs/models/components/webhookdto.md new file mode 100644 index 000000000..95dc129b2 --- /dev/null +++ b/docs/models/components/webhookdto.md @@ -0,0 +1,11 @@ +# WebhookDto + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `url` | *string* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `idProject` | *string* | :heavy_check_mark: | N/A | +| `scope` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountingattachmentrequest.md b/docs/models/operations/addaccountingattachmentrequest.md new file mode 100644 index 000000000..46932114e --- /dev/null +++ b/docs/models/operations/addaccountingattachmentrequest.md @@ -0,0 +1,10 @@ +# AddAccountingAttachmentRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedAttachmentInput` | [components.UnifiedAttachmentInput](../../models/components/unifiedattachmentinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountingattachmentresponse.md b/docs/models/operations/addaccountingattachmentresponse.md new file mode 100644 index 000000000..13c016202 --- /dev/null +++ b/docs/models/operations/addaccountingattachmentresponse.md @@ -0,0 +1,10 @@ +# AddAccountingAttachmentResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAccountingAttachmentResponseBody](../../models/operations/addaccountingattachmentresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedAttachmentOutput` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountingattachmentresponsebody.md b/docs/models/operations/addaccountingattachmentresponsebody.md new file mode 100644 index 000000000..6943daec8 --- /dev/null +++ b/docs/models/operations/addaccountingattachmentresponsebody.md @@ -0,0 +1,11 @@ +# AddAccountingAttachmentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountingattachmentsrequest.md b/docs/models/operations/addaccountingattachmentsrequest.md new file mode 100644 index 000000000..1f052dd0b --- /dev/null +++ b/docs/models/operations/addaccountingattachmentsrequest.md @@ -0,0 +1,11 @@ +# AddAccountingAttachmentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedAttachmentInput](../../models/components/unifiedattachmentinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountingattachmentsresponse.md b/docs/models/operations/addaccountingattachmentsresponse.md new file mode 100644 index 000000000..96b88cfab --- /dev/null +++ b/docs/models/operations/addaccountingattachmentsresponse.md @@ -0,0 +1,10 @@ +# AddAccountingAttachmentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAccountingAttachmentsResponseBody](../../models/operations/addaccountingattachmentsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedAttachmentOutputs` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountingattachmentsresponsebody.md b/docs/models/operations/addaccountingattachmentsresponsebody.md new file mode 100644 index 000000000..6a06aaa9e --- /dev/null +++ b/docs/models/operations/addaccountingattachmentsresponsebody.md @@ -0,0 +1,11 @@ +# AddAccountingAttachmentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountingcontactrequest.md b/docs/models/operations/addaccountingcontactrequest.md new file mode 100644 index 000000000..25a73fd54 --- /dev/null +++ b/docs/models/operations/addaccountingcontactrequest.md @@ -0,0 +1,10 @@ +# AddAccountingContactRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedContactInput` | [components.UnifiedContactInput](../../models/components/unifiedcontactinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountingcontactresponse.md b/docs/models/operations/addaccountingcontactresponse.md new file mode 100644 index 000000000..ebeaa8304 --- /dev/null +++ b/docs/models/operations/addaccountingcontactresponse.md @@ -0,0 +1,10 @@ +# AddAccountingContactResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAccountingContactResponseBody](../../models/operations/addaccountingcontactresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedContactOutput` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountingcontactresponsebody.md b/docs/models/operations/addaccountingcontactresponsebody.md new file mode 100644 index 000000000..cd77d3118 --- /dev/null +++ b/docs/models/operations/addaccountingcontactresponsebody.md @@ -0,0 +1,11 @@ +# AddAccountingContactResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountingcontactsrequest.md b/docs/models/operations/addaccountingcontactsrequest.md new file mode 100644 index 000000000..182889157 --- /dev/null +++ b/docs/models/operations/addaccountingcontactsrequest.md @@ -0,0 +1,11 @@ +# AddAccountingContactsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedContactInput](../../models/components/unifiedcontactinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountingcontactsresponse.md b/docs/models/operations/addaccountingcontactsresponse.md new file mode 100644 index 000000000..48a860353 --- /dev/null +++ b/docs/models/operations/addaccountingcontactsresponse.md @@ -0,0 +1,10 @@ +# AddAccountingContactsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAccountingContactsResponseBody](../../models/operations/addaccountingcontactsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedContactOutputs` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountingcontactsresponsebody.md b/docs/models/operations/addaccountingcontactsresponsebody.md new file mode 100644 index 000000000..37b91499d --- /dev/null +++ b/docs/models/operations/addaccountingcontactsresponsebody.md @@ -0,0 +1,11 @@ +# AddAccountingContactsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountrequest.md b/docs/models/operations/addaccountrequest.md new file mode 100644 index 000000000..b97b30a81 --- /dev/null +++ b/docs/models/operations/addaccountrequest.md @@ -0,0 +1,10 @@ +# AddAccountRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedAccountInput` | [components.UnifiedAccountInput](../../models/components/unifiedaccountinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountresponse.md b/docs/models/operations/addaccountresponse.md new file mode 100644 index 000000000..0151fcd98 --- /dev/null +++ b/docs/models/operations/addaccountresponse.md @@ -0,0 +1,10 @@ +# AddAccountResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAccountResponseBody](../../models/operations/addaccountresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedAccountOutput` | [components.UnifiedAccountOutput](../../models/components/unifiedaccountoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountresponsebody.md b/docs/models/operations/addaccountresponsebody.md new file mode 100644 index 000000000..9d3578c34 --- /dev/null +++ b/docs/models/operations/addaccountresponsebody.md @@ -0,0 +1,11 @@ +# AddAccountResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAccountOutput](../../models/components/unifiedaccountoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountsrequest.md b/docs/models/operations/addaccountsrequest.md new file mode 100644 index 000000000..741470e16 --- /dev/null +++ b/docs/models/operations/addaccountsrequest.md @@ -0,0 +1,11 @@ +# AddAccountsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedAccountInput](../../models/components/unifiedaccountinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountsresponse.md b/docs/models/operations/addaccountsresponse.md new file mode 100644 index 000000000..2efc50e20 --- /dev/null +++ b/docs/models/operations/addaccountsresponse.md @@ -0,0 +1,10 @@ +# AddAccountsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAccountsResponseBody](../../models/operations/addaccountsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedAccountOutputs` | [components.UnifiedAccountOutput](../../models/components/unifiedaccountoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaccountsresponsebody.md b/docs/models/operations/addaccountsresponsebody.md new file mode 100644 index 000000000..b1ccb44d7 --- /dev/null +++ b/docs/models/operations/addaccountsresponsebody.md @@ -0,0 +1,11 @@ +# AddAccountsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAccountOutput](../../models/components/unifiedaccountoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addactionrequest.md b/docs/models/operations/addactionrequest.md new file mode 100644 index 000000000..ca7fdd25b --- /dev/null +++ b/docs/models/operations/addactionrequest.md @@ -0,0 +1,10 @@ +# AddActionRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `unifiedActionInput` | [components.UnifiedActionInput](../../models/components/unifiedactioninput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addactionresponse.md b/docs/models/operations/addactionresponse.md new file mode 100644 index 000000000..91b71481a --- /dev/null +++ b/docs/models/operations/addactionresponse.md @@ -0,0 +1,10 @@ +# AddActionResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddActionResponseBody](../../models/operations/addactionresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedActionOutput` | [components.UnifiedActionOutput](../../models/components/unifiedactionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addactionresponsebody.md b/docs/models/operations/addactionresponsebody.md new file mode 100644 index 000000000..e40e1d27a --- /dev/null +++ b/docs/models/operations/addactionresponsebody.md @@ -0,0 +1,11 @@ +# AddActionResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedActionOutput](../../models/components/unifiedactionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addactionsrequest.md b/docs/models/operations/addactionsrequest.md new file mode 100644 index 000000000..2e4c2f951 --- /dev/null +++ b/docs/models/operations/addactionsrequest.md @@ -0,0 +1,11 @@ +# AddActionsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedActionInput](../../models/components/unifiedactioninput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addactionsresponse.md b/docs/models/operations/addactionsresponse.md new file mode 100644 index 000000000..73c79b322 --- /dev/null +++ b/docs/models/operations/addactionsresponse.md @@ -0,0 +1,10 @@ +# AddActionsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddActionsResponseBody](../../models/operations/addactionsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedActionOutputs` | [components.UnifiedActionOutput](../../models/components/unifiedactionoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addactionsresponsebody.md b/docs/models/operations/addactionsresponsebody.md new file mode 100644 index 000000000..a3c00858c --- /dev/null +++ b/docs/models/operations/addactionsresponsebody.md @@ -0,0 +1,11 @@ +# AddActionsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedActionOutput](../../models/components/unifiedactionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addactivityrequest.md b/docs/models/operations/addactivityrequest.md new file mode 100644 index 000000000..8cc9d507f --- /dev/null +++ b/docs/models/operations/addactivityrequest.md @@ -0,0 +1,10 @@ +# AddActivityRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedActivityInput` | [components.UnifiedActivityInput](../../models/components/unifiedactivityinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addactivityresponse.md b/docs/models/operations/addactivityresponse.md new file mode 100644 index 000000000..7f13f8cb5 --- /dev/null +++ b/docs/models/operations/addactivityresponse.md @@ -0,0 +1,10 @@ +# AddActivityResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddActivityResponseBody](../../models/operations/addactivityresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedActivityOutput` | [components.UnifiedActivityOutput](../../models/components/unifiedactivityoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addactivityresponsebody.md b/docs/models/operations/addactivityresponsebody.md new file mode 100644 index 000000000..b8d4065e0 --- /dev/null +++ b/docs/models/operations/addactivityresponsebody.md @@ -0,0 +1,11 @@ +# AddActivityResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedActivityOutput](../../models/components/unifiedactivityoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addactivitysrequest.md b/docs/models/operations/addactivitysrequest.md new file mode 100644 index 000000000..f2166abee --- /dev/null +++ b/docs/models/operations/addactivitysrequest.md @@ -0,0 +1,11 @@ +# AddActivitysRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedActivityInput](../../models/components/unifiedactivityinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addactivitysresponse.md b/docs/models/operations/addactivitysresponse.md new file mode 100644 index 000000000..73d3317a6 --- /dev/null +++ b/docs/models/operations/addactivitysresponse.md @@ -0,0 +1,10 @@ +# AddActivitysResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddActivitysResponseBody](../../models/operations/addactivitysresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedActivityOutputs` | [components.UnifiedActivityOutput](../../models/components/unifiedactivityoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addactivitysresponsebody.md b/docs/models/operations/addactivitysresponsebody.md new file mode 100644 index 000000000..53dad4979 --- /dev/null +++ b/docs/models/operations/addactivitysresponsebody.md @@ -0,0 +1,11 @@ +# AddActivitysResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedActivityOutput](../../models/components/unifiedactivityoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaddressrequest.md b/docs/models/operations/addaddressrequest.md new file mode 100644 index 000000000..7d1a97f18 --- /dev/null +++ b/docs/models/operations/addaddressrequest.md @@ -0,0 +1,10 @@ +# AddAddressRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedAddressInput` | [components.UnifiedAddressInput](../../models/components/unifiedaddressinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaddressresponse.md b/docs/models/operations/addaddressresponse.md new file mode 100644 index 000000000..d2178716e --- /dev/null +++ b/docs/models/operations/addaddressresponse.md @@ -0,0 +1,10 @@ +# AddAddressResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAddressResponseBody](../../models/operations/addaddressresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedAddressOutput` | [components.UnifiedAddressOutput](../../models/components/unifiedaddressoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaddressresponsebody.md b/docs/models/operations/addaddressresponsebody.md new file mode 100644 index 000000000..7545df459 --- /dev/null +++ b/docs/models/operations/addaddressresponsebody.md @@ -0,0 +1,11 @@ +# AddAddressResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAddressOutput](../../models/components/unifiedaddressoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaddresssrequest.md b/docs/models/operations/addaddresssrequest.md new file mode 100644 index 000000000..9b38038b1 --- /dev/null +++ b/docs/models/operations/addaddresssrequest.md @@ -0,0 +1,11 @@ +# AddAddresssRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedAddressInput](../../models/components/unifiedaddressinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaddresssresponse.md b/docs/models/operations/addaddresssresponse.md new file mode 100644 index 000000000..3b6495aa6 --- /dev/null +++ b/docs/models/operations/addaddresssresponse.md @@ -0,0 +1,10 @@ +# AddAddresssResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAddresssResponseBody](../../models/operations/addaddresssresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedAddressOutputs` | [components.UnifiedAddressOutput](../../models/components/unifiedaddressoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addaddresssresponsebody.md b/docs/models/operations/addaddresssresponsebody.md new file mode 100644 index 000000000..0e7bfb3b7 --- /dev/null +++ b/docs/models/operations/addaddresssresponsebody.md @@ -0,0 +1,11 @@ +# AddAddresssResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAddressOutput](../../models/components/unifiedaddressoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addapplicationrequest.md b/docs/models/operations/addapplicationrequest.md new file mode 100644 index 000000000..b7d438506 --- /dev/null +++ b/docs/models/operations/addapplicationrequest.md @@ -0,0 +1,10 @@ +# AddApplicationRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedApplicationInput` | [components.UnifiedApplicationInput](../../models/components/unifiedapplicationinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addapplicationresponse.md b/docs/models/operations/addapplicationresponse.md new file mode 100644 index 000000000..3ac14ec35 --- /dev/null +++ b/docs/models/operations/addapplicationresponse.md @@ -0,0 +1,10 @@ +# AddApplicationResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddApplicationResponseBody](../../models/operations/addapplicationresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedApplicationOutput` | [components.UnifiedApplicationOutput](../../models/components/unifiedapplicationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addapplicationresponsebody.md b/docs/models/operations/addapplicationresponsebody.md new file mode 100644 index 000000000..fae235576 --- /dev/null +++ b/docs/models/operations/addapplicationresponsebody.md @@ -0,0 +1,11 @@ +# AddApplicationResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedApplicationOutput](../../models/components/unifiedapplicationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addapplicationsrequest.md b/docs/models/operations/addapplicationsrequest.md new file mode 100644 index 000000000..27b960f69 --- /dev/null +++ b/docs/models/operations/addapplicationsrequest.md @@ -0,0 +1,11 @@ +# AddApplicationsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedApplicationInput](../../models/components/unifiedapplicationinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addapplicationsresponse.md b/docs/models/operations/addapplicationsresponse.md new file mode 100644 index 000000000..aede2d0bf --- /dev/null +++ b/docs/models/operations/addapplicationsresponse.md @@ -0,0 +1,10 @@ +# AddApplicationsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddApplicationsResponseBody](../../models/operations/addapplicationsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedApplicationOutputs` | [components.UnifiedApplicationOutput](../../models/components/unifiedapplicationoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addapplicationsresponsebody.md b/docs/models/operations/addapplicationsresponsebody.md new file mode 100644 index 000000000..f093daf90 --- /dev/null +++ b/docs/models/operations/addapplicationsresponsebody.md @@ -0,0 +1,11 @@ +# AddApplicationsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedApplicationOutput](../../models/components/unifiedapplicationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addatsattachmentrequest.md b/docs/models/operations/addatsattachmentrequest.md new file mode 100644 index 000000000..8bd068731 --- /dev/null +++ b/docs/models/operations/addatsattachmentrequest.md @@ -0,0 +1,10 @@ +# AddAtsAttachmentRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedAttachmentInput` | [components.UnifiedAttachmentInput](../../models/components/unifiedattachmentinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addatsattachmentresponse.md b/docs/models/operations/addatsattachmentresponse.md new file mode 100644 index 000000000..dab67df3c --- /dev/null +++ b/docs/models/operations/addatsattachmentresponse.md @@ -0,0 +1,10 @@ +# AddAtsAttachmentResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAtsAttachmentResponseBody](../../models/operations/addatsattachmentresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedAttachmentOutput` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addatsattachmentresponsebody.md b/docs/models/operations/addatsattachmentresponsebody.md new file mode 100644 index 000000000..950b5f46d --- /dev/null +++ b/docs/models/operations/addatsattachmentresponsebody.md @@ -0,0 +1,11 @@ +# AddAtsAttachmentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addatsattachmentsrequest.md b/docs/models/operations/addatsattachmentsrequest.md new file mode 100644 index 000000000..d0ee457f0 --- /dev/null +++ b/docs/models/operations/addatsattachmentsrequest.md @@ -0,0 +1,11 @@ +# AddAtsAttachmentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedAttachmentInput](../../models/components/unifiedattachmentinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addatsattachmentsresponse.md b/docs/models/operations/addatsattachmentsresponse.md new file mode 100644 index 000000000..f5306de4b --- /dev/null +++ b/docs/models/operations/addatsattachmentsresponse.md @@ -0,0 +1,10 @@ +# AddAtsAttachmentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAtsAttachmentsResponseBody](../../models/operations/addatsattachmentsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedAttachmentOutputs` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addatsattachmentsresponsebody.md b/docs/models/operations/addatsattachmentsresponsebody.md new file mode 100644 index 000000000..7146627b3 --- /dev/null +++ b/docs/models/operations/addatsattachmentsresponsebody.md @@ -0,0 +1,11 @@ +# AddAtsAttachmentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addatsuserrequest.md b/docs/models/operations/addatsuserrequest.md new file mode 100644 index 000000000..b6f3d8cc0 --- /dev/null +++ b/docs/models/operations/addatsuserrequest.md @@ -0,0 +1,10 @@ +# AddAtsUserRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedUserInput` | [components.UnifiedUserInput](../../models/components/unifieduserinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addatsuserresponse.md b/docs/models/operations/addatsuserresponse.md new file mode 100644 index 000000000..737d5953d --- /dev/null +++ b/docs/models/operations/addatsuserresponse.md @@ -0,0 +1,10 @@ +# AddAtsUserResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAtsUserResponseBody](../../models/operations/addatsuserresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedUserOutput` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addatsuserresponsebody.md b/docs/models/operations/addatsuserresponsebody.md new file mode 100644 index 000000000..58ffd8144 --- /dev/null +++ b/docs/models/operations/addatsuserresponsebody.md @@ -0,0 +1,11 @@ +# AddAtsUserResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addatsusersrequest.md b/docs/models/operations/addatsusersrequest.md new file mode 100644 index 000000000..00400f061 --- /dev/null +++ b/docs/models/operations/addatsusersrequest.md @@ -0,0 +1,11 @@ +# AddAtsUsersRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedUserInput](../../models/components/unifieduserinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addatsusersresponse.md b/docs/models/operations/addatsusersresponse.md new file mode 100644 index 000000000..340e29a81 --- /dev/null +++ b/docs/models/operations/addatsusersresponse.md @@ -0,0 +1,10 @@ +# AddAtsUsersResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAtsUsersResponseBody](../../models/operations/addatsusersresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedUserOutputs` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addatsusersresponsebody.md b/docs/models/operations/addatsusersresponsebody.md new file mode 100644 index 000000000..c40241abc --- /dev/null +++ b/docs/models/operations/addatsusersresponsebody.md @@ -0,0 +1,11 @@ +# AddAtsUsersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addautomationrequest.md b/docs/models/operations/addautomationrequest.md new file mode 100644 index 000000000..86b9b90f6 --- /dev/null +++ b/docs/models/operations/addautomationrequest.md @@ -0,0 +1,10 @@ +# AddAutomationRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `unifiedAutomationInput` | [components.UnifiedAutomationInput](../../models/components/unifiedautomationinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addautomationresponse.md b/docs/models/operations/addautomationresponse.md new file mode 100644 index 000000000..cb39a8ac4 --- /dev/null +++ b/docs/models/operations/addautomationresponse.md @@ -0,0 +1,10 @@ +# AddAutomationResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAutomationResponseBody](../../models/operations/addautomationresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedAutomationOutput` | [components.UnifiedAutomationOutput](../../models/components/unifiedautomationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addautomationresponsebody.md b/docs/models/operations/addautomationresponsebody.md new file mode 100644 index 000000000..c9fd53265 --- /dev/null +++ b/docs/models/operations/addautomationresponsebody.md @@ -0,0 +1,11 @@ +# AddAutomationResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAutomationOutput](../../models/components/unifiedautomationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addautomationsrequest.md b/docs/models/operations/addautomationsrequest.md new file mode 100644 index 000000000..6cc503838 --- /dev/null +++ b/docs/models/operations/addautomationsrequest.md @@ -0,0 +1,11 @@ +# AddAutomationsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedAutomationInput](../../models/components/unifiedautomationinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addautomationsresponse.md b/docs/models/operations/addautomationsresponse.md new file mode 100644 index 000000000..6c55a761d --- /dev/null +++ b/docs/models/operations/addautomationsresponse.md @@ -0,0 +1,10 @@ +# AddAutomationsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddAutomationsResponseBody](../../models/operations/addautomationsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedAutomationOutputs` | [components.UnifiedAutomationOutput](../../models/components/unifiedautomationoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addautomationsresponsebody.md b/docs/models/operations/addautomationsresponsebody.md new file mode 100644 index 000000000..e633d4fec --- /dev/null +++ b/docs/models/operations/addautomationsresponsebody.md @@ -0,0 +1,11 @@ +# AddAutomationsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAutomationOutput](../../models/components/unifiedautomationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbalancesheetrequest.md b/docs/models/operations/addbalancesheetrequest.md new file mode 100644 index 000000000..dae563c08 --- /dev/null +++ b/docs/models/operations/addbalancesheetrequest.md @@ -0,0 +1,10 @@ +# AddBalanceSheetRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedBalanceSheetInput` | [components.UnifiedBalanceSheetInput](../../models/components/unifiedbalancesheetinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbalancesheetresponse.md b/docs/models/operations/addbalancesheetresponse.md new file mode 100644 index 000000000..750b1278e --- /dev/null +++ b/docs/models/operations/addbalancesheetresponse.md @@ -0,0 +1,10 @@ +# AddBalanceSheetResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddBalanceSheetResponseBody](../../models/operations/addbalancesheetresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedBalanceSheetOutput` | [components.UnifiedBalanceSheetOutput](../../models/components/unifiedbalancesheetoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbalancesheetresponsebody.md b/docs/models/operations/addbalancesheetresponsebody.md new file mode 100644 index 000000000..8c04de0e9 --- /dev/null +++ b/docs/models/operations/addbalancesheetresponsebody.md @@ -0,0 +1,11 @@ +# AddBalanceSheetResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedBalanceSheetOutput](../../models/components/unifiedbalancesheetoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbalancesheetsrequest.md b/docs/models/operations/addbalancesheetsrequest.md new file mode 100644 index 000000000..79bc4c606 --- /dev/null +++ b/docs/models/operations/addbalancesheetsrequest.md @@ -0,0 +1,11 @@ +# AddBalanceSheetsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedBalanceSheetInput](../../models/components/unifiedbalancesheetinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbalancesheetsresponse.md b/docs/models/operations/addbalancesheetsresponse.md new file mode 100644 index 000000000..f59b349d1 --- /dev/null +++ b/docs/models/operations/addbalancesheetsresponse.md @@ -0,0 +1,10 @@ +# AddBalanceSheetsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddBalanceSheetsResponseBody](../../models/operations/addbalancesheetsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedBalanceSheetOutputs` | [components.UnifiedBalanceSheetOutput](../../models/components/unifiedbalancesheetoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbalancesheetsresponsebody.md b/docs/models/operations/addbalancesheetsresponsebody.md new file mode 100644 index 000000000..8f63d65dc --- /dev/null +++ b/docs/models/operations/addbalancesheetsresponsebody.md @@ -0,0 +1,11 @@ +# AddBalanceSheetsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedBalanceSheetOutput](../../models/components/unifiedbalancesheetoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbankinforequest.md b/docs/models/operations/addbankinforequest.md new file mode 100644 index 000000000..b753ea8c0 --- /dev/null +++ b/docs/models/operations/addbankinforequest.md @@ -0,0 +1,10 @@ +# AddBankinfoRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedBankInfoInput` | [components.UnifiedBankInfoInput](../../models/components/unifiedbankinfoinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbankinforesponse.md b/docs/models/operations/addbankinforesponse.md new file mode 100644 index 000000000..688a50a29 --- /dev/null +++ b/docs/models/operations/addbankinforesponse.md @@ -0,0 +1,10 @@ +# AddBankinfoResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddBankinfoResponseBody](../../models/operations/addbankinforesponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedBankInfoOutput` | [components.UnifiedBankInfoOutput](../../models/components/unifiedbankinfooutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbankinforesponsebody.md b/docs/models/operations/addbankinforesponsebody.md new file mode 100644 index 000000000..f9b72ddf5 --- /dev/null +++ b/docs/models/operations/addbankinforesponsebody.md @@ -0,0 +1,11 @@ +# AddBankinfoResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedBankInfoOutput](../../models/components/unifiedbankinfooutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbankinfosrequest.md b/docs/models/operations/addbankinfosrequest.md new file mode 100644 index 000000000..fafc50aba --- /dev/null +++ b/docs/models/operations/addbankinfosrequest.md @@ -0,0 +1,11 @@ +# AddBankinfosRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedBankInfoInput](../../models/components/unifiedbankinfoinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbankinfosresponse.md b/docs/models/operations/addbankinfosresponse.md new file mode 100644 index 000000000..b2de7d820 --- /dev/null +++ b/docs/models/operations/addbankinfosresponse.md @@ -0,0 +1,10 @@ +# AddBankinfosResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddBankinfosResponseBody](../../models/operations/addbankinfosresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedBankInfoOutputs` | [components.UnifiedBankInfoOutput](../../models/components/unifiedbankinfooutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbankinfosresponsebody.md b/docs/models/operations/addbankinfosresponsebody.md new file mode 100644 index 000000000..5fd7609b4 --- /dev/null +++ b/docs/models/operations/addbankinfosresponsebody.md @@ -0,0 +1,11 @@ +# AddBankinfosResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedBankInfoOutput](../../models/components/unifiedbankinfooutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbatchlinkedusersresponse.md b/docs/models/operations/addbatchlinkedusersresponse.md new file mode 100644 index 000000000..3d589bb2b --- /dev/null +++ b/docs/models/operations/addbatchlinkedusersresponse.md @@ -0,0 +1,8 @@ +# AddBatchLinkedUsersResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbenefitrequest.md b/docs/models/operations/addbenefitrequest.md new file mode 100644 index 000000000..0ccd35a79 --- /dev/null +++ b/docs/models/operations/addbenefitrequest.md @@ -0,0 +1,10 @@ +# AddBenefitRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedBenefitInput` | [components.UnifiedBenefitInput](../../models/components/unifiedbenefitinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbenefitresponse.md b/docs/models/operations/addbenefitresponse.md new file mode 100644 index 000000000..8974dbc3c --- /dev/null +++ b/docs/models/operations/addbenefitresponse.md @@ -0,0 +1,10 @@ +# AddBenefitResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddBenefitResponseBody](../../models/operations/addbenefitresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedBenefitOutput` | [components.UnifiedBenefitOutput](../../models/components/unifiedbenefitoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbenefitresponsebody.md b/docs/models/operations/addbenefitresponsebody.md new file mode 100644 index 000000000..d78607c1b --- /dev/null +++ b/docs/models/operations/addbenefitresponsebody.md @@ -0,0 +1,11 @@ +# AddBenefitResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedBenefitOutput](../../models/components/unifiedbenefitoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbenefitsrequest.md b/docs/models/operations/addbenefitsrequest.md new file mode 100644 index 000000000..442de8a1f --- /dev/null +++ b/docs/models/operations/addbenefitsrequest.md @@ -0,0 +1,11 @@ +# AddBenefitsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedBenefitInput](../../models/components/unifiedbenefitinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbenefitsresponse.md b/docs/models/operations/addbenefitsresponse.md new file mode 100644 index 000000000..fc0321ecf --- /dev/null +++ b/docs/models/operations/addbenefitsresponse.md @@ -0,0 +1,10 @@ +# AddBenefitsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddBenefitsResponseBody](../../models/operations/addbenefitsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedBenefitOutputs` | [components.UnifiedBenefitOutput](../../models/components/unifiedbenefitoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addbenefitsresponsebody.md b/docs/models/operations/addbenefitsresponsebody.md new file mode 100644 index 000000000..d1c00dc28 --- /dev/null +++ b/docs/models/operations/addbenefitsresponsebody.md @@ -0,0 +1,11 @@ +# AddBenefitsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedBenefitOutput](../../models/components/unifiedbenefitoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcampaignrequest.md b/docs/models/operations/addcampaignrequest.md new file mode 100644 index 000000000..19804c25f --- /dev/null +++ b/docs/models/operations/addcampaignrequest.md @@ -0,0 +1,10 @@ +# AddCampaignRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `unifiedCampaignInput` | [components.UnifiedCampaignInput](../../models/components/unifiedcampaigninput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcampaignresponse.md b/docs/models/operations/addcampaignresponse.md new file mode 100644 index 000000000..1cf95fc7b --- /dev/null +++ b/docs/models/operations/addcampaignresponse.md @@ -0,0 +1,10 @@ +# AddCampaignResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCampaignResponseBody](../../models/operations/addcampaignresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCampaignOutput` | [components.UnifiedCampaignOutput](../../models/components/unifiedcampaignoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcampaignresponsebody.md b/docs/models/operations/addcampaignresponsebody.md new file mode 100644 index 000000000..d42271151 --- /dev/null +++ b/docs/models/operations/addcampaignresponsebody.md @@ -0,0 +1,11 @@ +# AddCampaignResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCampaignOutput](../../models/components/unifiedcampaignoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcampaignsrequest.md b/docs/models/operations/addcampaignsrequest.md new file mode 100644 index 000000000..d91259d7c --- /dev/null +++ b/docs/models/operations/addcampaignsrequest.md @@ -0,0 +1,11 @@ +# AddCampaignsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedCampaignInput](../../models/components/unifiedcampaigninput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcampaignsresponse.md b/docs/models/operations/addcampaignsresponse.md new file mode 100644 index 000000000..7e8c09e1d --- /dev/null +++ b/docs/models/operations/addcampaignsresponse.md @@ -0,0 +1,10 @@ +# AddCampaignsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCampaignsResponseBody](../../models/operations/addcampaignsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCampaignOutputs` | [components.UnifiedCampaignOutput](../../models/components/unifiedcampaignoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcampaignsresponsebody.md b/docs/models/operations/addcampaignsresponsebody.md new file mode 100644 index 000000000..53f6a983c --- /dev/null +++ b/docs/models/operations/addcampaignsresponsebody.md @@ -0,0 +1,11 @@ +# AddCampaignsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCampaignOutput](../../models/components/unifiedcampaignoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcandidaterequest.md b/docs/models/operations/addcandidaterequest.md new file mode 100644 index 000000000..43a89fed3 --- /dev/null +++ b/docs/models/operations/addcandidaterequest.md @@ -0,0 +1,10 @@ +# AddCandidateRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedCandidateInput` | [components.UnifiedCandidateInput](../../models/components/unifiedcandidateinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcandidateresponse.md b/docs/models/operations/addcandidateresponse.md new file mode 100644 index 000000000..54a93b2d5 --- /dev/null +++ b/docs/models/operations/addcandidateresponse.md @@ -0,0 +1,10 @@ +# AddCandidateResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCandidateResponseBody](../../models/operations/addcandidateresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCandidateOutput` | [components.UnifiedCandidateOutput](../../models/components/unifiedcandidateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcandidateresponsebody.md b/docs/models/operations/addcandidateresponsebody.md new file mode 100644 index 000000000..843ae0026 --- /dev/null +++ b/docs/models/operations/addcandidateresponsebody.md @@ -0,0 +1,11 @@ +# AddCandidateResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCandidateOutput](../../models/components/unifiedcandidateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcandidatesrequest.md b/docs/models/operations/addcandidatesrequest.md new file mode 100644 index 000000000..a9607a0ef --- /dev/null +++ b/docs/models/operations/addcandidatesrequest.md @@ -0,0 +1,11 @@ +# AddCandidatesRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedCandidateInput](../../models/components/unifiedcandidateinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcandidatesresponse.md b/docs/models/operations/addcandidatesresponse.md new file mode 100644 index 000000000..e10c14019 --- /dev/null +++ b/docs/models/operations/addcandidatesresponse.md @@ -0,0 +1,10 @@ +# AddCandidatesResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCandidatesResponseBody](../../models/operations/addcandidatesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCandidateOutputs` | [components.UnifiedCandidateOutput](../../models/components/unifiedcandidateoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcandidatesresponsebody.md b/docs/models/operations/addcandidatesresponsebody.md new file mode 100644 index 000000000..3487f6ebe --- /dev/null +++ b/docs/models/operations/addcandidatesresponsebody.md @@ -0,0 +1,11 @@ +# AddCandidatesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCandidateOutput](../../models/components/unifiedcandidateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcashflowstatementrequest.md b/docs/models/operations/addcashflowstatementrequest.md new file mode 100644 index 000000000..76fd4ee08 --- /dev/null +++ b/docs/models/operations/addcashflowstatementrequest.md @@ -0,0 +1,10 @@ +# AddCashflowStatementRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedCashflowStatementInput` | [components.UnifiedCashflowStatementInput](../../models/components/unifiedcashflowstatementinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcashflowstatementresponse.md b/docs/models/operations/addcashflowstatementresponse.md new file mode 100644 index 000000000..e1333a4be --- /dev/null +++ b/docs/models/operations/addcashflowstatementresponse.md @@ -0,0 +1,10 @@ +# AddCashflowStatementResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCashflowStatementResponseBody](../../models/operations/addcashflowstatementresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCashflowStatementOutput` | [components.UnifiedCashflowStatementOutput](../../models/components/unifiedcashflowstatementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcashflowstatementresponsebody.md b/docs/models/operations/addcashflowstatementresponsebody.md new file mode 100644 index 000000000..f89b354fc --- /dev/null +++ b/docs/models/operations/addcashflowstatementresponsebody.md @@ -0,0 +1,11 @@ +# AddCashflowStatementResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCashflowStatementOutput](../../models/components/unifiedcashflowstatementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcashflowstatementsrequest.md b/docs/models/operations/addcashflowstatementsrequest.md new file mode 100644 index 000000000..a33f4671e --- /dev/null +++ b/docs/models/operations/addcashflowstatementsrequest.md @@ -0,0 +1,11 @@ +# AddCashflowStatementsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedCashflowStatementInput](../../models/components/unifiedcashflowstatementinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcashflowstatementsresponse.md b/docs/models/operations/addcashflowstatementsresponse.md new file mode 100644 index 000000000..af9c3f8e8 --- /dev/null +++ b/docs/models/operations/addcashflowstatementsresponse.md @@ -0,0 +1,10 @@ +# AddCashflowStatementsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCashflowStatementsResponseBody](../../models/operations/addcashflowstatementsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCashflowStatementOutputs` | [components.UnifiedCashflowStatementOutput](../../models/components/unifiedcashflowstatementoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcashflowstatementsresponsebody.md b/docs/models/operations/addcashflowstatementsresponsebody.md new file mode 100644 index 000000000..501ecc7f7 --- /dev/null +++ b/docs/models/operations/addcashflowstatementsresponsebody.md @@ -0,0 +1,11 @@ +# AddCashflowStatementsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCashflowStatementOutput](../../models/components/unifiedcashflowstatementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcommentrequest.md b/docs/models/operations/addcommentrequest.md new file mode 100644 index 000000000..86f10db09 --- /dev/null +++ b/docs/models/operations/addcommentrequest.md @@ -0,0 +1,10 @@ +# AddCommentRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | +| `unifiedCommentInput` | [components.UnifiedCommentInput](../../models/components/unifiedcommentinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcommentresponse.md b/docs/models/operations/addcommentresponse.md new file mode 100644 index 000000000..883c3372a --- /dev/null +++ b/docs/models/operations/addcommentresponse.md @@ -0,0 +1,10 @@ +# AddCommentResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCommentResponseBody](../../models/operations/addcommentresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCommentOutput` | [components.UnifiedCommentOutput](../../models/components/unifiedcommentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcommentresponsebody.md b/docs/models/operations/addcommentresponsebody.md new file mode 100644 index 000000000..504431a6a --- /dev/null +++ b/docs/models/operations/addcommentresponsebody.md @@ -0,0 +1,11 @@ +# AddCommentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCommentOutput](../../models/components/unifiedcommentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcommentsrequest.md b/docs/models/operations/addcommentsrequest.md new file mode 100644 index 000000000..22e46084c --- /dev/null +++ b/docs/models/operations/addcommentsrequest.md @@ -0,0 +1,10 @@ +# AddCommentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | +| `requestBody` | [components.UnifiedCommentInput](../../models/components/unifiedcommentinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcommentsresponse.md b/docs/models/operations/addcommentsresponse.md new file mode 100644 index 000000000..41b13cf9f --- /dev/null +++ b/docs/models/operations/addcommentsresponse.md @@ -0,0 +1,10 @@ +# AddCommentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCommentsResponseBody](../../models/operations/addcommentsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCommentOutputs` | [components.UnifiedCommentOutput](../../models/components/unifiedcommentoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcommentsresponsebody.md b/docs/models/operations/addcommentsresponsebody.md new file mode 100644 index 000000000..3c3822308 --- /dev/null +++ b/docs/models/operations/addcommentsresponsebody.md @@ -0,0 +1,11 @@ +# AddCommentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCommentOutput](../../models/components/unifiedcommentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcompaniesrequest.md b/docs/models/operations/addcompaniesrequest.md new file mode 100644 index 000000000..ee674f571 --- /dev/null +++ b/docs/models/operations/addcompaniesrequest.md @@ -0,0 +1,10 @@ +# AddCompaniesRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | +| `requestBody` | [components.UnifiedCompanyInput](../../models/components/unifiedcompanyinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcompaniesresponse.md b/docs/models/operations/addcompaniesresponse.md new file mode 100644 index 000000000..5975eae7a --- /dev/null +++ b/docs/models/operations/addcompaniesresponse.md @@ -0,0 +1,10 @@ +# AddCompaniesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCompaniesResponseBody](../../models/operations/addcompaniesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCompanyOutputs` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcompaniesresponsebody.md b/docs/models/operations/addcompaniesresponsebody.md new file mode 100644 index 000000000..d37174915 --- /dev/null +++ b/docs/models/operations/addcompaniesresponsebody.md @@ -0,0 +1,11 @@ +# AddCompaniesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcompanyinforequest.md b/docs/models/operations/addcompanyinforequest.md new file mode 100644 index 000000000..f30b12100 --- /dev/null +++ b/docs/models/operations/addcompanyinforequest.md @@ -0,0 +1,10 @@ +# AddCompanyInfoRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedCompanyInfoInput` | [components.UnifiedCompanyInfoInput](../../models/components/unifiedcompanyinfoinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcompanyinforesponse.md b/docs/models/operations/addcompanyinforesponse.md new file mode 100644 index 000000000..005b0017a --- /dev/null +++ b/docs/models/operations/addcompanyinforesponse.md @@ -0,0 +1,10 @@ +# AddCompanyInfoResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCompanyInfoResponseBody](../../models/operations/addcompanyinforesponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCompanyInfoOutput` | [components.UnifiedCompanyInfoOutput](../../models/components/unifiedcompanyinfooutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcompanyinforesponsebody.md b/docs/models/operations/addcompanyinforesponsebody.md new file mode 100644 index 000000000..0a8eb407a --- /dev/null +++ b/docs/models/operations/addcompanyinforesponsebody.md @@ -0,0 +1,11 @@ +# AddCompanyInfoResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyInfoOutput](../../models/components/unifiedcompanyinfooutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcompanyinfosrequest.md b/docs/models/operations/addcompanyinfosrequest.md new file mode 100644 index 000000000..d7d3ed049 --- /dev/null +++ b/docs/models/operations/addcompanyinfosrequest.md @@ -0,0 +1,11 @@ +# AddCompanyInfosRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedCompanyInfoInput](../../models/components/unifiedcompanyinfoinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcompanyinfosresponse.md b/docs/models/operations/addcompanyinfosresponse.md new file mode 100644 index 000000000..48f2e220b --- /dev/null +++ b/docs/models/operations/addcompanyinfosresponse.md @@ -0,0 +1,10 @@ +# AddCompanyInfosResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCompanyInfosResponseBody](../../models/operations/addcompanyinfosresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCompanyInfoOutputs` | [components.UnifiedCompanyInfoOutput](../../models/components/unifiedcompanyinfooutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcompanyinfosresponsebody.md b/docs/models/operations/addcompanyinfosresponsebody.md new file mode 100644 index 000000000..91c2b9d2c --- /dev/null +++ b/docs/models/operations/addcompanyinfosresponsebody.md @@ -0,0 +1,11 @@ +# AddCompanyInfosResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyInfoOutput](../../models/components/unifiedcompanyinfooutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcompanysrequest.md b/docs/models/operations/addcompanysrequest.md new file mode 100644 index 000000000..219df536a --- /dev/null +++ b/docs/models/operations/addcompanysrequest.md @@ -0,0 +1,11 @@ +# AddCompanysRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedCompanyInput](../../models/components/unifiedcompanyinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcompanysresponse.md b/docs/models/operations/addcompanysresponse.md new file mode 100644 index 000000000..88ced6531 --- /dev/null +++ b/docs/models/operations/addcompanysresponse.md @@ -0,0 +1,10 @@ +# AddCompanysResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCompanysResponseBody](../../models/operations/addcompanysresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCompanyOutputs` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcompanysresponsebody.md b/docs/models/operations/addcompanysresponsebody.md new file mode 100644 index 000000000..d036a3a33 --- /dev/null +++ b/docs/models/operations/addcompanysresponsebody.md @@ -0,0 +1,11 @@ +# AddCompanysResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcreditnoterequest.md b/docs/models/operations/addcreditnoterequest.md new file mode 100644 index 000000000..07b254301 --- /dev/null +++ b/docs/models/operations/addcreditnoterequest.md @@ -0,0 +1,10 @@ +# AddCreditNoteRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedCreditNoteInput` | [components.UnifiedCreditNoteInput](../../models/components/unifiedcreditnoteinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcreditnoteresponse.md b/docs/models/operations/addcreditnoteresponse.md new file mode 100644 index 000000000..89f8fd2a2 --- /dev/null +++ b/docs/models/operations/addcreditnoteresponse.md @@ -0,0 +1,10 @@ +# AddCreditNoteResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCreditNoteResponseBody](../../models/operations/addcreditnoteresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCreditNoteOutput` | [components.UnifiedCreditNoteOutput](../../models/components/unifiedcreditnoteoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcreditnoteresponsebody.md b/docs/models/operations/addcreditnoteresponsebody.md new file mode 100644 index 000000000..a00f2ada1 --- /dev/null +++ b/docs/models/operations/addcreditnoteresponsebody.md @@ -0,0 +1,11 @@ +# AddCreditNoteResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCreditNoteOutput](../../models/components/unifiedcreditnoteoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcreditnotesrequest.md b/docs/models/operations/addcreditnotesrequest.md new file mode 100644 index 000000000..2d043719e --- /dev/null +++ b/docs/models/operations/addcreditnotesrequest.md @@ -0,0 +1,11 @@ +# AddCreditNotesRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedCreditNoteInput](../../models/components/unifiedcreditnoteinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcreditnotesresponse.md b/docs/models/operations/addcreditnotesresponse.md new file mode 100644 index 000000000..f16703e1c --- /dev/null +++ b/docs/models/operations/addcreditnotesresponse.md @@ -0,0 +1,10 @@ +# AddCreditNotesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCreditNotesResponseBody](../../models/operations/addcreditnotesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCreditNoteOutputs` | [components.UnifiedCreditNoteOutput](../../models/components/unifiedcreditnoteoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcreditnotesresponsebody.md b/docs/models/operations/addcreditnotesresponsebody.md new file mode 100644 index 000000000..5bac9c28b --- /dev/null +++ b/docs/models/operations/addcreditnotesresponsebody.md @@ -0,0 +1,11 @@ +# AddCreditNotesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCreditNoteOutput](../../models/components/unifiedcreditnoteoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcrmcompanyrequest.md b/docs/models/operations/addcrmcompanyrequest.md new file mode 100644 index 000000000..551b15287 --- /dev/null +++ b/docs/models/operations/addcrmcompanyrequest.md @@ -0,0 +1,10 @@ +# AddCrmCompanyRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | +| `unifiedCompanyInput` | [components.UnifiedCompanyInput](../../models/components/unifiedcompanyinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcrmcompanyresponse.md b/docs/models/operations/addcrmcompanyresponse.md new file mode 100644 index 000000000..dba807e18 --- /dev/null +++ b/docs/models/operations/addcrmcompanyresponse.md @@ -0,0 +1,10 @@ +# AddCrmCompanyResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCrmCompanyResponseBody](../../models/operations/addcrmcompanyresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCompanyOutput` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcrmcompanyresponsebody.md b/docs/models/operations/addcrmcompanyresponsebody.md new file mode 100644 index 000000000..21065e3aa --- /dev/null +++ b/docs/models/operations/addcrmcompanyresponsebody.md @@ -0,0 +1,11 @@ +# AddCrmCompanyResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcrmcontactrequest.md b/docs/models/operations/addcrmcontactrequest.md new file mode 100644 index 000000000..3c37cb9bd --- /dev/null +++ b/docs/models/operations/addcrmcontactrequest.md @@ -0,0 +1,10 @@ +# AddCrmContactRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original CRM software. | +| `unifiedContactInput` | [components.UnifiedContactInput](../../models/components/unifiedcontactinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcrmcontactresponse.md b/docs/models/operations/addcrmcontactresponse.md new file mode 100644 index 000000000..990540ea7 --- /dev/null +++ b/docs/models/operations/addcrmcontactresponse.md @@ -0,0 +1,10 @@ +# AddCrmContactResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCrmContactResponseBody](../../models/operations/addcrmcontactresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedContactOutput` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcrmcontactresponsebody.md b/docs/models/operations/addcrmcontactresponsebody.md new file mode 100644 index 000000000..87dc5ce6b --- /dev/null +++ b/docs/models/operations/addcrmcontactresponsebody.md @@ -0,0 +1,11 @@ +# AddCrmContactResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcrmcontactsrequest.md b/docs/models/operations/addcrmcontactsrequest.md new file mode 100644 index 000000000..5c9684a32 --- /dev/null +++ b/docs/models/operations/addcrmcontactsrequest.md @@ -0,0 +1,10 @@ +# AddCrmContactsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original CRM software. | +| `requestBody` | [components.UnifiedContactInput](../../models/components/unifiedcontactinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcrmcontactsresponse.md b/docs/models/operations/addcrmcontactsresponse.md new file mode 100644 index 000000000..79fe6c2c3 --- /dev/null +++ b/docs/models/operations/addcrmcontactsresponse.md @@ -0,0 +1,10 @@ +# AddCrmContactsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddCrmContactsResponseBody](../../models/operations/addcrmcontactsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedContactOutputs` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addcrmcontactsresponsebody.md b/docs/models/operations/addcrmcontactsresponsebody.md new file mode 100644 index 000000000..9bb1fb49e --- /dev/null +++ b/docs/models/operations/addcrmcontactsresponsebody.md @@ -0,0 +1,11 @@ +# AddCrmContactsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddealrequest.md b/docs/models/operations/adddealrequest.md new file mode 100644 index 000000000..400c43281 --- /dev/null +++ b/docs/models/operations/adddealrequest.md @@ -0,0 +1,10 @@ +# AddDealRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | +| `unifiedDealInput` | [components.UnifiedDealInput](../../models/components/unifieddealinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddealresponse.md b/docs/models/operations/adddealresponse.md new file mode 100644 index 000000000..70c33f0e8 --- /dev/null +++ b/docs/models/operations/adddealresponse.md @@ -0,0 +1,10 @@ +# AddDealResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddDealResponseBody](../../models/operations/adddealresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedDealOutput` | [components.UnifiedDealOutput](../../models/components/unifieddealoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddealresponsebody.md b/docs/models/operations/adddealresponsebody.md new file mode 100644 index 000000000..495221fa9 --- /dev/null +++ b/docs/models/operations/adddealresponsebody.md @@ -0,0 +1,11 @@ +# AddDealResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDealOutput](../../models/components/unifieddealoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddealsrequest.md b/docs/models/operations/adddealsrequest.md new file mode 100644 index 000000000..f855e681e --- /dev/null +++ b/docs/models/operations/adddealsrequest.md @@ -0,0 +1,10 @@ +# AddDealsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | +| `requestBody` | [components.UnifiedDealInput](../../models/components/unifieddealinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddealsresponse.md b/docs/models/operations/adddealsresponse.md new file mode 100644 index 000000000..89ef88b02 --- /dev/null +++ b/docs/models/operations/adddealsresponse.md @@ -0,0 +1,10 @@ +# AddDealsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddDealsResponseBody](../../models/operations/adddealsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedDealOutputs` | [components.UnifiedDealOutput](../../models/components/unifieddealoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddealsresponsebody.md b/docs/models/operations/adddealsresponsebody.md new file mode 100644 index 000000000..946104943 --- /dev/null +++ b/docs/models/operations/adddealsresponsebody.md @@ -0,0 +1,11 @@ +# AddDealsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDealOutput](../../models/components/unifieddealoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddepartmentrequest.md b/docs/models/operations/adddepartmentrequest.md new file mode 100644 index 000000000..585f7d2c7 --- /dev/null +++ b/docs/models/operations/adddepartmentrequest.md @@ -0,0 +1,10 @@ +# AddDepartmentRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedDepartmentInput` | [components.UnifiedDepartmentInput](../../models/components/unifieddepartmentinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddepartmentresponse.md b/docs/models/operations/adddepartmentresponse.md new file mode 100644 index 000000000..8b06ea1fd --- /dev/null +++ b/docs/models/operations/adddepartmentresponse.md @@ -0,0 +1,10 @@ +# AddDepartmentResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddDepartmentResponseBody](../../models/operations/adddepartmentresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedDepartmentOutput` | [components.UnifiedDepartmentOutput](../../models/components/unifieddepartmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddepartmentresponsebody.md b/docs/models/operations/adddepartmentresponsebody.md new file mode 100644 index 000000000..7b300fa0f --- /dev/null +++ b/docs/models/operations/adddepartmentresponsebody.md @@ -0,0 +1,11 @@ +# AddDepartmentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDepartmentOutput](../../models/components/unifieddepartmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddepartmentsrequest.md b/docs/models/operations/adddepartmentsrequest.md new file mode 100644 index 000000000..7199d6418 --- /dev/null +++ b/docs/models/operations/adddepartmentsrequest.md @@ -0,0 +1,11 @@ +# AddDepartmentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedDepartmentInput](../../models/components/unifieddepartmentinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddepartmentsresponse.md b/docs/models/operations/adddepartmentsresponse.md new file mode 100644 index 000000000..76fb78897 --- /dev/null +++ b/docs/models/operations/adddepartmentsresponse.md @@ -0,0 +1,10 @@ +# AddDepartmentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddDepartmentsResponseBody](../../models/operations/adddepartmentsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedDepartmentOutputs` | [components.UnifiedDepartmentOutput](../../models/components/unifieddepartmentoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddepartmentsresponsebody.md b/docs/models/operations/adddepartmentsresponsebody.md new file mode 100644 index 000000000..e8f580555 --- /dev/null +++ b/docs/models/operations/adddepartmentsresponsebody.md @@ -0,0 +1,11 @@ +# AddDepartmentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDepartmentOutput](../../models/components/unifieddepartmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddependentrequest.md b/docs/models/operations/adddependentrequest.md new file mode 100644 index 000000000..1b04b1fc5 --- /dev/null +++ b/docs/models/operations/adddependentrequest.md @@ -0,0 +1,10 @@ +# AddDependentRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedDependentInput` | [components.UnifiedDependentInput](../../models/components/unifieddependentinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddependentresponse.md b/docs/models/operations/adddependentresponse.md new file mode 100644 index 000000000..5accbe799 --- /dev/null +++ b/docs/models/operations/adddependentresponse.md @@ -0,0 +1,10 @@ +# AddDependentResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddDependentResponseBody](../../models/operations/adddependentresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedDependentOutput` | [components.UnifiedDependentOutput](../../models/components/unifieddependentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddependentresponsebody.md b/docs/models/operations/adddependentresponsebody.md new file mode 100644 index 000000000..8c324736d --- /dev/null +++ b/docs/models/operations/adddependentresponsebody.md @@ -0,0 +1,11 @@ +# AddDependentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDependentOutput](../../models/components/unifieddependentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddependentsrequest.md b/docs/models/operations/adddependentsrequest.md new file mode 100644 index 000000000..341207eb9 --- /dev/null +++ b/docs/models/operations/adddependentsrequest.md @@ -0,0 +1,11 @@ +# AddDependentsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedDependentInput](../../models/components/unifieddependentinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddependentsresponse.md b/docs/models/operations/adddependentsresponse.md new file mode 100644 index 000000000..6c5feffd7 --- /dev/null +++ b/docs/models/operations/adddependentsresponse.md @@ -0,0 +1,10 @@ +# AddDependentsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddDependentsResponseBody](../../models/operations/adddependentsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedDependentOutputs` | [components.UnifiedDependentOutput](../../models/components/unifieddependentoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddependentsresponsebody.md b/docs/models/operations/adddependentsresponsebody.md new file mode 100644 index 000000000..0e7fd7973 --- /dev/null +++ b/docs/models/operations/adddependentsresponsebody.md @@ -0,0 +1,11 @@ +# AddDependentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDependentOutput](../../models/components/unifieddependentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddriverequest.md b/docs/models/operations/adddriverequest.md new file mode 100644 index 000000000..5c0ea0a8a --- /dev/null +++ b/docs/models/operations/adddriverequest.md @@ -0,0 +1,10 @@ +# AddDriveRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | +| `unifiedDriveInput` | [components.UnifiedDriveInput](../../models/components/unifieddriveinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddriveresponse.md b/docs/models/operations/adddriveresponse.md new file mode 100644 index 000000000..e6246b231 --- /dev/null +++ b/docs/models/operations/adddriveresponse.md @@ -0,0 +1,10 @@ +# AddDriveResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddDriveResponseBody](../../models/operations/adddriveresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedDriveOutput` | [components.UnifiedDriveOutput](../../models/components/unifieddriveoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddriveresponsebody.md b/docs/models/operations/adddriveresponsebody.md new file mode 100644 index 000000000..8c67a088f --- /dev/null +++ b/docs/models/operations/adddriveresponsebody.md @@ -0,0 +1,11 @@ +# AddDriveResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDriveOutput](../../models/components/unifieddriveoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddrivesrequest.md b/docs/models/operations/adddrivesrequest.md new file mode 100644 index 000000000..5f9555ad0 --- /dev/null +++ b/docs/models/operations/adddrivesrequest.md @@ -0,0 +1,11 @@ +# AddDrivesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedDriveInput](../../models/components/unifieddriveinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddrivesresponse.md b/docs/models/operations/adddrivesresponse.md new file mode 100644 index 000000000..766873e64 --- /dev/null +++ b/docs/models/operations/adddrivesresponse.md @@ -0,0 +1,10 @@ +# AddDrivesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddDrivesResponseBody](../../models/operations/adddrivesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedDriveOutputs` | [components.UnifiedDriveOutput](../../models/components/unifieddriveoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/adddrivesresponsebody.md b/docs/models/operations/adddrivesresponsebody.md new file mode 100644 index 000000000..9564d39c5 --- /dev/null +++ b/docs/models/operations/adddrivesresponsebody.md @@ -0,0 +1,11 @@ +# AddDrivesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDriveOutput](../../models/components/unifieddriveoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addeeocsrequest.md b/docs/models/operations/addeeocsrequest.md new file mode 100644 index 000000000..3fac63945 --- /dev/null +++ b/docs/models/operations/addeeocsrequest.md @@ -0,0 +1,10 @@ +# AddEeocsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedEeocsInput` | [components.UnifiedEeocsInput](../../models/components/unifiedeeocsinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addeeocsresponse.md b/docs/models/operations/addeeocsresponse.md new file mode 100644 index 000000000..b11bdfce9 --- /dev/null +++ b/docs/models/operations/addeeocsresponse.md @@ -0,0 +1,10 @@ +# AddEeocsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEeocsResponseBody](../../models/operations/addeeocsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEeocsOutput` | [components.UnifiedEeocsOutput](../../models/components/unifiedeeocsoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addeeocsresponsebody.md b/docs/models/operations/addeeocsresponsebody.md new file mode 100644 index 000000000..348ff9678 --- /dev/null +++ b/docs/models/operations/addeeocsresponsebody.md @@ -0,0 +1,11 @@ +# AddEeocsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEeocsOutput](../../models/components/unifiedeeocsoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addeeocssrequest.md b/docs/models/operations/addeeocssrequest.md new file mode 100644 index 000000000..36ca17a48 --- /dev/null +++ b/docs/models/operations/addeeocssrequest.md @@ -0,0 +1,11 @@ +# AddEeocssRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedEeocsInput](../../models/components/unifiedeeocsinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addeeocssresponse.md b/docs/models/operations/addeeocssresponse.md new file mode 100644 index 000000000..642f7dbfd --- /dev/null +++ b/docs/models/operations/addeeocssresponse.md @@ -0,0 +1,10 @@ +# AddEeocssResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEeocssResponseBody](../../models/operations/addeeocssresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEeocsOutputs` | [components.UnifiedEeocsOutput](../../models/components/unifiedeeocsoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addeeocssresponsebody.md b/docs/models/operations/addeeocssresponsebody.md new file mode 100644 index 000000000..765aefa5d --- /dev/null +++ b/docs/models/operations/addeeocssresponsebody.md @@ -0,0 +1,11 @@ +# AddEeocssResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEeocsOutput](../../models/components/unifiedeeocsoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemailrequest.md b/docs/models/operations/addemailrequest.md new file mode 100644 index 000000000..e5846faac --- /dev/null +++ b/docs/models/operations/addemailrequest.md @@ -0,0 +1,10 @@ +# AddEmailRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `unifiedEmailInput` | [components.UnifiedEmailInput](../../models/components/unifiedemailinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemailresponse.md b/docs/models/operations/addemailresponse.md new file mode 100644 index 000000000..ff1a2072f --- /dev/null +++ b/docs/models/operations/addemailresponse.md @@ -0,0 +1,10 @@ +# AddEmailResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEmailResponseBody](../../models/operations/addemailresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEmailOutput` | [components.UnifiedEmailOutput](../../models/components/unifiedemailoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemailresponsebody.md b/docs/models/operations/addemailresponsebody.md new file mode 100644 index 000000000..be96c3c0f --- /dev/null +++ b/docs/models/operations/addemailresponsebody.md @@ -0,0 +1,11 @@ +# AddEmailResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmailOutput](../../models/components/unifiedemailoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemailsrequest.md b/docs/models/operations/addemailsrequest.md new file mode 100644 index 000000000..89b06b06e --- /dev/null +++ b/docs/models/operations/addemailsrequest.md @@ -0,0 +1,11 @@ +# AddEmailsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedEmailInput](../../models/components/unifiedemailinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemailsresponse.md b/docs/models/operations/addemailsresponse.md new file mode 100644 index 000000000..5bd8ca3f0 --- /dev/null +++ b/docs/models/operations/addemailsresponse.md @@ -0,0 +1,10 @@ +# AddEmailsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEmailsResponseBody](../../models/operations/addemailsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEmailOutputs` | [components.UnifiedEmailOutput](../../models/components/unifiedemailoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemailsresponsebody.md b/docs/models/operations/addemailsresponsebody.md new file mode 100644 index 000000000..423c4eeb4 --- /dev/null +++ b/docs/models/operations/addemailsresponsebody.md @@ -0,0 +1,11 @@ +# AddEmailsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmailOutput](../../models/components/unifiedemailoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployeepayrollrunrequest.md b/docs/models/operations/addemployeepayrollrunrequest.md new file mode 100644 index 000000000..4ebc46c49 --- /dev/null +++ b/docs/models/operations/addemployeepayrollrunrequest.md @@ -0,0 +1,10 @@ +# AddEmployeePayrollRunRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedEmployeePayrollRunInput` | [components.UnifiedEmployeePayrollRunInput](../../models/components/unifiedemployeepayrollruninput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployeepayrollrunresponse.md b/docs/models/operations/addemployeepayrollrunresponse.md new file mode 100644 index 000000000..9e2a68b26 --- /dev/null +++ b/docs/models/operations/addemployeepayrollrunresponse.md @@ -0,0 +1,10 @@ +# AddEmployeePayrollRunResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEmployeePayrollRunResponseBody](../../models/operations/addemployeepayrollrunresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEmployeePayrollRunOutput` | [components.UnifiedEmployeePayrollRunOutput](../../models/components/unifiedemployeepayrollrunoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployeepayrollrunresponsebody.md b/docs/models/operations/addemployeepayrollrunresponsebody.md new file mode 100644 index 000000000..af09d9a57 --- /dev/null +++ b/docs/models/operations/addemployeepayrollrunresponsebody.md @@ -0,0 +1,11 @@ +# AddEmployeePayrollRunResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmployeePayrollRunOutput](../../models/components/unifiedemployeepayrollrunoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployeepayrollrunsrequest.md b/docs/models/operations/addemployeepayrollrunsrequest.md new file mode 100644 index 000000000..b7642f1bd --- /dev/null +++ b/docs/models/operations/addemployeepayrollrunsrequest.md @@ -0,0 +1,11 @@ +# AddEmployeePayrollRunsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedEmployeePayrollRunInput](../../models/components/unifiedemployeepayrollruninput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployeepayrollrunsresponse.md b/docs/models/operations/addemployeepayrollrunsresponse.md new file mode 100644 index 000000000..d74192018 --- /dev/null +++ b/docs/models/operations/addemployeepayrollrunsresponse.md @@ -0,0 +1,10 @@ +# AddEmployeePayrollRunsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEmployeePayrollRunsResponseBody](../../models/operations/addemployeepayrollrunsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEmployeePayrollRunOutputs` | [components.UnifiedEmployeePayrollRunOutput](../../models/components/unifiedemployeepayrollrunoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployeepayrollrunsresponsebody.md b/docs/models/operations/addemployeepayrollrunsresponsebody.md new file mode 100644 index 000000000..211ec429e --- /dev/null +++ b/docs/models/operations/addemployeepayrollrunsresponsebody.md @@ -0,0 +1,11 @@ +# AddEmployeePayrollRunsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmployeePayrollRunOutput](../../models/components/unifiedemployeepayrollrunoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployeerequest.md b/docs/models/operations/addemployeerequest.md new file mode 100644 index 000000000..db3f49b34 --- /dev/null +++ b/docs/models/operations/addemployeerequest.md @@ -0,0 +1,10 @@ +# AddEmployeeRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedEmployeeInput` | [components.UnifiedEmployeeInput](../../models/components/unifiedemployeeinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployeeresponse.md b/docs/models/operations/addemployeeresponse.md new file mode 100644 index 000000000..74ad0f080 --- /dev/null +++ b/docs/models/operations/addemployeeresponse.md @@ -0,0 +1,10 @@ +# AddEmployeeResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEmployeeResponseBody](../../models/operations/addemployeeresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEmployeeOutput` | [components.UnifiedEmployeeOutput](../../models/components/unifiedemployeeoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployeeresponsebody.md b/docs/models/operations/addemployeeresponsebody.md new file mode 100644 index 000000000..48f2dab94 --- /dev/null +++ b/docs/models/operations/addemployeeresponsebody.md @@ -0,0 +1,11 @@ +# AddEmployeeResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmployeeOutput](../../models/components/unifiedemployeeoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployeesrequest.md b/docs/models/operations/addemployeesrequest.md new file mode 100644 index 000000000..4ab2ded09 --- /dev/null +++ b/docs/models/operations/addemployeesrequest.md @@ -0,0 +1,11 @@ +# AddEmployeesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedEmployeeInput](../../models/components/unifiedemployeeinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployeesresponse.md b/docs/models/operations/addemployeesresponse.md new file mode 100644 index 000000000..fb28dce81 --- /dev/null +++ b/docs/models/operations/addemployeesresponse.md @@ -0,0 +1,10 @@ +# AddEmployeesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEmployeesResponseBody](../../models/operations/addemployeesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEmployeeOutputs` | [components.UnifiedEmployeeOutput](../../models/components/unifiedemployeeoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployeesresponsebody.md b/docs/models/operations/addemployeesresponsebody.md new file mode 100644 index 000000000..81cb67894 --- /dev/null +++ b/docs/models/operations/addemployeesresponsebody.md @@ -0,0 +1,11 @@ +# AddEmployeesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmployeeOutput](../../models/components/unifiedemployeeoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployerbenefitrequest.md b/docs/models/operations/addemployerbenefitrequest.md new file mode 100644 index 000000000..005fe4e39 --- /dev/null +++ b/docs/models/operations/addemployerbenefitrequest.md @@ -0,0 +1,10 @@ +# AddEmployerBenefitRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedEmployerBenefitInput` | [components.UnifiedEmployerBenefitInput](../../models/components/unifiedemployerbenefitinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployerbenefitresponse.md b/docs/models/operations/addemployerbenefitresponse.md new file mode 100644 index 000000000..089e720a9 --- /dev/null +++ b/docs/models/operations/addemployerbenefitresponse.md @@ -0,0 +1,10 @@ +# AddEmployerBenefitResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEmployerBenefitResponseBody](../../models/operations/addemployerbenefitresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEmployerBenefitOutput` | [components.UnifiedEmployerBenefitOutput](../../models/components/unifiedemployerbenefitoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployerbenefitresponsebody.md b/docs/models/operations/addemployerbenefitresponsebody.md new file mode 100644 index 000000000..2594ae75f --- /dev/null +++ b/docs/models/operations/addemployerbenefitresponsebody.md @@ -0,0 +1,11 @@ +# AddEmployerBenefitResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmployerBenefitOutput](../../models/components/unifiedemployerbenefitoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployerbenefitsrequest.md b/docs/models/operations/addemployerbenefitsrequest.md new file mode 100644 index 000000000..067c96856 --- /dev/null +++ b/docs/models/operations/addemployerbenefitsrequest.md @@ -0,0 +1,11 @@ +# AddEmployerBenefitsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedEmployerBenefitInput](../../models/components/unifiedemployerbenefitinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployerbenefitsresponse.md b/docs/models/operations/addemployerbenefitsresponse.md new file mode 100644 index 000000000..d4d51a8d6 --- /dev/null +++ b/docs/models/operations/addemployerbenefitsresponse.md @@ -0,0 +1,10 @@ +# AddEmployerBenefitsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEmployerBenefitsResponseBody](../../models/operations/addemployerbenefitsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEmployerBenefitOutputs` | [components.UnifiedEmployerBenefitOutput](../../models/components/unifiedemployerbenefitoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemployerbenefitsresponsebody.md b/docs/models/operations/addemployerbenefitsresponsebody.md new file mode 100644 index 000000000..6b5df81b2 --- /dev/null +++ b/docs/models/operations/addemployerbenefitsresponsebody.md @@ -0,0 +1,11 @@ +# AddEmployerBenefitsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmployerBenefitOutput](../../models/components/unifiedemployerbenefitoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemploymentrequest.md b/docs/models/operations/addemploymentrequest.md new file mode 100644 index 000000000..b3b12ac4d --- /dev/null +++ b/docs/models/operations/addemploymentrequest.md @@ -0,0 +1,10 @@ +# AddEmploymentRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedEmploymentInput` | [components.UnifiedEmploymentInput](../../models/components/unifiedemploymentinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemploymentresponse.md b/docs/models/operations/addemploymentresponse.md new file mode 100644 index 000000000..18c64053f --- /dev/null +++ b/docs/models/operations/addemploymentresponse.md @@ -0,0 +1,10 @@ +# AddEmploymentResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEmploymentResponseBody](../../models/operations/addemploymentresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEmploymentOutput` | [components.UnifiedEmploymentOutput](../../models/components/unifiedemploymentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemploymentresponsebody.md b/docs/models/operations/addemploymentresponsebody.md new file mode 100644 index 000000000..3b7f47cd3 --- /dev/null +++ b/docs/models/operations/addemploymentresponsebody.md @@ -0,0 +1,11 @@ +# AddEmploymentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmploymentOutput](../../models/components/unifiedemploymentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemploymentsrequest.md b/docs/models/operations/addemploymentsrequest.md new file mode 100644 index 000000000..084f07ed0 --- /dev/null +++ b/docs/models/operations/addemploymentsrequest.md @@ -0,0 +1,11 @@ +# AddEmploymentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedEmploymentInput](../../models/components/unifiedemploymentinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemploymentsresponse.md b/docs/models/operations/addemploymentsresponse.md new file mode 100644 index 000000000..92b987baa --- /dev/null +++ b/docs/models/operations/addemploymentsresponse.md @@ -0,0 +1,10 @@ +# AddEmploymentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEmploymentsResponseBody](../../models/operations/addemploymentsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEmploymentOutputs` | [components.UnifiedEmploymentOutput](../../models/components/unifiedemploymentoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addemploymentsresponsebody.md b/docs/models/operations/addemploymentsresponsebody.md new file mode 100644 index 000000000..a691e5b35 --- /dev/null +++ b/docs/models/operations/addemploymentsresponsebody.md @@ -0,0 +1,11 @@ +# AddEmploymentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmploymentOutput](../../models/components/unifiedemploymentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addengagementrequest.md b/docs/models/operations/addengagementrequest.md new file mode 100644 index 000000000..eff1f5951 --- /dev/null +++ b/docs/models/operations/addengagementrequest.md @@ -0,0 +1,10 @@ +# AddEngagementRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | +| `unifiedEngagementInput` | [components.UnifiedEngagementInput](../../models/components/unifiedengagementinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addengagementresponse.md b/docs/models/operations/addengagementresponse.md new file mode 100644 index 000000000..d8ea4c4cb --- /dev/null +++ b/docs/models/operations/addengagementresponse.md @@ -0,0 +1,10 @@ +# AddEngagementResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEngagementResponseBody](../../models/operations/addengagementresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEngagementOutput` | [components.UnifiedEngagementOutput](../../models/components/unifiedengagementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addengagementresponsebody.md b/docs/models/operations/addengagementresponsebody.md new file mode 100644 index 000000000..4c355795e --- /dev/null +++ b/docs/models/operations/addengagementresponsebody.md @@ -0,0 +1,11 @@ +# AddEngagementResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEngagementOutput](../../models/components/unifiedengagementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addengagementsrequest.md b/docs/models/operations/addengagementsrequest.md new file mode 100644 index 000000000..4262915ee --- /dev/null +++ b/docs/models/operations/addengagementsrequest.md @@ -0,0 +1,10 @@ +# AddEngagementsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | +| `requestBody` | [components.UnifiedEngagementInput](../../models/components/unifiedengagementinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addengagementsresponse.md b/docs/models/operations/addengagementsresponse.md new file mode 100644 index 000000000..adc14db94 --- /dev/null +++ b/docs/models/operations/addengagementsresponse.md @@ -0,0 +1,10 @@ +# AddEngagementsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEngagementsResponseBody](../../models/operations/addengagementsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEngagementOutputs` | [components.UnifiedEngagementOutput](../../models/components/unifiedengagementoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addengagementsresponsebody.md b/docs/models/operations/addengagementsresponsebody.md new file mode 100644 index 000000000..5480ad7b9 --- /dev/null +++ b/docs/models/operations/addengagementsresponsebody.md @@ -0,0 +1,11 @@ +# AddEngagementsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEngagementOutput](../../models/components/unifiedengagementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addeventrequest.md b/docs/models/operations/addeventrequest.md new file mode 100644 index 000000000..1daabadf7 --- /dev/null +++ b/docs/models/operations/addeventrequest.md @@ -0,0 +1,10 @@ +# AddEventRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `unifiedEventInput` | [components.UnifiedEventInput](../../models/components/unifiedeventinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addeventresponse.md b/docs/models/operations/addeventresponse.md new file mode 100644 index 000000000..5ed12ed3b --- /dev/null +++ b/docs/models/operations/addeventresponse.md @@ -0,0 +1,10 @@ +# AddEventResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEventResponseBody](../../models/operations/addeventresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEventOutput` | [components.UnifiedEventOutput](../../models/components/unifiedeventoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addeventresponsebody.md b/docs/models/operations/addeventresponsebody.md new file mode 100644 index 000000000..2bc40cd73 --- /dev/null +++ b/docs/models/operations/addeventresponsebody.md @@ -0,0 +1,11 @@ +# AddEventResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEventOutput](../../models/components/unifiedeventoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addeventsrequest.md b/docs/models/operations/addeventsrequest.md new file mode 100644 index 000000000..1a6dbca8b --- /dev/null +++ b/docs/models/operations/addeventsrequest.md @@ -0,0 +1,11 @@ +# AddEventsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedEventInput](../../models/components/unifiedeventinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addeventsresponse.md b/docs/models/operations/addeventsresponse.md new file mode 100644 index 000000000..d7079fddd --- /dev/null +++ b/docs/models/operations/addeventsresponse.md @@ -0,0 +1,10 @@ +# AddEventsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddEventsResponseBody](../../models/operations/addeventsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedEventOutputs` | [components.UnifiedEventOutput](../../models/components/unifiedeventoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addeventsresponsebody.md b/docs/models/operations/addeventsresponsebody.md new file mode 100644 index 000000000..ad7857c52 --- /dev/null +++ b/docs/models/operations/addeventsresponsebody.md @@ -0,0 +1,11 @@ +# AddEventsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEventOutput](../../models/components/unifiedeventoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addexpenserequest.md b/docs/models/operations/addexpenserequest.md new file mode 100644 index 000000000..6397487bc --- /dev/null +++ b/docs/models/operations/addexpenserequest.md @@ -0,0 +1,10 @@ +# AddExpenseRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedExpenseInput` | [components.UnifiedExpenseInput](../../models/components/unifiedexpenseinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addexpenseresponse.md b/docs/models/operations/addexpenseresponse.md new file mode 100644 index 000000000..64fceb0ed --- /dev/null +++ b/docs/models/operations/addexpenseresponse.md @@ -0,0 +1,10 @@ +# AddExpenseResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddExpenseResponseBody](../../models/operations/addexpenseresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedExpenseOutput` | [components.UnifiedExpenseOutput](../../models/components/unifiedexpenseoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addexpenseresponsebody.md b/docs/models/operations/addexpenseresponsebody.md new file mode 100644 index 000000000..76138f557 --- /dev/null +++ b/docs/models/operations/addexpenseresponsebody.md @@ -0,0 +1,11 @@ +# AddExpenseResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedExpenseOutput](../../models/components/unifiedexpenseoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addexpensesrequest.md b/docs/models/operations/addexpensesrequest.md new file mode 100644 index 000000000..da16ea56f --- /dev/null +++ b/docs/models/operations/addexpensesrequest.md @@ -0,0 +1,11 @@ +# AddExpensesRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedExpenseInput](../../models/components/unifiedexpenseinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addexpensesresponse.md b/docs/models/operations/addexpensesresponse.md new file mode 100644 index 000000000..d1e9ed708 --- /dev/null +++ b/docs/models/operations/addexpensesresponse.md @@ -0,0 +1,10 @@ +# AddExpensesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddExpensesResponseBody](../../models/operations/addexpensesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedExpenseOutputs` | [components.UnifiedExpenseOutput](../../models/components/unifiedexpenseoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addexpensesresponsebody.md b/docs/models/operations/addexpensesresponsebody.md new file mode 100644 index 000000000..42817de5c --- /dev/null +++ b/docs/models/operations/addexpensesresponsebody.md @@ -0,0 +1,11 @@ +# AddExpensesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedExpenseOutput](../../models/components/unifiedexpenseoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addfilerequest.md b/docs/models/operations/addfilerequest.md new file mode 100644 index 000000000..f7404954f --- /dev/null +++ b/docs/models/operations/addfilerequest.md @@ -0,0 +1,10 @@ +# AddFileRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | +| `unifiedFileInput` | [components.UnifiedFileInput](../../models/components/unifiedfileinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addfileresponse.md b/docs/models/operations/addfileresponse.md new file mode 100644 index 000000000..c12719a64 --- /dev/null +++ b/docs/models/operations/addfileresponse.md @@ -0,0 +1,10 @@ +# AddFileResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddFileResponseBody](../../models/operations/addfileresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedFileOutput` | [components.UnifiedFileOutput](../../models/components/unifiedfileoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addfileresponsebody.md b/docs/models/operations/addfileresponsebody.md new file mode 100644 index 000000000..453af9cf3 --- /dev/null +++ b/docs/models/operations/addfileresponsebody.md @@ -0,0 +1,11 @@ +# AddFileResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedFileOutput](../../models/components/unifiedfileoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addfilesrequest.md b/docs/models/operations/addfilesrequest.md new file mode 100644 index 000000000..a6330ee73 --- /dev/null +++ b/docs/models/operations/addfilesrequest.md @@ -0,0 +1,11 @@ +# AddFilesRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedFileInput](../../models/components/unifiedfileinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addfilesresponse.md b/docs/models/operations/addfilesresponse.md new file mode 100644 index 000000000..96386fea4 --- /dev/null +++ b/docs/models/operations/addfilesresponse.md @@ -0,0 +1,10 @@ +# AddFilesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddFilesResponseBody](../../models/operations/addfilesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedFileOutputs` | [components.UnifiedFileOutput](../../models/components/unifiedfileoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addfilesresponsebody.md b/docs/models/operations/addfilesresponsebody.md new file mode 100644 index 000000000..1db262c70 --- /dev/null +++ b/docs/models/operations/addfilesresponsebody.md @@ -0,0 +1,11 @@ +# AddFilesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedFileOutput](../../models/components/unifiedfileoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addfolderrequest.md b/docs/models/operations/addfolderrequest.md new file mode 100644 index 000000000..2c1b7da93 --- /dev/null +++ b/docs/models/operations/addfolderrequest.md @@ -0,0 +1,10 @@ +# AddFolderRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | +| `unifiedFolderInput` | [components.UnifiedFolderInput](../../models/components/unifiedfolderinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addfolderresponse.md b/docs/models/operations/addfolderresponse.md new file mode 100644 index 000000000..73d2d35c5 --- /dev/null +++ b/docs/models/operations/addfolderresponse.md @@ -0,0 +1,10 @@ +# AddFolderResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddFolderResponseBody](../../models/operations/addfolderresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedFolderOutput` | [components.UnifiedFolderOutput](../../models/components/unifiedfolderoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addfolderresponsebody.md b/docs/models/operations/addfolderresponsebody.md new file mode 100644 index 000000000..e4b2adcae --- /dev/null +++ b/docs/models/operations/addfolderresponsebody.md @@ -0,0 +1,11 @@ +# AddFolderResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedFolderOutput](../../models/components/unifiedfolderoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addfoldersrequest.md b/docs/models/operations/addfoldersrequest.md new file mode 100644 index 000000000..df79afc1b --- /dev/null +++ b/docs/models/operations/addfoldersrequest.md @@ -0,0 +1,11 @@ +# AddFoldersRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedFolderInput](../../models/components/unifiedfolderinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addfoldersresponse.md b/docs/models/operations/addfoldersresponse.md new file mode 100644 index 000000000..fa7acce24 --- /dev/null +++ b/docs/models/operations/addfoldersresponse.md @@ -0,0 +1,10 @@ +# AddFoldersResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddFoldersResponseBody](../../models/operations/addfoldersresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedFolderOutputs` | [components.UnifiedFolderOutput](../../models/components/unifiedfolderoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addfoldersresponsebody.md b/docs/models/operations/addfoldersresponsebody.md new file mode 100644 index 000000000..b3c3ba5de --- /dev/null +++ b/docs/models/operations/addfoldersresponsebody.md @@ -0,0 +1,11 @@ +# AddFoldersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedFolderOutput](../../models/components/unifiedfolderoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addgrouprequest.md b/docs/models/operations/addgrouprequest.md new file mode 100644 index 000000000..9caabf8c6 --- /dev/null +++ b/docs/models/operations/addgrouprequest.md @@ -0,0 +1,10 @@ +# AddGroupRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedGroupInput` | [components.UnifiedGroupInput](../../models/components/unifiedgroupinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addgroupresponse.md b/docs/models/operations/addgroupresponse.md new file mode 100644 index 000000000..49c6c2365 --- /dev/null +++ b/docs/models/operations/addgroupresponse.md @@ -0,0 +1,10 @@ +# AddGroupResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddGroupResponseBody](../../models/operations/addgroupresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedGroupOutput` | [components.UnifiedGroupOutput](../../models/components/unifiedgroupoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addgroupresponsebody.md b/docs/models/operations/addgroupresponsebody.md new file mode 100644 index 000000000..60fdd0041 --- /dev/null +++ b/docs/models/operations/addgroupresponsebody.md @@ -0,0 +1,11 @@ +# AddGroupResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedGroupOutput](../../models/components/unifiedgroupoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addgroupsrequest.md b/docs/models/operations/addgroupsrequest.md new file mode 100644 index 000000000..8879bc97e --- /dev/null +++ b/docs/models/operations/addgroupsrequest.md @@ -0,0 +1,11 @@ +# AddGroupsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedGroupInput](../../models/components/unifiedgroupinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addgroupsresponse.md b/docs/models/operations/addgroupsresponse.md new file mode 100644 index 000000000..e2651b1b3 --- /dev/null +++ b/docs/models/operations/addgroupsresponse.md @@ -0,0 +1,10 @@ +# AddGroupsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddGroupsResponseBody](../../models/operations/addgroupsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedGroupOutputs` | [components.UnifiedGroupOutput](../../models/components/unifiedgroupoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addgroupsresponsebody.md b/docs/models/operations/addgroupsresponsebody.md new file mode 100644 index 000000000..a1dac964d --- /dev/null +++ b/docs/models/operations/addgroupsresponsebody.md @@ -0,0 +1,11 @@ +# AddGroupsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedGroupOutput](../../models/components/unifiedgroupoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addhriscompanyrequest.md b/docs/models/operations/addhriscompanyrequest.md new file mode 100644 index 000000000..425a0e141 --- /dev/null +++ b/docs/models/operations/addhriscompanyrequest.md @@ -0,0 +1,10 @@ +# AddHrisCompanyRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedCompanyInput` | [components.UnifiedCompanyInput](../../models/components/unifiedcompanyinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addhriscompanyresponse.md b/docs/models/operations/addhriscompanyresponse.md new file mode 100644 index 000000000..1ca8ad1cf --- /dev/null +++ b/docs/models/operations/addhriscompanyresponse.md @@ -0,0 +1,10 @@ +# AddHrisCompanyResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddHrisCompanyResponseBody](../../models/operations/addhriscompanyresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedCompanyOutput` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addhriscompanyresponsebody.md b/docs/models/operations/addhriscompanyresponsebody.md new file mode 100644 index 000000000..6a86437c9 --- /dev/null +++ b/docs/models/operations/addhriscompanyresponsebody.md @@ -0,0 +1,11 @@ +# AddHrisCompanyResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addincomestatementrequest.md b/docs/models/operations/addincomestatementrequest.md new file mode 100644 index 000000000..be1d01034 --- /dev/null +++ b/docs/models/operations/addincomestatementrequest.md @@ -0,0 +1,10 @@ +# AddIncomeStatementRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedIncomeStatementInput` | [components.UnifiedIncomeStatementInput](../../models/components/unifiedincomestatementinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addincomestatementresponse.md b/docs/models/operations/addincomestatementresponse.md new file mode 100644 index 000000000..22306982a --- /dev/null +++ b/docs/models/operations/addincomestatementresponse.md @@ -0,0 +1,10 @@ +# AddIncomeStatementResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddIncomeStatementResponseBody](../../models/operations/addincomestatementresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedIncomeStatementOutput` | [components.UnifiedIncomeStatementOutput](../../models/components/unifiedincomestatementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addincomestatementresponsebody.md b/docs/models/operations/addincomestatementresponsebody.md new file mode 100644 index 000000000..874f8d18d --- /dev/null +++ b/docs/models/operations/addincomestatementresponsebody.md @@ -0,0 +1,11 @@ +# AddIncomeStatementResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedIncomeStatementOutput](../../models/components/unifiedincomestatementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addincomestatementsrequest.md b/docs/models/operations/addincomestatementsrequest.md new file mode 100644 index 000000000..419ecb62f --- /dev/null +++ b/docs/models/operations/addincomestatementsrequest.md @@ -0,0 +1,11 @@ +# AddIncomeStatementsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedIncomeStatementInput](../../models/components/unifiedincomestatementinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addincomestatementsresponse.md b/docs/models/operations/addincomestatementsresponse.md new file mode 100644 index 000000000..3fc0d1d84 --- /dev/null +++ b/docs/models/operations/addincomestatementsresponse.md @@ -0,0 +1,10 @@ +# AddIncomeStatementsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddIncomeStatementsResponseBody](../../models/operations/addincomestatementsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedIncomeStatementOutputs` | [components.UnifiedIncomeStatementOutput](../../models/components/unifiedincomestatementoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addincomestatementsresponsebody.md b/docs/models/operations/addincomestatementsresponsebody.md new file mode 100644 index 000000000..a8561ec6a --- /dev/null +++ b/docs/models/operations/addincomestatementsresponsebody.md @@ -0,0 +1,11 @@ +# AddIncomeStatementsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedIncomeStatementOutput](../../models/components/unifiedincomestatementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addinterviewrequest.md b/docs/models/operations/addinterviewrequest.md new file mode 100644 index 000000000..b83d6e6be --- /dev/null +++ b/docs/models/operations/addinterviewrequest.md @@ -0,0 +1,10 @@ +# AddInterviewRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedInterviewInput` | [components.UnifiedInterviewInput](../../models/components/unifiedinterviewinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addinterviewresponse.md b/docs/models/operations/addinterviewresponse.md new file mode 100644 index 000000000..411b9edaf --- /dev/null +++ b/docs/models/operations/addinterviewresponse.md @@ -0,0 +1,10 @@ +# AddInterviewResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddInterviewResponseBody](../../models/operations/addinterviewresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedInterviewOutput` | [components.UnifiedInterviewOutput](../../models/components/unifiedinterviewoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addinterviewresponsebody.md b/docs/models/operations/addinterviewresponsebody.md new file mode 100644 index 000000000..e57889223 --- /dev/null +++ b/docs/models/operations/addinterviewresponsebody.md @@ -0,0 +1,11 @@ +# AddInterviewResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedInterviewOutput](../../models/components/unifiedinterviewoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addinterviewsrequest.md b/docs/models/operations/addinterviewsrequest.md new file mode 100644 index 000000000..23eff652e --- /dev/null +++ b/docs/models/operations/addinterviewsrequest.md @@ -0,0 +1,11 @@ +# AddInterviewsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedInterviewInput](../../models/components/unifiedinterviewinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addinterviewsresponse.md b/docs/models/operations/addinterviewsresponse.md new file mode 100644 index 000000000..8f9ae1196 --- /dev/null +++ b/docs/models/operations/addinterviewsresponse.md @@ -0,0 +1,10 @@ +# AddInterviewsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddInterviewsResponseBody](../../models/operations/addinterviewsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedInterviewOutputs` | [components.UnifiedInterviewOutput](../../models/components/unifiedinterviewoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addinterviewsresponsebody.md b/docs/models/operations/addinterviewsresponsebody.md new file mode 100644 index 000000000..c522167a1 --- /dev/null +++ b/docs/models/operations/addinterviewsresponsebody.md @@ -0,0 +1,11 @@ +# AddInterviewsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedInterviewOutput](../../models/components/unifiedinterviewoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addinvoicerequest.md b/docs/models/operations/addinvoicerequest.md new file mode 100644 index 000000000..1e1e4c1df --- /dev/null +++ b/docs/models/operations/addinvoicerequest.md @@ -0,0 +1,10 @@ +# AddInvoiceRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedInvoiceInput` | [components.UnifiedInvoiceInput](../../models/components/unifiedinvoiceinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addinvoiceresponse.md b/docs/models/operations/addinvoiceresponse.md new file mode 100644 index 000000000..36287e39e --- /dev/null +++ b/docs/models/operations/addinvoiceresponse.md @@ -0,0 +1,10 @@ +# AddInvoiceResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddInvoiceResponseBody](../../models/operations/addinvoiceresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedInvoiceOutput` | [components.UnifiedInvoiceOutput](../../models/components/unifiedinvoiceoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addinvoiceresponsebody.md b/docs/models/operations/addinvoiceresponsebody.md new file mode 100644 index 000000000..0989eb80e --- /dev/null +++ b/docs/models/operations/addinvoiceresponsebody.md @@ -0,0 +1,11 @@ +# AddInvoiceResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedInvoiceOutput](../../models/components/unifiedinvoiceoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addinvoicesrequest.md b/docs/models/operations/addinvoicesrequest.md new file mode 100644 index 000000000..159e5b70d --- /dev/null +++ b/docs/models/operations/addinvoicesrequest.md @@ -0,0 +1,11 @@ +# AddInvoicesRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedInvoiceInput](../../models/components/unifiedinvoiceinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addinvoicesresponse.md b/docs/models/operations/addinvoicesresponse.md new file mode 100644 index 000000000..fc2d40c30 --- /dev/null +++ b/docs/models/operations/addinvoicesresponse.md @@ -0,0 +1,10 @@ +# AddInvoicesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddInvoicesResponseBody](../../models/operations/addinvoicesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedInvoiceOutputs` | [components.UnifiedInvoiceOutput](../../models/components/unifiedinvoiceoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addinvoicesresponsebody.md b/docs/models/operations/addinvoicesresponsebody.md new file mode 100644 index 000000000..d7bb1bb94 --- /dev/null +++ b/docs/models/operations/addinvoicesresponsebody.md @@ -0,0 +1,11 @@ +# AddInvoicesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedInvoiceOutput](../../models/components/unifiedinvoiceoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/additemrequest.md b/docs/models/operations/additemrequest.md new file mode 100644 index 000000000..1b9810af6 --- /dev/null +++ b/docs/models/operations/additemrequest.md @@ -0,0 +1,10 @@ +# AddItemRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedItemInput` | [components.UnifiedItemInput](../../models/components/unifiediteminput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/additemresponse.md b/docs/models/operations/additemresponse.md new file mode 100644 index 000000000..cf34ac35e --- /dev/null +++ b/docs/models/operations/additemresponse.md @@ -0,0 +1,10 @@ +# AddItemResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddItemResponseBody](../../models/operations/additemresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedItemOutput` | [components.UnifiedItemOutput](../../models/components/unifieditemoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/additemresponsebody.md b/docs/models/operations/additemresponsebody.md new file mode 100644 index 000000000..f2c965421 --- /dev/null +++ b/docs/models/operations/additemresponsebody.md @@ -0,0 +1,11 @@ +# AddItemResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedItemOutput](../../models/components/unifieditemoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/additemsrequest.md b/docs/models/operations/additemsrequest.md new file mode 100644 index 000000000..05ebd5f7c --- /dev/null +++ b/docs/models/operations/additemsrequest.md @@ -0,0 +1,11 @@ +# AddItemsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedItemInput](../../models/components/unifiediteminput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/additemsresponse.md b/docs/models/operations/additemsresponse.md new file mode 100644 index 000000000..0edfedf82 --- /dev/null +++ b/docs/models/operations/additemsresponse.md @@ -0,0 +1,10 @@ +# AddItemsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddItemsResponseBody](../../models/operations/additemsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedItemOutputs` | [components.UnifiedItemOutput](../../models/components/unifieditemoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/additemsresponsebody.md b/docs/models/operations/additemsresponsebody.md new file mode 100644 index 000000000..3fef28f1c --- /dev/null +++ b/docs/models/operations/additemsresponsebody.md @@ -0,0 +1,11 @@ +# AddItemsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedItemOutput](../../models/components/unifieditemoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjobinterviewstagerequest.md b/docs/models/operations/addjobinterviewstagerequest.md new file mode 100644 index 000000000..dc8e2915e --- /dev/null +++ b/docs/models/operations/addjobinterviewstagerequest.md @@ -0,0 +1,10 @@ +# AddJobInterviewStageRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedJobInterviewStageInput` | [components.UnifiedJobInterviewStageInput](../../models/components/unifiedjobinterviewstageinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjobinterviewstageresponse.md b/docs/models/operations/addjobinterviewstageresponse.md new file mode 100644 index 000000000..32021dbce --- /dev/null +++ b/docs/models/operations/addjobinterviewstageresponse.md @@ -0,0 +1,10 @@ +# AddJobInterviewStageResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddJobInterviewStageResponseBody](../../models/operations/addjobinterviewstageresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedJobInterviewStageOutput` | [components.UnifiedJobInterviewStageOutput](../../models/components/unifiedjobinterviewstageoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjobinterviewstageresponsebody.md b/docs/models/operations/addjobinterviewstageresponsebody.md new file mode 100644 index 000000000..ee8142d5f --- /dev/null +++ b/docs/models/operations/addjobinterviewstageresponsebody.md @@ -0,0 +1,11 @@ +# AddJobInterviewStageResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedJobInterviewStageOutput](../../models/components/unifiedjobinterviewstageoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjobinterviewstagesrequest.md b/docs/models/operations/addjobinterviewstagesrequest.md new file mode 100644 index 000000000..ccda05c5c --- /dev/null +++ b/docs/models/operations/addjobinterviewstagesrequest.md @@ -0,0 +1,11 @@ +# AddJobInterviewStagesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedJobInterviewStageInput](../../models/components/unifiedjobinterviewstageinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjobinterviewstagesresponse.md b/docs/models/operations/addjobinterviewstagesresponse.md new file mode 100644 index 000000000..10f8767b5 --- /dev/null +++ b/docs/models/operations/addjobinterviewstagesresponse.md @@ -0,0 +1,10 @@ +# AddJobInterviewStagesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddJobInterviewStagesResponseBody](../../models/operations/addjobinterviewstagesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedJobInterviewStageOutputs` | [components.UnifiedJobInterviewStageOutput](../../models/components/unifiedjobinterviewstageoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjobinterviewstagesresponsebody.md b/docs/models/operations/addjobinterviewstagesresponsebody.md new file mode 100644 index 000000000..422266a28 --- /dev/null +++ b/docs/models/operations/addjobinterviewstagesresponsebody.md @@ -0,0 +1,11 @@ +# AddJobInterviewStagesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedJobInterviewStageOutput](../../models/components/unifiedjobinterviewstageoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjobrequest.md b/docs/models/operations/addjobrequest.md new file mode 100644 index 000000000..8e0882ef1 --- /dev/null +++ b/docs/models/operations/addjobrequest.md @@ -0,0 +1,10 @@ +# AddJobRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedJobInput` | [components.UnifiedJobInput](../../models/components/unifiedjobinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjobresponse.md b/docs/models/operations/addjobresponse.md new file mode 100644 index 000000000..dbfe8c3b7 --- /dev/null +++ b/docs/models/operations/addjobresponse.md @@ -0,0 +1,10 @@ +# AddJobResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddJobResponseBody](../../models/operations/addjobresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedJobOutput` | [components.UnifiedJobOutput](../../models/components/unifiedjoboutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjobresponsebody.md b/docs/models/operations/addjobresponsebody.md new file mode 100644 index 000000000..0569c5e93 --- /dev/null +++ b/docs/models/operations/addjobresponsebody.md @@ -0,0 +1,11 @@ +# AddJobResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedJobOutput](../../models/components/unifiedjoboutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjobsrequest.md b/docs/models/operations/addjobsrequest.md new file mode 100644 index 000000000..2d11d8c7e --- /dev/null +++ b/docs/models/operations/addjobsrequest.md @@ -0,0 +1,11 @@ +# AddJobsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedJobInput](../../models/components/unifiedjobinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjobsresponse.md b/docs/models/operations/addjobsresponse.md new file mode 100644 index 000000000..7558bddf4 --- /dev/null +++ b/docs/models/operations/addjobsresponse.md @@ -0,0 +1,10 @@ +# AddJobsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddJobsResponseBody](../../models/operations/addjobsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedJobOutputs` | [components.UnifiedJobOutput](../../models/components/unifiedjoboutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjobsresponsebody.md b/docs/models/operations/addjobsresponsebody.md new file mode 100644 index 000000000..b8ef4deb8 --- /dev/null +++ b/docs/models/operations/addjobsresponsebody.md @@ -0,0 +1,11 @@ +# AddJobsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedJobOutput](../../models/components/unifiedjoboutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjournalentryrequest.md b/docs/models/operations/addjournalentryrequest.md new file mode 100644 index 000000000..3339a983c --- /dev/null +++ b/docs/models/operations/addjournalentryrequest.md @@ -0,0 +1,10 @@ +# AddJournalEntryRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedJournalEntryInput` | [components.UnifiedJournalEntryInput](../../models/components/unifiedjournalentryinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjournalentryresponse.md b/docs/models/operations/addjournalentryresponse.md new file mode 100644 index 000000000..e7c5588f4 --- /dev/null +++ b/docs/models/operations/addjournalentryresponse.md @@ -0,0 +1,10 @@ +# AddJournalEntryResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddJournalEntryResponseBody](../../models/operations/addjournalentryresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedJournalEntryOutput` | [components.UnifiedJournalEntryOutput](../../models/components/unifiedjournalentryoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjournalentryresponsebody.md b/docs/models/operations/addjournalentryresponsebody.md new file mode 100644 index 000000000..80d4f8de3 --- /dev/null +++ b/docs/models/operations/addjournalentryresponsebody.md @@ -0,0 +1,11 @@ +# AddJournalEntryResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedJournalEntryOutput](../../models/components/unifiedjournalentryoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjournalentrysrequest.md b/docs/models/operations/addjournalentrysrequest.md new file mode 100644 index 000000000..7965a9222 --- /dev/null +++ b/docs/models/operations/addjournalentrysrequest.md @@ -0,0 +1,11 @@ +# AddJournalEntrysRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedJournalEntryInput](../../models/components/unifiedjournalentryinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjournalentrysresponse.md b/docs/models/operations/addjournalentrysresponse.md new file mode 100644 index 000000000..1ce786875 --- /dev/null +++ b/docs/models/operations/addjournalentrysresponse.md @@ -0,0 +1,10 @@ +# AddJournalEntrysResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddJournalEntrysResponseBody](../../models/operations/addjournalentrysresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedJournalEntryOutputs` | [components.UnifiedJournalEntryOutput](../../models/components/unifiedjournalentryoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addjournalentrysresponsebody.md b/docs/models/operations/addjournalentrysresponsebody.md new file mode 100644 index 000000000..35e42658b --- /dev/null +++ b/docs/models/operations/addjournalentrysresponsebody.md @@ -0,0 +1,11 @@ +# AddJournalEntrysResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedJournalEntryOutput](../../models/components/unifiedjournalentryoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlinkeduserresponse.md b/docs/models/operations/addlinkeduserresponse.md new file mode 100644 index 000000000..3f89eafe2 --- /dev/null +++ b/docs/models/operations/addlinkeduserresponse.md @@ -0,0 +1,8 @@ +# AddLinkedUserResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlistrequest.md b/docs/models/operations/addlistrequest.md new file mode 100644 index 000000000..ce491bf61 --- /dev/null +++ b/docs/models/operations/addlistrequest.md @@ -0,0 +1,10 @@ +# AddListRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `unifiedListInput` | [components.UnifiedListInput](../../models/components/unifiedlistinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlistresponse.md b/docs/models/operations/addlistresponse.md new file mode 100644 index 000000000..99f9e641d --- /dev/null +++ b/docs/models/operations/addlistresponse.md @@ -0,0 +1,10 @@ +# AddListResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddListResponseBody](../../models/operations/addlistresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedListOutput` | [components.UnifiedListOutput](../../models/components/unifiedlistoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlistresponsebody.md b/docs/models/operations/addlistresponsebody.md new file mode 100644 index 000000000..2b5c433bf --- /dev/null +++ b/docs/models/operations/addlistresponsebody.md @@ -0,0 +1,11 @@ +# AddListResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedListOutput](../../models/components/unifiedlistoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlistsrequest.md b/docs/models/operations/addlistsrequest.md new file mode 100644 index 000000000..1a0b66852 --- /dev/null +++ b/docs/models/operations/addlistsrequest.md @@ -0,0 +1,11 @@ +# AddListsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedListInput](../../models/components/unifiedlistinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlistsresponse.md b/docs/models/operations/addlistsresponse.md new file mode 100644 index 000000000..d2a956df8 --- /dev/null +++ b/docs/models/operations/addlistsresponse.md @@ -0,0 +1,10 @@ +# AddListsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddListsResponseBody](../../models/operations/addlistsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedListOutputs` | [components.UnifiedListOutput](../../models/components/unifiedlistoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlistsresponsebody.md b/docs/models/operations/addlistsresponsebody.md new file mode 100644 index 000000000..52858122b --- /dev/null +++ b/docs/models/operations/addlistsresponsebody.md @@ -0,0 +1,11 @@ +# AddListsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedListOutput](../../models/components/unifiedlistoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlocationrequest.md b/docs/models/operations/addlocationrequest.md new file mode 100644 index 000000000..6bebd416c --- /dev/null +++ b/docs/models/operations/addlocationrequest.md @@ -0,0 +1,10 @@ +# AddLocationRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedLocationInput` | [components.UnifiedLocationInput](../../models/components/unifiedlocationinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlocationresponse.md b/docs/models/operations/addlocationresponse.md new file mode 100644 index 000000000..817b35afe --- /dev/null +++ b/docs/models/operations/addlocationresponse.md @@ -0,0 +1,10 @@ +# AddLocationResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddLocationResponseBody](../../models/operations/addlocationresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedLocationOutput` | [components.UnifiedLocationOutput](../../models/components/unifiedlocationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlocationresponsebody.md b/docs/models/operations/addlocationresponsebody.md new file mode 100644 index 000000000..673a77c4c --- /dev/null +++ b/docs/models/operations/addlocationresponsebody.md @@ -0,0 +1,11 @@ +# AddLocationResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedLocationOutput](../../models/components/unifiedlocationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlocationsrequest.md b/docs/models/operations/addlocationsrequest.md new file mode 100644 index 000000000..5d3d52759 --- /dev/null +++ b/docs/models/operations/addlocationsrequest.md @@ -0,0 +1,11 @@ +# AddLocationsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedLocationInput](../../models/components/unifiedlocationinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlocationsresponse.md b/docs/models/operations/addlocationsresponse.md new file mode 100644 index 000000000..0bfcfc4fb --- /dev/null +++ b/docs/models/operations/addlocationsresponse.md @@ -0,0 +1,10 @@ +# AddLocationsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddLocationsResponseBody](../../models/operations/addlocationsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedLocationOutputs` | [components.UnifiedLocationOutput](../../models/components/unifiedlocationoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addlocationsresponsebody.md b/docs/models/operations/addlocationsresponsebody.md new file mode 100644 index 000000000..f2e2522b0 --- /dev/null +++ b/docs/models/operations/addlocationsresponsebody.md @@ -0,0 +1,11 @@ +# AddLocationsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedLocationOutput](../../models/components/unifiedlocationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmarketingautomationcontactrequest.md b/docs/models/operations/addmarketingautomationcontactrequest.md new file mode 100644 index 000000000..38e5d9ad9 --- /dev/null +++ b/docs/models/operations/addmarketingautomationcontactrequest.md @@ -0,0 +1,10 @@ +# AddMarketingAutomationContactRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `unifiedContactInput` | [components.UnifiedContactInput](../../models/components/unifiedcontactinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmarketingautomationcontactresponse.md b/docs/models/operations/addmarketingautomationcontactresponse.md new file mode 100644 index 000000000..d478073cc --- /dev/null +++ b/docs/models/operations/addmarketingautomationcontactresponse.md @@ -0,0 +1,10 @@ +# AddMarketingAutomationContactResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddMarketingAutomationContactResponseBody](../../models/operations/addmarketingautomationcontactresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedContactOutput` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmarketingautomationcontactresponsebody.md b/docs/models/operations/addmarketingautomationcontactresponsebody.md new file mode 100644 index 000000000..051631e9f --- /dev/null +++ b/docs/models/operations/addmarketingautomationcontactresponsebody.md @@ -0,0 +1,11 @@ +# AddMarketingAutomationContactResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmarketingautomationcontactsrequest.md b/docs/models/operations/addmarketingautomationcontactsrequest.md new file mode 100644 index 000000000..5701e9335 --- /dev/null +++ b/docs/models/operations/addmarketingautomationcontactsrequest.md @@ -0,0 +1,11 @@ +# AddMarketingAutomationContactsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedContactInput](../../models/components/unifiedcontactinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmarketingautomationcontactsresponse.md b/docs/models/operations/addmarketingautomationcontactsresponse.md new file mode 100644 index 000000000..40a7c0f9f --- /dev/null +++ b/docs/models/operations/addmarketingautomationcontactsresponse.md @@ -0,0 +1,10 @@ +# AddMarketingAutomationContactsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddMarketingAutomationContactsResponseBody](../../models/operations/addmarketingautomationcontactsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedContactOutputs` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmarketingautomationcontactsresponsebody.md b/docs/models/operations/addmarketingautomationcontactsresponsebody.md new file mode 100644 index 000000000..757b0ba7d --- /dev/null +++ b/docs/models/operations/addmarketingautomationcontactsresponsebody.md @@ -0,0 +1,11 @@ +# AddMarketingAutomationContactsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmarketingautomationuserrequest.md b/docs/models/operations/addmarketingautomationuserrequest.md new file mode 100644 index 000000000..7ac6426c1 --- /dev/null +++ b/docs/models/operations/addmarketingautomationuserrequest.md @@ -0,0 +1,10 @@ +# AddMarketingAutomationUserRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `unifiedUserInput` | [components.UnifiedUserInput](../../models/components/unifieduserinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmarketingautomationuserresponse.md b/docs/models/operations/addmarketingautomationuserresponse.md new file mode 100644 index 000000000..42163b404 --- /dev/null +++ b/docs/models/operations/addmarketingautomationuserresponse.md @@ -0,0 +1,10 @@ +# AddMarketingAutomationUserResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddMarketingAutomationUserResponseBody](../../models/operations/addmarketingautomationuserresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedUserOutput` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmarketingautomationuserresponsebody.md b/docs/models/operations/addmarketingautomationuserresponsebody.md new file mode 100644 index 000000000..de5ff0cae --- /dev/null +++ b/docs/models/operations/addmarketingautomationuserresponsebody.md @@ -0,0 +1,11 @@ +# AddMarketingAutomationUserResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmarketingautomationusersrequest.md b/docs/models/operations/addmarketingautomationusersrequest.md new file mode 100644 index 000000000..d0d7d0d27 --- /dev/null +++ b/docs/models/operations/addmarketingautomationusersrequest.md @@ -0,0 +1,11 @@ +# AddMarketingAutomationUsersRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedUserInput](../../models/components/unifieduserinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmarketingautomationusersresponse.md b/docs/models/operations/addmarketingautomationusersresponse.md new file mode 100644 index 000000000..e64757f44 --- /dev/null +++ b/docs/models/operations/addmarketingautomationusersresponse.md @@ -0,0 +1,10 @@ +# AddMarketingAutomationUsersResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddMarketingAutomationUsersResponseBody](../../models/operations/addmarketingautomationusersresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedUserOutputs` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmarketingautomationusersresponsebody.md b/docs/models/operations/addmarketingautomationusersresponsebody.md new file mode 100644 index 000000000..efcb57afd --- /dev/null +++ b/docs/models/operations/addmarketingautomationusersresponsebody.md @@ -0,0 +1,11 @@ +# AddMarketingAutomationUsersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmessagerequest.md b/docs/models/operations/addmessagerequest.md new file mode 100644 index 000000000..c5acf96a4 --- /dev/null +++ b/docs/models/operations/addmessagerequest.md @@ -0,0 +1,10 @@ +# AddMessageRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `unifiedMessageInput` | [components.UnifiedMessageInput](../../models/components/unifiedmessageinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmessageresponse.md b/docs/models/operations/addmessageresponse.md new file mode 100644 index 000000000..6ff1cc577 --- /dev/null +++ b/docs/models/operations/addmessageresponse.md @@ -0,0 +1,10 @@ +# AddMessageResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddMessageResponseBody](../../models/operations/addmessageresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedMessageOutput` | [components.UnifiedMessageOutput](../../models/components/unifiedmessageoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmessageresponsebody.md b/docs/models/operations/addmessageresponsebody.md new file mode 100644 index 000000000..b540a2eaa --- /dev/null +++ b/docs/models/operations/addmessageresponsebody.md @@ -0,0 +1,11 @@ +# AddMessageResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedMessageOutput](../../models/components/unifiedmessageoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmessagesrequest.md b/docs/models/operations/addmessagesrequest.md new file mode 100644 index 000000000..f80c36bc3 --- /dev/null +++ b/docs/models/operations/addmessagesrequest.md @@ -0,0 +1,11 @@ +# AddMessagesRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedMessageInput](../../models/components/unifiedmessageinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmessagesresponse.md b/docs/models/operations/addmessagesresponse.md new file mode 100644 index 000000000..51375548c --- /dev/null +++ b/docs/models/operations/addmessagesresponse.md @@ -0,0 +1,10 @@ +# AddMessagesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddMessagesResponseBody](../../models/operations/addmessagesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedMessageOutputs` | [components.UnifiedMessageOutput](../../models/components/unifiedmessageoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmessagesresponsebody.md b/docs/models/operations/addmessagesresponsebody.md new file mode 100644 index 000000000..7e9837ebd --- /dev/null +++ b/docs/models/operations/addmessagesresponsebody.md @@ -0,0 +1,11 @@ +# AddMessagesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedMessageOutput](../../models/components/unifiedmessageoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addnoterequest.md b/docs/models/operations/addnoterequest.md new file mode 100644 index 000000000..9c68bc9fc --- /dev/null +++ b/docs/models/operations/addnoterequest.md @@ -0,0 +1,10 @@ +# AddNoteRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | +| `unifiedNoteInput` | [components.UnifiedNoteInput](../../models/components/unifiednoteinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addnoteresponse.md b/docs/models/operations/addnoteresponse.md new file mode 100644 index 000000000..12500f390 --- /dev/null +++ b/docs/models/operations/addnoteresponse.md @@ -0,0 +1,10 @@ +# AddNoteResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddNoteResponseBody](../../models/operations/addnoteresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedNoteOutput` | [components.UnifiedNoteOutput](../../models/components/unifiednoteoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addnoteresponsebody.md b/docs/models/operations/addnoteresponsebody.md new file mode 100644 index 000000000..a07568394 --- /dev/null +++ b/docs/models/operations/addnoteresponsebody.md @@ -0,0 +1,11 @@ +# AddNoteResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedNoteOutput](../../models/components/unifiednoteoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addnotesrequest.md b/docs/models/operations/addnotesrequest.md new file mode 100644 index 000000000..c4dba312c --- /dev/null +++ b/docs/models/operations/addnotesrequest.md @@ -0,0 +1,10 @@ +# AddNotesRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | +| `requestBody` | [components.UnifiedNoteInput](../../models/components/unifiednoteinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addnotesresponse.md b/docs/models/operations/addnotesresponse.md new file mode 100644 index 000000000..b247f66cd --- /dev/null +++ b/docs/models/operations/addnotesresponse.md @@ -0,0 +1,10 @@ +# AddNotesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddNotesResponseBody](../../models/operations/addnotesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedNoteOutputs` | [components.UnifiedNoteOutput](../../models/components/unifiednoteoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addnotesresponsebody.md b/docs/models/operations/addnotesresponsebody.md new file mode 100644 index 000000000..6e0d3ffc5 --- /dev/null +++ b/docs/models/operations/addnotesresponsebody.md @@ -0,0 +1,11 @@ +# AddNotesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedNoteOutput](../../models/components/unifiednoteoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addofferrequest.md b/docs/models/operations/addofferrequest.md new file mode 100644 index 000000000..18228cf43 --- /dev/null +++ b/docs/models/operations/addofferrequest.md @@ -0,0 +1,10 @@ +# AddOfferRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedOfferInput` | [components.UnifiedOfferInput](../../models/components/unifiedofferinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addofferresponse.md b/docs/models/operations/addofferresponse.md new file mode 100644 index 000000000..c75d5fee2 --- /dev/null +++ b/docs/models/operations/addofferresponse.md @@ -0,0 +1,10 @@ +# AddOfferResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddOfferResponseBody](../../models/operations/addofferresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedOfferOutput` | [components.UnifiedOfferOutput](../../models/components/unifiedofferoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addofferresponsebody.md b/docs/models/operations/addofferresponsebody.md new file mode 100644 index 000000000..117543b73 --- /dev/null +++ b/docs/models/operations/addofferresponsebody.md @@ -0,0 +1,11 @@ +# AddOfferResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedOfferOutput](../../models/components/unifiedofferoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addoffersrequest.md b/docs/models/operations/addoffersrequest.md new file mode 100644 index 000000000..3554fcb87 --- /dev/null +++ b/docs/models/operations/addoffersrequest.md @@ -0,0 +1,11 @@ +# AddOffersRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedOfferInput](../../models/components/unifiedofferinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addoffersresponse.md b/docs/models/operations/addoffersresponse.md new file mode 100644 index 000000000..1407164c9 --- /dev/null +++ b/docs/models/operations/addoffersresponse.md @@ -0,0 +1,10 @@ +# AddOffersResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddOffersResponseBody](../../models/operations/addoffersresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedOfferOutputs` | [components.UnifiedOfferOutput](../../models/components/unifiedofferoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addoffersresponsebody.md b/docs/models/operations/addoffersresponsebody.md new file mode 100644 index 000000000..8d9e3e861 --- /dev/null +++ b/docs/models/operations/addoffersresponsebody.md @@ -0,0 +1,11 @@ +# AddOffersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedOfferOutput](../../models/components/unifiedofferoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addofficerequest.md b/docs/models/operations/addofficerequest.md new file mode 100644 index 000000000..e7cee6aba --- /dev/null +++ b/docs/models/operations/addofficerequest.md @@ -0,0 +1,10 @@ +# AddOfficeRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedOfficeInput` | [components.UnifiedOfficeInput](../../models/components/unifiedofficeinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addofficeresponse.md b/docs/models/operations/addofficeresponse.md new file mode 100644 index 000000000..b2f22dd43 --- /dev/null +++ b/docs/models/operations/addofficeresponse.md @@ -0,0 +1,10 @@ +# AddOfficeResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddOfficeResponseBody](../../models/operations/addofficeresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedOfficeOutput` | [components.UnifiedOfficeOutput](../../models/components/unifiedofficeoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addofficeresponsebody.md b/docs/models/operations/addofficeresponsebody.md new file mode 100644 index 000000000..c117e305c --- /dev/null +++ b/docs/models/operations/addofficeresponsebody.md @@ -0,0 +1,11 @@ +# AddOfficeResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedOfficeOutput](../../models/components/unifiedofficeoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addofficesrequest.md b/docs/models/operations/addofficesrequest.md new file mode 100644 index 000000000..f4e43b41d --- /dev/null +++ b/docs/models/operations/addofficesrequest.md @@ -0,0 +1,11 @@ +# AddOfficesRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedOfficeInput](../../models/components/unifiedofficeinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addofficesresponse.md b/docs/models/operations/addofficesresponse.md new file mode 100644 index 000000000..493b20dbf --- /dev/null +++ b/docs/models/operations/addofficesresponse.md @@ -0,0 +1,10 @@ +# AddOfficesResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddOfficesResponseBody](../../models/operations/addofficesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedOfficeOutputs` | [components.UnifiedOfficeOutput](../../models/components/unifiedofficeoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addofficesresponsebody.md b/docs/models/operations/addofficesresponsebody.md new file mode 100644 index 000000000..2c57efeb6 --- /dev/null +++ b/docs/models/operations/addofficesresponsebody.md @@ -0,0 +1,11 @@ +# AddOfficesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedOfficeOutput](../../models/components/unifiedofficeoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpaygrouprequest.md b/docs/models/operations/addpaygrouprequest.md new file mode 100644 index 000000000..44d988b19 --- /dev/null +++ b/docs/models/operations/addpaygrouprequest.md @@ -0,0 +1,10 @@ +# AddPayGroupRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedPayGroupInput` | [components.UnifiedPayGroupInput](../../models/components/unifiedpaygroupinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpaygroupresponse.md b/docs/models/operations/addpaygroupresponse.md new file mode 100644 index 000000000..729b9f810 --- /dev/null +++ b/docs/models/operations/addpaygroupresponse.md @@ -0,0 +1,10 @@ +# AddPayGroupResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddPayGroupResponseBody](../../models/operations/addpaygroupresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedPayGroupOutput` | [components.UnifiedPayGroupOutput](../../models/components/unifiedpaygroupoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpaygroupresponsebody.md b/docs/models/operations/addpaygroupresponsebody.md new file mode 100644 index 000000000..3a5802b44 --- /dev/null +++ b/docs/models/operations/addpaygroupresponsebody.md @@ -0,0 +1,11 @@ +# AddPayGroupResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPayGroupOutput](../../models/components/unifiedpaygroupoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpaygroupsrequest.md b/docs/models/operations/addpaygroupsrequest.md new file mode 100644 index 000000000..5fab87f66 --- /dev/null +++ b/docs/models/operations/addpaygroupsrequest.md @@ -0,0 +1,11 @@ +# AddPayGroupsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedPayGroupInput](../../models/components/unifiedpaygroupinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpaygroupsresponse.md b/docs/models/operations/addpaygroupsresponse.md new file mode 100644 index 000000000..63327d88d --- /dev/null +++ b/docs/models/operations/addpaygroupsresponse.md @@ -0,0 +1,10 @@ +# AddPayGroupsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddPayGroupsResponseBody](../../models/operations/addpaygroupsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedPayGroupOutputs` | [components.UnifiedPayGroupOutput](../../models/components/unifiedpaygroupoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpaygroupsresponsebody.md b/docs/models/operations/addpaygroupsresponsebody.md new file mode 100644 index 000000000..14bd180f1 --- /dev/null +++ b/docs/models/operations/addpaygroupsresponsebody.md @@ -0,0 +1,11 @@ +# AddPayGroupsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPayGroupOutput](../../models/components/unifiedpaygroupoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpaymentrequest.md b/docs/models/operations/addpaymentrequest.md new file mode 100644 index 000000000..3d6a07b64 --- /dev/null +++ b/docs/models/operations/addpaymentrequest.md @@ -0,0 +1,10 @@ +# AddPaymentRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedPaymentInput` | [components.UnifiedPaymentInput](../../models/components/unifiedpaymentinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpaymentresponse.md b/docs/models/operations/addpaymentresponse.md new file mode 100644 index 000000000..a13161f65 --- /dev/null +++ b/docs/models/operations/addpaymentresponse.md @@ -0,0 +1,10 @@ +# AddPaymentResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddPaymentResponseBody](../../models/operations/addpaymentresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedPaymentOutput` | [components.UnifiedPaymentOutput](../../models/components/unifiedpaymentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpaymentresponsebody.md b/docs/models/operations/addpaymentresponsebody.md new file mode 100644 index 000000000..d72b58b1a --- /dev/null +++ b/docs/models/operations/addpaymentresponsebody.md @@ -0,0 +1,11 @@ +# AddPaymentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPaymentOutput](../../models/components/unifiedpaymentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpaymentsrequest.md b/docs/models/operations/addpaymentsrequest.md new file mode 100644 index 000000000..4231f7656 --- /dev/null +++ b/docs/models/operations/addpaymentsrequest.md @@ -0,0 +1,11 @@ +# AddPaymentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedPaymentInput](../../models/components/unifiedpaymentinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpaymentsresponse.md b/docs/models/operations/addpaymentsresponse.md new file mode 100644 index 000000000..5431b23d2 --- /dev/null +++ b/docs/models/operations/addpaymentsresponse.md @@ -0,0 +1,10 @@ +# AddPaymentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddPaymentsResponseBody](../../models/operations/addpaymentsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedPaymentOutputs` | [components.UnifiedPaymentOutput](../../models/components/unifiedpaymentoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpaymentsresponsebody.md b/docs/models/operations/addpaymentsresponsebody.md new file mode 100644 index 000000000..357d7af14 --- /dev/null +++ b/docs/models/operations/addpaymentsresponsebody.md @@ -0,0 +1,11 @@ +# AddPaymentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPaymentOutput](../../models/components/unifiedpaymentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpayrollrunrequest.md b/docs/models/operations/addpayrollrunrequest.md new file mode 100644 index 000000000..164348085 --- /dev/null +++ b/docs/models/operations/addpayrollrunrequest.md @@ -0,0 +1,10 @@ +# AddPayrollRunRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedPayrollRunInput` | [components.UnifiedPayrollRunInput](../../models/components/unifiedpayrollruninput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpayrollrunresponse.md b/docs/models/operations/addpayrollrunresponse.md new file mode 100644 index 000000000..1d2220ed6 --- /dev/null +++ b/docs/models/operations/addpayrollrunresponse.md @@ -0,0 +1,10 @@ +# AddPayrollRunResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddPayrollRunResponseBody](../../models/operations/addpayrollrunresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedPayrollRunOutput` | [components.UnifiedPayrollRunOutput](../../models/components/unifiedpayrollrunoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpayrollrunresponsebody.md b/docs/models/operations/addpayrollrunresponsebody.md new file mode 100644 index 000000000..754d2104e --- /dev/null +++ b/docs/models/operations/addpayrollrunresponsebody.md @@ -0,0 +1,11 @@ +# AddPayrollRunResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPayrollRunOutput](../../models/components/unifiedpayrollrunoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpayrollrunsrequest.md b/docs/models/operations/addpayrollrunsrequest.md new file mode 100644 index 000000000..a0d86bd13 --- /dev/null +++ b/docs/models/operations/addpayrollrunsrequest.md @@ -0,0 +1,11 @@ +# AddPayrollRunsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedPayrollRunInput](../../models/components/unifiedpayrollruninput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpayrollrunsresponse.md b/docs/models/operations/addpayrollrunsresponse.md new file mode 100644 index 000000000..6bd31f600 --- /dev/null +++ b/docs/models/operations/addpayrollrunsresponse.md @@ -0,0 +1,10 @@ +# AddPayrollRunsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddPayrollRunsResponseBody](../../models/operations/addpayrollrunsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedPayrollRunOutputs` | [components.UnifiedPayrollRunOutput](../../models/components/unifiedpayrollrunoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpayrollrunsresponsebody.md b/docs/models/operations/addpayrollrunsresponsebody.md new file mode 100644 index 000000000..7ee21db7a --- /dev/null +++ b/docs/models/operations/addpayrollrunsresponsebody.md @@ -0,0 +1,11 @@ +# AddPayrollRunsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPayrollRunOutput](../../models/components/unifiedpayrollrunoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpermissionrequest.md b/docs/models/operations/addpermissionrequest.md new file mode 100644 index 000000000..00b96622b --- /dev/null +++ b/docs/models/operations/addpermissionrequest.md @@ -0,0 +1,10 @@ +# AddPermissionRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | +| `unifiedPermissionInput` | [components.UnifiedPermissionInput](../../models/components/unifiedpermissioninput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpermissionresponse.md b/docs/models/operations/addpermissionresponse.md new file mode 100644 index 000000000..bf28307b1 --- /dev/null +++ b/docs/models/operations/addpermissionresponse.md @@ -0,0 +1,10 @@ +# AddPermissionResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddPermissionResponseBody](../../models/operations/addpermissionresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedPermissionOutput` | [components.UnifiedPermissionOutput](../../models/components/unifiedpermissionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpermissionresponsebody.md b/docs/models/operations/addpermissionresponsebody.md new file mode 100644 index 000000000..976b72fa5 --- /dev/null +++ b/docs/models/operations/addpermissionresponsebody.md @@ -0,0 +1,11 @@ +# AddPermissionResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPermissionOutput](../../models/components/unifiedpermissionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpermissionsrequest.md b/docs/models/operations/addpermissionsrequest.md new file mode 100644 index 000000000..e16880a6c --- /dev/null +++ b/docs/models/operations/addpermissionsrequest.md @@ -0,0 +1,11 @@ +# AddPermissionsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedPermissionInput](../../models/components/unifiedpermissioninput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpermissionsresponse.md b/docs/models/operations/addpermissionsresponse.md new file mode 100644 index 000000000..eba6aebbd --- /dev/null +++ b/docs/models/operations/addpermissionsresponse.md @@ -0,0 +1,10 @@ +# AddPermissionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddPermissionsResponseBody](../../models/operations/addpermissionsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedPermissionOutputs` | [components.UnifiedPermissionOutput](../../models/components/unifiedpermissionoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpermissionsresponsebody.md b/docs/models/operations/addpermissionsresponsebody.md new file mode 100644 index 000000000..10a54f575 --- /dev/null +++ b/docs/models/operations/addpermissionsresponsebody.md @@ -0,0 +1,11 @@ +# AddPermissionsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPermissionOutput](../../models/components/unifiedpermissionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addphonenumberrequest.md b/docs/models/operations/addphonenumberrequest.md new file mode 100644 index 000000000..1cee2e66c --- /dev/null +++ b/docs/models/operations/addphonenumberrequest.md @@ -0,0 +1,10 @@ +# AddPhoneNumberRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedPhoneNumberInput` | [components.UnifiedPhoneNumberInput](../../models/components/unifiedphonenumberinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addphonenumberresponse.md b/docs/models/operations/addphonenumberresponse.md new file mode 100644 index 000000000..7e83597ac --- /dev/null +++ b/docs/models/operations/addphonenumberresponse.md @@ -0,0 +1,10 @@ +# AddPhoneNumberResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddPhoneNumberResponseBody](../../models/operations/addphonenumberresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedPhoneNumberOutput` | [components.UnifiedPhoneNumberOutput](../../models/components/unifiedphonenumberoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addphonenumberresponsebody.md b/docs/models/operations/addphonenumberresponsebody.md new file mode 100644 index 000000000..3f28e8502 --- /dev/null +++ b/docs/models/operations/addphonenumberresponsebody.md @@ -0,0 +1,11 @@ +# AddPhoneNumberResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPhoneNumberOutput](../../models/components/unifiedphonenumberoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addphonenumbersrequest.md b/docs/models/operations/addphonenumbersrequest.md new file mode 100644 index 000000000..6696c2950 --- /dev/null +++ b/docs/models/operations/addphonenumbersrequest.md @@ -0,0 +1,11 @@ +# AddPhoneNumbersRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedPhoneNumberInput](../../models/components/unifiedphonenumberinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addphonenumbersresponse.md b/docs/models/operations/addphonenumbersresponse.md new file mode 100644 index 000000000..56bdf98a9 --- /dev/null +++ b/docs/models/operations/addphonenumbersresponse.md @@ -0,0 +1,10 @@ +# AddPhoneNumbersResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddPhoneNumbersResponseBody](../../models/operations/addphonenumbersresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedPhoneNumberOutputs` | [components.UnifiedPhoneNumberOutput](../../models/components/unifiedphonenumberoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addphonenumbersresponsebody.md b/docs/models/operations/addphonenumbersresponsebody.md new file mode 100644 index 000000000..987c09fb8 --- /dev/null +++ b/docs/models/operations/addphonenumbersresponsebody.md @@ -0,0 +1,11 @@ +# AddPhoneNumbersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPhoneNumberOutput](../../models/components/unifiedphonenumberoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpurchaseorderrequest.md b/docs/models/operations/addpurchaseorderrequest.md new file mode 100644 index 000000000..9bb246d18 --- /dev/null +++ b/docs/models/operations/addpurchaseorderrequest.md @@ -0,0 +1,10 @@ +# AddPurchaseOrderRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedPurchaseOrderInput` | [components.UnifiedPurchaseOrderInput](../../models/components/unifiedpurchaseorderinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpurchaseorderresponse.md b/docs/models/operations/addpurchaseorderresponse.md new file mode 100644 index 000000000..396c7f3b5 --- /dev/null +++ b/docs/models/operations/addpurchaseorderresponse.md @@ -0,0 +1,10 @@ +# AddPurchaseOrderResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddPurchaseOrderResponseBody](../../models/operations/addpurchaseorderresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedPurchaseOrderOutput` | [components.UnifiedPurchaseOrderOutput](../../models/components/unifiedpurchaseorderoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpurchaseorderresponsebody.md b/docs/models/operations/addpurchaseorderresponsebody.md new file mode 100644 index 000000000..e663234e0 --- /dev/null +++ b/docs/models/operations/addpurchaseorderresponsebody.md @@ -0,0 +1,11 @@ +# AddPurchaseOrderResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPurchaseOrderOutput](../../models/components/unifiedpurchaseorderoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpurchaseordersrequest.md b/docs/models/operations/addpurchaseordersrequest.md new file mode 100644 index 000000000..f0b415b9d --- /dev/null +++ b/docs/models/operations/addpurchaseordersrequest.md @@ -0,0 +1,11 @@ +# AddPurchaseOrdersRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedPurchaseOrderInput](../../models/components/unifiedpurchaseorderinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpurchaseordersresponse.md b/docs/models/operations/addpurchaseordersresponse.md new file mode 100644 index 000000000..aac15cb77 --- /dev/null +++ b/docs/models/operations/addpurchaseordersresponse.md @@ -0,0 +1,10 @@ +# AddPurchaseOrdersResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddPurchaseOrdersResponseBody](../../models/operations/addpurchaseordersresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedPurchaseOrderOutputs` | [components.UnifiedPurchaseOrderOutput](../../models/components/unifiedpurchaseorderoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addpurchaseordersresponsebody.md b/docs/models/operations/addpurchaseordersresponsebody.md new file mode 100644 index 000000000..c3a50e168 --- /dev/null +++ b/docs/models/operations/addpurchaseordersresponsebody.md @@ -0,0 +1,11 @@ +# AddPurchaseOrdersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPurchaseOrderOutput](../../models/components/unifiedpurchaseorderoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addrejectreasonrequest.md b/docs/models/operations/addrejectreasonrequest.md new file mode 100644 index 000000000..12bcd9e94 --- /dev/null +++ b/docs/models/operations/addrejectreasonrequest.md @@ -0,0 +1,10 @@ +# AddRejectReasonRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedRejectReasonInput` | [components.UnifiedRejectReasonInput](../../models/components/unifiedrejectreasoninput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addrejectreasonresponse.md b/docs/models/operations/addrejectreasonresponse.md new file mode 100644 index 000000000..13b6f00b4 --- /dev/null +++ b/docs/models/operations/addrejectreasonresponse.md @@ -0,0 +1,10 @@ +# AddRejectReasonResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddRejectReasonResponseBody](../../models/operations/addrejectreasonresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedRejectReasonOutput` | [components.UnifiedRejectReasonOutput](../../models/components/unifiedrejectreasonoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addrejectreasonresponsebody.md b/docs/models/operations/addrejectreasonresponsebody.md new file mode 100644 index 000000000..a6867cc82 --- /dev/null +++ b/docs/models/operations/addrejectreasonresponsebody.md @@ -0,0 +1,11 @@ +# AddRejectReasonResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedRejectReasonOutput](../../models/components/unifiedrejectreasonoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addrejectreasonsrequest.md b/docs/models/operations/addrejectreasonsrequest.md new file mode 100644 index 000000000..692570b99 --- /dev/null +++ b/docs/models/operations/addrejectreasonsrequest.md @@ -0,0 +1,11 @@ +# AddRejectReasonsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedRejectReasonInput](../../models/components/unifiedrejectreasoninput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addrejectreasonsresponse.md b/docs/models/operations/addrejectreasonsresponse.md new file mode 100644 index 000000000..19aa33d4f --- /dev/null +++ b/docs/models/operations/addrejectreasonsresponse.md @@ -0,0 +1,10 @@ +# AddRejectReasonsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddRejectReasonsResponseBody](../../models/operations/addrejectreasonsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedRejectReasonOutputs` | [components.UnifiedRejectReasonOutput](../../models/components/unifiedrejectreasonoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addrejectreasonsresponsebody.md b/docs/models/operations/addrejectreasonsresponsebody.md new file mode 100644 index 000000000..9535e53a2 --- /dev/null +++ b/docs/models/operations/addrejectreasonsresponsebody.md @@ -0,0 +1,11 @@ +# AddRejectReasonsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedRejectReasonOutput](../../models/components/unifiedrejectreasonoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addscorecardrequest.md b/docs/models/operations/addscorecardrequest.md new file mode 100644 index 000000000..71fa0d4d3 --- /dev/null +++ b/docs/models/operations/addscorecardrequest.md @@ -0,0 +1,10 @@ +# AddScoreCardRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedScoreCardInput` | [components.UnifiedScoreCardInput](../../models/components/unifiedscorecardinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addscorecardresponse.md b/docs/models/operations/addscorecardresponse.md new file mode 100644 index 000000000..9acbf87c9 --- /dev/null +++ b/docs/models/operations/addscorecardresponse.md @@ -0,0 +1,10 @@ +# AddScoreCardResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddScoreCardResponseBody](../../models/operations/addscorecardresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedScoreCardOutput` | [components.UnifiedScoreCardOutput](../../models/components/unifiedscorecardoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addscorecardresponsebody.md b/docs/models/operations/addscorecardresponsebody.md new file mode 100644 index 000000000..fd1b6e76b --- /dev/null +++ b/docs/models/operations/addscorecardresponsebody.md @@ -0,0 +1,11 @@ +# AddScoreCardResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedScoreCardOutput](../../models/components/unifiedscorecardoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addscorecardsrequest.md b/docs/models/operations/addscorecardsrequest.md new file mode 100644 index 000000000..ae21894a6 --- /dev/null +++ b/docs/models/operations/addscorecardsrequest.md @@ -0,0 +1,11 @@ +# AddScoreCardsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedScoreCardInput](../../models/components/unifiedscorecardinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addscorecardsresponse.md b/docs/models/operations/addscorecardsresponse.md new file mode 100644 index 000000000..a83a35cb3 --- /dev/null +++ b/docs/models/operations/addscorecardsresponse.md @@ -0,0 +1,10 @@ +# AddScoreCardsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddScoreCardsResponseBody](../../models/operations/addscorecardsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedScoreCardOutputs` | [components.UnifiedScoreCardOutput](../../models/components/unifiedscorecardoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addscorecardsresponsebody.md b/docs/models/operations/addscorecardsresponsebody.md new file mode 100644 index 000000000..052517c13 --- /dev/null +++ b/docs/models/operations/addscorecardsresponsebody.md @@ -0,0 +1,11 @@ +# AddScoreCardsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedScoreCardOutput](../../models/components/unifiedscorecardoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addscreeningquestionrequest.md b/docs/models/operations/addscreeningquestionrequest.md new file mode 100644 index 000000000..e325dbee4 --- /dev/null +++ b/docs/models/operations/addscreeningquestionrequest.md @@ -0,0 +1,10 @@ +# AddScreeningQuestionRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedScreeningQuestionInput` | [components.UnifiedScreeningQuestionInput](../../models/components/unifiedscreeningquestioninput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addscreeningquestionresponse.md b/docs/models/operations/addscreeningquestionresponse.md new file mode 100644 index 000000000..074bacafa --- /dev/null +++ b/docs/models/operations/addscreeningquestionresponse.md @@ -0,0 +1,10 @@ +# AddScreeningQuestionResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddScreeningQuestionResponseBody](../../models/operations/addscreeningquestionresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedScreeningQuestionOutput` | [components.UnifiedScreeningQuestionOutput](../../models/components/unifiedscreeningquestionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addscreeningquestionresponsebody.md b/docs/models/operations/addscreeningquestionresponsebody.md new file mode 100644 index 000000000..da2809ea4 --- /dev/null +++ b/docs/models/operations/addscreeningquestionresponsebody.md @@ -0,0 +1,11 @@ +# AddScreeningQuestionResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedScreeningQuestionOutput](../../models/components/unifiedscreeningquestionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addscreeningquestionsrequest.md b/docs/models/operations/addscreeningquestionsrequest.md new file mode 100644 index 000000000..c0c113bc5 --- /dev/null +++ b/docs/models/operations/addscreeningquestionsrequest.md @@ -0,0 +1,11 @@ +# AddScreeningQuestionsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedScreeningQuestionInput](../../models/components/unifiedscreeningquestioninput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addscreeningquestionsresponse.md b/docs/models/operations/addscreeningquestionsresponse.md new file mode 100644 index 000000000..56676dc3e --- /dev/null +++ b/docs/models/operations/addscreeningquestionsresponse.md @@ -0,0 +1,10 @@ +# AddScreeningQuestionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddScreeningQuestionsResponseBody](../../models/operations/addscreeningquestionsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedScreeningQuestionOutputs` | [components.UnifiedScreeningQuestionOutput](../../models/components/unifiedscreeningquestionoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addscreeningquestionsresponsebody.md b/docs/models/operations/addscreeningquestionsresponsebody.md new file mode 100644 index 000000000..fdb3fb207 --- /dev/null +++ b/docs/models/operations/addscreeningquestionsresponsebody.md @@ -0,0 +1,11 @@ +# AddScreeningQuestionsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedScreeningQuestionOutput](../../models/components/unifiedscreeningquestionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addsharedlinkrequest.md b/docs/models/operations/addsharedlinkrequest.md new file mode 100644 index 000000000..6cba28748 --- /dev/null +++ b/docs/models/operations/addsharedlinkrequest.md @@ -0,0 +1,10 @@ +# AddSharedlinkRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | +| `unifiedSharedLinkInput` | [components.UnifiedSharedLinkInput](../../models/components/unifiedsharedlinkinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addsharedlinkresponse.md b/docs/models/operations/addsharedlinkresponse.md new file mode 100644 index 000000000..847a5c82d --- /dev/null +++ b/docs/models/operations/addsharedlinkresponse.md @@ -0,0 +1,10 @@ +# AddSharedlinkResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddSharedlinkResponseBody](../../models/operations/addsharedlinkresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedSharedLinkOutput` | [components.UnifiedSharedLinkOutput](../../models/components/unifiedsharedlinkoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addsharedlinkresponsebody.md b/docs/models/operations/addsharedlinkresponsebody.md new file mode 100644 index 000000000..1e06632b3 --- /dev/null +++ b/docs/models/operations/addsharedlinkresponsebody.md @@ -0,0 +1,11 @@ +# AddSharedlinkResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedSharedLinkOutput](../../models/components/unifiedsharedlinkoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addsharedlinksrequest.md b/docs/models/operations/addsharedlinksrequest.md new file mode 100644 index 000000000..fd8fafed6 --- /dev/null +++ b/docs/models/operations/addsharedlinksrequest.md @@ -0,0 +1,11 @@ +# AddSharedlinksRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedSharedLinkInput](../../models/components/unifiedsharedlinkinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addsharedlinksresponse.md b/docs/models/operations/addsharedlinksresponse.md new file mode 100644 index 000000000..312bb89ce --- /dev/null +++ b/docs/models/operations/addsharedlinksresponse.md @@ -0,0 +1,10 @@ +# AddSharedlinksResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddSharedlinksResponseBody](../../models/operations/addsharedlinksresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedSharedLinkOutputs` | [components.UnifiedSharedLinkOutput](../../models/components/unifiedsharedlinkoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addsharedlinksresponsebody.md b/docs/models/operations/addsharedlinksresponsebody.md new file mode 100644 index 000000000..d0f254477 --- /dev/null +++ b/docs/models/operations/addsharedlinksresponsebody.md @@ -0,0 +1,11 @@ +# AddSharedlinksResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedSharedLinkOutput](../../models/components/unifiedsharedlinkoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtagrequest.md b/docs/models/operations/addtagrequest.md new file mode 100644 index 000000000..326dee9c9 --- /dev/null +++ b/docs/models/operations/addtagrequest.md @@ -0,0 +1,10 @@ +# AddTagRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `unifiedTagInput` | [components.UnifiedTagInput](../../models/components/unifiedtaginput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtagresponse.md b/docs/models/operations/addtagresponse.md new file mode 100644 index 000000000..e303da63e --- /dev/null +++ b/docs/models/operations/addtagresponse.md @@ -0,0 +1,10 @@ +# AddTagResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTagResponseBody](../../models/operations/addtagresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTagOutput` | [components.UnifiedTagOutput](../../models/components/unifiedtagoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtagresponsebody.md b/docs/models/operations/addtagresponsebody.md new file mode 100644 index 000000000..a19889a7d --- /dev/null +++ b/docs/models/operations/addtagresponsebody.md @@ -0,0 +1,11 @@ +# AddTagResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTagOutput](../../models/components/unifiedtagoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtagsrequest.md b/docs/models/operations/addtagsrequest.md new file mode 100644 index 000000000..79e384630 --- /dev/null +++ b/docs/models/operations/addtagsrequest.md @@ -0,0 +1,11 @@ +# AddTagsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedTagInput](../../models/components/unifiedtaginput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtagsresponse.md b/docs/models/operations/addtagsresponse.md new file mode 100644 index 000000000..52936cf0e --- /dev/null +++ b/docs/models/operations/addtagsresponse.md @@ -0,0 +1,10 @@ +# AddTagsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTagsResponseBody](../../models/operations/addtagsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTagOutputs` | [components.UnifiedTagOutput](../../models/components/unifiedtagoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtagsresponsebody.md b/docs/models/operations/addtagsresponsebody.md new file mode 100644 index 000000000..9e3a7f641 --- /dev/null +++ b/docs/models/operations/addtagsresponsebody.md @@ -0,0 +1,11 @@ +# AddTagsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTagOutput](../../models/components/unifiedtagoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtaskrequest.md b/docs/models/operations/addtaskrequest.md new file mode 100644 index 000000000..decb84501 --- /dev/null +++ b/docs/models/operations/addtaskrequest.md @@ -0,0 +1,10 @@ +# AddTaskRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | +| `unifiedTaskInput` | [components.UnifiedTaskInput](../../models/components/unifiedtaskinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtaskresponse.md b/docs/models/operations/addtaskresponse.md new file mode 100644 index 000000000..6d8194e5c --- /dev/null +++ b/docs/models/operations/addtaskresponse.md @@ -0,0 +1,10 @@ +# AddTaskResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTaskResponseBody](../../models/operations/addtaskresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTaskOutput` | [components.UnifiedTaskOutput](../../models/components/unifiedtaskoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtaskresponsebody.md b/docs/models/operations/addtaskresponsebody.md new file mode 100644 index 000000000..922c2d8ff --- /dev/null +++ b/docs/models/operations/addtaskresponsebody.md @@ -0,0 +1,11 @@ +# AddTaskResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTaskOutput](../../models/components/unifiedtaskoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtasksrequest.md b/docs/models/operations/addtasksrequest.md new file mode 100644 index 000000000..d00031d32 --- /dev/null +++ b/docs/models/operations/addtasksrequest.md @@ -0,0 +1,10 @@ +# AddTasksRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | +| `requestBody` | [components.UnifiedTaskInput](../../models/components/unifiedtaskinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtasksresponse.md b/docs/models/operations/addtasksresponse.md new file mode 100644 index 000000000..fa4f2e756 --- /dev/null +++ b/docs/models/operations/addtasksresponse.md @@ -0,0 +1,10 @@ +# AddTasksResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTasksResponseBody](../../models/operations/addtasksresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTaskOutputs` | [components.UnifiedTaskOutput](../../models/components/unifiedtaskoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtasksresponsebody.md b/docs/models/operations/addtasksresponsebody.md new file mode 100644 index 000000000..45295d58e --- /dev/null +++ b/docs/models/operations/addtasksresponsebody.md @@ -0,0 +1,11 @@ +# AddTasksResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTaskOutput](../../models/components/unifiedtaskoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtaxraterequest.md b/docs/models/operations/addtaxraterequest.md new file mode 100644 index 000000000..df2c7cd06 --- /dev/null +++ b/docs/models/operations/addtaxraterequest.md @@ -0,0 +1,10 @@ +# AddTaxRateRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedTaxRateInput` | [components.UnifiedTaxRateInput](../../models/components/unifiedtaxrateinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtaxrateresponse.md b/docs/models/operations/addtaxrateresponse.md new file mode 100644 index 000000000..715e63c82 --- /dev/null +++ b/docs/models/operations/addtaxrateresponse.md @@ -0,0 +1,10 @@ +# AddTaxRateResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTaxRateResponseBody](../../models/operations/addtaxrateresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTaxRateOutput` | [components.UnifiedTaxRateOutput](../../models/components/unifiedtaxrateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtaxrateresponsebody.md b/docs/models/operations/addtaxrateresponsebody.md new file mode 100644 index 000000000..11e818a25 --- /dev/null +++ b/docs/models/operations/addtaxrateresponsebody.md @@ -0,0 +1,11 @@ +# AddTaxRateResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTaxRateOutput](../../models/components/unifiedtaxrateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtaxratesrequest.md b/docs/models/operations/addtaxratesrequest.md new file mode 100644 index 000000000..96c43c755 --- /dev/null +++ b/docs/models/operations/addtaxratesrequest.md @@ -0,0 +1,11 @@ +# AddTaxRatesRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedTaxRateInput](../../models/components/unifiedtaxrateinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtaxratesresponse.md b/docs/models/operations/addtaxratesresponse.md new file mode 100644 index 000000000..b5b4b1fe6 --- /dev/null +++ b/docs/models/operations/addtaxratesresponse.md @@ -0,0 +1,10 @@ +# AddTaxRatesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTaxRatesResponseBody](../../models/operations/addtaxratesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTaxRateOutputs` | [components.UnifiedTaxRateOutput](../../models/components/unifiedtaxrateoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtaxratesresponsebody.md b/docs/models/operations/addtaxratesresponsebody.md new file mode 100644 index 000000000..ef378e4e2 --- /dev/null +++ b/docs/models/operations/addtaxratesresponsebody.md @@ -0,0 +1,11 @@ +# AddTaxRatesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTaxRateOutput](../../models/components/unifiedtaxrateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtemplaterequest.md b/docs/models/operations/addtemplaterequest.md new file mode 100644 index 000000000..01155b5f8 --- /dev/null +++ b/docs/models/operations/addtemplaterequest.md @@ -0,0 +1,10 @@ +# AddTemplateRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `unifiedTemplateInput` | [components.UnifiedTemplateInput](../../models/components/unifiedtemplateinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtemplateresponse.md b/docs/models/operations/addtemplateresponse.md new file mode 100644 index 000000000..fd0e3a214 --- /dev/null +++ b/docs/models/operations/addtemplateresponse.md @@ -0,0 +1,10 @@ +# AddTemplateResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTemplateResponseBody](../../models/operations/addtemplateresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTemplateOutput` | [components.UnifiedTemplateOutput](../../models/components/unifiedtemplateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtemplateresponsebody.md b/docs/models/operations/addtemplateresponsebody.md new file mode 100644 index 000000000..6c686ac3f --- /dev/null +++ b/docs/models/operations/addtemplateresponsebody.md @@ -0,0 +1,11 @@ +# AddTemplateResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTemplateOutput](../../models/components/unifiedtemplateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtemplatesrequest.md b/docs/models/operations/addtemplatesrequest.md new file mode 100644 index 000000000..2f2ffe2e2 --- /dev/null +++ b/docs/models/operations/addtemplatesrequest.md @@ -0,0 +1,11 @@ +# AddTemplatesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedTemplateInput](../../models/components/unifiedtemplateinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtemplatesresponse.md b/docs/models/operations/addtemplatesresponse.md new file mode 100644 index 000000000..13dcef27f --- /dev/null +++ b/docs/models/operations/addtemplatesresponse.md @@ -0,0 +1,10 @@ +# AddTemplatesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTemplatesResponseBody](../../models/operations/addtemplatesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTemplateOutputs` | [components.UnifiedTemplateOutput](../../models/components/unifiedtemplateoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtemplatesresponsebody.md b/docs/models/operations/addtemplatesresponsebody.md new file mode 100644 index 000000000..050874ade --- /dev/null +++ b/docs/models/operations/addtemplatesresponsebody.md @@ -0,0 +1,11 @@ +# AddTemplatesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTemplateOutput](../../models/components/unifiedtemplateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addticketingattachmentrequest.md b/docs/models/operations/addticketingattachmentrequest.md new file mode 100644 index 000000000..8e6026e2d --- /dev/null +++ b/docs/models/operations/addticketingattachmentrequest.md @@ -0,0 +1,10 @@ +# AddTicketingAttachmentRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | +| `unifiedAttachmentInput` | [components.UnifiedAttachmentInput](../../models/components/unifiedattachmentinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addticketingattachmentresponse.md b/docs/models/operations/addticketingattachmentresponse.md new file mode 100644 index 000000000..cf494645d --- /dev/null +++ b/docs/models/operations/addticketingattachmentresponse.md @@ -0,0 +1,10 @@ +# AddTicketingAttachmentResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTicketingAttachmentResponseBody](../../models/operations/addticketingattachmentresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedAttachmentOutput` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addticketingattachmentresponsebody.md b/docs/models/operations/addticketingattachmentresponsebody.md new file mode 100644 index 000000000..0bcfcd24c --- /dev/null +++ b/docs/models/operations/addticketingattachmentresponsebody.md @@ -0,0 +1,11 @@ +# AddTicketingAttachmentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addticketingattachmentsrequest.md b/docs/models/operations/addticketingattachmentsrequest.md new file mode 100644 index 000000000..75ea7a589 --- /dev/null +++ b/docs/models/operations/addticketingattachmentsrequest.md @@ -0,0 +1,10 @@ +# AddTicketingAttachmentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | +| `requestBody` | [components.UnifiedAttachmentInput](../../models/components/unifiedattachmentinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addticketingattachmentsresponse.md b/docs/models/operations/addticketingattachmentsresponse.md new file mode 100644 index 000000000..632f6e165 --- /dev/null +++ b/docs/models/operations/addticketingattachmentsresponse.md @@ -0,0 +1,10 @@ +# AddTicketingAttachmentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTicketingAttachmentsResponseBody](../../models/operations/addticketingattachmentsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedAttachmentOutputs` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addticketingattachmentsresponsebody.md b/docs/models/operations/addticketingattachmentsresponsebody.md new file mode 100644 index 000000000..4aad45c5a --- /dev/null +++ b/docs/models/operations/addticketingattachmentsresponsebody.md @@ -0,0 +1,11 @@ +# AddTicketingAttachmentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addticketrequest.md b/docs/models/operations/addticketrequest.md new file mode 100644 index 000000000..c25f54369 --- /dev/null +++ b/docs/models/operations/addticketrequest.md @@ -0,0 +1,10 @@ +# AddTicketRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | +| `unifiedTicketInput` | [components.UnifiedTicketInput](../../models/components/unifiedticketinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addticketresponse.md b/docs/models/operations/addticketresponse.md new file mode 100644 index 000000000..dc665b7b2 --- /dev/null +++ b/docs/models/operations/addticketresponse.md @@ -0,0 +1,10 @@ +# AddTicketResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTicketResponseBody](../../models/operations/addticketresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTicketOutput` | [components.UnifiedTicketOutput](../../models/components/unifiedticketoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addticketresponsebody.md b/docs/models/operations/addticketresponsebody.md new file mode 100644 index 000000000..16adfe810 --- /dev/null +++ b/docs/models/operations/addticketresponsebody.md @@ -0,0 +1,11 @@ +# AddTicketResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTicketOutput](../../models/components/unifiedticketoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addticketsrequest.md b/docs/models/operations/addticketsrequest.md new file mode 100644 index 000000000..39c053703 --- /dev/null +++ b/docs/models/operations/addticketsrequest.md @@ -0,0 +1,10 @@ +# AddTicketsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | +| `requestBody` | [components.UnifiedTicketInput](../../models/components/unifiedticketinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addticketsresponse.md b/docs/models/operations/addticketsresponse.md new file mode 100644 index 000000000..c02161b46 --- /dev/null +++ b/docs/models/operations/addticketsresponse.md @@ -0,0 +1,10 @@ +# AddTicketsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTicketsResponseBody](../../models/operations/addticketsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTicketOutputs` | [components.UnifiedTicketOutput](../../models/components/unifiedticketoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addticketsresponsebody.md b/docs/models/operations/addticketsresponsebody.md new file mode 100644 index 000000000..431a94c2a --- /dev/null +++ b/docs/models/operations/addticketsresponsebody.md @@ -0,0 +1,11 @@ +# AddTicketsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTicketOutput](../../models/components/unifiedticketoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtimeoffbalancerequest.md b/docs/models/operations/addtimeoffbalancerequest.md new file mode 100644 index 000000000..4ffc483c8 --- /dev/null +++ b/docs/models/operations/addtimeoffbalancerequest.md @@ -0,0 +1,10 @@ +# AddTimeoffBalanceRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedTimeoffBalanceInput` | [components.UnifiedTimeoffBalanceInput](../../models/components/unifiedtimeoffbalanceinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtimeoffbalanceresponse.md b/docs/models/operations/addtimeoffbalanceresponse.md new file mode 100644 index 000000000..5301a275a --- /dev/null +++ b/docs/models/operations/addtimeoffbalanceresponse.md @@ -0,0 +1,10 @@ +# AddTimeoffBalanceResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTimeoffBalanceResponseBody](../../models/operations/addtimeoffbalanceresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTimeoffBalanceOutput` | [components.UnifiedTimeoffBalanceOutput](../../models/components/unifiedtimeoffbalanceoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtimeoffbalanceresponsebody.md b/docs/models/operations/addtimeoffbalanceresponsebody.md new file mode 100644 index 000000000..b2ade5022 --- /dev/null +++ b/docs/models/operations/addtimeoffbalanceresponsebody.md @@ -0,0 +1,11 @@ +# AddTimeoffBalanceResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTimeoffBalanceOutput](../../models/components/unifiedtimeoffbalanceoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtimeoffbalancesrequest.md b/docs/models/operations/addtimeoffbalancesrequest.md new file mode 100644 index 000000000..f2cab7672 --- /dev/null +++ b/docs/models/operations/addtimeoffbalancesrequest.md @@ -0,0 +1,11 @@ +# AddTimeoffBalancesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedTimeoffBalanceInput](../../models/components/unifiedtimeoffbalanceinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtimeoffbalancesresponse.md b/docs/models/operations/addtimeoffbalancesresponse.md new file mode 100644 index 000000000..b4a87bd4a --- /dev/null +++ b/docs/models/operations/addtimeoffbalancesresponse.md @@ -0,0 +1,10 @@ +# AddTimeoffBalancesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTimeoffBalancesResponseBody](../../models/operations/addtimeoffbalancesresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTimeoffBalanceOutputs` | [components.UnifiedTimeoffBalanceOutput](../../models/components/unifiedtimeoffbalanceoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtimeoffbalancesresponsebody.md b/docs/models/operations/addtimeoffbalancesresponsebody.md new file mode 100644 index 000000000..5dcf1b296 --- /dev/null +++ b/docs/models/operations/addtimeoffbalancesresponsebody.md @@ -0,0 +1,11 @@ +# AddTimeoffBalancesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTimeoffBalanceOutput](../../models/components/unifiedtimeoffbalanceoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtimeoffrequest.md b/docs/models/operations/addtimeoffrequest.md new file mode 100644 index 000000000..f51df545e --- /dev/null +++ b/docs/models/operations/addtimeoffrequest.md @@ -0,0 +1,10 @@ +# AddTimeoffRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `unifiedTimeoffInput` | [components.UnifiedTimeoffInput](../../models/components/unifiedtimeoffinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtimeoffresponse.md b/docs/models/operations/addtimeoffresponse.md new file mode 100644 index 000000000..31916e72e --- /dev/null +++ b/docs/models/operations/addtimeoffresponse.md @@ -0,0 +1,10 @@ +# AddTimeoffResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTimeoffResponseBody](../../models/operations/addtimeoffresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTimeoffOutput` | [components.UnifiedTimeoffOutput](../../models/components/unifiedtimeoffoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtimeoffresponsebody.md b/docs/models/operations/addtimeoffresponsebody.md new file mode 100644 index 000000000..7d1e2f8e1 --- /dev/null +++ b/docs/models/operations/addtimeoffresponsebody.md @@ -0,0 +1,11 @@ +# AddTimeoffResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTimeoffOutput](../../models/components/unifiedtimeoffoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtimeoffsrequest.md b/docs/models/operations/addtimeoffsrequest.md new file mode 100644 index 000000000..da8662ebd --- /dev/null +++ b/docs/models/operations/addtimeoffsrequest.md @@ -0,0 +1,11 @@ +# AddTimeoffsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedTimeoffInput](../../models/components/unifiedtimeoffinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtimeoffsresponse.md b/docs/models/operations/addtimeoffsresponse.md new file mode 100644 index 000000000..68e6953ef --- /dev/null +++ b/docs/models/operations/addtimeoffsresponse.md @@ -0,0 +1,10 @@ +# AddTimeoffsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTimeoffsResponseBody](../../models/operations/addtimeoffsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTimeoffOutputs` | [components.UnifiedTimeoffOutput](../../models/components/unifiedtimeoffoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtimeoffsresponsebody.md b/docs/models/operations/addtimeoffsresponsebody.md new file mode 100644 index 000000000..90bb7e403 --- /dev/null +++ b/docs/models/operations/addtimeoffsresponsebody.md @@ -0,0 +1,11 @@ +# AddTimeoffsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTimeoffOutput](../../models/components/unifiedtimeoffoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtrackingcategoryrequest.md b/docs/models/operations/addtrackingcategoryrequest.md new file mode 100644 index 000000000..d13df32fa --- /dev/null +++ b/docs/models/operations/addtrackingcategoryrequest.md @@ -0,0 +1,10 @@ +# AddTrackingCategoryRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedTrackingCategoryInput` | [components.UnifiedTrackingCategoryInput](../../models/components/unifiedtrackingcategoryinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtrackingcategoryresponse.md b/docs/models/operations/addtrackingcategoryresponse.md new file mode 100644 index 000000000..dd3fbd3b3 --- /dev/null +++ b/docs/models/operations/addtrackingcategoryresponse.md @@ -0,0 +1,10 @@ +# AddTrackingCategoryResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTrackingCategoryResponseBody](../../models/operations/addtrackingcategoryresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTrackingCategoryOutput` | [components.UnifiedTrackingCategoryOutput](../../models/components/unifiedtrackingcategoryoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtrackingcategoryresponsebody.md b/docs/models/operations/addtrackingcategoryresponsebody.md new file mode 100644 index 000000000..2f7e7afda --- /dev/null +++ b/docs/models/operations/addtrackingcategoryresponsebody.md @@ -0,0 +1,11 @@ +# AddTrackingCategoryResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTrackingCategoryOutput](../../models/components/unifiedtrackingcategoryoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtrackingcategorysrequest.md b/docs/models/operations/addtrackingcategorysrequest.md new file mode 100644 index 000000000..d0c34cf6b --- /dev/null +++ b/docs/models/operations/addtrackingcategorysrequest.md @@ -0,0 +1,11 @@ +# AddTrackingCategorysRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedTrackingCategoryInput](../../models/components/unifiedtrackingcategoryinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtrackingcategorysresponse.md b/docs/models/operations/addtrackingcategorysresponse.md new file mode 100644 index 000000000..6c3870495 --- /dev/null +++ b/docs/models/operations/addtrackingcategorysresponse.md @@ -0,0 +1,10 @@ +# AddTrackingCategorysResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTrackingCategorysResponseBody](../../models/operations/addtrackingcategorysresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTrackingCategoryOutputs` | [components.UnifiedTrackingCategoryOutput](../../models/components/unifiedtrackingcategoryoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtrackingcategorysresponsebody.md b/docs/models/operations/addtrackingcategorysresponsebody.md new file mode 100644 index 000000000..4cb86f17f --- /dev/null +++ b/docs/models/operations/addtrackingcategorysresponsebody.md @@ -0,0 +1,11 @@ +# AddTrackingCategorysResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTrackingCategoryOutput](../../models/components/unifiedtrackingcategoryoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtransactionrequest.md b/docs/models/operations/addtransactionrequest.md new file mode 100644 index 000000000..feb2795e5 --- /dev/null +++ b/docs/models/operations/addtransactionrequest.md @@ -0,0 +1,10 @@ +# AddTransactionRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedTransactionInput` | [components.UnifiedTransactionInput](../../models/components/unifiedtransactioninput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtransactionresponse.md b/docs/models/operations/addtransactionresponse.md new file mode 100644 index 000000000..925b712dc --- /dev/null +++ b/docs/models/operations/addtransactionresponse.md @@ -0,0 +1,10 @@ +# AddTransactionResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTransactionResponseBody](../../models/operations/addtransactionresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTransactionOutput` | [components.UnifiedTransactionOutput](../../models/components/unifiedtransactionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtransactionresponsebody.md b/docs/models/operations/addtransactionresponsebody.md new file mode 100644 index 000000000..f004abd91 --- /dev/null +++ b/docs/models/operations/addtransactionresponsebody.md @@ -0,0 +1,11 @@ +# AddTransactionResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTransactionOutput](../../models/components/unifiedtransactionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtransactionsrequest.md b/docs/models/operations/addtransactionsrequest.md new file mode 100644 index 000000000..bfc84e726 --- /dev/null +++ b/docs/models/operations/addtransactionsrequest.md @@ -0,0 +1,11 @@ +# AddTransactionsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedTransactionInput](../../models/components/unifiedtransactioninput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtransactionsresponse.md b/docs/models/operations/addtransactionsresponse.md new file mode 100644 index 000000000..7c2b4ba12 --- /dev/null +++ b/docs/models/operations/addtransactionsresponse.md @@ -0,0 +1,10 @@ +# AddTransactionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddTransactionsResponseBody](../../models/operations/addtransactionsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedTransactionOutputs` | [components.UnifiedTransactionOutput](../../models/components/unifiedtransactionoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addtransactionsresponsebody.md b/docs/models/operations/addtransactionsresponsebody.md new file mode 100644 index 000000000..273824a22 --- /dev/null +++ b/docs/models/operations/addtransactionsresponsebody.md @@ -0,0 +1,11 @@ +# AddTransactionsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTransactionOutput](../../models/components/unifiedtransactionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addvendorcreditrequest.md b/docs/models/operations/addvendorcreditrequest.md new file mode 100644 index 000000000..9073ea2de --- /dev/null +++ b/docs/models/operations/addvendorcreditrequest.md @@ -0,0 +1,10 @@ +# AddVendorCreditRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `unifiedVendorCreditInput` | [components.UnifiedVendorCreditInput](../../models/components/unifiedvendorcreditinput.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addvendorcreditresponse.md b/docs/models/operations/addvendorcreditresponse.md new file mode 100644 index 000000000..20542fa34 --- /dev/null +++ b/docs/models/operations/addvendorcreditresponse.md @@ -0,0 +1,10 @@ +# AddVendorCreditResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddVendorCreditResponseBody](../../models/operations/addvendorcreditresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedVendorCreditOutput` | [components.UnifiedVendorCreditOutput](../../models/components/unifiedvendorcreditoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addvendorcreditresponsebody.md b/docs/models/operations/addvendorcreditresponsebody.md new file mode 100644 index 000000000..a1bb138ce --- /dev/null +++ b/docs/models/operations/addvendorcreditresponsebody.md @@ -0,0 +1,11 @@ +# AddVendorCreditResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedVendorCreditOutput](../../models/components/unifiedvendorcreditoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addvendorcreditsrequest.md b/docs/models/operations/addvendorcreditsrequest.md new file mode 100644 index 000000000..028b97944 --- /dev/null +++ b/docs/models/operations/addvendorcreditsrequest.md @@ -0,0 +1,11 @@ +# AddVendorCreditsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `connectionToken` | *string* | :heavy_check_mark: | N/A | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `requestBody` | [components.UnifiedVendorCreditInput](../../models/components/unifiedvendorcreditinput.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addvendorcreditsresponse.md b/docs/models/operations/addvendorcreditsresponse.md new file mode 100644 index 000000000..f92f4dcfa --- /dev/null +++ b/docs/models/operations/addvendorcreditsresponse.md @@ -0,0 +1,10 @@ +# AddVendorCreditsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.AddVendorCreditsResponseBody](../../models/operations/addvendorcreditsresponsebody.md) | :heavy_minus_sign: | N/A | +| `unifiedVendorCreditOutputs` | [components.UnifiedVendorCreditOutput](../../models/components/unifiedvendorcreditoutput.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addvendorcreditsresponsebody.md b/docs/models/operations/addvendorcreditsresponsebody.md new file mode 100644 index 000000000..bcc5f1d40 --- /dev/null +++ b/docs/models/operations/addvendorcreditsresponsebody.md @@ -0,0 +1,11 @@ +# AddVendorCreditsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedVendorCreditOutput](../../models/components/unifiedvendorcreditoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/authcontrollergetprofileresponse.md b/docs/models/operations/authcontrollergetprofileresponse.md new file mode 100644 index 000000000..01d4683e2 --- /dev/null +++ b/docs/models/operations/authcontrollergetprofileresponse.md @@ -0,0 +1,9 @@ +# AuthControllerGetProfileResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `verifyUserDto` | [components.VerifyUserDto](../../models/components/verifyuserdto.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/connectionscontrollerhandlegorgiasauthurlrequest.md b/docs/models/operations/connectionscontrollerhandlegorgiasauthurlrequest.md new file mode 100644 index 000000000..a83c0d0a4 --- /dev/null +++ b/docs/models/operations/connectionscontrollerhandlegorgiasauthurlrequest.md @@ -0,0 +1,14 @@ +# ConnectionsControllerHandleGorgiasAuthUrlRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `account` | *string* | :heavy_check_mark: | N/A | +| `responseType` | *string* | :heavy_check_mark: | N/A | +| `nonce` | *string* | :heavy_check_mark: | N/A | +| `scope` | *string* | :heavy_check_mark: | N/A | +| `clientId` | *string* | :heavy_check_mark: | N/A | +| `redirectUri` | *string* | :heavy_check_mark: | N/A | +| `state` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/connectionscontrollerhandlegorgiasauthurlresponse.md b/docs/models/operations/connectionscontrollerhandlegorgiasauthurlresponse.md new file mode 100644 index 000000000..f32a9815a --- /dev/null +++ b/docs/models/operations/connectionscontrollerhandlegorgiasauthurlresponse.md @@ -0,0 +1,8 @@ +# ConnectionsControllerHandleGorgiasAuthUrlResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createconnectionstrategyresponse.md b/docs/models/operations/createconnectionstrategyresponse.md new file mode 100644 index 000000000..c5c03a598 --- /dev/null +++ b/docs/models/operations/createconnectionstrategyresponse.md @@ -0,0 +1,8 @@ +# CreateConnectionStrategyResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createcustomfieldresponse.md b/docs/models/operations/createcustomfieldresponse.md new file mode 100644 index 000000000..6339e4b76 --- /dev/null +++ b/docs/models/operations/createcustomfieldresponse.md @@ -0,0 +1,8 @@ +# CreateCustomFieldResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createmagiclinkresponse.md b/docs/models/operations/createmagiclinkresponse.md new file mode 100644 index 000000000..2aec75809 --- /dev/null +++ b/docs/models/operations/createmagiclinkresponse.md @@ -0,0 +1,8 @@ +# CreateMagicLinkResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createmanagedwebhookresponse.md b/docs/models/operations/createmanagedwebhookresponse.md new file mode 100644 index 000000000..6fd26a5e4 --- /dev/null +++ b/docs/models/operations/createmanagedwebhookresponse.md @@ -0,0 +1,8 @@ +# CreateManagedWebhookResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createorganisationresponse.md b/docs/models/operations/createorganisationresponse.md new file mode 100644 index 000000000..bbfd322f9 --- /dev/null +++ b/docs/models/operations/createorganisationresponse.md @@ -0,0 +1,8 @@ +# CreateOrganisationResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createprojectresponse.md b/docs/models/operations/createprojectresponse.md new file mode 100644 index 000000000..40a26fb9e --- /dev/null +++ b/docs/models/operations/createprojectresponse.md @@ -0,0 +1,8 @@ +# CreateProjectResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createremotethirdpartywebhookresponse.md b/docs/models/operations/createremotethirdpartywebhookresponse.md new file mode 100644 index 000000000..68ddc2a8d --- /dev/null +++ b/docs/models/operations/createremotethirdpartywebhookresponse.md @@ -0,0 +1,8 @@ +# CreateRemoteThirdPartyWebhookResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createwebhookmetadataresponse.md b/docs/models/operations/createwebhookmetadataresponse.md new file mode 100644 index 000000000..be9a57b2a --- /dev/null +++ b/docs/models/operations/createwebhookmetadataresponse.md @@ -0,0 +1,8 @@ +# CreateWebhookMetadataResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/definetargetfieldresponse.md b/docs/models/operations/definetargetfieldresponse.md new file mode 100644 index 000000000..e42e317ec --- /dev/null +++ b/docs/models/operations/definetargetfieldresponse.md @@ -0,0 +1,8 @@ +# DefineTargetFieldResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/deleteapikeyrequest.md b/docs/models/operations/deleteapikeyrequest.md new file mode 100644 index 000000000..21231f92b --- /dev/null +++ b/docs/models/operations/deleteapikeyrequest.md @@ -0,0 +1,8 @@ +# DeleteApiKeyRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/deleteapikeyresponse.md b/docs/models/operations/deleteapikeyresponse.md new file mode 100644 index 000000000..446f430f3 --- /dev/null +++ b/docs/models/operations/deleteapikeyresponse.md @@ -0,0 +1,8 @@ +# DeleteApiKeyResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/deleteconnectionstrategyresponse.md b/docs/models/operations/deleteconnectionstrategyresponse.md new file mode 100644 index 000000000..8bb7a2af2 --- /dev/null +++ b/docs/models/operations/deleteconnectionstrategyresponse.md @@ -0,0 +1,8 @@ +# DeleteConnectionStrategyResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/deletewebhookrequest.md b/docs/models/operations/deletewebhookrequest.md new file mode 100644 index 000000000..e541dd3e7 --- /dev/null +++ b/docs/models/operations/deletewebhookrequest.md @@ -0,0 +1,8 @@ +# DeleteWebhookRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/deletewebhookresponse.md b/docs/models/operations/deletewebhookresponse.md new file mode 100644 index 000000000..28d06d015 --- /dev/null +++ b/docs/models/operations/deletewebhookresponse.md @@ -0,0 +1,8 @@ +# DeleteWebhookResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/downloadattachmentrequest.md b/docs/models/operations/downloadattachmentrequest.md new file mode 100644 index 000000000..8cb3892b4 --- /dev/null +++ b/docs/models/operations/downloadattachmentrequest.md @@ -0,0 +1,9 @@ +# DownloadAttachmentRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the attachment you want to retrive. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | \ No newline at end of file diff --git a/docs/models/operations/downloadattachmentresponse.md b/docs/models/operations/downloadattachmentresponse.md new file mode 100644 index 000000000..e1d6b6a3c --- /dev/null +++ b/docs/models/operations/downloadattachmentresponse.md @@ -0,0 +1,9 @@ +# DownloadAttachmentResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.DownloadAttachmentResponseBody](../../models/operations/downloadattachmentresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/downloadattachmentresponsebody.md b/docs/models/operations/downloadattachmentresponsebody.md new file mode 100644 index 000000000..e372ffc4c --- /dev/null +++ b/docs/models/operations/downloadattachmentresponsebody.md @@ -0,0 +1,11 @@ +# DownloadAttachmentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/fetchlinkedusersresponse.md b/docs/models/operations/fetchlinkedusersresponse.md new file mode 100644 index 000000000..2c02b6e86 --- /dev/null +++ b/docs/models/operations/fetchlinkedusersresponse.md @@ -0,0 +1,8 @@ +# FetchLinkedUsersResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/generateapikeyresponse.md b/docs/models/operations/generateapikeyresponse.md new file mode 100644 index 000000000..a363dfe72 --- /dev/null +++ b/docs/models/operations/generateapikeyresponse.md @@ -0,0 +1,8 @@ +# GenerateApiKeyResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountingaccountrequest.md b/docs/models/operations/getaccountingaccountrequest.md new file mode 100644 index 000000000..cb7259722 --- /dev/null +++ b/docs/models/operations/getaccountingaccountrequest.md @@ -0,0 +1,9 @@ +# GetAccountingAccountRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the account you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getaccountingaccountresponse.md b/docs/models/operations/getaccountingaccountresponse.md new file mode 100644 index 000000000..4881661c4 --- /dev/null +++ b/docs/models/operations/getaccountingaccountresponse.md @@ -0,0 +1,9 @@ +# GetAccountingAccountResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAccountingAccountResponseBody](../../models/operations/getaccountingaccountresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountingaccountresponsebody.md b/docs/models/operations/getaccountingaccountresponsebody.md new file mode 100644 index 000000000..63dbb65cb --- /dev/null +++ b/docs/models/operations/getaccountingaccountresponsebody.md @@ -0,0 +1,11 @@ +# GetAccountingAccountResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAccountOutput](../../models/components/unifiedaccountoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountingaccountsrequest.md b/docs/models/operations/getaccountingaccountsrequest.md new file mode 100644 index 000000000..23be0cfbd --- /dev/null +++ b/docs/models/operations/getaccountingaccountsrequest.md @@ -0,0 +1,9 @@ +# GetAccountingAccountsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getaccountingaccountsresponse.md b/docs/models/operations/getaccountingaccountsresponse.md new file mode 100644 index 000000000..033b0b191 --- /dev/null +++ b/docs/models/operations/getaccountingaccountsresponse.md @@ -0,0 +1,9 @@ +# GetAccountingAccountsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAccountingAccountsResponseBody](../../models/operations/getaccountingaccountsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountingaccountsresponsebody.md b/docs/models/operations/getaccountingaccountsresponsebody.md new file mode 100644 index 000000000..c6b1a781d --- /dev/null +++ b/docs/models/operations/getaccountingaccountsresponsebody.md @@ -0,0 +1,11 @@ +# GetAccountingAccountsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAccountOutput](../../models/components/unifiedaccountoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountingattachmentrequest.md b/docs/models/operations/getaccountingattachmentrequest.md new file mode 100644 index 000000000..d4c9430ab --- /dev/null +++ b/docs/models/operations/getaccountingattachmentrequest.md @@ -0,0 +1,9 @@ +# GetAccountingAttachmentRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the attachment you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getaccountingattachmentresponse.md b/docs/models/operations/getaccountingattachmentresponse.md new file mode 100644 index 000000000..0c7ee68f3 --- /dev/null +++ b/docs/models/operations/getaccountingattachmentresponse.md @@ -0,0 +1,9 @@ +# GetAccountingAttachmentResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAccountingAttachmentResponseBody](../../models/operations/getaccountingattachmentresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountingattachmentresponsebody.md b/docs/models/operations/getaccountingattachmentresponsebody.md new file mode 100644 index 000000000..b999c4636 --- /dev/null +++ b/docs/models/operations/getaccountingattachmentresponsebody.md @@ -0,0 +1,11 @@ +# GetAccountingAttachmentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountingattachmentsrequest.md b/docs/models/operations/getaccountingattachmentsrequest.md new file mode 100644 index 000000000..22d1869ab --- /dev/null +++ b/docs/models/operations/getaccountingattachmentsrequest.md @@ -0,0 +1,9 @@ +# GetAccountingAttachmentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getaccountingattachmentsresponse.md b/docs/models/operations/getaccountingattachmentsresponse.md new file mode 100644 index 000000000..3a1bc14ae --- /dev/null +++ b/docs/models/operations/getaccountingattachmentsresponse.md @@ -0,0 +1,9 @@ +# GetAccountingAttachmentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAccountingAttachmentsResponseBody](../../models/operations/getaccountingattachmentsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountingattachmentsresponsebody.md b/docs/models/operations/getaccountingattachmentsresponsebody.md new file mode 100644 index 000000000..0ea114cf5 --- /dev/null +++ b/docs/models/operations/getaccountingattachmentsresponsebody.md @@ -0,0 +1,11 @@ +# GetAccountingAttachmentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountingcontactrequest.md b/docs/models/operations/getaccountingcontactrequest.md new file mode 100644 index 000000000..40ae7e8a5 --- /dev/null +++ b/docs/models/operations/getaccountingcontactrequest.md @@ -0,0 +1,9 @@ +# GetAccountingContactRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the contact you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getaccountingcontactresponse.md b/docs/models/operations/getaccountingcontactresponse.md new file mode 100644 index 000000000..abf5d1166 --- /dev/null +++ b/docs/models/operations/getaccountingcontactresponse.md @@ -0,0 +1,9 @@ +# GetAccountingContactResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAccountingContactResponseBody](../../models/operations/getaccountingcontactresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountingcontactresponsebody.md b/docs/models/operations/getaccountingcontactresponsebody.md new file mode 100644 index 000000000..0965fe316 --- /dev/null +++ b/docs/models/operations/getaccountingcontactresponsebody.md @@ -0,0 +1,11 @@ +# GetAccountingContactResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountingcontactsrequest.md b/docs/models/operations/getaccountingcontactsrequest.md new file mode 100644 index 000000000..a85549065 --- /dev/null +++ b/docs/models/operations/getaccountingcontactsrequest.md @@ -0,0 +1,9 @@ +# GetAccountingContactsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getaccountingcontactsresponse.md b/docs/models/operations/getaccountingcontactsresponse.md new file mode 100644 index 000000000..c3f92a73f --- /dev/null +++ b/docs/models/operations/getaccountingcontactsresponse.md @@ -0,0 +1,9 @@ +# GetAccountingContactsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAccountingContactsResponseBody](../../models/operations/getaccountingcontactsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountingcontactsresponsebody.md b/docs/models/operations/getaccountingcontactsresponsebody.md new file mode 100644 index 000000000..b83112a30 --- /dev/null +++ b/docs/models/operations/getaccountingcontactsresponsebody.md @@ -0,0 +1,11 @@ +# GetAccountingContactsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getactionrequest.md b/docs/models/operations/getactionrequest.md new file mode 100644 index 000000000..afb206a4e --- /dev/null +++ b/docs/models/operations/getactionrequest.md @@ -0,0 +1,9 @@ +# GetActionRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the action you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getactionresponse.md b/docs/models/operations/getactionresponse.md new file mode 100644 index 000000000..9fbfa0b7a --- /dev/null +++ b/docs/models/operations/getactionresponse.md @@ -0,0 +1,9 @@ +# GetActionResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetActionResponseBody](../../models/operations/getactionresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getactionresponsebody.md b/docs/models/operations/getactionresponsebody.md new file mode 100644 index 000000000..5abaebe01 --- /dev/null +++ b/docs/models/operations/getactionresponsebody.md @@ -0,0 +1,11 @@ +# GetActionResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedActionOutput](../../models/components/unifiedactionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getactionsrequest.md b/docs/models/operations/getactionsrequest.md new file mode 100644 index 000000000..7cd502045 --- /dev/null +++ b/docs/models/operations/getactionsrequest.md @@ -0,0 +1,9 @@ +# GetActionsRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getactionsresponse.md b/docs/models/operations/getactionsresponse.md new file mode 100644 index 000000000..14c8c1b89 --- /dev/null +++ b/docs/models/operations/getactionsresponse.md @@ -0,0 +1,9 @@ +# GetActionsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetActionsResponseBody](../../models/operations/getactionsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getactionsresponsebody.md b/docs/models/operations/getactionsresponsebody.md new file mode 100644 index 000000000..744c605cb --- /dev/null +++ b/docs/models/operations/getactionsresponsebody.md @@ -0,0 +1,11 @@ +# GetActionsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedActionOutput](../../models/components/unifiedactionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getactivityrequest.md b/docs/models/operations/getactivityrequest.md new file mode 100644 index 000000000..3e46560b1 --- /dev/null +++ b/docs/models/operations/getactivityrequest.md @@ -0,0 +1,9 @@ +# GetActivityRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the activity you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getactivityresponse.md b/docs/models/operations/getactivityresponse.md new file mode 100644 index 000000000..0ec6b8dfb --- /dev/null +++ b/docs/models/operations/getactivityresponse.md @@ -0,0 +1,9 @@ +# GetActivityResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetActivityResponseBody](../../models/operations/getactivityresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getactivityresponsebody.md b/docs/models/operations/getactivityresponsebody.md new file mode 100644 index 000000000..32ca330d4 --- /dev/null +++ b/docs/models/operations/getactivityresponsebody.md @@ -0,0 +1,11 @@ +# GetActivityResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedActivityOutput](../../models/components/unifiedactivityoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getactivitysrequest.md b/docs/models/operations/getactivitysrequest.md new file mode 100644 index 000000000..19717ac09 --- /dev/null +++ b/docs/models/operations/getactivitysrequest.md @@ -0,0 +1,9 @@ +# GetActivitysRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getactivitysresponse.md b/docs/models/operations/getactivitysresponse.md new file mode 100644 index 000000000..3e62235f1 --- /dev/null +++ b/docs/models/operations/getactivitysresponse.md @@ -0,0 +1,9 @@ +# GetActivitysResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetActivitysResponseBody](../../models/operations/getactivitysresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getactivitysresponsebody.md b/docs/models/operations/getactivitysresponsebody.md new file mode 100644 index 000000000..dba61452a --- /dev/null +++ b/docs/models/operations/getactivitysresponsebody.md @@ -0,0 +1,11 @@ +# GetActivitysResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedActivityOutput](../../models/components/unifiedactivityoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaddressrequest.md b/docs/models/operations/getaddressrequest.md new file mode 100644 index 000000000..5e3c74bf1 --- /dev/null +++ b/docs/models/operations/getaddressrequest.md @@ -0,0 +1,9 @@ +# GetAddressRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the address you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getaddressresponse.md b/docs/models/operations/getaddressresponse.md new file mode 100644 index 000000000..a42337b7f --- /dev/null +++ b/docs/models/operations/getaddressresponse.md @@ -0,0 +1,9 @@ +# GetAddressResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAddressResponseBody](../../models/operations/getaddressresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaddressresponsebody.md b/docs/models/operations/getaddressresponsebody.md new file mode 100644 index 000000000..284dd5f56 --- /dev/null +++ b/docs/models/operations/getaddressresponsebody.md @@ -0,0 +1,11 @@ +# GetAddressResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAddressOutput](../../models/components/unifiedaddressoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaddresssrequest.md b/docs/models/operations/getaddresssrequest.md new file mode 100644 index 000000000..de85930e8 --- /dev/null +++ b/docs/models/operations/getaddresssrequest.md @@ -0,0 +1,9 @@ +# GetAddresssRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getaddresssresponse.md b/docs/models/operations/getaddresssresponse.md new file mode 100644 index 000000000..3b4ebadf1 --- /dev/null +++ b/docs/models/operations/getaddresssresponse.md @@ -0,0 +1,9 @@ +# GetAddresssResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAddresssResponseBody](../../models/operations/getaddresssresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaddresssresponsebody.md b/docs/models/operations/getaddresssresponsebody.md new file mode 100644 index 000000000..300483271 --- /dev/null +++ b/docs/models/operations/getaddresssresponsebody.md @@ -0,0 +1,11 @@ +# GetAddresssResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAddressOutput](../../models/components/unifiedaddressoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getapikeysresponse.md b/docs/models/operations/getapikeysresponse.md new file mode 100644 index 000000000..6334a0f26 --- /dev/null +++ b/docs/models/operations/getapikeysresponse.md @@ -0,0 +1,8 @@ +# GetApiKeysResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getapplicationrequest.md b/docs/models/operations/getapplicationrequest.md new file mode 100644 index 000000000..a31ca0298 --- /dev/null +++ b/docs/models/operations/getapplicationrequest.md @@ -0,0 +1,9 @@ +# GetApplicationRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the application you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getapplicationresponse.md b/docs/models/operations/getapplicationresponse.md new file mode 100644 index 000000000..5661d79fc --- /dev/null +++ b/docs/models/operations/getapplicationresponse.md @@ -0,0 +1,9 @@ +# GetApplicationResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetApplicationResponseBody](../../models/operations/getapplicationresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getapplicationresponsebody.md b/docs/models/operations/getapplicationresponsebody.md new file mode 100644 index 000000000..a6ce27554 --- /dev/null +++ b/docs/models/operations/getapplicationresponsebody.md @@ -0,0 +1,11 @@ +# GetApplicationResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedApplicationOutput](../../models/components/unifiedapplicationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getapplicationsrequest.md b/docs/models/operations/getapplicationsrequest.md new file mode 100644 index 000000000..173b6d942 --- /dev/null +++ b/docs/models/operations/getapplicationsrequest.md @@ -0,0 +1,9 @@ +# GetApplicationsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getapplicationsresponse.md b/docs/models/operations/getapplicationsresponse.md new file mode 100644 index 000000000..29046c03c --- /dev/null +++ b/docs/models/operations/getapplicationsresponse.md @@ -0,0 +1,9 @@ +# GetApplicationsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetApplicationsResponseBody](../../models/operations/getapplicationsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getapplicationsresponsebody.md b/docs/models/operations/getapplicationsresponsebody.md new file mode 100644 index 000000000..a674f7171 --- /dev/null +++ b/docs/models/operations/getapplicationsresponsebody.md @@ -0,0 +1,11 @@ +# GetApplicationsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedApplicationOutput](../../models/components/unifiedapplicationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getatsattachmentrequest.md b/docs/models/operations/getatsattachmentrequest.md new file mode 100644 index 000000000..e3a0f9dc4 --- /dev/null +++ b/docs/models/operations/getatsattachmentrequest.md @@ -0,0 +1,9 @@ +# GetAtsAttachmentRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the attachment you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getatsattachmentresponse.md b/docs/models/operations/getatsattachmentresponse.md new file mode 100644 index 000000000..e32a8c92d --- /dev/null +++ b/docs/models/operations/getatsattachmentresponse.md @@ -0,0 +1,9 @@ +# GetAtsAttachmentResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAtsAttachmentResponseBody](../../models/operations/getatsattachmentresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getatsattachmentresponsebody.md b/docs/models/operations/getatsattachmentresponsebody.md new file mode 100644 index 000000000..ef27a05ac --- /dev/null +++ b/docs/models/operations/getatsattachmentresponsebody.md @@ -0,0 +1,11 @@ +# GetAtsAttachmentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getatsattachmentsrequest.md b/docs/models/operations/getatsattachmentsrequest.md new file mode 100644 index 000000000..6b47f561c --- /dev/null +++ b/docs/models/operations/getatsattachmentsrequest.md @@ -0,0 +1,9 @@ +# GetAtsAttachmentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getatsattachmentsresponse.md b/docs/models/operations/getatsattachmentsresponse.md new file mode 100644 index 000000000..17459f344 --- /dev/null +++ b/docs/models/operations/getatsattachmentsresponse.md @@ -0,0 +1,9 @@ +# GetAtsAttachmentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAtsAttachmentsResponseBody](../../models/operations/getatsattachmentsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getatsattachmentsresponsebody.md b/docs/models/operations/getatsattachmentsresponsebody.md new file mode 100644 index 000000000..0b051d3b4 --- /dev/null +++ b/docs/models/operations/getatsattachmentsresponsebody.md @@ -0,0 +1,11 @@ +# GetAtsAttachmentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getatstagrequest.md b/docs/models/operations/getatstagrequest.md new file mode 100644 index 000000000..26443e40d --- /dev/null +++ b/docs/models/operations/getatstagrequest.md @@ -0,0 +1,9 @@ +# GetAtsTagRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the tag you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getatstagresponse.md b/docs/models/operations/getatstagresponse.md new file mode 100644 index 000000000..8e04beeda --- /dev/null +++ b/docs/models/operations/getatstagresponse.md @@ -0,0 +1,9 @@ +# GetAtsTagResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAtsTagResponseBody](../../models/operations/getatstagresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getatstagresponsebody.md b/docs/models/operations/getatstagresponsebody.md new file mode 100644 index 000000000..2a8c76076 --- /dev/null +++ b/docs/models/operations/getatstagresponsebody.md @@ -0,0 +1,11 @@ +# GetAtsTagResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTagOutput](../../models/components/unifiedtagoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getatstagsrequest.md b/docs/models/operations/getatstagsrequest.md new file mode 100644 index 000000000..cf19ee6a7 --- /dev/null +++ b/docs/models/operations/getatstagsrequest.md @@ -0,0 +1,9 @@ +# GetAtsTagsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getatstagsresponse.md b/docs/models/operations/getatstagsresponse.md new file mode 100644 index 000000000..325421a38 --- /dev/null +++ b/docs/models/operations/getatstagsresponse.md @@ -0,0 +1,9 @@ +# GetAtsTagsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAtsTagsResponseBody](../../models/operations/getatstagsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getatstagsresponsebody.md b/docs/models/operations/getatstagsresponsebody.md new file mode 100644 index 000000000..9c031452e --- /dev/null +++ b/docs/models/operations/getatstagsresponsebody.md @@ -0,0 +1,11 @@ +# GetAtsTagsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTagOutput](../../models/components/unifiedtagoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getatsuserrequest.md b/docs/models/operations/getatsuserrequest.md new file mode 100644 index 000000000..650672b88 --- /dev/null +++ b/docs/models/operations/getatsuserrequest.md @@ -0,0 +1,9 @@ +# GetAtsUserRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the user you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getatsuserresponse.md b/docs/models/operations/getatsuserresponse.md new file mode 100644 index 000000000..0c76a8ade --- /dev/null +++ b/docs/models/operations/getatsuserresponse.md @@ -0,0 +1,9 @@ +# GetAtsUserResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAtsUserResponseBody](../../models/operations/getatsuserresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getatsuserresponsebody.md b/docs/models/operations/getatsuserresponsebody.md new file mode 100644 index 000000000..54d95aa08 --- /dev/null +++ b/docs/models/operations/getatsuserresponsebody.md @@ -0,0 +1,11 @@ +# GetAtsUserResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getatsusersrequest.md b/docs/models/operations/getatsusersrequest.md new file mode 100644 index 000000000..69c1d600d --- /dev/null +++ b/docs/models/operations/getatsusersrequest.md @@ -0,0 +1,9 @@ +# GetAtsUsersRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getatsusersresponse.md b/docs/models/operations/getatsusersresponse.md new file mode 100644 index 000000000..d13d002fd --- /dev/null +++ b/docs/models/operations/getatsusersresponse.md @@ -0,0 +1,9 @@ +# GetAtsUsersResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAtsUsersResponseBody](../../models/operations/getatsusersresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getatsusersresponsebody.md b/docs/models/operations/getatsusersresponsebody.md new file mode 100644 index 000000000..41b11b6e9 --- /dev/null +++ b/docs/models/operations/getatsusersresponsebody.md @@ -0,0 +1,11 @@ +# GetAtsUsersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getautomationrequest.md b/docs/models/operations/getautomationrequest.md new file mode 100644 index 000000000..42726df0f --- /dev/null +++ b/docs/models/operations/getautomationrequest.md @@ -0,0 +1,9 @@ +# GetAutomationRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the automation you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getautomationresponse.md b/docs/models/operations/getautomationresponse.md new file mode 100644 index 000000000..baa26201f --- /dev/null +++ b/docs/models/operations/getautomationresponse.md @@ -0,0 +1,9 @@ +# GetAutomationResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAutomationResponseBody](../../models/operations/getautomationresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getautomationresponsebody.md b/docs/models/operations/getautomationresponsebody.md new file mode 100644 index 000000000..1cb0a374d --- /dev/null +++ b/docs/models/operations/getautomationresponsebody.md @@ -0,0 +1,11 @@ +# GetAutomationResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAutomationOutput](../../models/components/unifiedautomationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getautomationsrequest.md b/docs/models/operations/getautomationsrequest.md new file mode 100644 index 000000000..e931a4e61 --- /dev/null +++ b/docs/models/operations/getautomationsrequest.md @@ -0,0 +1,9 @@ +# GetAutomationsRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getautomationsresponse.md b/docs/models/operations/getautomationsresponse.md new file mode 100644 index 000000000..0e8235965 --- /dev/null +++ b/docs/models/operations/getautomationsresponse.md @@ -0,0 +1,9 @@ +# GetAutomationsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetAutomationsResponseBody](../../models/operations/getautomationsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getautomationsresponsebody.md b/docs/models/operations/getautomationsresponsebody.md new file mode 100644 index 000000000..e092f771d --- /dev/null +++ b/docs/models/operations/getautomationsresponsebody.md @@ -0,0 +1,11 @@ +# GetAutomationsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAutomationOutput](../../models/components/unifiedautomationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbalancesheetrequest.md b/docs/models/operations/getbalancesheetrequest.md new file mode 100644 index 000000000..5bb378015 --- /dev/null +++ b/docs/models/operations/getbalancesheetrequest.md @@ -0,0 +1,9 @@ +# GetBalanceSheetRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the balancesheet you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getbalancesheetresponse.md b/docs/models/operations/getbalancesheetresponse.md new file mode 100644 index 000000000..f81562015 --- /dev/null +++ b/docs/models/operations/getbalancesheetresponse.md @@ -0,0 +1,9 @@ +# GetBalanceSheetResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetBalanceSheetResponseBody](../../models/operations/getbalancesheetresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbalancesheetresponsebody.md b/docs/models/operations/getbalancesheetresponsebody.md new file mode 100644 index 000000000..0d7966c9a --- /dev/null +++ b/docs/models/operations/getbalancesheetresponsebody.md @@ -0,0 +1,11 @@ +# GetBalanceSheetResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedBalanceSheetOutput](../../models/components/unifiedbalancesheetoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbalancesheetsrequest.md b/docs/models/operations/getbalancesheetsrequest.md new file mode 100644 index 000000000..3d58c6c6d --- /dev/null +++ b/docs/models/operations/getbalancesheetsrequest.md @@ -0,0 +1,9 @@ +# GetBalanceSheetsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getbalancesheetsresponse.md b/docs/models/operations/getbalancesheetsresponse.md new file mode 100644 index 000000000..8550677ee --- /dev/null +++ b/docs/models/operations/getbalancesheetsresponse.md @@ -0,0 +1,9 @@ +# GetBalanceSheetsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetBalanceSheetsResponseBody](../../models/operations/getbalancesheetsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbalancesheetsresponsebody.md b/docs/models/operations/getbalancesheetsresponsebody.md new file mode 100644 index 000000000..f95220072 --- /dev/null +++ b/docs/models/operations/getbalancesheetsresponsebody.md @@ -0,0 +1,11 @@ +# GetBalanceSheetsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedBalanceSheetOutput](../../models/components/unifiedbalancesheetoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbankinforequest.md b/docs/models/operations/getbankinforequest.md new file mode 100644 index 000000000..1625e52c5 --- /dev/null +++ b/docs/models/operations/getbankinforequest.md @@ -0,0 +1,9 @@ +# GetBankinfoRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the bankinfo you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getbankinforesponse.md b/docs/models/operations/getbankinforesponse.md new file mode 100644 index 000000000..e397bf43d --- /dev/null +++ b/docs/models/operations/getbankinforesponse.md @@ -0,0 +1,9 @@ +# GetBankinfoResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetBankinfoResponseBody](../../models/operations/getbankinforesponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbankinforesponsebody.md b/docs/models/operations/getbankinforesponsebody.md new file mode 100644 index 000000000..0d984ad52 --- /dev/null +++ b/docs/models/operations/getbankinforesponsebody.md @@ -0,0 +1,11 @@ +# GetBankinfoResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedBankInfoOutput](../../models/components/unifiedbankinfooutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbankinfosrequest.md b/docs/models/operations/getbankinfosrequest.md new file mode 100644 index 000000000..68bffb644 --- /dev/null +++ b/docs/models/operations/getbankinfosrequest.md @@ -0,0 +1,9 @@ +# GetBankinfosRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getbankinfosresponse.md b/docs/models/operations/getbankinfosresponse.md new file mode 100644 index 000000000..04c5381c7 --- /dev/null +++ b/docs/models/operations/getbankinfosresponse.md @@ -0,0 +1,9 @@ +# GetBankinfosResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetBankinfosResponseBody](../../models/operations/getbankinfosresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbankinfosresponsebody.md b/docs/models/operations/getbankinfosresponsebody.md new file mode 100644 index 000000000..72b6e2c00 --- /dev/null +++ b/docs/models/operations/getbankinfosresponsebody.md @@ -0,0 +1,11 @@ +# GetBankinfosResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedBankInfoOutput](../../models/components/unifiedbankinfooutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbenefitrequest.md b/docs/models/operations/getbenefitrequest.md new file mode 100644 index 000000000..be06ac998 --- /dev/null +++ b/docs/models/operations/getbenefitrequest.md @@ -0,0 +1,9 @@ +# GetBenefitRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the benefit you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getbenefitresponse.md b/docs/models/operations/getbenefitresponse.md new file mode 100644 index 000000000..ad0f7d879 --- /dev/null +++ b/docs/models/operations/getbenefitresponse.md @@ -0,0 +1,9 @@ +# GetBenefitResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetBenefitResponseBody](../../models/operations/getbenefitresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbenefitresponsebody.md b/docs/models/operations/getbenefitresponsebody.md new file mode 100644 index 000000000..380b312f0 --- /dev/null +++ b/docs/models/operations/getbenefitresponsebody.md @@ -0,0 +1,11 @@ +# GetBenefitResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedBenefitOutput](../../models/components/unifiedbenefitoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbenefitsrequest.md b/docs/models/operations/getbenefitsrequest.md new file mode 100644 index 000000000..42746de1c --- /dev/null +++ b/docs/models/operations/getbenefitsrequest.md @@ -0,0 +1,9 @@ +# GetBenefitsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getbenefitsresponse.md b/docs/models/operations/getbenefitsresponse.md new file mode 100644 index 000000000..9b58ab4dc --- /dev/null +++ b/docs/models/operations/getbenefitsresponse.md @@ -0,0 +1,9 @@ +# GetBenefitsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetBenefitsResponseBody](../../models/operations/getbenefitsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getbenefitsresponsebody.md b/docs/models/operations/getbenefitsresponsebody.md new file mode 100644 index 000000000..bfd6c0c78 --- /dev/null +++ b/docs/models/operations/getbenefitsresponsebody.md @@ -0,0 +1,11 @@ +# GetBenefitsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedBenefitOutput](../../models/components/unifiedbenefitoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcampaignrequest.md b/docs/models/operations/getcampaignrequest.md new file mode 100644 index 000000000..fb9986ec0 --- /dev/null +++ b/docs/models/operations/getcampaignrequest.md @@ -0,0 +1,9 @@ +# GetCampaignRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the campaign you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getcampaignresponse.md b/docs/models/operations/getcampaignresponse.md new file mode 100644 index 000000000..92d5aba36 --- /dev/null +++ b/docs/models/operations/getcampaignresponse.md @@ -0,0 +1,9 @@ +# GetCampaignResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCampaignResponseBody](../../models/operations/getcampaignresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcampaignresponsebody.md b/docs/models/operations/getcampaignresponsebody.md new file mode 100644 index 000000000..370f0e565 --- /dev/null +++ b/docs/models/operations/getcampaignresponsebody.md @@ -0,0 +1,11 @@ +# GetCampaignResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCampaignOutput](../../models/components/unifiedcampaignoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcampaignsrequest.md b/docs/models/operations/getcampaignsrequest.md new file mode 100644 index 000000000..8272d8c23 --- /dev/null +++ b/docs/models/operations/getcampaignsrequest.md @@ -0,0 +1,9 @@ +# GetCampaignsRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getcampaignsresponse.md b/docs/models/operations/getcampaignsresponse.md new file mode 100644 index 000000000..8e17a44bc --- /dev/null +++ b/docs/models/operations/getcampaignsresponse.md @@ -0,0 +1,9 @@ +# GetCampaignsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCampaignsResponseBody](../../models/operations/getcampaignsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcampaignsresponsebody.md b/docs/models/operations/getcampaignsresponsebody.md new file mode 100644 index 000000000..1096718c2 --- /dev/null +++ b/docs/models/operations/getcampaignsresponsebody.md @@ -0,0 +1,11 @@ +# GetCampaignsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCampaignOutput](../../models/components/unifiedcampaignoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcandidaterequest.md b/docs/models/operations/getcandidaterequest.md new file mode 100644 index 000000000..0eb606e9c --- /dev/null +++ b/docs/models/operations/getcandidaterequest.md @@ -0,0 +1,9 @@ +# GetCandidateRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the candidate you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getcandidateresponse.md b/docs/models/operations/getcandidateresponse.md new file mode 100644 index 000000000..f8696cfd9 --- /dev/null +++ b/docs/models/operations/getcandidateresponse.md @@ -0,0 +1,9 @@ +# GetCandidateResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCandidateResponseBody](../../models/operations/getcandidateresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcandidateresponsebody.md b/docs/models/operations/getcandidateresponsebody.md new file mode 100644 index 000000000..5452664ec --- /dev/null +++ b/docs/models/operations/getcandidateresponsebody.md @@ -0,0 +1,11 @@ +# GetCandidateResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCandidateOutput](../../models/components/unifiedcandidateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcandidatesrequest.md b/docs/models/operations/getcandidatesrequest.md new file mode 100644 index 000000000..c78f9c983 --- /dev/null +++ b/docs/models/operations/getcandidatesrequest.md @@ -0,0 +1,9 @@ +# GetCandidatesRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getcandidatesresponse.md b/docs/models/operations/getcandidatesresponse.md new file mode 100644 index 000000000..7abf24cc8 --- /dev/null +++ b/docs/models/operations/getcandidatesresponse.md @@ -0,0 +1,9 @@ +# GetCandidatesResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCandidatesResponseBody](../../models/operations/getcandidatesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcandidatesresponsebody.md b/docs/models/operations/getcandidatesresponsebody.md new file mode 100644 index 000000000..8efb3ff27 --- /dev/null +++ b/docs/models/operations/getcandidatesresponsebody.md @@ -0,0 +1,11 @@ +# GetCandidatesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCandidateOutput](../../models/components/unifiedcandidateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcashflowstatementrequest.md b/docs/models/operations/getcashflowstatementrequest.md new file mode 100644 index 000000000..e67dc5119 --- /dev/null +++ b/docs/models/operations/getcashflowstatementrequest.md @@ -0,0 +1,9 @@ +# GetCashflowStatementRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the cashflowstatement you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getcashflowstatementresponse.md b/docs/models/operations/getcashflowstatementresponse.md new file mode 100644 index 000000000..78b509c98 --- /dev/null +++ b/docs/models/operations/getcashflowstatementresponse.md @@ -0,0 +1,9 @@ +# GetCashflowStatementResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCashflowStatementResponseBody](../../models/operations/getcashflowstatementresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcashflowstatementresponsebody.md b/docs/models/operations/getcashflowstatementresponsebody.md new file mode 100644 index 000000000..61e48f83f --- /dev/null +++ b/docs/models/operations/getcashflowstatementresponsebody.md @@ -0,0 +1,11 @@ +# GetCashflowStatementResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCashflowStatementOutput](../../models/components/unifiedcashflowstatementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcashflowstatementsrequest.md b/docs/models/operations/getcashflowstatementsrequest.md new file mode 100644 index 000000000..18ba36b9e --- /dev/null +++ b/docs/models/operations/getcashflowstatementsrequest.md @@ -0,0 +1,9 @@ +# GetCashflowStatementsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getcashflowstatementsresponse.md b/docs/models/operations/getcashflowstatementsresponse.md new file mode 100644 index 000000000..41d602f60 --- /dev/null +++ b/docs/models/operations/getcashflowstatementsresponse.md @@ -0,0 +1,9 @@ +# GetCashflowStatementsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCashflowStatementsResponseBody](../../models/operations/getcashflowstatementsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcashflowstatementsresponsebody.md b/docs/models/operations/getcashflowstatementsresponsebody.md new file mode 100644 index 000000000..3b5f1b3d1 --- /dev/null +++ b/docs/models/operations/getcashflowstatementsresponsebody.md @@ -0,0 +1,11 @@ +# GetCashflowStatementsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCashflowStatementOutput](../../models/components/unifiedcashflowstatementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcollectionrequest.md b/docs/models/operations/getcollectionrequest.md new file mode 100644 index 000000000..5c5d74ad7 --- /dev/null +++ b/docs/models/operations/getcollectionrequest.md @@ -0,0 +1,9 @@ +# GetCollectionRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the collection you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | \ No newline at end of file diff --git a/docs/models/operations/getcollectionresponse.md b/docs/models/operations/getcollectionresponse.md new file mode 100644 index 000000000..f3048b02c --- /dev/null +++ b/docs/models/operations/getcollectionresponse.md @@ -0,0 +1,9 @@ +# GetCollectionResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCollectionResponseBody](../../models/operations/getcollectionresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcollectionresponsebody.md b/docs/models/operations/getcollectionresponsebody.md new file mode 100644 index 000000000..c7730f295 --- /dev/null +++ b/docs/models/operations/getcollectionresponsebody.md @@ -0,0 +1,11 @@ +# GetCollectionResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCollectionOutput](../../models/components/unifiedcollectionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcollectionsrequest.md b/docs/models/operations/getcollectionsrequest.md new file mode 100644 index 000000000..61e1e4463 --- /dev/null +++ b/docs/models/operations/getcollectionsrequest.md @@ -0,0 +1,11 @@ +# GetCollectionsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getcollectionsresponse.md b/docs/models/operations/getcollectionsresponse.md new file mode 100644 index 000000000..7ce9d65cb --- /dev/null +++ b/docs/models/operations/getcollectionsresponse.md @@ -0,0 +1,9 @@ +# GetCollectionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCollectionsResponseBody](../../models/operations/getcollectionsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcollectionsresponsebody.md b/docs/models/operations/getcollectionsresponsebody.md new file mode 100644 index 000000000..6102437fa --- /dev/null +++ b/docs/models/operations/getcollectionsresponsebody.md @@ -0,0 +1,11 @@ +# GetCollectionsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCollectionOutput](../../models/components/unifiedcollectionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcommentrequest.md b/docs/models/operations/getcommentrequest.md new file mode 100644 index 000000000..1d5e1010a --- /dev/null +++ b/docs/models/operations/getcommentrequest.md @@ -0,0 +1,9 @@ +# GetCommentRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the `comment` you want to retrive. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | \ No newline at end of file diff --git a/docs/models/operations/getcommentresponse.md b/docs/models/operations/getcommentresponse.md new file mode 100644 index 000000000..722076a20 --- /dev/null +++ b/docs/models/operations/getcommentresponse.md @@ -0,0 +1,9 @@ +# GetCommentResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCommentResponseBody](../../models/operations/getcommentresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcommentresponsebody.md b/docs/models/operations/getcommentresponsebody.md new file mode 100644 index 000000000..65438939d --- /dev/null +++ b/docs/models/operations/getcommentresponsebody.md @@ -0,0 +1,11 @@ +# GetCommentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCommentOutput](../../models/components/unifiedcommentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcommentsrequest.md b/docs/models/operations/getcommentsrequest.md new file mode 100644 index 000000000..cfa9d32ee --- /dev/null +++ b/docs/models/operations/getcommentsrequest.md @@ -0,0 +1,11 @@ +# GetCommentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getcommentsresponse.md b/docs/models/operations/getcommentsresponse.md new file mode 100644 index 000000000..d7b17cc93 --- /dev/null +++ b/docs/models/operations/getcommentsresponse.md @@ -0,0 +1,9 @@ +# GetCommentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCommentsResponseBody](../../models/operations/getcommentsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcommentsresponsebody.md b/docs/models/operations/getcommentsresponsebody.md new file mode 100644 index 000000000..5de223159 --- /dev/null +++ b/docs/models/operations/getcommentsresponsebody.md @@ -0,0 +1,11 @@ +# GetCommentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCommentOutput](../../models/components/unifiedcommentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcompaniesrequest.md b/docs/models/operations/getcompaniesrequest.md new file mode 100644 index 000000000..17c9a5449 --- /dev/null +++ b/docs/models/operations/getcompaniesrequest.md @@ -0,0 +1,11 @@ +# GetCompaniesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getcompaniesresponse.md b/docs/models/operations/getcompaniesresponse.md new file mode 100644 index 000000000..d589fe515 --- /dev/null +++ b/docs/models/operations/getcompaniesresponse.md @@ -0,0 +1,9 @@ +# GetCompaniesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCompaniesResponseBody](../../models/operations/getcompaniesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcompaniesresponsebody.md b/docs/models/operations/getcompaniesresponsebody.md new file mode 100644 index 000000000..3a31feceb --- /dev/null +++ b/docs/models/operations/getcompaniesresponsebody.md @@ -0,0 +1,11 @@ +# GetCompaniesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcompanyinforequest.md b/docs/models/operations/getcompanyinforequest.md new file mode 100644 index 000000000..67a58d607 --- /dev/null +++ b/docs/models/operations/getcompanyinforequest.md @@ -0,0 +1,9 @@ +# GetCompanyInfoRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the companyinfo you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getcompanyinforesponse.md b/docs/models/operations/getcompanyinforesponse.md new file mode 100644 index 000000000..6a620da83 --- /dev/null +++ b/docs/models/operations/getcompanyinforesponse.md @@ -0,0 +1,9 @@ +# GetCompanyInfoResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCompanyInfoResponseBody](../../models/operations/getcompanyinforesponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcompanyinforesponsebody.md b/docs/models/operations/getcompanyinforesponsebody.md new file mode 100644 index 000000000..799d9003b --- /dev/null +++ b/docs/models/operations/getcompanyinforesponsebody.md @@ -0,0 +1,11 @@ +# GetCompanyInfoResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyInfoOutput](../../models/components/unifiedcompanyinfooutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcompanyinfosrequest.md b/docs/models/operations/getcompanyinfosrequest.md new file mode 100644 index 000000000..0f342bc6a --- /dev/null +++ b/docs/models/operations/getcompanyinfosrequest.md @@ -0,0 +1,9 @@ +# GetCompanyInfosRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getcompanyinfosresponse.md b/docs/models/operations/getcompanyinfosresponse.md new file mode 100644 index 000000000..1cd32d1b2 --- /dev/null +++ b/docs/models/operations/getcompanyinfosresponse.md @@ -0,0 +1,9 @@ +# GetCompanyInfosResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCompanyInfosResponseBody](../../models/operations/getcompanyinfosresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcompanyinfosresponsebody.md b/docs/models/operations/getcompanyinfosresponsebody.md new file mode 100644 index 000000000..27ee22e81 --- /dev/null +++ b/docs/models/operations/getcompanyinfosresponsebody.md @@ -0,0 +1,11 @@ +# GetCompanyInfosResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyInfoOutput](../../models/components/unifiedcompanyinfooutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcompanysrequest.md b/docs/models/operations/getcompanysrequest.md new file mode 100644 index 000000000..bd185e317 --- /dev/null +++ b/docs/models/operations/getcompanysrequest.md @@ -0,0 +1,9 @@ +# GetCompanysRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getcompanysresponse.md b/docs/models/operations/getcompanysresponse.md new file mode 100644 index 000000000..596f895e8 --- /dev/null +++ b/docs/models/operations/getcompanysresponse.md @@ -0,0 +1,9 @@ +# GetCompanysResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCompanysResponseBody](../../models/operations/getcompanysresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcompanysresponsebody.md b/docs/models/operations/getcompanysresponsebody.md new file mode 100644 index 000000000..970759457 --- /dev/null +++ b/docs/models/operations/getcompanysresponsebody.md @@ -0,0 +1,11 @@ +# GetCompanysResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getconnectionsresponse.md b/docs/models/operations/getconnectionsresponse.md new file mode 100644 index 000000000..84dd75789 --- /dev/null +++ b/docs/models/operations/getconnectionsresponse.md @@ -0,0 +1,8 @@ +# GetConnectionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getconnectionstrategiesforprojectresponse.md b/docs/models/operations/getconnectionstrategiesforprojectresponse.md new file mode 100644 index 000000000..fd413a890 --- /dev/null +++ b/docs/models/operations/getconnectionstrategiesforprojectresponse.md @@ -0,0 +1,8 @@ +# GetConnectionStrategiesForProjectResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getconnectionstrategycredentialsresponse.md b/docs/models/operations/getconnectionstrategycredentialsresponse.md new file mode 100644 index 000000000..5fde9f21d --- /dev/null +++ b/docs/models/operations/getconnectionstrategycredentialsresponse.md @@ -0,0 +1,8 @@ +# GetConnectionStrategyCredentialsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getconnectorsfromprojectrequest.md b/docs/models/operations/getconnectorsfromprojectrequest.md new file mode 100644 index 000000000..78f0c3ed9 --- /dev/null +++ b/docs/models/operations/getconnectorsfromprojectrequest.md @@ -0,0 +1,9 @@ +# GetConnectorsFromProjectRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------- | -------------------------- | -------------------------- | -------------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `getConnectorsFromProject` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getconnectorsfromprojectresponse.md b/docs/models/operations/getconnectorsfromprojectresponse.md new file mode 100644 index 000000000..9c68a78cd --- /dev/null +++ b/docs/models/operations/getconnectorsfromprojectresponse.md @@ -0,0 +1,8 @@ +# GetConnectorsFromProjectResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcredentialsrequest.md b/docs/models/operations/getcredentialsrequest.md new file mode 100644 index 000000000..4cfa5ad71 --- /dev/null +++ b/docs/models/operations/getcredentialsrequest.md @@ -0,0 +1,9 @@ +# GetCredentialsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `type` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcredentialsresponse.md b/docs/models/operations/getcredentialsresponse.md new file mode 100644 index 000000000..074392ab0 --- /dev/null +++ b/docs/models/operations/getcredentialsresponse.md @@ -0,0 +1,8 @@ +# GetCredentialsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcreditnoterequest.md b/docs/models/operations/getcreditnoterequest.md new file mode 100644 index 000000000..e0b1398c4 --- /dev/null +++ b/docs/models/operations/getcreditnoterequest.md @@ -0,0 +1,9 @@ +# GetCreditNoteRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the creditnote you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getcreditnoteresponse.md b/docs/models/operations/getcreditnoteresponse.md new file mode 100644 index 000000000..0c3c6413d --- /dev/null +++ b/docs/models/operations/getcreditnoteresponse.md @@ -0,0 +1,9 @@ +# GetCreditNoteResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCreditNoteResponseBody](../../models/operations/getcreditnoteresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcreditnoteresponsebody.md b/docs/models/operations/getcreditnoteresponsebody.md new file mode 100644 index 000000000..785d41ac0 --- /dev/null +++ b/docs/models/operations/getcreditnoteresponsebody.md @@ -0,0 +1,11 @@ +# GetCreditNoteResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCreditNoteOutput](../../models/components/unifiedcreditnoteoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcreditnotesrequest.md b/docs/models/operations/getcreditnotesrequest.md new file mode 100644 index 000000000..22881bf8c --- /dev/null +++ b/docs/models/operations/getcreditnotesrequest.md @@ -0,0 +1,9 @@ +# GetCreditNotesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getcreditnotesresponse.md b/docs/models/operations/getcreditnotesresponse.md new file mode 100644 index 000000000..7cd2a25c7 --- /dev/null +++ b/docs/models/operations/getcreditnotesresponse.md @@ -0,0 +1,9 @@ +# GetCreditNotesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCreditNotesResponseBody](../../models/operations/getcreditnotesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcreditnotesresponsebody.md b/docs/models/operations/getcreditnotesresponsebody.md new file mode 100644 index 000000000..7f14221af --- /dev/null +++ b/docs/models/operations/getcreditnotesresponsebody.md @@ -0,0 +1,11 @@ +# GetCreditNotesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCreditNoteOutput](../../models/components/unifiedcreditnoteoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcrmcompanyrequest.md b/docs/models/operations/getcrmcompanyrequest.md new file mode 100644 index 000000000..46e767467 --- /dev/null +++ b/docs/models/operations/getcrmcompanyrequest.md @@ -0,0 +1,9 @@ +# GetCrmCompanyRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the company you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | \ No newline at end of file diff --git a/docs/models/operations/getcrmcompanyresponse.md b/docs/models/operations/getcrmcompanyresponse.md new file mode 100644 index 000000000..3be384bb5 --- /dev/null +++ b/docs/models/operations/getcrmcompanyresponse.md @@ -0,0 +1,9 @@ +# GetCrmCompanyResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCrmCompanyResponseBody](../../models/operations/getcrmcompanyresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcrmcompanyresponsebody.md b/docs/models/operations/getcrmcompanyresponsebody.md new file mode 100644 index 000000000..d207aa3a3 --- /dev/null +++ b/docs/models/operations/getcrmcompanyresponsebody.md @@ -0,0 +1,11 @@ +# GetCrmCompanyResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcrmcontactrequest.md b/docs/models/operations/getcrmcontactrequest.md new file mode 100644 index 000000000..6cfc25c9d --- /dev/null +++ b/docs/models/operations/getcrmcontactrequest.md @@ -0,0 +1,9 @@ +# GetCrmContactRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the `contact` you want to retrive. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original CRM software. | \ No newline at end of file diff --git a/docs/models/operations/getcrmcontactresponse.md b/docs/models/operations/getcrmcontactresponse.md new file mode 100644 index 000000000..1043cb4b9 --- /dev/null +++ b/docs/models/operations/getcrmcontactresponse.md @@ -0,0 +1,9 @@ +# GetCrmContactResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCrmContactResponseBody](../../models/operations/getcrmcontactresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcrmcontactresponsebody.md b/docs/models/operations/getcrmcontactresponsebody.md new file mode 100644 index 000000000..b0be45dd2 --- /dev/null +++ b/docs/models/operations/getcrmcontactresponsebody.md @@ -0,0 +1,11 @@ +# GetCrmContactResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcrmcontactsrequest.md b/docs/models/operations/getcrmcontactsrequest.md new file mode 100644 index 000000000..dec31c7db --- /dev/null +++ b/docs/models/operations/getcrmcontactsrequest.md @@ -0,0 +1,11 @@ +# GetCrmContactsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getcrmcontactsresponse.md b/docs/models/operations/getcrmcontactsresponse.md new file mode 100644 index 000000000..168a80f07 --- /dev/null +++ b/docs/models/operations/getcrmcontactsresponse.md @@ -0,0 +1,9 @@ +# GetCrmContactsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCrmContactsResponseBody](../../models/operations/getcrmcontactsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcrmcontactsresponsebody.md b/docs/models/operations/getcrmcontactsresponsebody.md new file mode 100644 index 000000000..ae85f8404 --- /dev/null +++ b/docs/models/operations/getcrmcontactsresponsebody.md @@ -0,0 +1,11 @@ +# GetCrmContactsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcrmuserrequest.md b/docs/models/operations/getcrmuserrequest.md new file mode 100644 index 000000000..f10c6aae0 --- /dev/null +++ b/docs/models/operations/getcrmuserrequest.md @@ -0,0 +1,9 @@ +# GetCrmUserRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the user you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | \ No newline at end of file diff --git a/docs/models/operations/getcrmuserresponse.md b/docs/models/operations/getcrmuserresponse.md new file mode 100644 index 000000000..43b153b94 --- /dev/null +++ b/docs/models/operations/getcrmuserresponse.md @@ -0,0 +1,9 @@ +# GetCrmUserResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCrmUserResponseBody](../../models/operations/getcrmuserresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcrmuserresponsebody.md b/docs/models/operations/getcrmuserresponsebody.md new file mode 100644 index 000000000..bc5840f20 --- /dev/null +++ b/docs/models/operations/getcrmuserresponsebody.md @@ -0,0 +1,11 @@ +# GetCrmUserResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcrmusersrequest.md b/docs/models/operations/getcrmusersrequest.md new file mode 100644 index 000000000..48447867e --- /dev/null +++ b/docs/models/operations/getcrmusersrequest.md @@ -0,0 +1,11 @@ +# GetCrmUsersRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getcrmusersresponse.md b/docs/models/operations/getcrmusersresponse.md new file mode 100644 index 000000000..5b4722e1c --- /dev/null +++ b/docs/models/operations/getcrmusersresponse.md @@ -0,0 +1,9 @@ +# GetCrmUsersResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetCrmUsersResponseBody](../../models/operations/getcrmusersresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcrmusersresponsebody.md b/docs/models/operations/getcrmusersresponsebody.md new file mode 100644 index 000000000..7c691c346 --- /dev/null +++ b/docs/models/operations/getcrmusersresponsebody.md @@ -0,0 +1,11 @@ +# GetCrmUsersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcustomproviderpropertiesrequest.md b/docs/models/operations/getcustomproviderpropertiesrequest.md new file mode 100644 index 000000000..7afdc7e5f --- /dev/null +++ b/docs/models/operations/getcustomproviderpropertiesrequest.md @@ -0,0 +1,10 @@ +# GetCustomProviderPropertiesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `linkedUserId` | *string* | :heavy_check_mark: | N/A | +| `providerId` | *string* | :heavy_check_mark: | N/A | +| `vertical` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getcustomproviderpropertiesresponse.md b/docs/models/operations/getcustomproviderpropertiesresponse.md new file mode 100644 index 000000000..abe9c31c8 --- /dev/null +++ b/docs/models/operations/getcustomproviderpropertiesresponse.md @@ -0,0 +1,8 @@ +# GetCustomProviderPropertiesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdealrequest.md b/docs/models/operations/getdealrequest.md new file mode 100644 index 000000000..a04e1c786 --- /dev/null +++ b/docs/models/operations/getdealrequest.md @@ -0,0 +1,9 @@ +# GetDealRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the deal you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | \ No newline at end of file diff --git a/docs/models/operations/getdealresponse.md b/docs/models/operations/getdealresponse.md new file mode 100644 index 000000000..e7b0e43c5 --- /dev/null +++ b/docs/models/operations/getdealresponse.md @@ -0,0 +1,9 @@ +# GetDealResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetDealResponseBody](../../models/operations/getdealresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdealresponsebody.md b/docs/models/operations/getdealresponsebody.md new file mode 100644 index 000000000..da0e4b64a --- /dev/null +++ b/docs/models/operations/getdealresponsebody.md @@ -0,0 +1,11 @@ +# GetDealResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDealOutput](../../models/components/unifieddealoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdealsrequest.md b/docs/models/operations/getdealsrequest.md new file mode 100644 index 000000000..60fc46cdf --- /dev/null +++ b/docs/models/operations/getdealsrequest.md @@ -0,0 +1,11 @@ +# GetDealsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getdealsresponse.md b/docs/models/operations/getdealsresponse.md new file mode 100644 index 000000000..7234ed198 --- /dev/null +++ b/docs/models/operations/getdealsresponse.md @@ -0,0 +1,9 @@ +# GetDealsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetDealsResponseBody](../../models/operations/getdealsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdealsresponsebody.md b/docs/models/operations/getdealsresponsebody.md new file mode 100644 index 000000000..f4131ad85 --- /dev/null +++ b/docs/models/operations/getdealsresponsebody.md @@ -0,0 +1,11 @@ +# GetDealsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDealOutput](../../models/components/unifieddealoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdepartmentrequest.md b/docs/models/operations/getdepartmentrequest.md new file mode 100644 index 000000000..7ea6af537 --- /dev/null +++ b/docs/models/operations/getdepartmentrequest.md @@ -0,0 +1,9 @@ +# GetDepartmentRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the department you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getdepartmentresponse.md b/docs/models/operations/getdepartmentresponse.md new file mode 100644 index 000000000..d78ca0b2b --- /dev/null +++ b/docs/models/operations/getdepartmentresponse.md @@ -0,0 +1,9 @@ +# GetDepartmentResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetDepartmentResponseBody](../../models/operations/getdepartmentresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdepartmentresponsebody.md b/docs/models/operations/getdepartmentresponsebody.md new file mode 100644 index 000000000..1c43b29cb --- /dev/null +++ b/docs/models/operations/getdepartmentresponsebody.md @@ -0,0 +1,11 @@ +# GetDepartmentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDepartmentOutput](../../models/components/unifieddepartmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdepartmentsrequest.md b/docs/models/operations/getdepartmentsrequest.md new file mode 100644 index 000000000..d7a9528c0 --- /dev/null +++ b/docs/models/operations/getdepartmentsrequest.md @@ -0,0 +1,9 @@ +# GetDepartmentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getdepartmentsresponse.md b/docs/models/operations/getdepartmentsresponse.md new file mode 100644 index 000000000..924df0af9 --- /dev/null +++ b/docs/models/operations/getdepartmentsresponse.md @@ -0,0 +1,9 @@ +# GetDepartmentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetDepartmentsResponseBody](../../models/operations/getdepartmentsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdepartmentsresponsebody.md b/docs/models/operations/getdepartmentsresponsebody.md new file mode 100644 index 000000000..5cb4ab9ea --- /dev/null +++ b/docs/models/operations/getdepartmentsresponsebody.md @@ -0,0 +1,11 @@ +# GetDepartmentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDepartmentOutput](../../models/components/unifieddepartmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdependentrequest.md b/docs/models/operations/getdependentrequest.md new file mode 100644 index 000000000..f65c060c2 --- /dev/null +++ b/docs/models/operations/getdependentrequest.md @@ -0,0 +1,9 @@ +# GetDependentRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the dependent you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getdependentresponse.md b/docs/models/operations/getdependentresponse.md new file mode 100644 index 000000000..f4a62489c --- /dev/null +++ b/docs/models/operations/getdependentresponse.md @@ -0,0 +1,9 @@ +# GetDependentResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetDependentResponseBody](../../models/operations/getdependentresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdependentresponsebody.md b/docs/models/operations/getdependentresponsebody.md new file mode 100644 index 000000000..5e165d1aa --- /dev/null +++ b/docs/models/operations/getdependentresponsebody.md @@ -0,0 +1,11 @@ +# GetDependentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDependentOutput](../../models/components/unifieddependentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdependentsrequest.md b/docs/models/operations/getdependentsrequest.md new file mode 100644 index 000000000..8384708ff --- /dev/null +++ b/docs/models/operations/getdependentsrequest.md @@ -0,0 +1,9 @@ +# GetDependentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getdependentsresponse.md b/docs/models/operations/getdependentsresponse.md new file mode 100644 index 000000000..63da4fbf9 --- /dev/null +++ b/docs/models/operations/getdependentsresponse.md @@ -0,0 +1,9 @@ +# GetDependentsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetDependentsResponseBody](../../models/operations/getdependentsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdependentsresponsebody.md b/docs/models/operations/getdependentsresponsebody.md new file mode 100644 index 000000000..4d2c4de62 --- /dev/null +++ b/docs/models/operations/getdependentsresponsebody.md @@ -0,0 +1,11 @@ +# GetDependentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDependentOutput](../../models/components/unifieddependentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdriverequest.md b/docs/models/operations/getdriverequest.md new file mode 100644 index 000000000..cfed258f7 --- /dev/null +++ b/docs/models/operations/getdriverequest.md @@ -0,0 +1,9 @@ +# GetDriveRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the drive you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | \ No newline at end of file diff --git a/docs/models/operations/getdriveresponse.md b/docs/models/operations/getdriveresponse.md new file mode 100644 index 000000000..5d84b8be0 --- /dev/null +++ b/docs/models/operations/getdriveresponse.md @@ -0,0 +1,9 @@ +# GetDriveResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetDriveResponseBody](../../models/operations/getdriveresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdriveresponsebody.md b/docs/models/operations/getdriveresponsebody.md new file mode 100644 index 000000000..c5c55ea16 --- /dev/null +++ b/docs/models/operations/getdriveresponsebody.md @@ -0,0 +1,11 @@ +# GetDriveResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDriveOutput](../../models/components/unifieddriveoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdrivesrequest.md b/docs/models/operations/getdrivesrequest.md new file mode 100644 index 000000000..955e7efca --- /dev/null +++ b/docs/models/operations/getdrivesrequest.md @@ -0,0 +1,9 @@ +# GetDrivesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | \ No newline at end of file diff --git a/docs/models/operations/getdrivesresponse.md b/docs/models/operations/getdrivesresponse.md new file mode 100644 index 000000000..e0c8dbaa3 --- /dev/null +++ b/docs/models/operations/getdrivesresponse.md @@ -0,0 +1,9 @@ +# GetDrivesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetDrivesResponseBody](../../models/operations/getdrivesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getdrivesresponsebody.md b/docs/models/operations/getdrivesresponsebody.md new file mode 100644 index 000000000..97b6ba572 --- /dev/null +++ b/docs/models/operations/getdrivesresponsebody.md @@ -0,0 +1,11 @@ +# GetDrivesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDriveOutput](../../models/components/unifieddriveoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/geteeocsrequest.md b/docs/models/operations/geteeocsrequest.md new file mode 100644 index 000000000..fc924cab0 --- /dev/null +++ b/docs/models/operations/geteeocsrequest.md @@ -0,0 +1,9 @@ +# GetEeocsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the eeocs you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/geteeocsresponse.md b/docs/models/operations/geteeocsresponse.md new file mode 100644 index 000000000..545034d63 --- /dev/null +++ b/docs/models/operations/geteeocsresponse.md @@ -0,0 +1,9 @@ +# GetEeocsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEeocsResponseBody](../../models/operations/geteeocsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/geteeocsresponsebody.md b/docs/models/operations/geteeocsresponsebody.md new file mode 100644 index 000000000..aa897649f --- /dev/null +++ b/docs/models/operations/geteeocsresponsebody.md @@ -0,0 +1,11 @@ +# GetEeocsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEeocsOutput](../../models/components/unifiedeeocsoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/geteeocssrequest.md b/docs/models/operations/geteeocssrequest.md new file mode 100644 index 000000000..8ef5b5d6c --- /dev/null +++ b/docs/models/operations/geteeocssrequest.md @@ -0,0 +1,9 @@ +# GetEeocssRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/geteeocssresponse.md b/docs/models/operations/geteeocssresponse.md new file mode 100644 index 000000000..5583afad9 --- /dev/null +++ b/docs/models/operations/geteeocssresponse.md @@ -0,0 +1,9 @@ +# GetEeocssResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEeocssResponseBody](../../models/operations/geteeocssresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/geteeocssresponsebody.md b/docs/models/operations/geteeocssresponsebody.md new file mode 100644 index 000000000..425088a7e --- /dev/null +++ b/docs/models/operations/geteeocssresponsebody.md @@ -0,0 +1,11 @@ +# GetEeocssResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEeocsOutput](../../models/components/unifiedeeocsoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemailrequest.md b/docs/models/operations/getemailrequest.md new file mode 100644 index 000000000..60004f572 --- /dev/null +++ b/docs/models/operations/getemailrequest.md @@ -0,0 +1,9 @@ +# GetEmailRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the email you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getemailresponse.md b/docs/models/operations/getemailresponse.md new file mode 100644 index 000000000..03c52fb06 --- /dev/null +++ b/docs/models/operations/getemailresponse.md @@ -0,0 +1,9 @@ +# GetEmailResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEmailResponseBody](../../models/operations/getemailresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemailresponsebody.md b/docs/models/operations/getemailresponsebody.md new file mode 100644 index 000000000..0002fd210 --- /dev/null +++ b/docs/models/operations/getemailresponsebody.md @@ -0,0 +1,11 @@ +# GetEmailResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmailOutput](../../models/components/unifiedemailoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemailsrequest.md b/docs/models/operations/getemailsrequest.md new file mode 100644 index 000000000..28ace42b4 --- /dev/null +++ b/docs/models/operations/getemailsrequest.md @@ -0,0 +1,9 @@ +# GetEmailsRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getemailsresponse.md b/docs/models/operations/getemailsresponse.md new file mode 100644 index 000000000..696d54411 --- /dev/null +++ b/docs/models/operations/getemailsresponse.md @@ -0,0 +1,9 @@ +# GetEmailsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEmailsResponseBody](../../models/operations/getemailsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemailsresponsebody.md b/docs/models/operations/getemailsresponsebody.md new file mode 100644 index 000000000..9f0cd67b6 --- /dev/null +++ b/docs/models/operations/getemailsresponsebody.md @@ -0,0 +1,11 @@ +# GetEmailsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmailOutput](../../models/components/unifiedemailoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemployeepayrollrunrequest.md b/docs/models/operations/getemployeepayrollrunrequest.md new file mode 100644 index 000000000..e5d3e8da1 --- /dev/null +++ b/docs/models/operations/getemployeepayrollrunrequest.md @@ -0,0 +1,9 @@ +# GetEmployeePayrollRunRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the employeepayrollrun you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getemployeepayrollrunresponse.md b/docs/models/operations/getemployeepayrollrunresponse.md new file mode 100644 index 000000000..fa3275fed --- /dev/null +++ b/docs/models/operations/getemployeepayrollrunresponse.md @@ -0,0 +1,9 @@ +# GetEmployeePayrollRunResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEmployeePayrollRunResponseBody](../../models/operations/getemployeepayrollrunresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemployeepayrollrunresponsebody.md b/docs/models/operations/getemployeepayrollrunresponsebody.md new file mode 100644 index 000000000..60410d384 --- /dev/null +++ b/docs/models/operations/getemployeepayrollrunresponsebody.md @@ -0,0 +1,11 @@ +# GetEmployeePayrollRunResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmployeePayrollRunOutput](../../models/components/unifiedemployeepayrollrunoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemployeepayrollrunsrequest.md b/docs/models/operations/getemployeepayrollrunsrequest.md new file mode 100644 index 000000000..7f96f1f01 --- /dev/null +++ b/docs/models/operations/getemployeepayrollrunsrequest.md @@ -0,0 +1,9 @@ +# GetEmployeePayrollRunsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getemployeepayrollrunsresponse.md b/docs/models/operations/getemployeepayrollrunsresponse.md new file mode 100644 index 000000000..173d93be9 --- /dev/null +++ b/docs/models/operations/getemployeepayrollrunsresponse.md @@ -0,0 +1,9 @@ +# GetEmployeePayrollRunsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEmployeePayrollRunsResponseBody](../../models/operations/getemployeepayrollrunsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemployeepayrollrunsresponsebody.md b/docs/models/operations/getemployeepayrollrunsresponsebody.md new file mode 100644 index 000000000..15c2579a0 --- /dev/null +++ b/docs/models/operations/getemployeepayrollrunsresponsebody.md @@ -0,0 +1,11 @@ +# GetEmployeePayrollRunsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmployeePayrollRunOutput](../../models/components/unifiedemployeepayrollrunoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemployeerequest.md b/docs/models/operations/getemployeerequest.md new file mode 100644 index 000000000..6919f2b07 --- /dev/null +++ b/docs/models/operations/getemployeerequest.md @@ -0,0 +1,9 @@ +# GetEmployeeRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the employee you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getemployeeresponse.md b/docs/models/operations/getemployeeresponse.md new file mode 100644 index 000000000..2d8185b2b --- /dev/null +++ b/docs/models/operations/getemployeeresponse.md @@ -0,0 +1,9 @@ +# GetEmployeeResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEmployeeResponseBody](../../models/operations/getemployeeresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemployeeresponsebody.md b/docs/models/operations/getemployeeresponsebody.md new file mode 100644 index 000000000..aa4aec41e --- /dev/null +++ b/docs/models/operations/getemployeeresponsebody.md @@ -0,0 +1,11 @@ +# GetEmployeeResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmployeeOutput](../../models/components/unifiedemployeeoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemployeesrequest.md b/docs/models/operations/getemployeesrequest.md new file mode 100644 index 000000000..5f55b28d9 --- /dev/null +++ b/docs/models/operations/getemployeesrequest.md @@ -0,0 +1,9 @@ +# GetEmployeesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getemployeesresponse.md b/docs/models/operations/getemployeesresponse.md new file mode 100644 index 000000000..6eb8eb20c --- /dev/null +++ b/docs/models/operations/getemployeesresponse.md @@ -0,0 +1,9 @@ +# GetEmployeesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEmployeesResponseBody](../../models/operations/getemployeesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemployeesresponsebody.md b/docs/models/operations/getemployeesresponsebody.md new file mode 100644 index 000000000..e5e787308 --- /dev/null +++ b/docs/models/operations/getemployeesresponsebody.md @@ -0,0 +1,11 @@ +# GetEmployeesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmployeeOutput](../../models/components/unifiedemployeeoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemployerbenefitrequest.md b/docs/models/operations/getemployerbenefitrequest.md new file mode 100644 index 000000000..07e44a05c --- /dev/null +++ b/docs/models/operations/getemployerbenefitrequest.md @@ -0,0 +1,9 @@ +# GetEmployerBenefitRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the employerbenefit you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getemployerbenefitresponse.md b/docs/models/operations/getemployerbenefitresponse.md new file mode 100644 index 000000000..d4886b9a5 --- /dev/null +++ b/docs/models/operations/getemployerbenefitresponse.md @@ -0,0 +1,9 @@ +# GetEmployerBenefitResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEmployerBenefitResponseBody](../../models/operations/getemployerbenefitresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemployerbenefitresponsebody.md b/docs/models/operations/getemployerbenefitresponsebody.md new file mode 100644 index 000000000..3af48560f --- /dev/null +++ b/docs/models/operations/getemployerbenefitresponsebody.md @@ -0,0 +1,11 @@ +# GetEmployerBenefitResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmployerBenefitOutput](../../models/components/unifiedemployerbenefitoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemployerbenefitsrequest.md b/docs/models/operations/getemployerbenefitsrequest.md new file mode 100644 index 000000000..d0d4b7ded --- /dev/null +++ b/docs/models/operations/getemployerbenefitsrequest.md @@ -0,0 +1,9 @@ +# GetEmployerBenefitsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getemployerbenefitsresponse.md b/docs/models/operations/getemployerbenefitsresponse.md new file mode 100644 index 000000000..0c3f6a32e --- /dev/null +++ b/docs/models/operations/getemployerbenefitsresponse.md @@ -0,0 +1,9 @@ +# GetEmployerBenefitsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEmployerBenefitsResponseBody](../../models/operations/getemployerbenefitsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemployerbenefitsresponsebody.md b/docs/models/operations/getemployerbenefitsresponsebody.md new file mode 100644 index 000000000..22dbe6a14 --- /dev/null +++ b/docs/models/operations/getemployerbenefitsresponsebody.md @@ -0,0 +1,11 @@ +# GetEmployerBenefitsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmployerBenefitOutput](../../models/components/unifiedemployerbenefitoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemploymentrequest.md b/docs/models/operations/getemploymentrequest.md new file mode 100644 index 000000000..207125411 --- /dev/null +++ b/docs/models/operations/getemploymentrequest.md @@ -0,0 +1,9 @@ +# GetEmploymentRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the employment you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getemploymentresponse.md b/docs/models/operations/getemploymentresponse.md new file mode 100644 index 000000000..93aa3b790 --- /dev/null +++ b/docs/models/operations/getemploymentresponse.md @@ -0,0 +1,9 @@ +# GetEmploymentResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEmploymentResponseBody](../../models/operations/getemploymentresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemploymentresponsebody.md b/docs/models/operations/getemploymentresponsebody.md new file mode 100644 index 000000000..a40772c0e --- /dev/null +++ b/docs/models/operations/getemploymentresponsebody.md @@ -0,0 +1,11 @@ +# GetEmploymentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmploymentOutput](../../models/components/unifiedemploymentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemploymentsrequest.md b/docs/models/operations/getemploymentsrequest.md new file mode 100644 index 000000000..d84cbc8d1 --- /dev/null +++ b/docs/models/operations/getemploymentsrequest.md @@ -0,0 +1,9 @@ +# GetEmploymentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getemploymentsresponse.md b/docs/models/operations/getemploymentsresponse.md new file mode 100644 index 000000000..ab84b973e --- /dev/null +++ b/docs/models/operations/getemploymentsresponse.md @@ -0,0 +1,9 @@ +# GetEmploymentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEmploymentsResponseBody](../../models/operations/getemploymentsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getemploymentsresponsebody.md b/docs/models/operations/getemploymentsresponsebody.md new file mode 100644 index 000000000..ca0439a57 --- /dev/null +++ b/docs/models/operations/getemploymentsresponsebody.md @@ -0,0 +1,11 @@ +# GetEmploymentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEmploymentOutput](../../models/components/unifiedemploymentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getengagementrequest.md b/docs/models/operations/getengagementrequest.md new file mode 100644 index 000000000..ecf7f9e02 --- /dev/null +++ b/docs/models/operations/getengagementrequest.md @@ -0,0 +1,9 @@ +# GetEngagementRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the engagement you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | \ No newline at end of file diff --git a/docs/models/operations/getengagementresponse.md b/docs/models/operations/getengagementresponse.md new file mode 100644 index 000000000..f6e7c9c2b --- /dev/null +++ b/docs/models/operations/getengagementresponse.md @@ -0,0 +1,9 @@ +# GetEngagementResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEngagementResponseBody](../../models/operations/getengagementresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getengagementresponsebody.md b/docs/models/operations/getengagementresponsebody.md new file mode 100644 index 000000000..e6ced56e4 --- /dev/null +++ b/docs/models/operations/getengagementresponsebody.md @@ -0,0 +1,11 @@ +# GetEngagementResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEngagementOutput](../../models/components/unifiedengagementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getengagementsrequest.md b/docs/models/operations/getengagementsrequest.md new file mode 100644 index 000000000..36f79b868 --- /dev/null +++ b/docs/models/operations/getengagementsrequest.md @@ -0,0 +1,11 @@ +# GetEngagementsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getengagementsresponse.md b/docs/models/operations/getengagementsresponse.md new file mode 100644 index 000000000..2176b838e --- /dev/null +++ b/docs/models/operations/getengagementsresponse.md @@ -0,0 +1,9 @@ +# GetEngagementsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEngagementsResponseBody](../../models/operations/getengagementsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getengagementsresponsebody.md b/docs/models/operations/getengagementsresponsebody.md new file mode 100644 index 000000000..e3267fb60 --- /dev/null +++ b/docs/models/operations/getengagementsresponsebody.md @@ -0,0 +1,11 @@ +# GetEngagementsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEngagementOutput](../../models/components/unifiedengagementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/geteventrequest.md b/docs/models/operations/geteventrequest.md new file mode 100644 index 000000000..ba2496d25 --- /dev/null +++ b/docs/models/operations/geteventrequest.md @@ -0,0 +1,9 @@ +# GetEventRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the event you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/geteventresponse.md b/docs/models/operations/geteventresponse.md new file mode 100644 index 000000000..813bfd8f6 --- /dev/null +++ b/docs/models/operations/geteventresponse.md @@ -0,0 +1,9 @@ +# GetEventResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetEventResponseBody](../../models/operations/geteventresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/geteventresponsebody.md b/docs/models/operations/geteventresponsebody.md new file mode 100644 index 000000000..2d55b9a4b --- /dev/null +++ b/docs/models/operations/geteventresponsebody.md @@ -0,0 +1,11 @@ +# GetEventResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEventOutput](../../models/components/unifiedeventoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/geteventscountresponse.md b/docs/models/operations/geteventscountresponse.md new file mode 100644 index 000000000..2e7d435d5 --- /dev/null +++ b/docs/models/operations/geteventscountresponse.md @@ -0,0 +1,9 @@ +# GetEventsCountResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `number` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getexpenserequest.md b/docs/models/operations/getexpenserequest.md new file mode 100644 index 000000000..72d42c1d0 --- /dev/null +++ b/docs/models/operations/getexpenserequest.md @@ -0,0 +1,9 @@ +# GetExpenseRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the expense you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getexpenseresponse.md b/docs/models/operations/getexpenseresponse.md new file mode 100644 index 000000000..f7c82b1f0 --- /dev/null +++ b/docs/models/operations/getexpenseresponse.md @@ -0,0 +1,9 @@ +# GetExpenseResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetExpenseResponseBody](../../models/operations/getexpenseresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getexpenseresponsebody.md b/docs/models/operations/getexpenseresponsebody.md new file mode 100644 index 000000000..7058ad5d0 --- /dev/null +++ b/docs/models/operations/getexpenseresponsebody.md @@ -0,0 +1,11 @@ +# GetExpenseResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedExpenseOutput](../../models/components/unifiedexpenseoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getexpensesrequest.md b/docs/models/operations/getexpensesrequest.md new file mode 100644 index 000000000..03455e5f4 --- /dev/null +++ b/docs/models/operations/getexpensesrequest.md @@ -0,0 +1,9 @@ +# GetExpensesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getexpensesresponse.md b/docs/models/operations/getexpensesresponse.md new file mode 100644 index 000000000..ad7ffa30d --- /dev/null +++ b/docs/models/operations/getexpensesresponse.md @@ -0,0 +1,9 @@ +# GetExpensesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetExpensesResponseBody](../../models/operations/getexpensesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getexpensesresponsebody.md b/docs/models/operations/getexpensesresponsebody.md new file mode 100644 index 000000000..a84251a19 --- /dev/null +++ b/docs/models/operations/getexpensesresponsebody.md @@ -0,0 +1,11 @@ +# GetExpensesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedExpenseOutput](../../models/components/unifiedexpenseoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfieldmappingsentitiesresponse.md b/docs/models/operations/getfieldmappingsentitiesresponse.md new file mode 100644 index 000000000..9b5a8e7b7 --- /dev/null +++ b/docs/models/operations/getfieldmappingsentitiesresponse.md @@ -0,0 +1,8 @@ +# GetFieldMappingsEntitiesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfieldmappingsresponse.md b/docs/models/operations/getfieldmappingsresponse.md new file mode 100644 index 000000000..f6198d8fc --- /dev/null +++ b/docs/models/operations/getfieldmappingsresponse.md @@ -0,0 +1,8 @@ +# GetFieldMappingsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfieldmappingvaluesresponse.md b/docs/models/operations/getfieldmappingvaluesresponse.md new file mode 100644 index 000000000..1776c7b15 --- /dev/null +++ b/docs/models/operations/getfieldmappingvaluesresponse.md @@ -0,0 +1,8 @@ +# GetFieldMappingValuesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfilerequest.md b/docs/models/operations/getfilerequest.md new file mode 100644 index 000000000..0f1b65a4c --- /dev/null +++ b/docs/models/operations/getfilerequest.md @@ -0,0 +1,9 @@ +# GetFileRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the file you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | \ No newline at end of file diff --git a/docs/models/operations/getfileresponse.md b/docs/models/operations/getfileresponse.md new file mode 100644 index 000000000..d4b374743 --- /dev/null +++ b/docs/models/operations/getfileresponse.md @@ -0,0 +1,9 @@ +# GetFileResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetFileResponseBody](../../models/operations/getfileresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfileresponsebody.md b/docs/models/operations/getfileresponsebody.md new file mode 100644 index 000000000..1d71d2457 --- /dev/null +++ b/docs/models/operations/getfileresponsebody.md @@ -0,0 +1,11 @@ +# GetFileResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedFileOutput](../../models/components/unifiedfileoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfilesrequest.md b/docs/models/operations/getfilesrequest.md new file mode 100644 index 000000000..5615c7c0d --- /dev/null +++ b/docs/models/operations/getfilesrequest.md @@ -0,0 +1,9 @@ +# GetFilesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | \ No newline at end of file diff --git a/docs/models/operations/getfilesresponse.md b/docs/models/operations/getfilesresponse.md new file mode 100644 index 000000000..d73649696 --- /dev/null +++ b/docs/models/operations/getfilesresponse.md @@ -0,0 +1,9 @@ +# GetFilesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetFilesResponseBody](../../models/operations/getfilesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfilesresponsebody.md b/docs/models/operations/getfilesresponsebody.md new file mode 100644 index 000000000..d936aff3a --- /dev/null +++ b/docs/models/operations/getfilesresponsebody.md @@ -0,0 +1,11 @@ +# GetFilesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedFileOutput](../../models/components/unifiedfileoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfolderrequest.md b/docs/models/operations/getfolderrequest.md new file mode 100644 index 000000000..e1494b3bc --- /dev/null +++ b/docs/models/operations/getfolderrequest.md @@ -0,0 +1,9 @@ +# GetFolderRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the folder you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | \ No newline at end of file diff --git a/docs/models/operations/getfolderresponse.md b/docs/models/operations/getfolderresponse.md new file mode 100644 index 000000000..aa5bf924e --- /dev/null +++ b/docs/models/operations/getfolderresponse.md @@ -0,0 +1,9 @@ +# GetFolderResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetFolderResponseBody](../../models/operations/getfolderresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfolderresponsebody.md b/docs/models/operations/getfolderresponsebody.md new file mode 100644 index 000000000..85735c3c6 --- /dev/null +++ b/docs/models/operations/getfolderresponsebody.md @@ -0,0 +1,11 @@ +# GetFolderResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedFolderOutput](../../models/components/unifiedfolderoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfoldersrequest.md b/docs/models/operations/getfoldersrequest.md new file mode 100644 index 000000000..ee2f1d4f7 --- /dev/null +++ b/docs/models/operations/getfoldersrequest.md @@ -0,0 +1,9 @@ +# GetFoldersRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | \ No newline at end of file diff --git a/docs/models/operations/getfoldersresponse.md b/docs/models/operations/getfoldersresponse.md new file mode 100644 index 000000000..3140f7d9e --- /dev/null +++ b/docs/models/operations/getfoldersresponse.md @@ -0,0 +1,9 @@ +# GetFoldersResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetFoldersResponseBody](../../models/operations/getfoldersresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getfoldersresponsebody.md b/docs/models/operations/getfoldersresponsebody.md new file mode 100644 index 000000000..3d87b5ef7 --- /dev/null +++ b/docs/models/operations/getfoldersresponsebody.md @@ -0,0 +1,11 @@ +# GetFoldersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedFolderOutput](../../models/components/unifiedfolderoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getgrouprequest.md b/docs/models/operations/getgrouprequest.md new file mode 100644 index 000000000..3ccc2ac43 --- /dev/null +++ b/docs/models/operations/getgrouprequest.md @@ -0,0 +1,9 @@ +# GetGroupRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the group you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getgroupresponse.md b/docs/models/operations/getgroupresponse.md new file mode 100644 index 000000000..466667ba2 --- /dev/null +++ b/docs/models/operations/getgroupresponse.md @@ -0,0 +1,9 @@ +# GetGroupResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetGroupResponseBody](../../models/operations/getgroupresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getgroupresponsebody.md b/docs/models/operations/getgroupresponsebody.md new file mode 100644 index 000000000..0ad97924f --- /dev/null +++ b/docs/models/operations/getgroupresponsebody.md @@ -0,0 +1,11 @@ +# GetGroupResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedGroupOutput](../../models/components/unifiedgroupoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getgroupsrequest.md b/docs/models/operations/getgroupsrequest.md new file mode 100644 index 000000000..efb2a361b --- /dev/null +++ b/docs/models/operations/getgroupsrequest.md @@ -0,0 +1,9 @@ +# GetGroupsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getgroupsresponse.md b/docs/models/operations/getgroupsresponse.md new file mode 100644 index 000000000..bb7c25719 --- /dev/null +++ b/docs/models/operations/getgroupsresponse.md @@ -0,0 +1,9 @@ +# GetGroupsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetGroupsResponseBody](../../models/operations/getgroupsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getgroupsresponsebody.md b/docs/models/operations/getgroupsresponsebody.md new file mode 100644 index 000000000..c7ce1171a --- /dev/null +++ b/docs/models/operations/getgroupsresponsebody.md @@ -0,0 +1,11 @@ +# GetGroupsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedGroupOutput](../../models/components/unifiedgroupoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gethealthresponse.md b/docs/models/operations/gethealthresponse.md new file mode 100644 index 000000000..a0fffac98 --- /dev/null +++ b/docs/models/operations/gethealthresponse.md @@ -0,0 +1,9 @@ +# GetHealthResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `number` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gethelloprotectedresponse.md b/docs/models/operations/gethelloprotectedresponse.md new file mode 100644 index 000000000..54c1a0743 --- /dev/null +++ b/docs/models/operations/gethelloprotectedresponse.md @@ -0,0 +1,9 @@ +# GetHelloProtectedResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `string` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gethelloresponse.md b/docs/models/operations/gethelloresponse.md new file mode 100644 index 000000000..26a8ac675 --- /dev/null +++ b/docs/models/operations/gethelloresponse.md @@ -0,0 +1,9 @@ +# GetHelloResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `string` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gethriscompanyrequest.md b/docs/models/operations/gethriscompanyrequest.md new file mode 100644 index 000000000..51f7611d7 --- /dev/null +++ b/docs/models/operations/gethriscompanyrequest.md @@ -0,0 +1,9 @@ +# GetHrisCompanyRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the company you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/gethriscompanyresponse.md b/docs/models/operations/gethriscompanyresponse.md new file mode 100644 index 000000000..4310abc88 --- /dev/null +++ b/docs/models/operations/gethriscompanyresponse.md @@ -0,0 +1,9 @@ +# GetHrisCompanyResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetHrisCompanyResponseBody](../../models/operations/gethriscompanyresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gethriscompanyresponsebody.md b/docs/models/operations/gethriscompanyresponsebody.md new file mode 100644 index 000000000..5cc50e7cc --- /dev/null +++ b/docs/models/operations/gethriscompanyresponsebody.md @@ -0,0 +1,11 @@ +# GetHrisCompanyResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getincomestatementrequest.md b/docs/models/operations/getincomestatementrequest.md new file mode 100644 index 000000000..8aafa39bd --- /dev/null +++ b/docs/models/operations/getincomestatementrequest.md @@ -0,0 +1,9 @@ +# GetIncomeStatementRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the incomestatement you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getincomestatementresponse.md b/docs/models/operations/getincomestatementresponse.md new file mode 100644 index 000000000..eee4e14dc --- /dev/null +++ b/docs/models/operations/getincomestatementresponse.md @@ -0,0 +1,9 @@ +# GetIncomeStatementResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetIncomeStatementResponseBody](../../models/operations/getincomestatementresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getincomestatementresponsebody.md b/docs/models/operations/getincomestatementresponsebody.md new file mode 100644 index 000000000..2f5f92d20 --- /dev/null +++ b/docs/models/operations/getincomestatementresponsebody.md @@ -0,0 +1,11 @@ +# GetIncomeStatementResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedIncomeStatementOutput](../../models/components/unifiedincomestatementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getincomestatementsrequest.md b/docs/models/operations/getincomestatementsrequest.md new file mode 100644 index 000000000..e0b85c4ec --- /dev/null +++ b/docs/models/operations/getincomestatementsrequest.md @@ -0,0 +1,9 @@ +# GetIncomeStatementsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getincomestatementsresponse.md b/docs/models/operations/getincomestatementsresponse.md new file mode 100644 index 000000000..a2c3d99c2 --- /dev/null +++ b/docs/models/operations/getincomestatementsresponse.md @@ -0,0 +1,9 @@ +# GetIncomeStatementsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetIncomeStatementsResponseBody](../../models/operations/getincomestatementsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getincomestatementsresponsebody.md b/docs/models/operations/getincomestatementsresponsebody.md new file mode 100644 index 000000000..605d0414b --- /dev/null +++ b/docs/models/operations/getincomestatementsresponsebody.md @@ -0,0 +1,11 @@ +# GetIncomeStatementsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedIncomeStatementOutput](../../models/components/unifiedincomestatementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getinterviewrequest.md b/docs/models/operations/getinterviewrequest.md new file mode 100644 index 000000000..4dcbb5441 --- /dev/null +++ b/docs/models/operations/getinterviewrequest.md @@ -0,0 +1,9 @@ +# GetInterviewRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the interview you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getinterviewresponse.md b/docs/models/operations/getinterviewresponse.md new file mode 100644 index 000000000..f4f54bf88 --- /dev/null +++ b/docs/models/operations/getinterviewresponse.md @@ -0,0 +1,9 @@ +# GetInterviewResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetInterviewResponseBody](../../models/operations/getinterviewresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getinterviewresponsebody.md b/docs/models/operations/getinterviewresponsebody.md new file mode 100644 index 000000000..e63798196 --- /dev/null +++ b/docs/models/operations/getinterviewresponsebody.md @@ -0,0 +1,11 @@ +# GetInterviewResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedInterviewOutput](../../models/components/unifiedinterviewoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getinterviewsrequest.md b/docs/models/operations/getinterviewsrequest.md new file mode 100644 index 000000000..900dda5ef --- /dev/null +++ b/docs/models/operations/getinterviewsrequest.md @@ -0,0 +1,9 @@ +# GetInterviewsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getinterviewsresponse.md b/docs/models/operations/getinterviewsresponse.md new file mode 100644 index 000000000..2f7710eda --- /dev/null +++ b/docs/models/operations/getinterviewsresponse.md @@ -0,0 +1,9 @@ +# GetInterviewsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetInterviewsResponseBody](../../models/operations/getinterviewsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getinterviewsresponsebody.md b/docs/models/operations/getinterviewsresponsebody.md new file mode 100644 index 000000000..95f12162a --- /dev/null +++ b/docs/models/operations/getinterviewsresponsebody.md @@ -0,0 +1,11 @@ +# GetInterviewsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedInterviewOutput](../../models/components/unifiedinterviewoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getinvoicerequest.md b/docs/models/operations/getinvoicerequest.md new file mode 100644 index 000000000..1be4bbeb9 --- /dev/null +++ b/docs/models/operations/getinvoicerequest.md @@ -0,0 +1,9 @@ +# GetInvoiceRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the invoice you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getinvoiceresponse.md b/docs/models/operations/getinvoiceresponse.md new file mode 100644 index 000000000..6d434b7c9 --- /dev/null +++ b/docs/models/operations/getinvoiceresponse.md @@ -0,0 +1,9 @@ +# GetInvoiceResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetInvoiceResponseBody](../../models/operations/getinvoiceresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getinvoiceresponsebody.md b/docs/models/operations/getinvoiceresponsebody.md new file mode 100644 index 000000000..b44ba1d7a --- /dev/null +++ b/docs/models/operations/getinvoiceresponsebody.md @@ -0,0 +1,11 @@ +# GetInvoiceResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedInvoiceOutput](../../models/components/unifiedinvoiceoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getinvoicesrequest.md b/docs/models/operations/getinvoicesrequest.md new file mode 100644 index 000000000..aad8b0648 --- /dev/null +++ b/docs/models/operations/getinvoicesrequest.md @@ -0,0 +1,9 @@ +# GetInvoicesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getinvoicesresponse.md b/docs/models/operations/getinvoicesresponse.md new file mode 100644 index 000000000..1d433b7f7 --- /dev/null +++ b/docs/models/operations/getinvoicesresponse.md @@ -0,0 +1,9 @@ +# GetInvoicesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetInvoicesResponseBody](../../models/operations/getinvoicesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getinvoicesresponsebody.md b/docs/models/operations/getinvoicesresponsebody.md new file mode 100644 index 000000000..c942b98bc --- /dev/null +++ b/docs/models/operations/getinvoicesresponsebody.md @@ -0,0 +1,11 @@ +# GetInvoicesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedInvoiceOutput](../../models/components/unifiedinvoiceoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getitemrequest.md b/docs/models/operations/getitemrequest.md new file mode 100644 index 000000000..6c04e3c69 --- /dev/null +++ b/docs/models/operations/getitemrequest.md @@ -0,0 +1,9 @@ +# GetItemRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the item you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getitemresponse.md b/docs/models/operations/getitemresponse.md new file mode 100644 index 000000000..aca0dde81 --- /dev/null +++ b/docs/models/operations/getitemresponse.md @@ -0,0 +1,9 @@ +# GetItemResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetItemResponseBody](../../models/operations/getitemresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getitemresponsebody.md b/docs/models/operations/getitemresponsebody.md new file mode 100644 index 000000000..bceda32df --- /dev/null +++ b/docs/models/operations/getitemresponsebody.md @@ -0,0 +1,11 @@ +# GetItemResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedItemOutput](../../models/components/unifieditemoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getitemsrequest.md b/docs/models/operations/getitemsrequest.md new file mode 100644 index 000000000..a3a5780e4 --- /dev/null +++ b/docs/models/operations/getitemsrequest.md @@ -0,0 +1,9 @@ +# GetItemsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getitemsresponse.md b/docs/models/operations/getitemsresponse.md new file mode 100644 index 000000000..a888a6fa1 --- /dev/null +++ b/docs/models/operations/getitemsresponse.md @@ -0,0 +1,9 @@ +# GetItemsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetItemsResponseBody](../../models/operations/getitemsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getitemsresponsebody.md b/docs/models/operations/getitemsresponsebody.md new file mode 100644 index 000000000..4c23cd8b6 --- /dev/null +++ b/docs/models/operations/getitemsresponsebody.md @@ -0,0 +1,11 @@ +# GetItemsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedItemOutput](../../models/components/unifieditemoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getjobinterviewstagerequest.md b/docs/models/operations/getjobinterviewstagerequest.md new file mode 100644 index 000000000..20da2bbb8 --- /dev/null +++ b/docs/models/operations/getjobinterviewstagerequest.md @@ -0,0 +1,9 @@ +# GetJobInterviewStageRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the jobinterviewstage you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getjobinterviewstageresponse.md b/docs/models/operations/getjobinterviewstageresponse.md new file mode 100644 index 000000000..930dd7efd --- /dev/null +++ b/docs/models/operations/getjobinterviewstageresponse.md @@ -0,0 +1,9 @@ +# GetJobInterviewStageResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetJobInterviewStageResponseBody](../../models/operations/getjobinterviewstageresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getjobinterviewstageresponsebody.md b/docs/models/operations/getjobinterviewstageresponsebody.md new file mode 100644 index 000000000..833509032 --- /dev/null +++ b/docs/models/operations/getjobinterviewstageresponsebody.md @@ -0,0 +1,11 @@ +# GetJobInterviewStageResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedJobInterviewStageOutput](../../models/components/unifiedjobinterviewstageoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getjobinterviewstagesrequest.md b/docs/models/operations/getjobinterviewstagesrequest.md new file mode 100644 index 000000000..67278abe5 --- /dev/null +++ b/docs/models/operations/getjobinterviewstagesrequest.md @@ -0,0 +1,9 @@ +# GetJobInterviewStagesRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getjobinterviewstagesresponse.md b/docs/models/operations/getjobinterviewstagesresponse.md new file mode 100644 index 000000000..dd0137222 --- /dev/null +++ b/docs/models/operations/getjobinterviewstagesresponse.md @@ -0,0 +1,9 @@ +# GetJobInterviewStagesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetJobInterviewStagesResponseBody](../../models/operations/getjobinterviewstagesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getjobinterviewstagesresponsebody.md b/docs/models/operations/getjobinterviewstagesresponsebody.md new file mode 100644 index 000000000..3e9435a11 --- /dev/null +++ b/docs/models/operations/getjobinterviewstagesresponsebody.md @@ -0,0 +1,11 @@ +# GetJobInterviewStagesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedJobInterviewStageOutput](../../models/components/unifiedjobinterviewstageoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getjobrequest.md b/docs/models/operations/getjobrequest.md new file mode 100644 index 000000000..70a9868e0 --- /dev/null +++ b/docs/models/operations/getjobrequest.md @@ -0,0 +1,9 @@ +# GetJobRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the job you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getjobresponse.md b/docs/models/operations/getjobresponse.md new file mode 100644 index 000000000..7fd6a32be --- /dev/null +++ b/docs/models/operations/getjobresponse.md @@ -0,0 +1,9 @@ +# GetJobResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetJobResponseBody](../../models/operations/getjobresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getjobresponsebody.md b/docs/models/operations/getjobresponsebody.md new file mode 100644 index 000000000..2bd0cb20f --- /dev/null +++ b/docs/models/operations/getjobresponsebody.md @@ -0,0 +1,11 @@ +# GetJobResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedJobOutput](../../models/components/unifiedjoboutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getjobsrequest.md b/docs/models/operations/getjobsrequest.md new file mode 100644 index 000000000..0a83dcfb7 --- /dev/null +++ b/docs/models/operations/getjobsrequest.md @@ -0,0 +1,9 @@ +# GetJobsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getjobsresponse.md b/docs/models/operations/getjobsresponse.md new file mode 100644 index 000000000..64634302b --- /dev/null +++ b/docs/models/operations/getjobsresponse.md @@ -0,0 +1,9 @@ +# GetJobsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetJobsResponseBody](../../models/operations/getjobsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getjobsresponsebody.md b/docs/models/operations/getjobsresponsebody.md new file mode 100644 index 000000000..95a06da62 --- /dev/null +++ b/docs/models/operations/getjobsresponsebody.md @@ -0,0 +1,11 @@ +# GetJobsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedJobOutput](../../models/components/unifiedjoboutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getjournalentryrequest.md b/docs/models/operations/getjournalentryrequest.md new file mode 100644 index 000000000..720d703a2 --- /dev/null +++ b/docs/models/operations/getjournalentryrequest.md @@ -0,0 +1,9 @@ +# GetJournalEntryRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the journalentry you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getjournalentryresponse.md b/docs/models/operations/getjournalentryresponse.md new file mode 100644 index 000000000..0d0ef0e8e --- /dev/null +++ b/docs/models/operations/getjournalentryresponse.md @@ -0,0 +1,9 @@ +# GetJournalEntryResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetJournalEntryResponseBody](../../models/operations/getjournalentryresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getjournalentryresponsebody.md b/docs/models/operations/getjournalentryresponsebody.md new file mode 100644 index 000000000..e07e1e8f6 --- /dev/null +++ b/docs/models/operations/getjournalentryresponsebody.md @@ -0,0 +1,11 @@ +# GetJournalEntryResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedJournalEntryOutput](../../models/components/unifiedjournalentryoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getjournalentrysrequest.md b/docs/models/operations/getjournalentrysrequest.md new file mode 100644 index 000000000..a934a770b --- /dev/null +++ b/docs/models/operations/getjournalentrysrequest.md @@ -0,0 +1,9 @@ +# GetJournalEntrysRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getjournalentrysresponse.md b/docs/models/operations/getjournalentrysresponse.md new file mode 100644 index 000000000..04c955d41 --- /dev/null +++ b/docs/models/operations/getjournalentrysresponse.md @@ -0,0 +1,9 @@ +# GetJournalEntrysResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetJournalEntrysResponseBody](../../models/operations/getjournalentrysresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getjournalentrysresponsebody.md b/docs/models/operations/getjournalentrysresponsebody.md new file mode 100644 index 000000000..520364f82 --- /dev/null +++ b/docs/models/operations/getjournalentrysresponsebody.md @@ -0,0 +1,11 @@ +# GetJournalEntrysResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedJournalEntryOutput](../../models/components/unifiedjournalentryoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getlinkeduserrequest.md b/docs/models/operations/getlinkeduserrequest.md new file mode 100644 index 000000000..bedb4a530 --- /dev/null +++ b/docs/models/operations/getlinkeduserrequest.md @@ -0,0 +1,8 @@ +# GetLinkedUserRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getlinkeduserresponse.md b/docs/models/operations/getlinkeduserresponse.md new file mode 100644 index 000000000..94e982d5c --- /dev/null +++ b/docs/models/operations/getlinkeduserresponse.md @@ -0,0 +1,8 @@ +# GetLinkedUserResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getlistrequest.md b/docs/models/operations/getlistrequest.md new file mode 100644 index 000000000..679cd2cc3 --- /dev/null +++ b/docs/models/operations/getlistrequest.md @@ -0,0 +1,9 @@ +# GetListRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the list you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getlistresponse.md b/docs/models/operations/getlistresponse.md new file mode 100644 index 000000000..1883d196d --- /dev/null +++ b/docs/models/operations/getlistresponse.md @@ -0,0 +1,9 @@ +# GetListResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetListResponseBody](../../models/operations/getlistresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getlistresponsebody.md b/docs/models/operations/getlistresponsebody.md new file mode 100644 index 000000000..b9e7e2364 --- /dev/null +++ b/docs/models/operations/getlistresponsebody.md @@ -0,0 +1,11 @@ +# GetListResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedListOutput](../../models/components/unifiedlistoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getlistsrequest.md b/docs/models/operations/getlistsrequest.md new file mode 100644 index 000000000..a8509c1c0 --- /dev/null +++ b/docs/models/operations/getlistsrequest.md @@ -0,0 +1,9 @@ +# GetListsRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getlistsresponse.md b/docs/models/operations/getlistsresponse.md new file mode 100644 index 000000000..232d0d213 --- /dev/null +++ b/docs/models/operations/getlistsresponse.md @@ -0,0 +1,9 @@ +# GetListsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetListsResponseBody](../../models/operations/getlistsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getlistsresponsebody.md b/docs/models/operations/getlistsresponsebody.md new file mode 100644 index 000000000..d5d052713 --- /dev/null +++ b/docs/models/operations/getlistsresponsebody.md @@ -0,0 +1,11 @@ +# GetListsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedListOutput](../../models/components/unifiedlistoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getlocationrequest.md b/docs/models/operations/getlocationrequest.md new file mode 100644 index 000000000..92efdf25e --- /dev/null +++ b/docs/models/operations/getlocationrequest.md @@ -0,0 +1,9 @@ +# GetLocationRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the location you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getlocationresponse.md b/docs/models/operations/getlocationresponse.md new file mode 100644 index 000000000..b8ed7f02e --- /dev/null +++ b/docs/models/operations/getlocationresponse.md @@ -0,0 +1,9 @@ +# GetLocationResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetLocationResponseBody](../../models/operations/getlocationresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getlocationresponsebody.md b/docs/models/operations/getlocationresponsebody.md new file mode 100644 index 000000000..0f0feeb3b --- /dev/null +++ b/docs/models/operations/getlocationresponsebody.md @@ -0,0 +1,11 @@ +# GetLocationResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedLocationOutput](../../models/components/unifiedlocationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getlocationsrequest.md b/docs/models/operations/getlocationsrequest.md new file mode 100644 index 000000000..7a90e20ea --- /dev/null +++ b/docs/models/operations/getlocationsrequest.md @@ -0,0 +1,9 @@ +# GetLocationsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getlocationsresponse.md b/docs/models/operations/getlocationsresponse.md new file mode 100644 index 000000000..83a864c7b --- /dev/null +++ b/docs/models/operations/getlocationsresponse.md @@ -0,0 +1,9 @@ +# GetLocationsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetLocationsResponseBody](../../models/operations/getlocationsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getlocationsresponsebody.md b/docs/models/operations/getlocationsresponsebody.md new file mode 100644 index 000000000..72a0abfe7 --- /dev/null +++ b/docs/models/operations/getlocationsresponsebody.md @@ -0,0 +1,11 @@ +# GetLocationsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedLocationOutput](../../models/components/unifiedlocationoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmagiclinkrequest.md b/docs/models/operations/getmagiclinkrequest.md new file mode 100644 index 000000000..77a43efbc --- /dev/null +++ b/docs/models/operations/getmagiclinkrequest.md @@ -0,0 +1,8 @@ +# GetMagicLinkRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmagiclinkresponse.md b/docs/models/operations/getmagiclinkresponse.md new file mode 100644 index 000000000..7dde90c2f --- /dev/null +++ b/docs/models/operations/getmagiclinkresponse.md @@ -0,0 +1,8 @@ +# GetMagicLinkResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmagiclinksresponse.md b/docs/models/operations/getmagiclinksresponse.md new file mode 100644 index 000000000..65e377386 --- /dev/null +++ b/docs/models/operations/getmagiclinksresponse.md @@ -0,0 +1,8 @@ +# GetMagicLinksResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmanagedwebhooksrequest.md b/docs/models/operations/getmanagedwebhooksrequest.md new file mode 100644 index 000000000..6b606619c --- /dev/null +++ b/docs/models/operations/getmanagedwebhooksrequest.md @@ -0,0 +1,8 @@ +# GetManagedWebhooksRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `idConnection` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmanagedwebhooksresponse.md b/docs/models/operations/getmanagedwebhooksresponse.md new file mode 100644 index 000000000..4d9fff703 --- /dev/null +++ b/docs/models/operations/getmanagedwebhooksresponse.md @@ -0,0 +1,8 @@ +# GetManagedWebhooksResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationcontactrequest.md b/docs/models/operations/getmarketingautomationcontactrequest.md new file mode 100644 index 000000000..757aaa598 --- /dev/null +++ b/docs/models/operations/getmarketingautomationcontactrequest.md @@ -0,0 +1,9 @@ +# GetMarketingAutomationContactRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the contact you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationcontactresponse.md b/docs/models/operations/getmarketingautomationcontactresponse.md new file mode 100644 index 000000000..c415cd93a --- /dev/null +++ b/docs/models/operations/getmarketingautomationcontactresponse.md @@ -0,0 +1,9 @@ +# GetMarketingAutomationContactResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetMarketingAutomationContactResponseBody](../../models/operations/getmarketingautomationcontactresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationcontactresponsebody.md b/docs/models/operations/getmarketingautomationcontactresponsebody.md new file mode 100644 index 000000000..eaff248d7 --- /dev/null +++ b/docs/models/operations/getmarketingautomationcontactresponsebody.md @@ -0,0 +1,11 @@ +# GetMarketingAutomationContactResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationcontactsrequest.md b/docs/models/operations/getmarketingautomationcontactsrequest.md new file mode 100644 index 000000000..224bb95b4 --- /dev/null +++ b/docs/models/operations/getmarketingautomationcontactsrequest.md @@ -0,0 +1,9 @@ +# GetMarketingAutomationContactsRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationcontactsresponse.md b/docs/models/operations/getmarketingautomationcontactsresponse.md new file mode 100644 index 000000000..de63c281c --- /dev/null +++ b/docs/models/operations/getmarketingautomationcontactsresponse.md @@ -0,0 +1,9 @@ +# GetMarketingAutomationContactsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetMarketingAutomationContactsResponseBody](../../models/operations/getmarketingautomationcontactsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationcontactsresponsebody.md b/docs/models/operations/getmarketingautomationcontactsresponsebody.md new file mode 100644 index 000000000..13aa21f4c --- /dev/null +++ b/docs/models/operations/getmarketingautomationcontactsresponsebody.md @@ -0,0 +1,11 @@ +# GetMarketingAutomationContactsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationeventsrequest.md b/docs/models/operations/getmarketingautomationeventsrequest.md new file mode 100644 index 000000000..152249e2f --- /dev/null +++ b/docs/models/operations/getmarketingautomationeventsrequest.md @@ -0,0 +1,9 @@ +# GetMarketingAutomationEventsRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationeventsresponse.md b/docs/models/operations/getmarketingautomationeventsresponse.md new file mode 100644 index 000000000..09ff31904 --- /dev/null +++ b/docs/models/operations/getmarketingautomationeventsresponse.md @@ -0,0 +1,9 @@ +# GetMarketingAutomationEventsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetMarketingAutomationEventsResponseBody](../../models/operations/getmarketingautomationeventsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationeventsresponsebody.md b/docs/models/operations/getmarketingautomationeventsresponsebody.md new file mode 100644 index 000000000..745e3e0d4 --- /dev/null +++ b/docs/models/operations/getmarketingautomationeventsresponsebody.md @@ -0,0 +1,11 @@ +# GetMarketingAutomationEventsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEventOutput](../../models/components/unifiedeventoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationuserrequest.md b/docs/models/operations/getmarketingautomationuserrequest.md new file mode 100644 index 000000000..6259a657d --- /dev/null +++ b/docs/models/operations/getmarketingautomationuserrequest.md @@ -0,0 +1,9 @@ +# GetMarketingAutomationUserRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the user you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationuserresponse.md b/docs/models/operations/getmarketingautomationuserresponse.md new file mode 100644 index 000000000..20fe71b0e --- /dev/null +++ b/docs/models/operations/getmarketingautomationuserresponse.md @@ -0,0 +1,9 @@ +# GetMarketingAutomationUserResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetMarketingAutomationUserResponseBody](../../models/operations/getmarketingautomationuserresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationuserresponsebody.md b/docs/models/operations/getmarketingautomationuserresponsebody.md new file mode 100644 index 000000000..e589673af --- /dev/null +++ b/docs/models/operations/getmarketingautomationuserresponsebody.md @@ -0,0 +1,11 @@ +# GetMarketingAutomationUserResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationusersrequest.md b/docs/models/operations/getmarketingautomationusersrequest.md new file mode 100644 index 000000000..d9853164b --- /dev/null +++ b/docs/models/operations/getmarketingautomationusersrequest.md @@ -0,0 +1,9 @@ +# GetMarketingAutomationUsersRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationusersresponse.md b/docs/models/operations/getmarketingautomationusersresponse.md new file mode 100644 index 000000000..9011c65e8 --- /dev/null +++ b/docs/models/operations/getmarketingautomationusersresponse.md @@ -0,0 +1,9 @@ +# GetMarketingAutomationUsersResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetMarketingAutomationUsersResponseBody](../../models/operations/getmarketingautomationusersresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmarketingautomationusersresponsebody.md b/docs/models/operations/getmarketingautomationusersresponsebody.md new file mode 100644 index 000000000..cb8dcdcaa --- /dev/null +++ b/docs/models/operations/getmarketingautomationusersresponsebody.md @@ -0,0 +1,11 @@ +# GetMarketingAutomationUsersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmessagerequest.md b/docs/models/operations/getmessagerequest.md new file mode 100644 index 000000000..a6148dec8 --- /dev/null +++ b/docs/models/operations/getmessagerequest.md @@ -0,0 +1,9 @@ +# GetMessageRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the message you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getmessageresponse.md b/docs/models/operations/getmessageresponse.md new file mode 100644 index 000000000..daa7a2a50 --- /dev/null +++ b/docs/models/operations/getmessageresponse.md @@ -0,0 +1,9 @@ +# GetMessageResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetMessageResponseBody](../../models/operations/getmessageresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmessageresponsebody.md b/docs/models/operations/getmessageresponsebody.md new file mode 100644 index 000000000..52758eb9f --- /dev/null +++ b/docs/models/operations/getmessageresponsebody.md @@ -0,0 +1,11 @@ +# GetMessageResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedMessageOutput](../../models/components/unifiedmessageoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmessagesrequest.md b/docs/models/operations/getmessagesrequest.md new file mode 100644 index 000000000..b05fad864 --- /dev/null +++ b/docs/models/operations/getmessagesrequest.md @@ -0,0 +1,9 @@ +# GetMessagesRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/getmessagesresponse.md b/docs/models/operations/getmessagesresponse.md new file mode 100644 index 000000000..966dd01c4 --- /dev/null +++ b/docs/models/operations/getmessagesresponse.md @@ -0,0 +1,9 @@ +# GetMessagesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetMessagesResponseBody](../../models/operations/getmessagesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmessagesresponsebody.md b/docs/models/operations/getmessagesresponsebody.md new file mode 100644 index 000000000..80bc5d160 --- /dev/null +++ b/docs/models/operations/getmessagesresponsebody.md @@ -0,0 +1,11 @@ +# GetMessagesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedMessageOutput](../../models/components/unifiedmessageoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getnoterequest.md b/docs/models/operations/getnoterequest.md new file mode 100644 index 000000000..72081f200 --- /dev/null +++ b/docs/models/operations/getnoterequest.md @@ -0,0 +1,9 @@ +# GetNoteRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the note you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | \ No newline at end of file diff --git a/docs/models/operations/getnoteresponse.md b/docs/models/operations/getnoteresponse.md new file mode 100644 index 000000000..944457dbf --- /dev/null +++ b/docs/models/operations/getnoteresponse.md @@ -0,0 +1,9 @@ +# GetNoteResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetNoteResponseBody](../../models/operations/getnoteresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getnoteresponsebody.md b/docs/models/operations/getnoteresponsebody.md new file mode 100644 index 000000000..9fd7e72d0 --- /dev/null +++ b/docs/models/operations/getnoteresponsebody.md @@ -0,0 +1,11 @@ +# GetNoteResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedNoteOutput](../../models/components/unifiednoteoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getnotesrequest.md b/docs/models/operations/getnotesrequest.md new file mode 100644 index 000000000..99e8f6126 --- /dev/null +++ b/docs/models/operations/getnotesrequest.md @@ -0,0 +1,11 @@ +# GetNotesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getnotesresponse.md b/docs/models/operations/getnotesresponse.md new file mode 100644 index 000000000..e5a8808a6 --- /dev/null +++ b/docs/models/operations/getnotesresponse.md @@ -0,0 +1,9 @@ +# GetNotesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetNotesResponseBody](../../models/operations/getnotesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getnotesresponsebody.md b/docs/models/operations/getnotesresponsebody.md new file mode 100644 index 000000000..0cf90c1fd --- /dev/null +++ b/docs/models/operations/getnotesresponsebody.md @@ -0,0 +1,11 @@ +# GetNotesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedNoteOutput](../../models/components/unifiednoteoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getofferrequest.md b/docs/models/operations/getofferrequest.md new file mode 100644 index 000000000..0be70ad2c --- /dev/null +++ b/docs/models/operations/getofferrequest.md @@ -0,0 +1,9 @@ +# GetOfferRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the offer you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getofferresponse.md b/docs/models/operations/getofferresponse.md new file mode 100644 index 000000000..bbaa5c41a --- /dev/null +++ b/docs/models/operations/getofferresponse.md @@ -0,0 +1,9 @@ +# GetOfferResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetOfferResponseBody](../../models/operations/getofferresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getofferresponsebody.md b/docs/models/operations/getofferresponsebody.md new file mode 100644 index 000000000..277932304 --- /dev/null +++ b/docs/models/operations/getofferresponsebody.md @@ -0,0 +1,11 @@ +# GetOfferResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedOfferOutput](../../models/components/unifiedofferoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getoffersrequest.md b/docs/models/operations/getoffersrequest.md new file mode 100644 index 000000000..7d8557175 --- /dev/null +++ b/docs/models/operations/getoffersrequest.md @@ -0,0 +1,9 @@ +# GetOffersRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getoffersresponse.md b/docs/models/operations/getoffersresponse.md new file mode 100644 index 000000000..23c3dc7f9 --- /dev/null +++ b/docs/models/operations/getoffersresponse.md @@ -0,0 +1,9 @@ +# GetOffersResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetOffersResponseBody](../../models/operations/getoffersresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getoffersresponsebody.md b/docs/models/operations/getoffersresponsebody.md new file mode 100644 index 000000000..ecafef6d2 --- /dev/null +++ b/docs/models/operations/getoffersresponsebody.md @@ -0,0 +1,11 @@ +# GetOffersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedOfferOutput](../../models/components/unifiedofferoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getofficerequest.md b/docs/models/operations/getofficerequest.md new file mode 100644 index 000000000..798b8d3cd --- /dev/null +++ b/docs/models/operations/getofficerequest.md @@ -0,0 +1,9 @@ +# GetOfficeRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the office you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getofficeresponse.md b/docs/models/operations/getofficeresponse.md new file mode 100644 index 000000000..353493b83 --- /dev/null +++ b/docs/models/operations/getofficeresponse.md @@ -0,0 +1,9 @@ +# GetOfficeResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetOfficeResponseBody](../../models/operations/getofficeresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getofficeresponsebody.md b/docs/models/operations/getofficeresponsebody.md new file mode 100644 index 000000000..94d420036 --- /dev/null +++ b/docs/models/operations/getofficeresponsebody.md @@ -0,0 +1,11 @@ +# GetOfficeResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedOfficeOutput](../../models/components/unifiedofficeoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getofficesrequest.md b/docs/models/operations/getofficesrequest.md new file mode 100644 index 000000000..d893c1b37 --- /dev/null +++ b/docs/models/operations/getofficesrequest.md @@ -0,0 +1,9 @@ +# GetOfficesRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getofficesresponse.md b/docs/models/operations/getofficesresponse.md new file mode 100644 index 000000000..2252c8ab3 --- /dev/null +++ b/docs/models/operations/getofficesresponse.md @@ -0,0 +1,9 @@ +# GetOfficesResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetOfficesResponseBody](../../models/operations/getofficesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getofficesresponsebody.md b/docs/models/operations/getofficesresponsebody.md new file mode 100644 index 000000000..9f2b1d89d --- /dev/null +++ b/docs/models/operations/getofficesresponsebody.md @@ -0,0 +1,11 @@ +# GetOfficesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedOfficeOutput](../../models/components/unifiedofficeoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getorganisationsresponse.md b/docs/models/operations/getorganisationsresponse.md new file mode 100644 index 000000000..feb254937 --- /dev/null +++ b/docs/models/operations/getorganisationsresponse.md @@ -0,0 +1,8 @@ +# GetOrganisationsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpanoracoreeventsrequest.md b/docs/models/operations/getpanoracoreeventsrequest.md new file mode 100644 index 000000000..d31c76381 --- /dev/null +++ b/docs/models/operations/getpanoracoreeventsrequest.md @@ -0,0 +1,9 @@ +# GetPanoraCoreEventsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `page` | *number* | :heavy_minus_sign: | N/A | +| `pageSize` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpanoracoreeventsresponse.md b/docs/models/operations/getpanoracoreeventsresponse.md new file mode 100644 index 000000000..3006b2058 --- /dev/null +++ b/docs/models/operations/getpanoracoreeventsresponse.md @@ -0,0 +1,8 @@ +# GetPanoraCoreEventsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpanoracoreusersresponse.md b/docs/models/operations/getpanoracoreusersresponse.md new file mode 100644 index 000000000..171c7f397 --- /dev/null +++ b/docs/models/operations/getpanoracoreusersresponse.md @@ -0,0 +1,8 @@ +# GetPanoraCoreUsersResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpaygrouprequest.md b/docs/models/operations/getpaygrouprequest.md new file mode 100644 index 000000000..12bfff92a --- /dev/null +++ b/docs/models/operations/getpaygrouprequest.md @@ -0,0 +1,9 @@ +# GetPayGroupRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the paygroup you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getpaygroupresponse.md b/docs/models/operations/getpaygroupresponse.md new file mode 100644 index 000000000..38a2ef199 --- /dev/null +++ b/docs/models/operations/getpaygroupresponse.md @@ -0,0 +1,9 @@ +# GetPayGroupResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetPayGroupResponseBody](../../models/operations/getpaygroupresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpaygroupresponsebody.md b/docs/models/operations/getpaygroupresponsebody.md new file mode 100644 index 000000000..86c47dd06 --- /dev/null +++ b/docs/models/operations/getpaygroupresponsebody.md @@ -0,0 +1,11 @@ +# GetPayGroupResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPayGroupOutput](../../models/components/unifiedpaygroupoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpaygroupsrequest.md b/docs/models/operations/getpaygroupsrequest.md new file mode 100644 index 000000000..9b2b61b1f --- /dev/null +++ b/docs/models/operations/getpaygroupsrequest.md @@ -0,0 +1,9 @@ +# GetPayGroupsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getpaygroupsresponse.md b/docs/models/operations/getpaygroupsresponse.md new file mode 100644 index 000000000..7c960a61c --- /dev/null +++ b/docs/models/operations/getpaygroupsresponse.md @@ -0,0 +1,9 @@ +# GetPayGroupsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetPayGroupsResponseBody](../../models/operations/getpaygroupsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpaygroupsresponsebody.md b/docs/models/operations/getpaygroupsresponsebody.md new file mode 100644 index 000000000..46c9810bb --- /dev/null +++ b/docs/models/operations/getpaygroupsresponsebody.md @@ -0,0 +1,11 @@ +# GetPayGroupsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPayGroupOutput](../../models/components/unifiedpaygroupoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpaymentrequest.md b/docs/models/operations/getpaymentrequest.md new file mode 100644 index 000000000..62d897ad7 --- /dev/null +++ b/docs/models/operations/getpaymentrequest.md @@ -0,0 +1,9 @@ +# GetPaymentRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the payment you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getpaymentresponse.md b/docs/models/operations/getpaymentresponse.md new file mode 100644 index 000000000..0c20ce3bf --- /dev/null +++ b/docs/models/operations/getpaymentresponse.md @@ -0,0 +1,9 @@ +# GetPaymentResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetPaymentResponseBody](../../models/operations/getpaymentresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpaymentresponsebody.md b/docs/models/operations/getpaymentresponsebody.md new file mode 100644 index 000000000..a472a3e46 --- /dev/null +++ b/docs/models/operations/getpaymentresponsebody.md @@ -0,0 +1,11 @@ +# GetPaymentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPaymentOutput](../../models/components/unifiedpaymentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpaymentsrequest.md b/docs/models/operations/getpaymentsrequest.md new file mode 100644 index 000000000..3c49696df --- /dev/null +++ b/docs/models/operations/getpaymentsrequest.md @@ -0,0 +1,9 @@ +# GetPaymentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getpaymentsresponse.md b/docs/models/operations/getpaymentsresponse.md new file mode 100644 index 000000000..604770013 --- /dev/null +++ b/docs/models/operations/getpaymentsresponse.md @@ -0,0 +1,9 @@ +# GetPaymentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetPaymentsResponseBody](../../models/operations/getpaymentsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpaymentsresponsebody.md b/docs/models/operations/getpaymentsresponsebody.md new file mode 100644 index 000000000..384f5e5f1 --- /dev/null +++ b/docs/models/operations/getpaymentsresponsebody.md @@ -0,0 +1,11 @@ +# GetPaymentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPaymentOutput](../../models/components/unifiedpaymentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpayrollrunrequest.md b/docs/models/operations/getpayrollrunrequest.md new file mode 100644 index 000000000..6c3739e2d --- /dev/null +++ b/docs/models/operations/getpayrollrunrequest.md @@ -0,0 +1,9 @@ +# GetPayrollRunRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the payrollrun you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getpayrollrunresponse.md b/docs/models/operations/getpayrollrunresponse.md new file mode 100644 index 000000000..0bcd5cdea --- /dev/null +++ b/docs/models/operations/getpayrollrunresponse.md @@ -0,0 +1,9 @@ +# GetPayrollRunResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetPayrollRunResponseBody](../../models/operations/getpayrollrunresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpayrollrunresponsebody.md b/docs/models/operations/getpayrollrunresponsebody.md new file mode 100644 index 000000000..4af2190f6 --- /dev/null +++ b/docs/models/operations/getpayrollrunresponsebody.md @@ -0,0 +1,11 @@ +# GetPayrollRunResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPayrollRunOutput](../../models/components/unifiedpayrollrunoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpayrollrunsrequest.md b/docs/models/operations/getpayrollrunsrequest.md new file mode 100644 index 000000000..cb93f0d7c --- /dev/null +++ b/docs/models/operations/getpayrollrunsrequest.md @@ -0,0 +1,9 @@ +# GetPayrollRunsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/getpayrollrunsresponse.md b/docs/models/operations/getpayrollrunsresponse.md new file mode 100644 index 000000000..f15b75b50 --- /dev/null +++ b/docs/models/operations/getpayrollrunsresponse.md @@ -0,0 +1,9 @@ +# GetPayrollRunsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetPayrollRunsResponseBody](../../models/operations/getpayrollrunsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpayrollrunsresponsebody.md b/docs/models/operations/getpayrollrunsresponsebody.md new file mode 100644 index 000000000..5c7bf7191 --- /dev/null +++ b/docs/models/operations/getpayrollrunsresponsebody.md @@ -0,0 +1,11 @@ +# GetPayrollRunsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPayrollRunOutput](../../models/components/unifiedpayrollrunoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpermissionrequest.md b/docs/models/operations/getpermissionrequest.md new file mode 100644 index 000000000..93dbeae91 --- /dev/null +++ b/docs/models/operations/getpermissionrequest.md @@ -0,0 +1,9 @@ +# GetPermissionRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the permission you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | \ No newline at end of file diff --git a/docs/models/operations/getpermissionresponse.md b/docs/models/operations/getpermissionresponse.md new file mode 100644 index 000000000..076965bda --- /dev/null +++ b/docs/models/operations/getpermissionresponse.md @@ -0,0 +1,9 @@ +# GetPermissionResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetPermissionResponseBody](../../models/operations/getpermissionresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpermissionresponsebody.md b/docs/models/operations/getpermissionresponsebody.md new file mode 100644 index 000000000..20245022d --- /dev/null +++ b/docs/models/operations/getpermissionresponsebody.md @@ -0,0 +1,11 @@ +# GetPermissionResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPermissionOutput](../../models/components/unifiedpermissionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpermissionsrequest.md b/docs/models/operations/getpermissionsrequest.md new file mode 100644 index 000000000..d867e257e --- /dev/null +++ b/docs/models/operations/getpermissionsrequest.md @@ -0,0 +1,9 @@ +# GetPermissionsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | \ No newline at end of file diff --git a/docs/models/operations/getpermissionsresponse.md b/docs/models/operations/getpermissionsresponse.md new file mode 100644 index 000000000..e5886e120 --- /dev/null +++ b/docs/models/operations/getpermissionsresponse.md @@ -0,0 +1,9 @@ +# GetPermissionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetPermissionsResponseBody](../../models/operations/getpermissionsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpermissionsresponsebody.md b/docs/models/operations/getpermissionsresponsebody.md new file mode 100644 index 000000000..83a1d6acd --- /dev/null +++ b/docs/models/operations/getpermissionsresponsebody.md @@ -0,0 +1,11 @@ +# GetPermissionsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPermissionOutput](../../models/components/unifiedpermissionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getphonenumberrequest.md b/docs/models/operations/getphonenumberrequest.md new file mode 100644 index 000000000..a83baee85 --- /dev/null +++ b/docs/models/operations/getphonenumberrequest.md @@ -0,0 +1,9 @@ +# GetPhoneNumberRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the phonenumber you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getphonenumberresponse.md b/docs/models/operations/getphonenumberresponse.md new file mode 100644 index 000000000..68b320499 --- /dev/null +++ b/docs/models/operations/getphonenumberresponse.md @@ -0,0 +1,9 @@ +# GetPhoneNumberResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetPhoneNumberResponseBody](../../models/operations/getphonenumberresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getphonenumberresponsebody.md b/docs/models/operations/getphonenumberresponsebody.md new file mode 100644 index 000000000..6525ece35 --- /dev/null +++ b/docs/models/operations/getphonenumberresponsebody.md @@ -0,0 +1,11 @@ +# GetPhoneNumberResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPhoneNumberOutput](../../models/components/unifiedphonenumberoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getphonenumbersrequest.md b/docs/models/operations/getphonenumbersrequest.md new file mode 100644 index 000000000..0144f6c56 --- /dev/null +++ b/docs/models/operations/getphonenumbersrequest.md @@ -0,0 +1,9 @@ +# GetPhoneNumbersRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getphonenumbersresponse.md b/docs/models/operations/getphonenumbersresponse.md new file mode 100644 index 000000000..7afc73c5a --- /dev/null +++ b/docs/models/operations/getphonenumbersresponse.md @@ -0,0 +1,9 @@ +# GetPhoneNumbersResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetPhoneNumbersResponseBody](../../models/operations/getphonenumbersresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getphonenumbersresponsebody.md b/docs/models/operations/getphonenumbersresponsebody.md new file mode 100644 index 000000000..bfa6bb773 --- /dev/null +++ b/docs/models/operations/getphonenumbersresponsebody.md @@ -0,0 +1,11 @@ +# GetPhoneNumbersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPhoneNumberOutput](../../models/components/unifiedphonenumberoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectsresponse.md b/docs/models/operations/getprojectsresponse.md new file mode 100644 index 000000000..286c33ee7 --- /dev/null +++ b/docs/models/operations/getprojectsresponse.md @@ -0,0 +1,8 @@ +# GetProjectsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpurchaseorderrequest.md b/docs/models/operations/getpurchaseorderrequest.md new file mode 100644 index 000000000..30e58ae10 --- /dev/null +++ b/docs/models/operations/getpurchaseorderrequest.md @@ -0,0 +1,9 @@ +# GetPurchaseOrderRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the purchaseorder you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getpurchaseorderresponse.md b/docs/models/operations/getpurchaseorderresponse.md new file mode 100644 index 000000000..94bf73fd4 --- /dev/null +++ b/docs/models/operations/getpurchaseorderresponse.md @@ -0,0 +1,9 @@ +# GetPurchaseOrderResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetPurchaseOrderResponseBody](../../models/operations/getpurchaseorderresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpurchaseorderresponsebody.md b/docs/models/operations/getpurchaseorderresponsebody.md new file mode 100644 index 000000000..12d0f1257 --- /dev/null +++ b/docs/models/operations/getpurchaseorderresponsebody.md @@ -0,0 +1,11 @@ +# GetPurchaseOrderResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPurchaseOrderOutput](../../models/components/unifiedpurchaseorderoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpurchaseordersrequest.md b/docs/models/operations/getpurchaseordersrequest.md new file mode 100644 index 000000000..15ed8f264 --- /dev/null +++ b/docs/models/operations/getpurchaseordersrequest.md @@ -0,0 +1,9 @@ +# GetPurchaseOrdersRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getpurchaseordersresponse.md b/docs/models/operations/getpurchaseordersresponse.md new file mode 100644 index 000000000..c91379526 --- /dev/null +++ b/docs/models/operations/getpurchaseordersresponse.md @@ -0,0 +1,9 @@ +# GetPurchaseOrdersResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetPurchaseOrdersResponseBody](../../models/operations/getpurchaseordersresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpurchaseordersresponsebody.md b/docs/models/operations/getpurchaseordersresponsebody.md new file mode 100644 index 000000000..1de9306da --- /dev/null +++ b/docs/models/operations/getpurchaseordersresponsebody.md @@ -0,0 +1,11 @@ +# GetPurchaseOrdersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPurchaseOrderOutput](../../models/components/unifiedpurchaseorderoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getrejectreasonrequest.md b/docs/models/operations/getrejectreasonrequest.md new file mode 100644 index 000000000..877748af7 --- /dev/null +++ b/docs/models/operations/getrejectreasonrequest.md @@ -0,0 +1,9 @@ +# GetRejectReasonRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the rejectreason you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getrejectreasonresponse.md b/docs/models/operations/getrejectreasonresponse.md new file mode 100644 index 000000000..a3167046b --- /dev/null +++ b/docs/models/operations/getrejectreasonresponse.md @@ -0,0 +1,9 @@ +# GetRejectReasonResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetRejectReasonResponseBody](../../models/operations/getrejectreasonresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getrejectreasonresponsebody.md b/docs/models/operations/getrejectreasonresponsebody.md new file mode 100644 index 000000000..c57db182d --- /dev/null +++ b/docs/models/operations/getrejectreasonresponsebody.md @@ -0,0 +1,11 @@ +# GetRejectReasonResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedRejectReasonOutput](../../models/components/unifiedrejectreasonoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getrejectreasonsrequest.md b/docs/models/operations/getrejectreasonsrequest.md new file mode 100644 index 000000000..1799e3802 --- /dev/null +++ b/docs/models/operations/getrejectreasonsrequest.md @@ -0,0 +1,9 @@ +# GetRejectReasonsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getrejectreasonsresponse.md b/docs/models/operations/getrejectreasonsresponse.md new file mode 100644 index 000000000..ca8b56a59 --- /dev/null +++ b/docs/models/operations/getrejectreasonsresponse.md @@ -0,0 +1,9 @@ +# GetRejectReasonsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetRejectReasonsResponseBody](../../models/operations/getrejectreasonsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getrejectreasonsresponsebody.md b/docs/models/operations/getrejectreasonsresponsebody.md new file mode 100644 index 000000000..2af73cf37 --- /dev/null +++ b/docs/models/operations/getrejectreasonsresponsebody.md @@ -0,0 +1,11 @@ +# GetRejectReasonsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedRejectReasonOutput](../../models/components/unifiedrejectreasonoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getscorecardrequest.md b/docs/models/operations/getscorecardrequest.md new file mode 100644 index 000000000..daf9da541 --- /dev/null +++ b/docs/models/operations/getscorecardrequest.md @@ -0,0 +1,9 @@ +# GetScoreCardRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the scorecard you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getscorecardresponse.md b/docs/models/operations/getscorecardresponse.md new file mode 100644 index 000000000..32d2ab266 --- /dev/null +++ b/docs/models/operations/getscorecardresponse.md @@ -0,0 +1,9 @@ +# GetScoreCardResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetScoreCardResponseBody](../../models/operations/getscorecardresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getscorecardresponsebody.md b/docs/models/operations/getscorecardresponsebody.md new file mode 100644 index 000000000..93b19d35c --- /dev/null +++ b/docs/models/operations/getscorecardresponsebody.md @@ -0,0 +1,11 @@ +# GetScoreCardResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedScoreCardOutput](../../models/components/unifiedscorecardoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getscorecardsrequest.md b/docs/models/operations/getscorecardsrequest.md new file mode 100644 index 000000000..3685f8896 --- /dev/null +++ b/docs/models/operations/getscorecardsrequest.md @@ -0,0 +1,9 @@ +# GetScoreCardsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getscorecardsresponse.md b/docs/models/operations/getscorecardsresponse.md new file mode 100644 index 000000000..e1c3670ac --- /dev/null +++ b/docs/models/operations/getscorecardsresponse.md @@ -0,0 +1,9 @@ +# GetScoreCardsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetScoreCardsResponseBody](../../models/operations/getscorecardsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getscorecardsresponsebody.md b/docs/models/operations/getscorecardsresponsebody.md new file mode 100644 index 000000000..9d63662f4 --- /dev/null +++ b/docs/models/operations/getscorecardsresponsebody.md @@ -0,0 +1,11 @@ +# GetScoreCardsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedScoreCardOutput](../../models/components/unifiedscorecardoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getscreeningquestionrequest.md b/docs/models/operations/getscreeningquestionrequest.md new file mode 100644 index 000000000..9ee2b40c2 --- /dev/null +++ b/docs/models/operations/getscreeningquestionrequest.md @@ -0,0 +1,9 @@ +# GetScreeningQuestionRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the screeningquestion you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getscreeningquestionresponse.md b/docs/models/operations/getscreeningquestionresponse.md new file mode 100644 index 000000000..0acc6d1e0 --- /dev/null +++ b/docs/models/operations/getscreeningquestionresponse.md @@ -0,0 +1,9 @@ +# GetScreeningQuestionResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetScreeningQuestionResponseBody](../../models/operations/getscreeningquestionresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getscreeningquestionresponsebody.md b/docs/models/operations/getscreeningquestionresponsebody.md new file mode 100644 index 000000000..4456da8ba --- /dev/null +++ b/docs/models/operations/getscreeningquestionresponsebody.md @@ -0,0 +1,11 @@ +# GetScreeningQuestionResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedScreeningQuestionOutput](../../models/components/unifiedscreeningquestionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getscreeningquestionsrequest.md b/docs/models/operations/getscreeningquestionsrequest.md new file mode 100644 index 000000000..31995a589 --- /dev/null +++ b/docs/models/operations/getscreeningquestionsrequest.md @@ -0,0 +1,9 @@ +# GetScreeningQuestionsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ats software. | \ No newline at end of file diff --git a/docs/models/operations/getscreeningquestionsresponse.md b/docs/models/operations/getscreeningquestionsresponse.md new file mode 100644 index 000000000..31f23a341 --- /dev/null +++ b/docs/models/operations/getscreeningquestionsresponse.md @@ -0,0 +1,9 @@ +# GetScreeningQuestionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetScreeningQuestionsResponseBody](../../models/operations/getscreeningquestionsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getscreeningquestionsresponsebody.md b/docs/models/operations/getscreeningquestionsresponsebody.md new file mode 100644 index 000000000..7aad3b023 --- /dev/null +++ b/docs/models/operations/getscreeningquestionsresponsebody.md @@ -0,0 +1,11 @@ +# GetScreeningQuestionsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedScreeningQuestionOutput](../../models/components/unifiedscreeningquestionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getsharedlinkrequest.md b/docs/models/operations/getsharedlinkrequest.md new file mode 100644 index 000000000..b233ef41e --- /dev/null +++ b/docs/models/operations/getsharedlinkrequest.md @@ -0,0 +1,9 @@ +# GetSharedlinkRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the sharedlink you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | \ No newline at end of file diff --git a/docs/models/operations/getsharedlinkresponse.md b/docs/models/operations/getsharedlinkresponse.md new file mode 100644 index 000000000..5963af56b --- /dev/null +++ b/docs/models/operations/getsharedlinkresponse.md @@ -0,0 +1,9 @@ +# GetSharedlinkResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetSharedlinkResponseBody](../../models/operations/getsharedlinkresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getsharedlinkresponsebody.md b/docs/models/operations/getsharedlinkresponsebody.md new file mode 100644 index 000000000..f6fdf36ae --- /dev/null +++ b/docs/models/operations/getsharedlinkresponsebody.md @@ -0,0 +1,11 @@ +# GetSharedlinkResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedSharedLinkOutput](../../models/components/unifiedsharedlinkoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getsharedlinksrequest.md b/docs/models/operations/getsharedlinksrequest.md new file mode 100644 index 000000000..ac1b3d345 --- /dev/null +++ b/docs/models/operations/getsharedlinksrequest.md @@ -0,0 +1,9 @@ +# GetSharedlinksRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Filestorage software. | \ No newline at end of file diff --git a/docs/models/operations/getsharedlinksresponse.md b/docs/models/operations/getsharedlinksresponse.md new file mode 100644 index 000000000..5ad3b48ce --- /dev/null +++ b/docs/models/operations/getsharedlinksresponse.md @@ -0,0 +1,9 @@ +# GetSharedlinksResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetSharedlinksResponseBody](../../models/operations/getsharedlinksresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getsharedlinksresponsebody.md b/docs/models/operations/getsharedlinksresponsebody.md new file mode 100644 index 000000000..028790989 --- /dev/null +++ b/docs/models/operations/getsharedlinksresponsebody.md @@ -0,0 +1,11 @@ +# GetSharedlinksResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedSharedLinkOutput](../../models/components/unifiedsharedlinkoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getstagerequest.md b/docs/models/operations/getstagerequest.md new file mode 100644 index 000000000..588353ef0 --- /dev/null +++ b/docs/models/operations/getstagerequest.md @@ -0,0 +1,9 @@ +# GetStageRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the stage you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | \ No newline at end of file diff --git a/docs/models/operations/getstageresponse.md b/docs/models/operations/getstageresponse.md new file mode 100644 index 000000000..f24b52cfe --- /dev/null +++ b/docs/models/operations/getstageresponse.md @@ -0,0 +1,9 @@ +# GetStageResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetStageResponseBody](../../models/operations/getstageresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getstageresponsebody.md b/docs/models/operations/getstageresponsebody.md new file mode 100644 index 000000000..83c7adf05 --- /dev/null +++ b/docs/models/operations/getstageresponsebody.md @@ -0,0 +1,11 @@ +# GetStageResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedStageOutput](../../models/components/unifiedstageoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getstagesrequest.md b/docs/models/operations/getstagesrequest.md new file mode 100644 index 000000000..9895487f9 --- /dev/null +++ b/docs/models/operations/getstagesrequest.md @@ -0,0 +1,11 @@ +# GetStagesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getstagesresponse.md b/docs/models/operations/getstagesresponse.md new file mode 100644 index 000000000..66e2c19f0 --- /dev/null +++ b/docs/models/operations/getstagesresponse.md @@ -0,0 +1,9 @@ +# GetStagesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetStagesResponseBody](../../models/operations/getstagesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getstagesresponsebody.md b/docs/models/operations/getstagesresponsebody.md new file mode 100644 index 000000000..a87760aeb --- /dev/null +++ b/docs/models/operations/getstagesresponsebody.md @@ -0,0 +1,11 @@ +# GetStagesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedStageOutput](../../models/components/unifiedstageoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getsyncstatusrequest.md b/docs/models/operations/getsyncstatusrequest.md new file mode 100644 index 000000000..c53b0d8d5 --- /dev/null +++ b/docs/models/operations/getsyncstatusrequest.md @@ -0,0 +1,8 @@ +# GetSyncStatusRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `vertical` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getsyncstatusresponse.md b/docs/models/operations/getsyncstatusresponse.md new file mode 100644 index 000000000..a86e3e1fa --- /dev/null +++ b/docs/models/operations/getsyncstatusresponse.md @@ -0,0 +1,8 @@ +# GetSyncStatusResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettaskrequest.md b/docs/models/operations/gettaskrequest.md new file mode 100644 index 000000000..e76f82dc3 --- /dev/null +++ b/docs/models/operations/gettaskrequest.md @@ -0,0 +1,9 @@ +# GetTaskRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the task you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Crm software. | \ No newline at end of file diff --git a/docs/models/operations/gettaskresponse.md b/docs/models/operations/gettaskresponse.md new file mode 100644 index 000000000..15ac474e0 --- /dev/null +++ b/docs/models/operations/gettaskresponse.md @@ -0,0 +1,9 @@ +# GetTaskResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTaskResponseBody](../../models/operations/gettaskresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettaskresponsebody.md b/docs/models/operations/gettaskresponsebody.md new file mode 100644 index 000000000..a52682dd3 --- /dev/null +++ b/docs/models/operations/gettaskresponsebody.md @@ -0,0 +1,11 @@ +# GetTaskResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTaskOutput](../../models/components/unifiedtaskoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettasksrequest.md b/docs/models/operations/gettasksrequest.md new file mode 100644 index 000000000..0433434eb --- /dev/null +++ b/docs/models/operations/gettasksrequest.md @@ -0,0 +1,11 @@ +# GetTasksRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/gettasksresponse.md b/docs/models/operations/gettasksresponse.md new file mode 100644 index 000000000..ee528cfb5 --- /dev/null +++ b/docs/models/operations/gettasksresponse.md @@ -0,0 +1,9 @@ +# GetTasksResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTasksResponseBody](../../models/operations/gettasksresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettasksresponsebody.md b/docs/models/operations/gettasksresponsebody.md new file mode 100644 index 000000000..6bddb6b6f --- /dev/null +++ b/docs/models/operations/gettasksresponsebody.md @@ -0,0 +1,11 @@ +# GetTasksResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTaskOutput](../../models/components/unifiedtaskoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettaxraterequest.md b/docs/models/operations/gettaxraterequest.md new file mode 100644 index 000000000..04acfd46f --- /dev/null +++ b/docs/models/operations/gettaxraterequest.md @@ -0,0 +1,9 @@ +# GetTaxRateRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the taxrate you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/gettaxrateresponse.md b/docs/models/operations/gettaxrateresponse.md new file mode 100644 index 000000000..b18a3c899 --- /dev/null +++ b/docs/models/operations/gettaxrateresponse.md @@ -0,0 +1,9 @@ +# GetTaxRateResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTaxRateResponseBody](../../models/operations/gettaxrateresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettaxrateresponsebody.md b/docs/models/operations/gettaxrateresponsebody.md new file mode 100644 index 000000000..f2e9be2c5 --- /dev/null +++ b/docs/models/operations/gettaxrateresponsebody.md @@ -0,0 +1,11 @@ +# GetTaxRateResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTaxRateOutput](../../models/components/unifiedtaxrateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettaxratesrequest.md b/docs/models/operations/gettaxratesrequest.md new file mode 100644 index 000000000..6bbe52cab --- /dev/null +++ b/docs/models/operations/gettaxratesrequest.md @@ -0,0 +1,9 @@ +# GetTaxRatesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/gettaxratesresponse.md b/docs/models/operations/gettaxratesresponse.md new file mode 100644 index 000000000..336d9b6bf --- /dev/null +++ b/docs/models/operations/gettaxratesresponse.md @@ -0,0 +1,9 @@ +# GetTaxRatesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTaxRatesResponseBody](../../models/operations/gettaxratesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettaxratesresponsebody.md b/docs/models/operations/gettaxratesresponsebody.md new file mode 100644 index 000000000..6bb2d813c --- /dev/null +++ b/docs/models/operations/gettaxratesresponsebody.md @@ -0,0 +1,11 @@ +# GetTaxRatesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTaxRateOutput](../../models/components/unifiedtaxrateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getteamrequest.md b/docs/models/operations/getteamrequest.md new file mode 100644 index 000000000..9fbc8e0b5 --- /dev/null +++ b/docs/models/operations/getteamrequest.md @@ -0,0 +1,9 @@ +# GetTeamRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the team you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | \ No newline at end of file diff --git a/docs/models/operations/getteamresponse.md b/docs/models/operations/getteamresponse.md new file mode 100644 index 000000000..38bd1086b --- /dev/null +++ b/docs/models/operations/getteamresponse.md @@ -0,0 +1,9 @@ +# GetTeamResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTeamResponseBody](../../models/operations/getteamresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getteamresponsebody.md b/docs/models/operations/getteamresponsebody.md new file mode 100644 index 000000000..9973c480b --- /dev/null +++ b/docs/models/operations/getteamresponsebody.md @@ -0,0 +1,11 @@ +# GetTeamResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTeamOutput](../../models/components/unifiedteamoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getteamsrequest.md b/docs/models/operations/getteamsrequest.md new file mode 100644 index 000000000..39177d11d --- /dev/null +++ b/docs/models/operations/getteamsrequest.md @@ -0,0 +1,11 @@ +# GetTeamsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getteamsresponse.md b/docs/models/operations/getteamsresponse.md new file mode 100644 index 000000000..990639571 --- /dev/null +++ b/docs/models/operations/getteamsresponse.md @@ -0,0 +1,9 @@ +# GetTeamsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTeamsResponseBody](../../models/operations/getteamsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getteamsresponsebody.md b/docs/models/operations/getteamsresponsebody.md new file mode 100644 index 000000000..f699e2199 --- /dev/null +++ b/docs/models/operations/getteamsresponsebody.md @@ -0,0 +1,11 @@ +# GetTeamsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTeamOutput](../../models/components/unifiedteamoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettemplaterequest.md b/docs/models/operations/gettemplaterequest.md new file mode 100644 index 000000000..cee23488e --- /dev/null +++ b/docs/models/operations/gettemplaterequest.md @@ -0,0 +1,9 @@ +# GetTemplateRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the template you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/gettemplateresponse.md b/docs/models/operations/gettemplateresponse.md new file mode 100644 index 000000000..58ae2dd87 --- /dev/null +++ b/docs/models/operations/gettemplateresponse.md @@ -0,0 +1,9 @@ +# GetTemplateResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTemplateResponseBody](../../models/operations/gettemplateresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettemplateresponsebody.md b/docs/models/operations/gettemplateresponsebody.md new file mode 100644 index 000000000..8cfdf8b67 --- /dev/null +++ b/docs/models/operations/gettemplateresponsebody.md @@ -0,0 +1,11 @@ +# GetTemplateResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTemplateOutput](../../models/components/unifiedtemplateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettemplatesrequest.md b/docs/models/operations/gettemplatesrequest.md new file mode 100644 index 000000000..3eec4e4ae --- /dev/null +++ b/docs/models/operations/gettemplatesrequest.md @@ -0,0 +1,9 @@ +# GetTemplatesRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Marketingautomation software. | \ No newline at end of file diff --git a/docs/models/operations/gettemplatesresponse.md b/docs/models/operations/gettemplatesresponse.md new file mode 100644 index 000000000..0a98e184a --- /dev/null +++ b/docs/models/operations/gettemplatesresponse.md @@ -0,0 +1,9 @@ +# GetTemplatesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTemplatesResponseBody](../../models/operations/gettemplatesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettemplatesresponsebody.md b/docs/models/operations/gettemplatesresponsebody.md new file mode 100644 index 000000000..ffdcabe46 --- /dev/null +++ b/docs/models/operations/gettemplatesresponsebody.md @@ -0,0 +1,11 @@ +# GetTemplatesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTemplateOutput](../../models/components/unifiedtemplateoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingaccountrequest.md b/docs/models/operations/getticketingaccountrequest.md new file mode 100644 index 000000000..2a96b6461 --- /dev/null +++ b/docs/models/operations/getticketingaccountrequest.md @@ -0,0 +1,9 @@ +# GetTicketingAccountRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the account you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | \ No newline at end of file diff --git a/docs/models/operations/getticketingaccountresponse.md b/docs/models/operations/getticketingaccountresponse.md new file mode 100644 index 000000000..209075263 --- /dev/null +++ b/docs/models/operations/getticketingaccountresponse.md @@ -0,0 +1,9 @@ +# GetTicketingAccountResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTicketingAccountResponseBody](../../models/operations/getticketingaccountresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingaccountresponsebody.md b/docs/models/operations/getticketingaccountresponsebody.md new file mode 100644 index 000000000..fce3853d1 --- /dev/null +++ b/docs/models/operations/getticketingaccountresponsebody.md @@ -0,0 +1,11 @@ +# GetTicketingAccountResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAccountOutput](../../models/components/unifiedaccountoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingaccountsrequest.md b/docs/models/operations/getticketingaccountsrequest.md new file mode 100644 index 000000000..4befb0dbc --- /dev/null +++ b/docs/models/operations/getticketingaccountsrequest.md @@ -0,0 +1,11 @@ +# GetTicketingAccountsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getticketingaccountsresponse.md b/docs/models/operations/getticketingaccountsresponse.md new file mode 100644 index 000000000..3ec55f8b3 --- /dev/null +++ b/docs/models/operations/getticketingaccountsresponse.md @@ -0,0 +1,9 @@ +# GetTicketingAccountsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTicketingAccountsResponseBody](../../models/operations/getticketingaccountsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingaccountsresponsebody.md b/docs/models/operations/getticketingaccountsresponsebody.md new file mode 100644 index 000000000..59d1d7b7e --- /dev/null +++ b/docs/models/operations/getticketingaccountsresponsebody.md @@ -0,0 +1,11 @@ +# GetTicketingAccountsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAccountOutput](../../models/components/unifiedaccountoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingattachmentrequest.md b/docs/models/operations/getticketingattachmentrequest.md new file mode 100644 index 000000000..2bc3a0c8f --- /dev/null +++ b/docs/models/operations/getticketingattachmentrequest.md @@ -0,0 +1,9 @@ +# GetTicketingAttachmentRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the attachment you want to retrive. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | \ No newline at end of file diff --git a/docs/models/operations/getticketingattachmentresponse.md b/docs/models/operations/getticketingattachmentresponse.md new file mode 100644 index 000000000..8eb2cac31 --- /dev/null +++ b/docs/models/operations/getticketingattachmentresponse.md @@ -0,0 +1,9 @@ +# GetTicketingAttachmentResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTicketingAttachmentResponseBody](../../models/operations/getticketingattachmentresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingattachmentresponsebody.md b/docs/models/operations/getticketingattachmentresponsebody.md new file mode 100644 index 000000000..38ba34470 --- /dev/null +++ b/docs/models/operations/getticketingattachmentresponsebody.md @@ -0,0 +1,11 @@ +# GetTicketingAttachmentResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingattachmentsrequest.md b/docs/models/operations/getticketingattachmentsrequest.md new file mode 100644 index 000000000..38a8b11ae --- /dev/null +++ b/docs/models/operations/getticketingattachmentsrequest.md @@ -0,0 +1,11 @@ +# GetTicketingAttachmentsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getticketingattachmentsresponse.md b/docs/models/operations/getticketingattachmentsresponse.md new file mode 100644 index 000000000..0f72973c0 --- /dev/null +++ b/docs/models/operations/getticketingattachmentsresponse.md @@ -0,0 +1,9 @@ +# GetTicketingAttachmentsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTicketingAttachmentsResponseBody](../../models/operations/getticketingattachmentsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingattachmentsresponsebody.md b/docs/models/operations/getticketingattachmentsresponsebody.md new file mode 100644 index 000000000..6808dd159 --- /dev/null +++ b/docs/models/operations/getticketingattachmentsresponsebody.md @@ -0,0 +1,11 @@ +# GetTicketingAttachmentsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedAttachmentOutput](../../models/components/unifiedattachmentoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingcontactrequest.md b/docs/models/operations/getticketingcontactrequest.md new file mode 100644 index 000000000..2ada652e0 --- /dev/null +++ b/docs/models/operations/getticketingcontactrequest.md @@ -0,0 +1,9 @@ +# GetTicketingContactRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the contact you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | \ No newline at end of file diff --git a/docs/models/operations/getticketingcontactresponse.md b/docs/models/operations/getticketingcontactresponse.md new file mode 100644 index 000000000..23370e527 --- /dev/null +++ b/docs/models/operations/getticketingcontactresponse.md @@ -0,0 +1,9 @@ +# GetTicketingContactResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTicketingContactResponseBody](../../models/operations/getticketingcontactresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingcontactresponsebody.md b/docs/models/operations/getticketingcontactresponsebody.md new file mode 100644 index 000000000..de64fa7fe --- /dev/null +++ b/docs/models/operations/getticketingcontactresponsebody.md @@ -0,0 +1,11 @@ +# GetTicketingContactResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingcontactsrequest.md b/docs/models/operations/getticketingcontactsrequest.md new file mode 100644 index 000000000..726cede37 --- /dev/null +++ b/docs/models/operations/getticketingcontactsrequest.md @@ -0,0 +1,11 @@ +# GetTicketingContactsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getticketingcontactsresponse.md b/docs/models/operations/getticketingcontactsresponse.md new file mode 100644 index 000000000..a7aed8fee --- /dev/null +++ b/docs/models/operations/getticketingcontactsresponse.md @@ -0,0 +1,9 @@ +# GetTicketingContactsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTicketingContactsResponseBody](../../models/operations/getticketingcontactsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingcontactsresponsebody.md b/docs/models/operations/getticketingcontactsresponsebody.md new file mode 100644 index 000000000..b2d17d125 --- /dev/null +++ b/docs/models/operations/getticketingcontactsresponsebody.md @@ -0,0 +1,11 @@ +# GetTicketingContactsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingtagrequest.md b/docs/models/operations/getticketingtagrequest.md new file mode 100644 index 000000000..1501572dc --- /dev/null +++ b/docs/models/operations/getticketingtagrequest.md @@ -0,0 +1,9 @@ +# GetTicketingTagRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the tag you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | \ No newline at end of file diff --git a/docs/models/operations/getticketingtagresponse.md b/docs/models/operations/getticketingtagresponse.md new file mode 100644 index 000000000..5720e6600 --- /dev/null +++ b/docs/models/operations/getticketingtagresponse.md @@ -0,0 +1,9 @@ +# GetTicketingTagResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTicketingTagResponseBody](../../models/operations/getticketingtagresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingtagresponsebody.md b/docs/models/operations/getticketingtagresponsebody.md new file mode 100644 index 000000000..8631e862d --- /dev/null +++ b/docs/models/operations/getticketingtagresponsebody.md @@ -0,0 +1,11 @@ +# GetTicketingTagResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTagOutput](../../models/components/unifiedtagoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingtagsrequest.md b/docs/models/operations/getticketingtagsrequest.md new file mode 100644 index 000000000..474e1a803 --- /dev/null +++ b/docs/models/operations/getticketingtagsrequest.md @@ -0,0 +1,11 @@ +# GetTicketingTagsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getticketingtagsresponse.md b/docs/models/operations/getticketingtagsresponse.md new file mode 100644 index 000000000..42dc5c7c9 --- /dev/null +++ b/docs/models/operations/getticketingtagsresponse.md @@ -0,0 +1,9 @@ +# GetTicketingTagsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTicketingTagsResponseBody](../../models/operations/getticketingtagsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingtagsresponsebody.md b/docs/models/operations/getticketingtagsresponsebody.md new file mode 100644 index 000000000..ab780e330 --- /dev/null +++ b/docs/models/operations/getticketingtagsresponsebody.md @@ -0,0 +1,11 @@ +# GetTicketingTagsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTagOutput](../../models/components/unifiedtagoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketinguserrequest.md b/docs/models/operations/getticketinguserrequest.md new file mode 100644 index 000000000..956a65ef4 --- /dev/null +++ b/docs/models/operations/getticketinguserrequest.md @@ -0,0 +1,9 @@ +# GetTicketingUserRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the user you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | \ No newline at end of file diff --git a/docs/models/operations/getticketinguserresponse.md b/docs/models/operations/getticketinguserresponse.md new file mode 100644 index 000000000..3759b5aa4 --- /dev/null +++ b/docs/models/operations/getticketinguserresponse.md @@ -0,0 +1,9 @@ +# GetTicketingUserResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTicketingUserResponseBody](../../models/operations/getticketinguserresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketinguserresponsebody.md b/docs/models/operations/getticketinguserresponsebody.md new file mode 100644 index 000000000..34b155be0 --- /dev/null +++ b/docs/models/operations/getticketinguserresponsebody.md @@ -0,0 +1,11 @@ +# GetTicketingUserResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingusersrequest.md b/docs/models/operations/getticketingusersrequest.md new file mode 100644 index 000000000..47b0d79e6 --- /dev/null +++ b/docs/models/operations/getticketingusersrequest.md @@ -0,0 +1,11 @@ +# GetTicketingUsersRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getticketingusersresponse.md b/docs/models/operations/getticketingusersresponse.md new file mode 100644 index 000000000..c6a8f35ef --- /dev/null +++ b/docs/models/operations/getticketingusersresponse.md @@ -0,0 +1,9 @@ +# GetTicketingUsersResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTicketingUsersResponseBody](../../models/operations/getticketingusersresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketingusersresponsebody.md b/docs/models/operations/getticketingusersresponsebody.md new file mode 100644 index 000000000..d64327091 --- /dev/null +++ b/docs/models/operations/getticketingusersresponsebody.md @@ -0,0 +1,11 @@ +# GetTicketingUsersResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedUserOutput](../../models/components/unifieduseroutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketrequest.md b/docs/models/operations/getticketrequest.md new file mode 100644 index 000000000..ae272103f --- /dev/null +++ b/docs/models/operations/getticketrequest.md @@ -0,0 +1,9 @@ +# GetTicketRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | id of the `ticket` you want to retrive. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Ticketing software. | \ No newline at end of file diff --git a/docs/models/operations/getticketresponse.md b/docs/models/operations/getticketresponse.md new file mode 100644 index 000000000..449699182 --- /dev/null +++ b/docs/models/operations/getticketresponse.md @@ -0,0 +1,9 @@ +# GetTicketResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTicketResponseBody](../../models/operations/getticketresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketresponsebody.md b/docs/models/operations/getticketresponsebody.md new file mode 100644 index 000000000..dee0d39e3 --- /dev/null +++ b/docs/models/operations/getticketresponsebody.md @@ -0,0 +1,11 @@ +# GetTicketResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTicketOutput](../../models/components/unifiedticketoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketsrequest.md b/docs/models/operations/getticketsrequest.md new file mode 100644 index 000000000..65ee004e4 --- /dev/null +++ b/docs/models/operations/getticketsrequest.md @@ -0,0 +1,11 @@ +# GetTicketsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original software. | +| `pageSize` | *number* | :heavy_minus_sign: | Set to get the number of records. | +| `cursor` | *string* | :heavy_minus_sign: | Set to get the number of records after this cursor. | \ No newline at end of file diff --git a/docs/models/operations/getticketsresponse.md b/docs/models/operations/getticketsresponse.md new file mode 100644 index 000000000..d1b4fe0cd --- /dev/null +++ b/docs/models/operations/getticketsresponse.md @@ -0,0 +1,9 @@ +# GetTicketsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTicketsResponseBody](../../models/operations/getticketsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getticketsresponsebody.md b/docs/models/operations/getticketsresponsebody.md new file mode 100644 index 000000000..987e97a1c --- /dev/null +++ b/docs/models/operations/getticketsresponsebody.md @@ -0,0 +1,11 @@ +# GetTicketsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTicketOutput](../../models/components/unifiedticketoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettimeoffbalancerequest.md b/docs/models/operations/gettimeoffbalancerequest.md new file mode 100644 index 000000000..40dbed06b --- /dev/null +++ b/docs/models/operations/gettimeoffbalancerequest.md @@ -0,0 +1,9 @@ +# GetTimeoffBalanceRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the timeoffbalance you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/gettimeoffbalanceresponse.md b/docs/models/operations/gettimeoffbalanceresponse.md new file mode 100644 index 000000000..283d0d949 --- /dev/null +++ b/docs/models/operations/gettimeoffbalanceresponse.md @@ -0,0 +1,9 @@ +# GetTimeoffBalanceResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTimeoffBalanceResponseBody](../../models/operations/gettimeoffbalanceresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettimeoffbalanceresponsebody.md b/docs/models/operations/gettimeoffbalanceresponsebody.md new file mode 100644 index 000000000..5e110f1da --- /dev/null +++ b/docs/models/operations/gettimeoffbalanceresponsebody.md @@ -0,0 +1,11 @@ +# GetTimeoffBalanceResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTimeoffBalanceOutput](../../models/components/unifiedtimeoffbalanceoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettimeoffbalancesrequest.md b/docs/models/operations/gettimeoffbalancesrequest.md new file mode 100644 index 000000000..9cacff5a5 --- /dev/null +++ b/docs/models/operations/gettimeoffbalancesrequest.md @@ -0,0 +1,9 @@ +# GetTimeoffBalancesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/gettimeoffbalancesresponse.md b/docs/models/operations/gettimeoffbalancesresponse.md new file mode 100644 index 000000000..2583d78a4 --- /dev/null +++ b/docs/models/operations/gettimeoffbalancesresponse.md @@ -0,0 +1,9 @@ +# GetTimeoffBalancesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTimeoffBalancesResponseBody](../../models/operations/gettimeoffbalancesresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettimeoffbalancesresponsebody.md b/docs/models/operations/gettimeoffbalancesresponsebody.md new file mode 100644 index 000000000..5806f6b01 --- /dev/null +++ b/docs/models/operations/gettimeoffbalancesresponsebody.md @@ -0,0 +1,11 @@ +# GetTimeoffBalancesResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTimeoffBalanceOutput](../../models/components/unifiedtimeoffbalanceoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettimeoffrequest.md b/docs/models/operations/gettimeoffrequest.md new file mode 100644 index 000000000..b1293d6f3 --- /dev/null +++ b/docs/models/operations/gettimeoffrequest.md @@ -0,0 +1,9 @@ +# GetTimeoffRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the timeoff you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/gettimeoffresponse.md b/docs/models/operations/gettimeoffresponse.md new file mode 100644 index 000000000..e87487c40 --- /dev/null +++ b/docs/models/operations/gettimeoffresponse.md @@ -0,0 +1,9 @@ +# GetTimeoffResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTimeoffResponseBody](../../models/operations/gettimeoffresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettimeoffresponsebody.md b/docs/models/operations/gettimeoffresponsebody.md new file mode 100644 index 000000000..23e3c7f07 --- /dev/null +++ b/docs/models/operations/gettimeoffresponsebody.md @@ -0,0 +1,11 @@ +# GetTimeoffResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTimeoffOutput](../../models/components/unifiedtimeoffoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettimeoffsrequest.md b/docs/models/operations/gettimeoffsrequest.md new file mode 100644 index 000000000..cbb1f924d --- /dev/null +++ b/docs/models/operations/gettimeoffsrequest.md @@ -0,0 +1,9 @@ +# GetTimeoffsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Hris software. | \ No newline at end of file diff --git a/docs/models/operations/gettimeoffsresponse.md b/docs/models/operations/gettimeoffsresponse.md new file mode 100644 index 000000000..6fd113ff0 --- /dev/null +++ b/docs/models/operations/gettimeoffsresponse.md @@ -0,0 +1,9 @@ +# GetTimeoffsResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTimeoffsResponseBody](../../models/operations/gettimeoffsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettimeoffsresponsebody.md b/docs/models/operations/gettimeoffsresponsebody.md new file mode 100644 index 000000000..4ed862f8d --- /dev/null +++ b/docs/models/operations/gettimeoffsresponsebody.md @@ -0,0 +1,11 @@ +# GetTimeoffsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTimeoffOutput](../../models/components/unifiedtimeoffoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettrackingcategoryrequest.md b/docs/models/operations/gettrackingcategoryrequest.md new file mode 100644 index 000000000..25509e201 --- /dev/null +++ b/docs/models/operations/gettrackingcategoryrequest.md @@ -0,0 +1,9 @@ +# GetTrackingCategoryRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the trackingcategory you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/gettrackingcategoryresponse.md b/docs/models/operations/gettrackingcategoryresponse.md new file mode 100644 index 000000000..7fcd4c4b3 --- /dev/null +++ b/docs/models/operations/gettrackingcategoryresponse.md @@ -0,0 +1,9 @@ +# GetTrackingCategoryResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTrackingCategoryResponseBody](../../models/operations/gettrackingcategoryresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettrackingcategoryresponsebody.md b/docs/models/operations/gettrackingcategoryresponsebody.md new file mode 100644 index 000000000..e99d58edd --- /dev/null +++ b/docs/models/operations/gettrackingcategoryresponsebody.md @@ -0,0 +1,11 @@ +# GetTrackingCategoryResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTrackingCategoryOutput](../../models/components/unifiedtrackingcategoryoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettrackingcategorysrequest.md b/docs/models/operations/gettrackingcategorysrequest.md new file mode 100644 index 000000000..894151d7d --- /dev/null +++ b/docs/models/operations/gettrackingcategorysrequest.md @@ -0,0 +1,9 @@ +# GetTrackingCategorysRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/gettrackingcategorysresponse.md b/docs/models/operations/gettrackingcategorysresponse.md new file mode 100644 index 000000000..e8d5f174f --- /dev/null +++ b/docs/models/operations/gettrackingcategorysresponse.md @@ -0,0 +1,9 @@ +# GetTrackingCategorysResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTrackingCategorysResponseBody](../../models/operations/gettrackingcategorysresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettrackingcategorysresponsebody.md b/docs/models/operations/gettrackingcategorysresponsebody.md new file mode 100644 index 000000000..10f005261 --- /dev/null +++ b/docs/models/operations/gettrackingcategorysresponsebody.md @@ -0,0 +1,11 @@ +# GetTrackingCategorysResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTrackingCategoryOutput](../../models/components/unifiedtrackingcategoryoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettransactionrequest.md b/docs/models/operations/gettransactionrequest.md new file mode 100644 index 000000000..b87fef50f --- /dev/null +++ b/docs/models/operations/gettransactionrequest.md @@ -0,0 +1,9 @@ +# GetTransactionRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the transaction you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/gettransactionresponse.md b/docs/models/operations/gettransactionresponse.md new file mode 100644 index 000000000..0cda8e79c --- /dev/null +++ b/docs/models/operations/gettransactionresponse.md @@ -0,0 +1,9 @@ +# GetTransactionResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTransactionResponseBody](../../models/operations/gettransactionresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettransactionresponsebody.md b/docs/models/operations/gettransactionresponsebody.md new file mode 100644 index 000000000..c0154c9d9 --- /dev/null +++ b/docs/models/operations/gettransactionresponsebody.md @@ -0,0 +1,11 @@ +# GetTransactionResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTransactionOutput](../../models/components/unifiedtransactionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettransactionsrequest.md b/docs/models/operations/gettransactionsrequest.md new file mode 100644 index 000000000..31bd8cd2c --- /dev/null +++ b/docs/models/operations/gettransactionsrequest.md @@ -0,0 +1,9 @@ +# GetTransactionsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/gettransactionsresponse.md b/docs/models/operations/gettransactionsresponse.md new file mode 100644 index 000000000..3fd6cc35b --- /dev/null +++ b/docs/models/operations/gettransactionsresponse.md @@ -0,0 +1,9 @@ +# GetTransactionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetTransactionsResponseBody](../../models/operations/gettransactionsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/gettransactionsresponsebody.md b/docs/models/operations/gettransactionsresponsebody.md new file mode 100644 index 000000000..3268b7ed2 --- /dev/null +++ b/docs/models/operations/gettransactionsresponsebody.md @@ -0,0 +1,11 @@ +# GetTransactionsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTransactionOutput](../../models/components/unifiedtransactionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getvendorcreditrequest.md b/docs/models/operations/getvendorcreditrequest.md new file mode 100644 index 000000000..f2ae7cfe9 --- /dev/null +++ b/docs/models/operations/getvendorcreditrequest.md @@ -0,0 +1,9 @@ +# GetVendorCreditRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | id of the vendorcredit you want to retrieve. | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getvendorcreditresponse.md b/docs/models/operations/getvendorcreditresponse.md new file mode 100644 index 000000000..1ac215638 --- /dev/null +++ b/docs/models/operations/getvendorcreditresponse.md @@ -0,0 +1,9 @@ +# GetVendorCreditResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetVendorCreditResponseBody](../../models/operations/getvendorcreditresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getvendorcreditresponsebody.md b/docs/models/operations/getvendorcreditresponsebody.md new file mode 100644 index 000000000..b16f3aeb5 --- /dev/null +++ b/docs/models/operations/getvendorcreditresponsebody.md @@ -0,0 +1,11 @@ +# GetVendorCreditResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedVendorCreditOutput](../../models/components/unifiedvendorcreditoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getvendorcreditsrequest.md b/docs/models/operations/getvendorcreditsrequest.md new file mode 100644 index 000000000..e1769ece5 --- /dev/null +++ b/docs/models/operations/getvendorcreditsrequest.md @@ -0,0 +1,9 @@ +# GetVendorCreditsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `xConnectionToken` | *string* | :heavy_check_mark: | The connection token | +| `remoteData` | *boolean* | :heavy_minus_sign: | Set to true to include data from the original Accounting software. | \ No newline at end of file diff --git a/docs/models/operations/getvendorcreditsresponse.md b/docs/models/operations/getvendorcreditsresponse.md new file mode 100644 index 000000000..b8bd34ef9 --- /dev/null +++ b/docs/models/operations/getvendorcreditsresponse.md @@ -0,0 +1,9 @@ +# GetVendorCreditsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.GetVendorCreditsResponseBody](../../models/operations/getvendorcreditsresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getvendorcreditsresponsebody.md b/docs/models/operations/getvendorcreditsresponsebody.md new file mode 100644 index 000000000..c8a0ae84c --- /dev/null +++ b/docs/models/operations/getvendorcreditsresponsebody.md @@ -0,0 +1,11 @@ +# GetVendorCreditsResponseBody + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedVendorCreditOutput](../../models/components/unifiedvendorcreditoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getwebhooksmetadataresponse.md b/docs/models/operations/getwebhooksmetadataresponse.md new file mode 100644 index 000000000..627997fdd --- /dev/null +++ b/docs/models/operations/getwebhooksmetadataresponse.md @@ -0,0 +1,8 @@ +# GetWebhooksMetadataResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/handleapikeycallbackrequest.md b/docs/models/operations/handleapikeycallbackrequest.md new file mode 100644 index 000000000..ef0486943 --- /dev/null +++ b/docs/models/operations/handleapikeycallbackrequest.md @@ -0,0 +1,9 @@ +# HandleApiKeyCallbackRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `state` | *string* | :heavy_check_mark: | N/A | +| `bodyDataType` | [components.BodyDataType](../../models/components/bodydatatype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/handleapikeycallbackresponse.md b/docs/models/operations/handleapikeycallbackresponse.md new file mode 100644 index 000000000..edb0311ce --- /dev/null +++ b/docs/models/operations/handleapikeycallbackresponse.md @@ -0,0 +1,8 @@ +# HandleApiKeyCallbackResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/handleoauthcallbackrequest.md b/docs/models/operations/handleoauthcallbackrequest.md new file mode 100644 index 000000000..73b5584a7 --- /dev/null +++ b/docs/models/operations/handleoauthcallbackrequest.md @@ -0,0 +1,9 @@ +# HandleOAuthCallbackRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `code` | *string* | :heavy_check_mark: | N/A | +| `state` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/handleoauthcallbackresponse.md b/docs/models/operations/handleoauthcallbackresponse.md new file mode 100644 index 000000000..aef058893 --- /dev/null +++ b/docs/models/operations/handleoauthcallbackresponse.md @@ -0,0 +1,8 @@ +# HandleOAuthCallbackResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/handlethirdpartywebhookrequest.md b/docs/models/operations/handlethirdpartywebhookrequest.md new file mode 100644 index 000000000..1823fb59f --- /dev/null +++ b/docs/models/operations/handlethirdpartywebhookrequest.md @@ -0,0 +1,8 @@ +# HandleThirdPartyWebhookRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `endpointUuid` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/handlethirdpartywebhookresponse.md b/docs/models/operations/handlethirdpartywebhookresponse.md new file mode 100644 index 000000000..0c5b59dc4 --- /dev/null +++ b/docs/models/operations/handlethirdpartywebhookresponse.md @@ -0,0 +1,8 @@ +# HandleThirdPartyWebhookResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/linkeduserfromremoteidrequest.md b/docs/models/operations/linkeduserfromremoteidrequest.md new file mode 100644 index 000000000..ed9ed8e67 --- /dev/null +++ b/docs/models/operations/linkeduserfromremoteidrequest.md @@ -0,0 +1,8 @@ +# LinkedUserFromRemoteIdRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `remoteId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/linkeduserfromremoteidresponse.md b/docs/models/operations/linkeduserfromremoteidresponse.md new file mode 100644 index 000000000..94a184b41 --- /dev/null +++ b/docs/models/operations/linkeduserfromremoteidresponse.md @@ -0,0 +1,8 @@ +# LinkedUserFromRemoteIdResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/mapfieldresponse.md b/docs/models/operations/mapfieldresponse.md new file mode 100644 index 000000000..7a3accd5e --- /dev/null +++ b/docs/models/operations/mapfieldresponse.md @@ -0,0 +1,8 @@ +# MapFieldResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/passthroughrequestrequest.md b/docs/models/operations/passthroughrequestrequest.md new file mode 100644 index 000000000..9897c522d --- /dev/null +++ b/docs/models/operations/passthroughrequestrequest.md @@ -0,0 +1,11 @@ +# PassthroughRequestRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `linkedUserId` | *string* | :heavy_check_mark: | N/A | +| `vertical` | *string* | :heavy_check_mark: | N/A | +| `passThroughRequestDto` | [components.PassThroughRequestDto](../../models/components/passthroughrequestdto.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/passthroughrequestresponse.md b/docs/models/operations/passthroughrequestresponse.md new file mode 100644 index 000000000..ed45da187 --- /dev/null +++ b/docs/models/operations/passthroughrequestresponse.md @@ -0,0 +1,9 @@ +# PassthroughRequestResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `passThroughResponse` | [components.PassThroughResponse](../../models/components/passthroughresponse.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/refreshaccesstokenresponse.md b/docs/models/operations/refreshaccesstokenresponse.md new file mode 100644 index 000000000..d9a819a37 --- /dev/null +++ b/docs/models/operations/refreshaccesstokenresponse.md @@ -0,0 +1,8 @@ +# RefreshAccessTokenResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/resyncrequest.md b/docs/models/operations/resyncrequest.md new file mode 100644 index 000000000..6fc0e529f --- /dev/null +++ b/docs/models/operations/resyncrequest.md @@ -0,0 +1,8 @@ +# ResyncRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `vertical` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/resyncresponse.md b/docs/models/operations/resyncresponse.md new file mode 100644 index 000000000..a9383bbff --- /dev/null +++ b/docs/models/operations/resyncresponse.md @@ -0,0 +1,8 @@ +# ResyncResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/signinresponse.md b/docs/models/operations/signinresponse.md new file mode 100644 index 000000000..96f1be245 --- /dev/null +++ b/docs/models/operations/signinresponse.md @@ -0,0 +1,8 @@ +# SignInResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/signupresponse.md b/docs/models/operations/signupresponse.md new file mode 100644 index 000000000..9d2454d22 --- /dev/null +++ b/docs/models/operations/signupresponse.md @@ -0,0 +1,8 @@ +# SignUpResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/toggleconnectionstrategyresponse.md b/docs/models/operations/toggleconnectionstrategyresponse.md new file mode 100644 index 000000000..d35eaf7c4 --- /dev/null +++ b/docs/models/operations/toggleconnectionstrategyresponse.md @@ -0,0 +1,8 @@ +# ToggleConnectionStrategyResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatecompanyrequest.md b/docs/models/operations/updatecompanyrequest.md new file mode 100644 index 000000000..a7530d91b --- /dev/null +++ b/docs/models/operations/updatecompanyrequest.md @@ -0,0 +1,8 @@ +# UpdateCompanyRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatecompanyresponse.md b/docs/models/operations/updatecompanyresponse.md new file mode 100644 index 000000000..37dd6e8bb --- /dev/null +++ b/docs/models/operations/updatecompanyresponse.md @@ -0,0 +1,9 @@ +# UpdateCompanyResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.UpdateCompanyResponseBody](../../models/operations/updatecompanyresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatecompanyresponsebody.md b/docs/models/operations/updatecompanyresponsebody.md new file mode 100644 index 000000000..8fefeffc4 --- /dev/null +++ b/docs/models/operations/updatecompanyresponsebody.md @@ -0,0 +1,11 @@ +# UpdateCompanyResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedCompanyOutput](../../models/components/unifiedcompanyoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateconnectionstrategyresponse.md b/docs/models/operations/updateconnectionstrategyresponse.md new file mode 100644 index 000000000..f8c4203ff --- /dev/null +++ b/docs/models/operations/updateconnectionstrategyresponse.md @@ -0,0 +1,8 @@ +# UpdateConnectionStrategyResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateconnectorstoprojectresponse.md b/docs/models/operations/updateconnectorstoprojectresponse.md new file mode 100644 index 000000000..ed1de505a --- /dev/null +++ b/docs/models/operations/updateconnectorstoprojectresponse.md @@ -0,0 +1,8 @@ +# UpdateConnectorsToProjectResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatecontactrequest.md b/docs/models/operations/updatecontactrequest.md new file mode 100644 index 000000000..e295a32d9 --- /dev/null +++ b/docs/models/operations/updatecontactrequest.md @@ -0,0 +1,8 @@ +# UpdateContactRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatecontactresponse.md b/docs/models/operations/updatecontactresponse.md new file mode 100644 index 000000000..1d08dfc5e --- /dev/null +++ b/docs/models/operations/updatecontactresponse.md @@ -0,0 +1,9 @@ +# UpdateContactResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `unifiedContactOutput` | [components.UnifiedContactOutput](../../models/components/unifiedcontactoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatedealrequest.md b/docs/models/operations/updatedealrequest.md new file mode 100644 index 000000000..234e3336b --- /dev/null +++ b/docs/models/operations/updatedealrequest.md @@ -0,0 +1,8 @@ +# UpdateDealRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatedealresponse.md b/docs/models/operations/updatedealresponse.md new file mode 100644 index 000000000..092833d62 --- /dev/null +++ b/docs/models/operations/updatedealresponse.md @@ -0,0 +1,9 @@ +# UpdateDealResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.UpdateDealResponseBody](../../models/operations/updatedealresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatedealresponsebody.md b/docs/models/operations/updatedealresponsebody.md new file mode 100644 index 000000000..9b10a452c --- /dev/null +++ b/docs/models/operations/updatedealresponsebody.md @@ -0,0 +1,11 @@ +# UpdateDealResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedDealOutput](../../models/components/unifieddealoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateengagementrequest.md b/docs/models/operations/updateengagementrequest.md new file mode 100644 index 000000000..b24614652 --- /dev/null +++ b/docs/models/operations/updateengagementrequest.md @@ -0,0 +1,8 @@ +# UpdateEngagementRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateengagementresponse.md b/docs/models/operations/updateengagementresponse.md new file mode 100644 index 000000000..c175a1933 --- /dev/null +++ b/docs/models/operations/updateengagementresponse.md @@ -0,0 +1,9 @@ +# UpdateEngagementResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.UpdateEngagementResponseBody](../../models/operations/updateengagementresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateengagementresponsebody.md b/docs/models/operations/updateengagementresponsebody.md new file mode 100644 index 000000000..3b8c5c6b3 --- /dev/null +++ b/docs/models/operations/updateengagementresponsebody.md @@ -0,0 +1,11 @@ +# UpdateEngagementResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedEngagementOutput](../../models/components/unifiedengagementoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatemanagedwebhooksstatusrequest.md b/docs/models/operations/updatemanagedwebhooksstatusrequest.md new file mode 100644 index 000000000..34fab0543 --- /dev/null +++ b/docs/models/operations/updatemanagedwebhooksstatusrequest.md @@ -0,0 +1,8 @@ +# UpdateManagedWebhooksStatusRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `idConnection` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatemanagedwebhooksstatusresponse.md b/docs/models/operations/updatemanagedwebhooksstatusresponse.md new file mode 100644 index 000000000..072b6425e --- /dev/null +++ b/docs/models/operations/updatemanagedwebhooksstatusresponse.md @@ -0,0 +1,8 @@ +# UpdateManagedWebhooksStatusResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatepermissionrequest.md b/docs/models/operations/updatepermissionrequest.md new file mode 100644 index 000000000..7eb4135cb --- /dev/null +++ b/docs/models/operations/updatepermissionrequest.md @@ -0,0 +1,8 @@ +# UpdatePermissionRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatepermissionresponse.md b/docs/models/operations/updatepermissionresponse.md new file mode 100644 index 000000000..0e0c71528 --- /dev/null +++ b/docs/models/operations/updatepermissionresponse.md @@ -0,0 +1,9 @@ +# UpdatePermissionResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.UpdatePermissionResponseBody](../../models/operations/updatepermissionresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatepermissionresponsebody.md b/docs/models/operations/updatepermissionresponsebody.md new file mode 100644 index 000000000..50fe48960 --- /dev/null +++ b/docs/models/operations/updatepermissionresponsebody.md @@ -0,0 +1,11 @@ +# UpdatePermissionResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedPermissionOutput](../../models/components/unifiedpermissionoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatetaskrequest.md b/docs/models/operations/updatetaskrequest.md new file mode 100644 index 000000000..58d0ba686 --- /dev/null +++ b/docs/models/operations/updatetaskrequest.md @@ -0,0 +1,8 @@ +# UpdateTaskRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatetaskresponse.md b/docs/models/operations/updatetaskresponse.md new file mode 100644 index 000000000..b57c8f11c --- /dev/null +++ b/docs/models/operations/updatetaskresponse.md @@ -0,0 +1,9 @@ +# UpdateTaskResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.UpdateTaskResponseBody](../../models/operations/updatetaskresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatetaskresponsebody.md b/docs/models/operations/updatetaskresponsebody.md new file mode 100644 index 000000000..ec134f067 --- /dev/null +++ b/docs/models/operations/updatetaskresponsebody.md @@ -0,0 +1,11 @@ +# UpdateTaskResponseBody + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `error` | *string* | :heavy_minus_sign: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `data` | [components.UnifiedTaskOutput](../../models/components/unifiedtaskoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateticketrequest.md b/docs/models/operations/updateticketrequest.md new file mode 100644 index 000000000..aac1c36b1 --- /dev/null +++ b/docs/models/operations/updateticketrequest.md @@ -0,0 +1,8 @@ +# UpdateTicketRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateticketresponse.md b/docs/models/operations/updateticketresponse.md new file mode 100644 index 000000000..cc6f6c14c --- /dev/null +++ b/docs/models/operations/updateticketresponse.md @@ -0,0 +1,9 @@ +# UpdateTicketResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `unifiedTicketOutput` | [components.UnifiedTicketOutput](../../models/components/unifiedticketoutput.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatewebhookstatusrequest.md b/docs/models/operations/updatewebhookstatusrequest.md new file mode 100644 index 000000000..e7d080909 --- /dev/null +++ b/docs/models/operations/updatewebhookstatusrequest.md @@ -0,0 +1,8 @@ +# UpdateWebhookStatusRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updatewebhookstatusresponse.md b/docs/models/operations/updatewebhookstatusresponse.md new file mode 100644 index 000000000..b0c8b386b --- /dev/null +++ b/docs/models/operations/updatewebhookstatusresponse.md @@ -0,0 +1,8 @@ +# UpdateWebhookStatusResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/verifyeventresponse.md b/docs/models/operations/verifyeventresponse.md new file mode 100644 index 000000000..54e21f770 --- /dev/null +++ b/docs/models/operations/verifyeventresponse.md @@ -0,0 +1,8 @@ +# VerifyEventResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/jsr.json b/jsr.json new file mode 100644 index 000000000..74d83f511 --- /dev/null +++ b/jsr.json @@ -0,0 +1,27 @@ + + +{ + "name": "openapi", + "version": "0.0.1", + "exports": { + ".": "./src/index.ts", + "./models/errors": "./src/models/errors/index.ts", + "./models/components": "./src/models/components/index.ts", + "./models/operations": "./src/models/operations/index.ts", + "./lib/config": "./src/lib/config.ts", + "./lib/http": "./src/lib/http.ts", + "./lib/retries": "./src/lib/retries.ts", + "./lib/sdks": "./src/lib/sdks.ts", + "./types": "./src/types/index.ts" + }, + "publish": { + "include": [ + "LICENSE", + "README.md", + "RUNTIMES.md", + "USAGE.md", + "jsr.json", + "src/**/*.ts" + ] + } +} diff --git a/package-lock.json b/package-lock.json index 2c843eedf..661b59d24 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,25 +1,24 @@ { - "name": "Panora", - "version": "1.0.0", + "name": "openapi", + "version": "0.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "Panora", - "version": "1.0.0", - "license": "ISC", - "dependencies": { - "@changesets/cli": "^2.26.2", - "gitmoji-cli": "^9.0.0", - "turbo": "^1.10.16" - }, + "name": "openapi", + "version": "0.0.1", "devDependencies": { - "eslint": "^8.52.0", - "husky": "^8.0.0", - "lint-staged": "^15.0.2" + "@types/jsonpath": "^0.2.4", + "@typescript-eslint/eslint-plugin": "^7.7.1", + "@typescript-eslint/parser": "^7.7.1", + "eslint": "^8.57.0", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.1", + "typescript": "^5.4.5", + "zod": "^3.23.4" }, - "engines": { - "node": ">=16.14.2" + "peerDependencies": { + "zod": ">= 3" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -31,261 +30,6 @@ "node": ">=0.10.0" } }, - "node_modules/@babel/code-frame": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", - "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", - "dependencies": { - "@babel/highlight": "^7.23.4", - "chalk": "^2.4.2" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", - "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", - "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/runtime": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.5.tgz", - "integrity": "sha512-NdUTHcPe4C99WxPub+K9l9tK5/lV4UXIoaHSYgzco9BCyjKAAwzdBI+wWtYqHt7LJdbo74ZjRPJgzVweq1sz0w==", - "dependencies": { - "regenerator-runtime": "^0.14.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@changesets/apply-release-plan": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@changesets/apply-release-plan/-/apply-release-plan-7.0.0.tgz", - "integrity": "sha512-vfi69JR416qC9hWmFGSxj7N6wA5J222XNBmezSVATPWDVPIF7gkd4d8CpbEbXmRWbVrkoli3oerGS6dcL/BGsQ==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@changesets/config": "^3.0.0", - "@changesets/get-version-range-type": "^0.4.0", - "@changesets/git": "^3.0.0", - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3", - "detect-indent": "^6.0.0", - "fs-extra": "^7.0.1", - "lodash.startcase": "^4.4.0", - "outdent": "^0.5.0", - "prettier": "^2.7.1", - "resolve-from": "^5.0.0", - "semver": "^7.5.3" - } - }, - "node_modules/@changesets/assemble-release-plan": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@changesets/assemble-release-plan/-/assemble-release-plan-6.0.0.tgz", - "integrity": "sha512-4QG7NuisAjisbW4hkLCmGW2lRYdPrKzro+fCtZaILX+3zdUELSvYjpL4GTv0E4aM9Mef3PuIQp89VmHJ4y2bfw==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@changesets/errors": "^0.2.0", - "@changesets/get-dependents-graph": "^2.0.0", - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3", - "semver": "^7.5.3" - } - }, - "node_modules/@changesets/changelog-git": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@changesets/changelog-git/-/changelog-git-0.2.0.tgz", - "integrity": "sha512-bHOx97iFI4OClIT35Lok3sJAwM31VbUM++gnMBV16fdbtBhgYu4dxsphBF/0AZZsyAHMrnM0yFcj5gZM1py6uQ==", - "dependencies": { - "@changesets/types": "^6.0.0" - } - }, - "node_modules/@changesets/cli": { - "version": "2.27.1", - "resolved": "https://registry.npmjs.org/@changesets/cli/-/cli-2.27.1.tgz", - "integrity": "sha512-iJ91xlvRnnrJnELTp4eJJEOPjgpF3NOh4qeQehM6Ugiz9gJPRZ2t+TsXun6E3AMN4hScZKjqVXl0TX+C7AB3ZQ==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@changesets/apply-release-plan": "^7.0.0", - "@changesets/assemble-release-plan": "^6.0.0", - "@changesets/changelog-git": "^0.2.0", - "@changesets/config": "^3.0.0", - "@changesets/errors": "^0.2.0", - "@changesets/get-dependents-graph": "^2.0.0", - "@changesets/get-release-plan": "^4.0.0", - "@changesets/git": "^3.0.0", - "@changesets/logger": "^0.1.0", - "@changesets/pre": "^2.0.0", - "@changesets/read": "^0.6.0", - "@changesets/types": "^6.0.0", - "@changesets/write": "^0.3.0", - "@manypkg/get-packages": "^1.1.3", - "@types/semver": "^7.5.0", - "ansi-colors": "^4.1.3", - "chalk": "^2.1.0", - "ci-info": "^3.7.0", - "enquirer": "^2.3.0", - "external-editor": "^3.1.0", - "fs-extra": "^7.0.1", - "human-id": "^1.0.2", - "meow": "^6.0.0", - "outdent": "^0.5.0", - "p-limit": "^2.2.0", - "preferred-pm": "^3.0.0", - "resolve-from": "^5.0.0", - "semver": "^7.5.3", - "spawndamnit": "^2.0.0", - "term-size": "^2.1.0", - "tty-table": "^4.1.5" - }, - "bin": { - "changeset": "bin.js" - } - }, - "node_modules/@changesets/config": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@changesets/config/-/config-3.0.0.tgz", - "integrity": "sha512-o/rwLNnAo/+j9Yvw9mkBQOZySDYyOr/q+wptRLcAVGlU6djOeP9v1nlalbL9MFsobuBVQbZCTp+dIzdq+CLQUA==", - "dependencies": { - "@changesets/errors": "^0.2.0", - "@changesets/get-dependents-graph": "^2.0.0", - "@changesets/logger": "^0.1.0", - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3", - "fs-extra": "^7.0.1", - "micromatch": "^4.0.2" - } - }, - "node_modules/@changesets/errors": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@changesets/errors/-/errors-0.2.0.tgz", - "integrity": "sha512-6BLOQUscTpZeGljvyQXlWOItQyU71kCdGz7Pi8H8zdw6BI0g3m43iL4xKUVPWtG+qrrL9DTjpdn8eYuCQSRpow==", - "dependencies": { - "extendable-error": "^0.1.5" - } - }, - "node_modules/@changesets/get-dependents-graph": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@changesets/get-dependents-graph/-/get-dependents-graph-2.0.0.tgz", - "integrity": "sha512-cafUXponivK4vBgZ3yLu944mTvam06XEn2IZGjjKc0antpenkYANXiiE6GExV/yKdsCnE8dXVZ25yGqLYZmScA==", - "dependencies": { - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3", - "chalk": "^2.1.0", - "fs-extra": "^7.0.1", - "semver": "^7.5.3" - } - }, - "node_modules/@changesets/get-release-plan": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@changesets/get-release-plan/-/get-release-plan-4.0.0.tgz", - "integrity": "sha512-9L9xCUeD/Tb6L/oKmpm8nyzsOzhdNBBbt/ZNcjynbHC07WW4E1eX8NMGC5g5SbM5z/V+MOrYsJ4lRW41GCbg3w==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@changesets/assemble-release-plan": "^6.0.0", - "@changesets/config": "^3.0.0", - "@changesets/pre": "^2.0.0", - "@changesets/read": "^0.6.0", - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3" - } - }, - "node_modules/@changesets/get-version-range-type": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@changesets/get-version-range-type/-/get-version-range-type-0.4.0.tgz", - "integrity": "sha512-hwawtob9DryoGTpixy1D3ZXbGgJu1Rhr+ySH2PvTLHvkZuQ7sRT4oQwMh0hbqZH1weAooedEjRsbrWcGLCeyVQ==" - }, - "node_modules/@changesets/git": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@changesets/git/-/git-3.0.0.tgz", - "integrity": "sha512-vvhnZDHe2eiBNRFHEgMiGd2CT+164dfYyrJDhwwxTVD/OW0FUD6G7+4DIx1dNwkwjHyzisxGAU96q0sVNBns0w==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@changesets/errors": "^0.2.0", - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3", - "is-subdir": "^1.1.1", - "micromatch": "^4.0.2", - "spawndamnit": "^2.0.0" - } - }, - "node_modules/@changesets/logger": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@changesets/logger/-/logger-0.1.0.tgz", - "integrity": "sha512-pBrJm4CQm9VqFVwWnSqKEfsS2ESnwqwH+xR7jETxIErZcfd1u2zBSqrHbRHR7xjhSgep9x2PSKFKY//FAshA3g==", - "dependencies": { - "chalk": "^2.1.0" - } - }, - "node_modules/@changesets/parse": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@changesets/parse/-/parse-0.4.0.tgz", - "integrity": "sha512-TS/9KG2CdGXS27S+QxbZXgr8uPsP4yNJYb4BC2/NeFUj80Rni3TeD2qwWmabymxmrLo7JEsytXH1FbpKTbvivw==", - "dependencies": { - "@changesets/types": "^6.0.0", - "js-yaml": "^3.13.1" - } - }, - "node_modules/@changesets/pre": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@changesets/pre/-/pre-2.0.0.tgz", - "integrity": "sha512-HLTNYX/A4jZxc+Sq8D1AMBsv+1qD6rmmJtjsCJa/9MSRybdxh0mjbTvE6JYZQ/ZiQ0mMlDOlGPXTm9KLTU3jyw==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@changesets/errors": "^0.2.0", - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3", - "fs-extra": "^7.0.1" - } - }, - "node_modules/@changesets/read": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@changesets/read/-/read-0.6.0.tgz", - "integrity": "sha512-ZypqX8+/im1Fm98K4YcZtmLKgjs1kDQ5zHpc2U1qdtNBmZZfo/IBiG162RoP0CUF05tvp2y4IspH11PLnPxuuw==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@changesets/git": "^3.0.0", - "@changesets/logger": "^0.1.0", - "@changesets/parse": "^0.4.0", - "@changesets/types": "^6.0.0", - "chalk": "^2.1.0", - "fs-extra": "^7.0.1", - "p-filter": "^2.1.0" - } - }, - "node_modules/@changesets/types": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@changesets/types/-/types-6.0.0.tgz", - "integrity": "sha512-b1UkfNulgKoWfqyHtzKS5fOZYSJO+77adgL7DLRDr+/7jhChN+QcHnbjiQVOz/U+Ts3PGNySq7diAItzDgugfQ==" - }, - "node_modules/@changesets/write": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@changesets/write/-/write-0.3.0.tgz", - "integrity": "sha512-slGLb21fxZVUYbyea+94uFiD6ntQW0M2hIKNznFizDhZPDgn2c/fv1UzzlW43RVzh1BEDuIqW6hzlJ1OflNmcw==", - "dependencies": { - "@babel/runtime": "^7.20.1", - "@changesets/types": "^6.0.0", - "fs-extra": "^7.0.1", - "human-id": "^1.0.2", - "prettier": "^2.7.1" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -352,22 +96,23 @@ } }, "node_modules/@eslint/js": { - "version": "8.55.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.55.0.tgz", - "integrity": "sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", + "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.13", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", - "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "deprecated": "Use @eslint/config-array instead", "dev": true, "dependencies": { - "@humanwhocodes/object-schema": "^2.0.1", - "debug": "^4.1.1", + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", "minimatch": "^3.0.5" }, "engines": { @@ -388,81 +133,17 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", - "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", "dev": true }, - "node_modules/@ljharb/through": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.11.tgz", - "integrity": "sha512-ccfcIDlogiXNq5KcbAwbaO7lMh3Tm1i3khMPYpxlK8hH/W53zN81KM9coerRLOnTGu3nfXIniAmQbRI9OxbC0w==", - "dependencies": { - "call-bind": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/@manypkg/find-root": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@manypkg/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==", - "dependencies": { - "@babel/runtime": "^7.5.5", - "@types/node": "^12.7.1", - "find-up": "^4.1.0", - "fs-extra": "^8.1.0" - } - }, - "node_modules/@manypkg/find-root/node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/@manypkg/get-packages": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@manypkg/get-packages/-/get-packages-1.1.3.tgz", - "integrity": "sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==", - "dependencies": { - "@babel/runtime": "^7.5.5", - "@changesets/types": "^4.0.1", - "@manypkg/find-root": "^1.1.0", - "fs-extra": "^8.1.0", - "globby": "^11.0.0", - "read-yaml-file": "^1.1.0" - } - }, - "node_modules/@manypkg/get-packages/node_modules/@changesets/types": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@changesets/types/-/types-4.1.0.tgz", - "integrity": "sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==" - }, - "node_modules/@manypkg/get-packages/node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -475,6 +156,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, "engines": { "node": ">= 8" } @@ -483,6 +165,7 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" @@ -491,94 +174,238 @@ "node": ">= 8" } }, - "node_modules/@pnpm/config.env-replace": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz", - "integrity": "sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w==", + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", + "dev": true + }, + "node_modules/@types/jsonpath": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@types/jsonpath/-/jsonpath-0.2.4.tgz", + "integrity": "sha512-K3hxB8Blw0qgW6ExKgMbXQv2UPZBoE2GqLpVY+yr7nMD2Pq86lsuIzyAaiQ7eMqFL5B6di6pxSkogLJEyEHoGA==", + "dev": true + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.13.1.tgz", + "integrity": "sha512-kZqi+WZQaZfPKnsflLJQCz6Ze9FFSMfXrrIOcyargekQxG37ES7DJNpJUE9Q/X5n3yTIP/WPutVNzgknQ7biLg==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "7.13.1", + "@typescript-eslint/type-utils": "7.13.1", + "@typescript-eslint/utils": "7.13.1", + "@typescript-eslint/visitor-keys": "7.13.1", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" + }, "engines": { - "node": ">=12.22.0" + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^7.0.0", + "eslint": "^8.56.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@pnpm/network.ca-file": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@pnpm/network.ca-file/-/network.ca-file-1.0.2.tgz", - "integrity": "sha512-YcPQ8a0jwYU9bTdJDpXjMi7Brhkr1mXsXrUJvjqM2mQDgkRiz8jFaQGOdaLxgjtUfQgZhKy/O3cG/YwmgKaxLA==", + "node_modules/@typescript-eslint/parser": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.13.1.tgz", + "integrity": "sha512-1ELDPlnLvDQ5ybTSrMhRTFDfOQEOXNM+eP+3HT/Yq7ruWpciQw+Avi73pdEbA4SooCawEWo3dtYbF68gN7Ed1A==", + "dev": true, "dependencies": { - "graceful-fs": "4.2.10" + "@typescript-eslint/scope-manager": "7.13.1", + "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/typescript-estree": "7.13.1", + "@typescript-eslint/visitor-keys": "7.13.1", + "debug": "^4.3.4" }, "engines": { - "node": ">=12.22.0" + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.56.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@pnpm/network.ca-file/node_modules/graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + "node_modules/@typescript-eslint/scope-manager": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.13.1.tgz", + "integrity": "sha512-adbXNVEs6GmbzaCpymHQ0MB6E4TqoiVbC0iqG3uijR8ZYfpAXMGttouQzF4Oat3P2GxDVIrg7bMI/P65LiQZdg==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/visitor-keys": "7.13.1" + }, + "engines": { + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } }, - "node_modules/@pnpm/npm-conf": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-2.2.2.tgz", - "integrity": "sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA==", + "node_modules/@typescript-eslint/type-utils": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.13.1.tgz", + "integrity": "sha512-aWDbLu1s9bmgPGXSzNCxELu+0+HQOapV/y+60gPXafR8e2g1Bifxzevaa+4L2ytCWm+CHqpELq4CSoN9ELiwCg==", + "dev": true, "dependencies": { - "@pnpm/config.env-replace": "^1.1.0", - "@pnpm/network.ca-file": "^1.0.1", - "config-chain": "^1.1.11" + "@typescript-eslint/typescript-estree": "7.13.1", + "@typescript-eslint/utils": "7.13.1", + "debug": "^4.3.4", + "ts-api-utils": "^1.3.0" }, "engines": { - "node": ">=12" + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.56.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@sindresorhus/is": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-5.6.0.tgz", - "integrity": "sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==", + "node_modules/@typescript-eslint/types": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.13.1.tgz", + "integrity": "sha512-7K7HMcSQIAND6RBL4kDl24sG/xKM13cA85dc7JnmQXw2cBDngg7c19B++JzvJHRG3zG36n9j1i451GBzRuHchw==", + "dev": true, "engines": { - "node": ">=14.16" + "node": "^18.18.0 || >=20.0.0" }, "funding": { - "url": "https://github.com/sindresorhus/is?sponsor=1" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@szmarczak/http-timer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-5.0.1.tgz", - "integrity": "sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==", + "node_modules/@typescript-eslint/typescript-estree": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.13.1.tgz", + "integrity": "sha512-uxNr51CMV7npU1BxZzYjoVz9iyjckBduFBP0S5sLlh1tXYzHzgZ3BR9SVsNed+LmwKrmnqN3Kdl5t7eZ5TS1Yw==", + "dev": true, "dependencies": { - "defer-to-connect": "^2.0.1" + "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/visitor-keys": "7.13.1", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" }, "engines": { - "node": ">=14.16" + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@tootallnate/quickjs-emscripten": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", - "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==" - }, - "node_modules/@types/http-cache-semantics": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz", - "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==" + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } }, - "node_modules/@types/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==" + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", + "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, - "node_modules/@types/node": { - "version": "12.20.55", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", - "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==" + "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } }, - "node_modules/@types/normalize-package-data": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", - "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==" + "node_modules/@typescript-eslint/utils": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.13.1.tgz", + "integrity": "sha512-h5MzFBD5a/Gh/fvNdp9pTfqJAbuQC4sCN2WzuXme71lqFJsZtLbjxfSk4r3p02WIArOF9N94pdsLiGutpDbrXQ==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "7.13.1", + "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/typescript-estree": "7.13.1" + }, + "engines": { + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.56.0" + } }, - "node_modules/@types/semver": { - "version": "7.5.6", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", - "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==" + "node_modules/@typescript-eslint/visitor-keys": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.13.1.tgz", + "integrity": "sha512-k/Bfne7lrP7hcb7m9zSsgcBmo+8eicqqfNAJ7uUY+jkTFpKeH2FSkWpFRtimBxgkyvqfu9jTPRbYOvud6isdXA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "7.13.1", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } }, "node_modules/@ungap/structured-clone": { "version": "1.2.0", @@ -607,17 +434,6 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/agent-base": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", - "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", - "dependencies": { - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, "node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -634,134 +450,85 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/ajv-formats": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" } }, - "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "node_modules/array-buffer-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", + "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", + "dev": true, "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, - "node_modules/ansi-align": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", - "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", - "dependencies": { - "string-width": "^4.1.0" - } - }, - "node_modules/ansi-colors": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", "engines": { - "node": ">=6" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "node_modules/array-includes": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", + "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", + "dev": true, "dependencies": { - "type-fest": "^0.21.3" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.4", + "is-string": "^1.0.7" }, "engines": { - "node": ">=8" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/ansi-escapes/node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, "engines": { "node": ">=8" } }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/array.prototype.findlastindex": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz", + "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==", + "dev": true, "dependencies": { - "color-convert": "^1.9.0" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-shim-unscopables": "^1.0.2" }, "engines": { - "node": ">=4" - } - }, - "node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/array-buffer-byte-length": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", - "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", - "dependencies": { - "call-bind": "^1.0.2", - "is-array-buffer": "^3.0.1" + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "engines": { - "node": ">=8" - } - }, "node_modules/array.prototype.flat": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -775,18 +542,16 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz", - "integrity": "sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==", + "node_modules/array.prototype.flatmap": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", + "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "dev": true, "dependencies": { - "array-buffer-byte-length": "^1.0.0", "call-bind": "^1.0.2", "define-properties": "^1.2.0", "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1", - "is-array-buffer": "^3.0.2", - "is-shared-array-buffer": "^1.0.2" + "es-shim-unscopables": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -795,38 +560,36 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ast-types": { - "version": "0.13.4", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", - "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", + "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "dev": true, "dependencies": { - "tslib": "^2.0.1" + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", + "is-shared-array-buffer": "^1.0.2" }, "engines": { - "node": ">=4" - } - }, - "node_modules/atomically": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/atomically/-/atomically-2.0.2.tgz", - "integrity": "sha512-Xfmb4q5QV7uqTlVdMSTtO5eF4DCHfNOdaPyKlbFShkzeNP+3lj3yjjcbdjSmEY4+pDBKJ9g26aP+ImTe88UHoQ==", - "dependencies": { - "stubborn-fs": "^1.2.5", - "when-exit": "^2.0.0" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "dev": true, + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, "engines": { "node": ">= 0.4" }, @@ -840,471 +603,574 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/basic-ftp": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.3.tgz", - "integrity": "sha512-QHX8HLlncOLpy54mh+k/sWIFd0ThmRqwe9ZjELybGZK+tZ8rUb9VO0saKJUROTbE+KhzDUT7xziGpGrW8Kmd+g==", - "engines": { - "node": ">=10.0.0" + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "node_modules/better-path-resolve": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/better-path-resolve/-/better-path-resolve-1.0.0.tgz", - "integrity": "sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==", + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, "dependencies": { - "is-windows": "^1.0.0" + "fill-range": "^7.0.1" }, "engines": { - "node": ">=4" - } - }, - "node_modules/bl": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-5.1.0.tgz", - "integrity": "sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==", - "dependencies": { - "buffer": "^6.0.3", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" + "node": ">=8" } }, - "node_modules/boxen": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-7.1.1.tgz", - "integrity": "sha512-2hCgjEmP8YLWQ130n2FerGv7rYpfBmnmp9Uy2Le1vge6X3gZIfSmEzP5QTDElFxcvVcXlEn8Aq6MU/PZygIOog==", + "node_modules/call-bind": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "dev": true, "dependencies": { - "ansi-align": "^3.0.1", - "camelcase": "^7.0.1", - "chalk": "^5.2.0", - "cli-boxes": "^3.0.0", - "string-width": "^5.1.2", - "type-fest": "^2.13.0", - "widest-line": "^4.0.1", - "wrap-ansi": "^8.1.0" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" }, "engines": { - "node": ">=14.16" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/boxen/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "node": ">=6" } }, - "node_modules/boxen/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "engines": { - "node": ">=12" + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "engines": { + "node": ">= 8" } }, - "node_modules/boxen/node_modules/camelcase": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-7.0.1.tgz", - "integrity": "sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==", + "node_modules/data-view-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", + "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, "engines": { - "node": ">=14.16" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/boxen/node_modules/chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "node_modules/data-view-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", + "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/boxen/node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "node_modules/boxen/node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "node_modules/data-view-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", + "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", + "dev": true, "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" }, "engines": { - "node": ">=12" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/boxen/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, "dependencies": { - "ansi-regex": "^6.0.1" + "ms": "2.1.2" }, "engines": { - "node": ">=12" + "node": ">=6.0" }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "node_modules/boxen/node_modules/type-fest": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", - "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dev": true, + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, "engines": { - "node": ">=12.20" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/boxen/node_modules/wrap-ansi": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "node_modules/define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dev": true, "dependencies": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" }, "engines": { - "node": ">=12" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", "dev": true, "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dependencies": { - "fill-range": "^7.0.1" + "path-type": "^4.0.0" }, "engines": { "node": ">=8" } }, - "node_modules/breakword": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/breakword/-/breakword-1.0.6.tgz", - "integrity": "sha512-yjxDAYyK/pBvws9H4xKYpLDpYKEH6CzrBPAuXq3x18I+c/2MkVtT3qAr7Oloi6Dss9qNhPVueAAVU1CSeNDIXw==", - "dependencies": { - "wcwidth": "^1.0.1" - } - }, - "node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/cacheable-lookup": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz", - "integrity": "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==", + "esutils": "^2.0.2" + }, "engines": { - "node": ">=14.16" + "node": ">=6.0.0" } }, - "node_modules/cacheable-request": { - "version": "10.2.14", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.14.tgz", - "integrity": "sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==", + "node_modules/enhanced-resolve": { + "version": "5.17.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.0.tgz", + "integrity": "sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==", + "dev": true, "dependencies": { - "@types/http-cache-semantics": "^4.0.2", - "get-stream": "^6.0.1", - "http-cache-semantics": "^4.1.1", - "keyv": "^4.5.3", - "mimic-response": "^4.0.0", - "normalize-url": "^8.0.0", - "responselike": "^3.0.0" + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" }, "engines": { - "node": ">=14.16" + "node": ">=10.13.0" } }, - "node_modules/cacheable-request/node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/call-bind": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", - "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "node_modules/es-abstract": { + "version": "1.23.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", + "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", + "dev": true, "dependencies": { - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.1", - "set-function-length": "^1.1.1" + "array-buffer-byte-length": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.3", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "data-view-buffer": "^1.0.1", + "data-view-byte-length": "^1.0.1", + "data-view-byte-offset": "^1.0.0", + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-set-tostringtag": "^2.0.3", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.4", + "get-symbol-description": "^1.0.2", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.0.3", + "has-symbols": "^1.0.3", + "hasown": "^2.0.2", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", + "is-callable": "^1.2.7", + "is-data-view": "^1.0.1", + "is-negative-zero": "^2.0.3", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.3", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.13", + "is-weakref": "^1.0.2", + "object-inspect": "^1.13.1", + "object-keys": "^1.1.1", + "object.assign": "^4.1.5", + "regexp.prototype.flags": "^1.5.2", + "safe-array-concat": "^1.1.2", + "safe-regex-test": "^1.0.3", + "string.prototype.trim": "^1.2.9", + "string.prototype.trimend": "^1.0.8", + "string.prototype.trimstart": "^1.0.8", + "typed-array-buffer": "^1.0.2", + "typed-array-byte-length": "^1.0.1", + "typed-array-byte-offset": "^1.0.2", + "typed-array-length": "^1.0.6", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.15" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", "dev": true, + "dependencies": { + "get-intrinsic": "^1.2.4" + }, "engines": { - "node": ">=6" + "node": ">= 0.4" } }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, "engines": { - "node": ">=6" + "node": ">= 0.4" } }, - "node_modules/camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "node_modules/es-object-atoms": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", + "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", + "dev": true, "dependencies": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" + "es-errors": "^1.3.0" }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">= 0.4" } }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "node_modules/es-set-tostringtag": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", + "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", + "dev": true, "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" }, "engines": { - "node": ">=4" + "node": ">= 0.4" } }, - "node_modules/chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" - }, - "node_modules/ci-info": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", - "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/sibiraj-s" - } - ], - "engines": { - "node": ">=8" + "node_modules/es-shim-unscopables": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", + "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", + "dev": true, + "dependencies": { + "hasown": "^2.0.0" } }, - "node_modules/cli-boxes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz", - "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==", + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, "engines": { - "node": ">=10" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "node_modules/eslint": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "dev": true, "dependencies": { - "restore-cursor": "^3.1.0" + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" }, "engines": { - "node": ">=8" - } - }, - "node_modules/cli-spinners": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", - "engines": { - "node": ">=6" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://opencollective.com/eslint" } }, - "node_modules/cli-truncate": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz", - "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", + "node_modules/eslint-import-resolver-node": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", + "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", + "dev": true, + "dependencies": { + "debug": "^3.2.7", + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-import-resolver-typescript": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.1.tgz", + "integrity": "sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==", "dev": true, "dependencies": { - "slice-ansi": "^5.0.0", - "string-width": "^7.0.0" + "debug": "^4.3.4", + "enhanced-resolve": "^5.12.0", + "eslint-module-utils": "^2.7.4", + "fast-glob": "^3.3.1", + "get-tsconfig": "^4.5.0", + "is-core-module": "^2.11.0", + "is-glob": "^4.0.3" }, "engines": { - "node": ">=18" + "node": "^14.18.0 || >=16.0.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://opencollective.com/unts/projects/eslint-import-resolver-ts" + }, + "peerDependencies": { + "eslint": "*", + "eslint-plugin-import": "*" } }, - "node_modules/cli-truncate/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "node_modules/eslint-module-utils": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz", + "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==", "dev": true, + "dependencies": { + "debug": "^3.2.7" + }, "engines": { - "node": ">=12" + "node": ">=4" }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "peerDependenciesMeta": { + "eslint": { + "optional": true + } } }, - "node_modules/cli-truncate/node_modules/emoji-regex": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", - "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", - "dev": true + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } }, - "node_modules/cli-truncate/node_modules/string-width": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", - "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", + "node_modules/eslint-plugin-import": { + "version": "2.29.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", + "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", "dev": true, "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" + "array-includes": "^3.1.7", + "array.prototype.findlastindex": "^1.2.3", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.8.0", + "hasown": "^2.0.0", + "is-core-module": "^2.13.1", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.7", + "object.groupby": "^1.0.1", + "object.values": "^1.1.7", + "semver": "^6.3.1", + "tsconfig-paths": "^3.15.0" }, "engines": { - "node": ">=18" + "node": ">=4" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" } }, - "node_modules/cli-truncate/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", "dev": true, "dependencies": { - "ansi-regex": "^6.0.1" + "esutils": "^2.0.2" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "node": ">=0.10.0" } }, - "node_modules/cli-width": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", - "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", - "engines": { - "node": ">= 12" + "node_modules/eslint-plugin-import/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" } }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, "engines": { - "node": ">=12" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/cliui/node_modules/ansi-styles": { + "node_modules/eslint/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -1315,10 +1181,33 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/cliui/node_modules/color-convert": { + "node_modules/eslint/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/eslint/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, "dependencies": { "color-name": "~1.1.4" }, @@ -1326,149 +1215,83 @@ "node": ">=7.0.0" } }, - "node_modules/cliui/node_modules/color-name": { + "node_modules/eslint/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true }, - "node_modules/cliui/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, "engines": { "node": ">=10" }, "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "node_modules/eslint/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, "engines": { - "node": ">=0.8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" - }, - "node_modules/colorette": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", - "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", - "dev": true - }, - "node_modules/commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", + "node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, "engines": { - "node": ">=16" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, - "node_modules/conf": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/conf/-/conf-12.0.0.tgz", - "integrity": "sha512-fIWyWUXrJ45cHCIQX+Ck1hrZDIf/9DR0P0Zewn3uNht28hbt5OfGUq8rRWsxi96pZWPyBEd0eY9ama01JTaknA==", - "dependencies": { - "ajv": "^8.12.0", - "ajv-formats": "^2.1.1", - "atomically": "^2.0.2", - "debounce-fn": "^5.1.2", - "dot-prop": "^8.0.2", - "env-paths": "^3.0.0", - "json-schema-typed": "^8.0.1", - "semver": "^7.5.4", - "uint8array-extras": "^0.3.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, - "node_modules/conf/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "node_modules/eslint/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" + "argparse": "^2.0.1" }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/conf/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, - "node_modules/config-chain": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", - "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", - "dependencies": { - "ini": "^1.3.4", - "proto-list": "~1.2.1" + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "node_modules/config-chain/node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" - }, - "node_modules/configstore": { + "node_modules/eslint/node_modules/locate-path": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-6.0.0.tgz", - "integrity": "sha512-cD31W1v3GqUlQvbBCGcXmd2Nj9SvLDOP1oQ0YFuLETufzSPaKp11rYBsSOm7rCsW3OnIRAFM3OxRhceaXNYHkA==", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, "dependencies": { - "dot-prop": "^6.0.1", - "graceful-fs": "^4.2.6", - "unique-string": "^3.0.0", - "write-file-atomic": "^3.0.3", - "xdg-basedir": "^5.0.1" + "p-locate": "^5.0.0" }, "engines": { - "node": ">=12" + "node": ">=10" }, "funding": { - "url": "https://github.com/yeoman/configstore?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/configstore/node_modules/dot-prop": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz", - "integrity": "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==", + "node_modules/eslint/node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, "dependencies": { - "is-obj": "^2.0.0" + "yocto-queue": "^0.1.0" }, "engines": { "node": ">=10" @@ -1477,37 +1300,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/crypto-random-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-4.0.0.tgz", - "integrity": "sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA==", + "node_modules/eslint/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, "dependencies": { - "type-fest": "^1.0.1" - }, - "engines": { - "node": ">=12" + "p-limit": "^3.0.2" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/crypto-random-string/node_modules/type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", "engines": { "node": ">=10" }, @@ -1515,334 +1315,238 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/csv": { - "version": "5.5.3", - "resolved": "https://registry.npmjs.org/csv/-/csv-5.5.3.tgz", - "integrity": "sha512-QTaY0XjjhTQOdguARF0lGKm5/mEq9PD9/VhZZegHDIBq2tQwgNpHc3dneD4mGo2iJs+fTKv5Bp0fZ+BRuY3Z0g==", + "node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, "dependencies": { - "csv-generate": "^3.4.3", - "csv-parse": "^4.16.3", - "csv-stringify": "^5.6.5", - "stream-transform": "^2.1.3" + "has-flag": "^4.0.0" }, "engines": { - "node": ">= 0.1.90" - } - }, - "node_modules/csv-generate": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/csv-generate/-/csv-generate-3.4.3.tgz", - "integrity": "sha512-w/T+rqR0vwvHqWs/1ZyMDWtHHSJaN06klRqJXBEpDJaM/+dZkso0OKh1VcuuYvK3XM53KysVNq8Ko/epCK8wOw==" - }, - "node_modules/csv-parse": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.16.3.tgz", - "integrity": "sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==" - }, - "node_modules/csv-stringify": { - "version": "5.6.5", - "resolved": "https://registry.npmjs.org/csv-stringify/-/csv-stringify-5.6.5.tgz", - "integrity": "sha512-PjiQ659aQ+fUTQqSrd1XEDnOr52jh30RBurfzkscaE2tPaFsDH5wOAHJiw8XAHphRknCwMUE9KRayc4K/NbO8A==" - }, - "node_modules/data-uri-to-buffer": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", - "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", - "engines": { - "node": ">= 12" + "node": ">=8" } }, - "node_modules/debounce-fn": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/debounce-fn/-/debounce-fn-5.1.2.tgz", - "integrity": "sha512-Sr4SdOZ4vw6eQDvPYNxHogvrxmCIld/VenC5JbNrFwMiwd7lY/Z18ZFfo+EWNG4DD9nFlAujWAo/wGuOPHmy5A==", + "node_modules/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, "dependencies": { - "mimic-fn": "^4.0.0" + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" }, "engines": { - "node": ">=12" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://opencollective.com/eslint" } }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, "dependencies": { - "ms": "2.1.2" + "estraverse": "^5.1.0" }, "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } + "node": ">=0.10" } }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">=4.0" } }, - "node_modules/decamelize-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", - "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", - "dependencies": { - "decamelize": "^1.1.0", - "map-obj": "^1.0.0" - }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, "engines": { - "node": ">=0.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=4.0" } }, - "node_modules/decamelize-keys/node_modules/map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, "engines": { "node": ">=0.10.0" } }, - "node_modules/decompress-response": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", - "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, "dependencies": { - "mimic-response": "^3.1.0" + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8.6.0" } }, - "node_modules/decompress-response/node_modules/mimic-response": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", - "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", - "engines": { - "node": ">=10" + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "engines": { - "node": ">=4.0.0" + "node": ">= 6" } }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", "dev": true }, - "node_modules/defaults": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", - "dependencies": { - "clone": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true }, - "node_modules/defer-to-connect": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", - "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==", - "engines": { - "node": ">=10" + "node_modules/fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" } }, - "node_modules/define-data-property": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", - "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, "dependencies": { - "get-intrinsic": "^1.2.1", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "flat-cache": "^3.0.4" }, "engines": { - "node": ">= 0.4" + "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/define-properties": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", - "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, "dependencies": { - "define-data-property": "^1.0.1", - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" + "to-regex-range": "^5.0.1" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=8" } }, - "node_modules/degenerator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", - "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", - "dependencies": { - "ast-types": "^0.13.4", - "escodegen": "^2.1.0", - "esprima": "^4.0.1" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/detect-indent": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", - "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", - "engines": { - "node": ">=8" - } - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "node_modules/flat-cache": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "dev": true, "dependencies": { - "path-type": "^4.0.0" + "flatted": "^3.2.9", + "keyv": "^4.5.3", + "rimraf": "^3.0.2" }, "engines": { - "node": ">=8" + "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "node_modules/flatted": { + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", + "dev": true + }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", "dev": true, "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" + "is-callable": "^1.1.3" } }, - "node_modules/dot-prop": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-8.0.2.tgz", - "integrity": "sha512-xaBe6ZT4DHPkg0k4Ytbvn5xoxgpG0jOS1dYxSOwAHPuNLjP3/OzN0gH55SrLqpx8cBfSaVt91lXYkApjb+nYdQ==", - "dependencies": { - "type-fest": "^3.8.0" - }, - "engines": { - "node": ">=16" - }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/enquirer": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", - "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", + "node_modules/function.prototype.name": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "dev": true, "dependencies": { - "ansi-colors": "^4.1.1", - "strip-ansi": "^6.0.1" + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" }, "engines": { - "node": ">=8.6" - } - }, - "node_modules/env-paths": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-3.0.0.tgz", - "integrity": "sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dependencies": { - "is-arrayish": "^0.2.1" + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/es-abstract": { - "version": "1.22.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.3.tgz", - "integrity": "sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==", + "node_modules/get-intrinsic": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "dev": true, "dependencies": { - "array-buffer-byte-length": "^1.0.0", - "arraybuffer.prototype.slice": "^1.0.2", - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.5", - "es-set-tostringtag": "^2.0.1", - "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.6", - "get-intrinsic": "^1.2.2", - "get-symbol-description": "^1.0.0", - "globalthis": "^1.0.3", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", - "hasown": "^2.0.0", - "internal-slot": "^1.0.5", - "is-array-buffer": "^3.0.2", - "is-callable": "^1.2.7", - "is-negative-zero": "^2.0.2", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "is-string": "^1.0.7", - "is-typed-array": "^1.1.12", - "is-weakref": "^1.0.2", - "object-inspect": "^1.13.1", - "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.5.1", - "safe-array-concat": "^1.0.1", - "safe-regex-test": "^1.0.0", - "string.prototype.trim": "^1.2.8", - "string.prototype.trimend": "^1.0.7", - "string.prototype.trimstart": "^1.0.7", - "typed-array-buffer": "^1.0.0", - "typed-array-byte-length": "^1.0.0", - "typed-array-byte-offset": "^1.0.0", - "typed-array-length": "^1.0.4", - "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.13" + "hasown": "^2.0.0" }, "engines": { "node": ">= 0.4" @@ -1851,675 +1555,530 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/es-set-tostringtag": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz", - "integrity": "sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==", + "node_modules/get-symbol-description": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", + "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", + "dev": true, "dependencies": { - "get-intrinsic": "^1.2.2", - "has-tostringtag": "^1.0.0", - "hasown": "^2.0.0" + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/es-shim-unscopables": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", - "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", + "node_modules/get-tsconfig": { + "version": "4.7.5", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.5.tgz", + "integrity": "sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==", + "dev": true, "dependencies": { - "hasown": "^2.0.0" + "resolve-pkg-maps": "^1.0.0" + }, + "funding": { + "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" } }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" }, "engines": { - "node": ">= 0.4" + "node": "*" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, "engines": { - "node": ">=6" + "node": ">=10.13.0" } }, - "node_modules/escape-goat": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-4.0.0.tgz", - "integrity": "sha512-2Sd4ShcWxbx6OY1IHyla/CVNwvg7XwZVoXZHcSu9w9SReNP1EzzD5T8NWKIR38fIqEns9kDWKUQTXXAmlDrdPg==", + "node_modules/globals": { + "version": "13.23.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", + "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, "engines": { - "node": ">=12" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "node_modules/globals/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, "engines": { - "node": ">=0.8.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/escodegen": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", - "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "node_modules/globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dev": true, "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" + "define-properties": "^1.1.3" }, "engines": { - "node": ">=6.0" + "node": ">= 0.4" }, - "optionalDependencies": { - "source-map": "~0.6.1" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint": { - "version": "8.55.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.55.0.tgz", - "integrity": "sha512-iyUUAM0PCKj5QpwGfmCAG9XXbZCWsqP/eWAWrG/W0umvjuLRBECwSFdt+rCntju0xEH7teIABPwXpahftIaTdA==", + "node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", "dev": true, "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.55.0", - "@humanwhocodes/config-array": "^0.11.13", - "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", - "ajv": "^6.12.4", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", "ignore": "^5.2.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" - }, - "bin": { - "eslint": "bin/eslint.js" + "merge2": "^1.4.1", + "slash": "^3.0.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=10" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", "dev": true, "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "get-intrinsic": "^1.1.3" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dev": true, "dependencies": { - "color-convert": "^2.0.1" + "es-define-property": "^1.0.0" }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "dev": true, "engines": { - "node": ">=8" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint/node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "node_modules/eslint/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", "dev": true, "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "has-symbols": "^1.0.3" }, "engines": { - "node": ">=10" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "dev": true, "dependencies": { - "color-name": "~1.1.4" + "function-bind": "^1.1.2" }, "engines": { - "node": ">=7.0.0" + "node": ">= 0.4" } }, - "node_modules/eslint/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/eslint/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "node_modules/ignore": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", "dev": true, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">= 4" } }, - "node_modules/eslint/node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "dev": true, "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" }, "engines": { - "node": ">=10" + "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint/node_modules/has-flag": { + "node_modules/import-fresh/node_modules/resolve-from": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/eslint/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "engines": { + "node": ">=0.8.19" } }, - "node_modules/eslint/node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "dev": true, "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "once": "^1.3.0", + "wrappy": "1" } }, - "node_modules/eslint/node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/internal-slot": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", + "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", "dev": true, "dependencies": { - "yocto-queue": "^0.1.0" + "es-errors": "^1.3.0", + "hasown": "^2.0.0", + "side-channel": "^1.0.4" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">= 0.4" } }, - "node_modules/eslint/node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "node_modules/is-array-buffer": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", + "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", "dev": true, "dependencies": { - "p-limit": "^3.0.2" + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1" }, "engines": { - "node": ">=10" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", "dev": true, "dependencies": { - "has-flag": "^4.0.0" + "has-bigints": "^1.0.1" }, - "engines": { - "node": ">=8" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", "dev": true, "dependencies": { - "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">= 0.4" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true, "engines": { - "node": ">=4" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "node_modules/is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", "dev": true, "dependencies": { - "estraverse": "^5.1.0" + "hasown": "^2.0.0" }, - "engines": { - "node": ">=0.10" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "node_modules/is-data-view": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", + "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", "dev": true, "dependencies": { - "estraverse": "^5.2.0" + "is-typed-array": "^1.1.13" }, "engines": { - "node": ">=4.0" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eventemitter3": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", - "dev": true - }, - "node_modules/execa": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" + "has-tostringtag": "^1.0.0" }, "engines": { - "node": ">=16.17" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/extendable-error": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/extendable-error/-/extendable-error-0.1.7.tgz", - "integrity": "sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==" - }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, "engines": { - "node": ">=4" + "node": ">=0.10.0" } }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "node_modules/fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "is-extglob": "^2.1.1" }, "engines": { - "node": ">=8.6.0" + "node": ">=0.10.0" } }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dependencies": { - "is-glob": "^4.0.1" - }, + "node_modules/is-negative-zero": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", + "dev": true, "engines": { - "node": ">= 6" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true - }, - "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", - "dependencies": { - "reusify": "^1.0.4" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/fetch-blob": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", - "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/jimmywarting" - }, - { - "type": "paypal", - "url": "https://paypal.me/jimmywarting" - } - ], - "dependencies": { - "node-domexception": "^1.0.0", - "web-streams-polyfill": "^3.0.3" - }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, "engines": { - "node": "^12.20 || >= 14.13" + "node": ">=0.12.0" } }, - "node_modules/figures": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-5.0.0.tgz", - "integrity": "sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==", + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, "dependencies": { - "escape-string-regexp": "^5.0.0", - "is-unicode-supported": "^1.2.0" + "has-tostringtag": "^1.0.0" }, "engines": { - "node": ">=14" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/figures/node_modules/escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", "dev": true, "dependencies": { - "flat-cache": "^3.0.4" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" }, "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dependencies": { - "to-regex-range": "^5.0.1" + "node": ">= 0.4" }, - "engines": { - "node": ">=8" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "node_modules/is-shared-array-buffer": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", + "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", + "dev": true, "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "call-bind": "^1.0.7" }, "engines": { - "node": ">=8" - } - }, - "node_modules/find-yarn-workspace-root2": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.16.tgz", - "integrity": "sha512-hr6hb1w8ePMpPVUK39S4RlwJzi+xPLuVuG8XlwXU3KD5Yn3qgBWVfy3AzNlDhWvE1EORCE65/Qm26rFQt3VLVA==", - "dependencies": { - "micromatch": "^4.0.2", - "pkg-dir": "^4.2.0" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/flat-cache": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", - "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", "dev": true, "dependencies": { - "flatted": "^3.2.9", - "keyv": "^4.5.3", - "rimraf": "^3.0.2" + "has-tostringtag": "^1.0.0" }, "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/flatted": { - "version": "3.2.9", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", - "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", - "dev": true - }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "dependencies": { - "is-callable": "^1.1.3" - } - }, - "node_modules/form-data-encoder": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz", - "integrity": "sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==", - "engines": { - "node": ">= 14.17" - } - }, - "node_modules/formdata-polyfill": { - "version": "4.0.10", - "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", - "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", - "dependencies": { - "fetch-blob": "^3.1.2" + "node": ">= 0.4" }, - "engines": { - "node": ">=12.20.0" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" + "has-symbols": "^1.0.2" }, "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/function.prototype.name": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", - "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "node_modules/is-typed-array": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", + "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "functions-have-names": "^1.2.3" + "which-typed-array": "^1.1.14" }, "engines": { "node": ">= 0.4" @@ -2528,262 +2087,220 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/functions-have-names": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/fuse.js": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-6.6.2.tgz", - "integrity": "sha512-cJaJkxCCxC8qIIcPBF9yGxY0W/tVZS3uEISDxhYIdtk8OL93pe+6Zj7LjCqVV4dzbqcriOZ+kQ/NE4RXZHsIGA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/get-caller-file": { + "node_modules/isarray": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true }, - "node_modules/get-east-asian-width": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz", - "integrity": "sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==", - "dev": true, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true }, - "node_modules/get-intrinsic": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", - "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", - "dependencies": { - "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true }, - "node_modules/get-stream": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", - "engines": { - "node": ">=16" + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "node_modules/json5": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "bin": { + "json5": "lib/cli.js" } }, - "node_modules/get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "json-buffer": "3.0.1" } }, - "node_modules/get-uri": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.2.tgz", - "integrity": "sha512-5KLucCJobh8vBY1K07EFV4+cPZH3mrV9YeAruUseCQKHB58SGjjT2l9/eA9LD082IiuMjSlFJEcdJ27TXvbZNw==", + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, "dependencies": { - "basic-ftp": "^5.0.2", - "data-uri-to-buffer": "^6.0.0", - "debug": "^4.3.4", - "fs-extra": "^8.1.0" + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" }, "engines": { - "node": ">= 14" + "node": ">= 0.8.0" } }, - "node_modules/get-uri/node_modules/data-uri-to-buffer": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.1.tgz", - "integrity": "sha512-MZd3VlchQkp8rdend6vrx7MmVDJzSNTBvghvKjirLkD+WTChA3KUf0jkE68Q4UyctNqI11zZO9/x2Yx+ub5Cvg==", + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, "engines": { - "node": ">= 14" + "node": ">= 8" } }, - "node_modules/get-uri/node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" + "braces": "^3.0.2", + "picomatch": "^2.3.1" }, "engines": { - "node": ">=6 <7 || >=8" + "node": ">=8.6" } }, - "node_modules/gitmoji-cli": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/gitmoji-cli/-/gitmoji-cli-9.0.0.tgz", - "integrity": "sha512-yXVPbLHzC85da8tOq/h+WKrmtLQu/HgvS+nxp6rknTvVdW6tYIQqFDDJFeUy4MWLvPqsGCGnkF9PtI6PftMVIA==", - "funding": [ - { - "type": "Github Sponsors", - "url": "https://github.com/sponsors/carloscuesta" - }, - { - "type": "Paypal", - "url": "https://paypal.me/carloscuesta" - } - ], + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, "dependencies": { - "chalk": "^5.3.0", - "conf": "12.0.0", - "execa": "^8.0.1", - "fuse.js": "6.6.2", - "inquirer": "^9.2.11", - "inquirer-autocomplete-prompt": "^3.0.1", - "meow": "^12.1.1", - "node-fetch": "^3.3.2", - "ora": "^7.0.1", - "path-exists": "^5.0.0", - "proxy-agent": "^6.3.1", - "update-notifier": "^7.0.0", - "validator": "^13.11.0" - }, - "bin": { - "gitmoji": "lib/cli.js" + "brace-expansion": "^1.1.7" }, "engines": { - "node": ">=18" + "node": "*" } }, - "node_modules/gitmoji-cli/node_modules/chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/gitmoji-cli/node_modules/meow": { - "version": "12.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", - "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", - "engines": { - "node": ">=16.10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true }, - "node_modules/gitmoji-cli/node_modules/path-exists": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", - "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - } + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "node_modules/object-inspect": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true, - "dependencies": { - "is-glob": "^4.0.3" - }, "engines": { - "node": ">=10.13.0" + "node": ">= 0.4" } }, - "node_modules/global-dirs": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.1.tgz", - "integrity": "sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==", + "node_modules/object.assign": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", + "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", + "dev": true, "dependencies": { - "ini": "2.0.0" + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" }, "engines": { - "node": ">=10" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/globals": { - "version": "13.23.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", - "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==", + "node_modules/object.fromentries": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", + "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", "dev": true, "dependencies": { - "type-fest": "^0.20.2" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" }, "engines": { - "node": ">=8" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/globals/node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "node_modules/object.groupby": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz", + "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==", "dev": true, - "engines": { - "node": ">=10" + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">= 0.4" } }, - "node_modules/globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "node_modules/object.values": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz", + "integrity": "sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==", + "dev": true, "dependencies": { - "define-properties": "^1.1.3" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -2792,269 +2309,219 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" + "wrappy": "1" + } + }, + "node_modules/optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">= 0.8.0" } }, - "node_modules/gopd": { + "node_modules/parent-module": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/got": { - "version": "12.6.1", - "resolved": "https://registry.npmjs.org/got/-/got-12.6.1.tgz", - "integrity": "sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ==", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, "dependencies": { - "@sindresorhus/is": "^5.2.0", - "@szmarczak/http-timer": "^5.0.1", - "cacheable-lookup": "^7.0.0", - "cacheable-request": "^10.2.8", - "decompress-response": "^6.0.0", - "form-data-encoder": "^2.1.2", - "get-stream": "^6.0.1", - "http2-wrapper": "^2.1.10", - "lowercase-keys": "^3.0.0", - "p-cancelable": "^3.0.0", - "responselike": "^3.0.0" + "callsites": "^3.0.0" }, "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sindresorhus/got?sponsor=1" + "node": ">=6" } }, - "node_modules/got/node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" - }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==" - }, - "node_modules/graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true - }, - "node_modules/hard-rejection": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, "engines": { - "node": ">=6" - } - }, - "node_modules/has-bigints": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.10.0" } }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/has-property-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", - "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", - "dependencies": { - "get-intrinsic": "^1.2.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true }, - "node_modules/has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=8" } }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, "engines": { - "node": ">= 0.4" + "node": ">=8.6" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/has-tostringtag": { + "node_modules/possible-typed-array-names": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dependencies": { - "has-symbols": "^1.0.2" - }, + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", + "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "dev": true, "engines": { "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", - "dependencies": { - "function-bind": "^1.1.2" - }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, "engines": { - "node": ">= 0.4" + "node": ">= 0.8.0" } }, - "node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" - }, - "node_modules/http-cache-semantics": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", - "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==" - }, - "node_modules/http-proxy-agent": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz", - "integrity": "sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==", - "dependencies": { - "agent-base": "^7.1.0", - "debug": "^4.3.4" - }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, "engines": { - "node": ">= 14" + "node": ">=6" } }, - "node_modules/http2-wrapper": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.1.tgz", - "integrity": "sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ==", + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", + "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", + "dev": true, "dependencies": { - "quick-lru": "^5.1.1", - "resolve-alpn": "^1.2.0" + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" }, "engines": { - "node": ">=10.19.0" - } - }, - "node_modules/http2-wrapper/node_modules/quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", - "engines": { - "node": ">=10" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/https-proxy-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz", - "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==", + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dev": true, "dependencies": { - "agent-base": "^7.0.2", - "debug": "4" + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" }, - "engines": { - "node": ">= 14" + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/human-id": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/human-id/-/human-id-1.0.2.tgz", - "integrity": "sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==" - }, - "node_modules/human-signals": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", - "engines": { - "node": ">=16.17.0" + "node_modules/resolve-pkg-maps": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", + "dev": true, + "funding": { + "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" } }, - "node_modules/husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true, - "bin": { - "husky": "lib/bin.js" - }, "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" + "iojs": ">=1.0.0", + "node": ">=0.10.0" } }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" + "glob": "^7.1.3" }, - "engines": { - "node": ">=0.10.0" + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, "funding": [ { "type": "github", @@ -3068,3332 +2535,348 @@ "type": "consulting", "url": "https://feross.org/support" } - ] - }, - "node_modules/ignore": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", - "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", - "engines": { - "node": ">= 4" + ], + "dependencies": { + "queue-microtask": "^1.2.2" } }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "node_modules/safe-array-concat": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", + "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", "dev": true, "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" }, "engines": { - "node": ">=6" + "node": ">=0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/import-fresh/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "node_modules/safe-regex-test": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", + "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", "dev": true, + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-regex": "^1.1.4" + }, "engines": { - "node": ">=4" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/import-lazy": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz", - "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==", + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dev": true, + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, "engines": { - "node": ">=8" + "node": ">= 0.4" } }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "node_modules/set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", "dev": true, "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/ini": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", - "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" + }, "engines": { - "node": ">=10" + "node": ">= 0.4" } }, - "node_modules/inquirer": { - "version": "9.2.12", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.12.tgz", - "integrity": "sha512-mg3Fh9g2zfuVWJn6lhST0O7x4n03k7G8Tx5nvikJkbq8/CK47WDVm+UznF0G6s5Zi0KcyUisr6DU8T67N5U+1Q==", - "dependencies": { - "@ljharb/through": "^2.3.11", - "ansi-escapes": "^4.3.2", - "chalk": "^5.3.0", - "cli-cursor": "^3.1.0", - "cli-width": "^4.1.0", - "external-editor": "^3.1.0", - "figures": "^5.0.0", - "lodash": "^4.17.21", - "mute-stream": "1.0.0", - "ora": "^5.4.1", - "run-async": "^3.0.0", - "rxjs": "^7.8.1", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0" + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" }, "engines": { - "node": ">=14.18.0" + "node": ">=8" } }, - "node_modules/inquirer-autocomplete-prompt": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-3.0.1.tgz", - "integrity": "sha512-DQBXwX2fVQPVUzu4v4lGgtNgyjcX2+rTyphb2MeSOQh3xUayKAfHAF4y0KgsMi06m6ZiR3xIOdzMZMfQgX2m9w==", - "dependencies": { - "ansi-escapes": "^6.0.0", - "figures": "^5.0.0", - "picocolors": "^1.0.0", - "run-async": "^2.4.1", - "rxjs": "^7.5.6" - }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, "engines": { - "node": ">=16" - }, - "peerDependencies": { - "inquirer": "^9.1.0" + "node": ">=8" } }, - "node_modules/inquirer-autocomplete-prompt/node_modules/ansi-escapes": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", - "integrity": "sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==", + "node_modules/side-channel": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", + "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "dev": true, "dependencies": { - "type-fest": "^3.0.0" + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" }, "engines": { - "node": ">=14.16" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/inquirer-autocomplete-prompt/node_modules/run-async": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, "engines": { - "node": ">=0.12.0" + "node": ">=8" } }, - "node_modules/inquirer/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "node_modules/string.prototype.trim": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", + "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", + "dev": true, "dependencies": { - "color-convert": "^2.0.1" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.0", + "es-object-atoms": "^1.0.0" }, "engines": { - "node": ">=8" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/inquirer/node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "node_modules/string.prototype.trimend": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", + "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", + "dev": true, "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/inquirer/node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], + "node_modules/string.prototype.trimstart": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", + "dev": true, "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/inquirer/node_modules/chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/inquirer/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "dependencies": { - "color-name": "~1.1.4" + "ansi-regex": "^5.0.1" }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/inquirer/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/inquirer/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "engines": { "node": ">=8" } }, - "node_modules/inquirer/node_modules/is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/inquirer/node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, "engines": { - "node": ">=10" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/inquirer/node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, "engines": { - "node": ">=10" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/inquirer/node_modules/log-symbols/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "node": ">=6" } }, - "node_modules/inquirer/node_modules/ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" + "is-number": "^7.0.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8.0" } }, - "node_modules/inquirer/node_modules/ora/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, + "node_modules/ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "dev": true, "engines": { - "node": ">=10" + "node": ">=16" }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "peerDependencies": { + "typescript": ">=4.2.0" } }, - "node_modules/inquirer/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "node_modules/tsconfig-paths": { + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", + "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", + "dev": true, "dependencies": { - "has-flag": "^4.0.0" + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" }, "engines": { - "node": ">=8" + "node": ">= 0.8.0" } }, - "node_modules/internal-slot": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz", - "integrity": "sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==", + "node_modules/typed-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", + "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", + "dev": true, "dependencies": { - "get-intrinsic": "^1.2.2", - "hasown": "^2.0.0", - "side-channel": "^1.0.4" + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" }, "engines": { "node": ">= 0.4" } }, - "node_modules/ip": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.8.tgz", - "integrity": "sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==" - }, - "node_modules/is-array-buffer": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", - "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "node_modules/typed-array-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", + "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", - "is-typed-array": "^1.1.10" + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" - }, - "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "node_modules/typed-array-byte-offset": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", + "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "dev": true, "dependencies": { - "has-bigints": "^1.0.1" + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", - "dependencies": { - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", - "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-in-ci": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-in-ci/-/is-in-ci-0.1.0.tgz", - "integrity": "sha512-d9PXLEY0v1iJ64xLiQMJ51J128EYHAaOR4yZqQi8aHGfw6KgifM3/Viw1oZZ1GCVmb3gBuyhLyHj0HgR2DhSXQ==", - "bin": { - "is-in-ci": "cli.js" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-installed-globally": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", - "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", - "dependencies": { - "global-dirs": "^3.0.0", - "is-path-inside": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-interactive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", - "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-npm": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-6.0.0.tgz", - "integrity": "sha512-JEjxbSmtPSt1c8XTkVrlujcXdKV1/tvuQ7GwKcAlyiVLeYFQ2VHat8xfrDJsIkhCdF/tZ7CiIR3sy141c6+gPQ==", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-number-object": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", - "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-subdir": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-subdir/-/is-subdir-1.2.0.tgz", - "integrity": "sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw==", - "dependencies": { - "better-path-resolve": "1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typed-array": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", - "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", - "dependencies": { - "which-typed-array": "^1.1.11" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==" - }, - "node_modules/is-unicode-supported": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", - "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" - }, - "node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/json-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "node_modules/json-schema-typed": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.1.tgz", - "integrity": "sha512-XQmWYj2Sm4kn4WeTYvmpKEbyPsL7nBsb647c7pMe6l02/yx2+Jfc4dT6UZkEXnIUb5LhD55r2HPsJ1milQ4rDg==" - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true - }, - "node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/keyv": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", - "dependencies": { - "json-buffer": "3.0.1" - } - }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/kleur": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz", - "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/latest-version": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-7.0.0.tgz", - "integrity": "sha512-KvNT4XqAMzdcL6ka6Tl3i2lYeFDgXNCuIX+xNx6ZMVR1dFq+idXd9FLKNMOIx0t9mJ9/HudyX4oZWXZQ0UJHeg==", - "dependencies": { - "package-json": "^8.1.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/lilconfig": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz", - "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==", - "dev": true, - "engines": { - "node": ">=14" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" - }, - "node_modules/lint-staged": { - "version": "15.2.0", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.0.tgz", - "integrity": "sha512-TFZzUEV00f+2YLaVPWBWGAMq7So6yQx+GG8YRMDeOEIf95Zn5RyiLMsEiX4KTNl9vq/w+NqRJkLA1kPIo15ufQ==", - "dev": true, - "dependencies": { - "chalk": "5.3.0", - "commander": "11.1.0", - "debug": "4.3.4", - "execa": "8.0.1", - "lilconfig": "3.0.0", - "listr2": "8.0.0", - "micromatch": "4.0.5", - "pidtree": "0.6.0", - "string-argv": "0.3.2", - "yaml": "2.3.4" - }, - "bin": { - "lint-staged": "bin/lint-staged.js" - }, - "engines": { - "node": ">=18.12.0" - }, - "funding": { - "url": "https://opencollective.com/lint-staged" - } - }, - "node_modules/lint-staged/node_modules/chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", - "dev": true, - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/listr2": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.0.0.tgz", - "integrity": "sha512-u8cusxAcyqAiQ2RhYvV7kRKNLgUvtObIbhOX2NCXqvp1UU32xIg5CT22ykS2TPKJXZWJwtK3IKLiqAGlGNE+Zg==", - "dev": true, - "dependencies": { - "cli-truncate": "^4.0.0", - "colorette": "^2.0.20", - "eventemitter3": "^5.0.1", - "log-update": "^6.0.0", - "rfdc": "^1.3.0", - "wrap-ansi": "^9.0.0" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/listr2/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/listr2/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/listr2/node_modules/emoji-regex": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", - "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", - "dev": true - }, - "node_modules/listr2/node_modules/string-width": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", - "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", - "dev": true, - "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/listr2/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/listr2/node_modules/wrap-ansi": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", - "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", - "dev": true, - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/load-yaml-file": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/load-yaml-file/-/load-yaml-file-0.2.0.tgz", - "integrity": "sha512-OfCBkGEw4nN6JLtgRidPX6QxjBQGQf72q3si2uvqyFEMbycSFFHwAZeXx6cJgFM9wmLrf9zBwCP3Ivqa+LLZPw==", - "dependencies": { - "graceful-fs": "^4.1.5", - "js-yaml": "^3.13.0", - "pify": "^4.0.1", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true - }, - "node_modules/lodash.startcase": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.startcase/-/lodash.startcase-4.4.0.tgz", - "integrity": "sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==" - }, - "node_modules/log-symbols": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-5.1.0.tgz", - "integrity": "sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==", - "dependencies": { - "chalk": "^5.0.0", - "is-unicode-supported": "^1.1.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-symbols/node_modules/chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/log-update": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/log-update/-/log-update-6.0.0.tgz", - "integrity": "sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw==", - "dev": true, - "dependencies": { - "ansi-escapes": "^6.2.0", - "cli-cursor": "^4.0.0", - "slice-ansi": "^7.0.0", - "strip-ansi": "^7.1.0", - "wrap-ansi": "^9.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/ansi-escapes": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", - "integrity": "sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==", - "dev": true, - "dependencies": { - "type-fest": "^3.0.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/log-update/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/log-update/node_modules/cli-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", - "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", - "dev": true, - "dependencies": { - "restore-cursor": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/emoji-regex": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", - "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", - "dev": true - }, - "node_modules/log-update/node_modules/is-fullwidth-code-point": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.0.0.tgz", - "integrity": "sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==", - "dev": true, - "dependencies": { - "get-east-asian-width": "^1.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/log-update/node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/restore-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", - "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", - "dev": true, - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true - }, - "node_modules/log-update/node_modules/slice-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.0.tgz", - "integrity": "sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==", - "dev": true, - "dependencies": { - "ansi-styles": "^6.2.1", - "is-fullwidth-code-point": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, - "node_modules/log-update/node_modules/string-width": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", - "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", - "dev": true, - "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/log-update/node_modules/wrap-ansi": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", - "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", - "dev": true, - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/lowercase-keys": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-3.0.0.tgz", - "integrity": "sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", - "engines": { - "node": ">=12" - } - }, - "node_modules/map-obj": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/meow": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-6.1.1.tgz", - "integrity": "sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg==", - "dependencies": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "^4.0.2", - "normalize-package-data": "^2.5.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/meow/node_modules/type-fest": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/mimic-response": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz", - "integrity": "sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/min-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", - "engines": { - "node": ">=4" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/minimist-options": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", - "dependencies": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0", - "kind-of": "^6.0.3" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/mixme": { - "version": "0.5.10", - "resolved": "https://registry.npmjs.org/mixme/-/mixme-0.5.10.tgz", - "integrity": "sha512-5H76ANWinB1H3twpJ6JY8uvAtpmFvHNArpilJAjXRKXSDDLPIMoZArw5SH0q9z+lLs8IrMw7Q2VWpWimFKFT1Q==", - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/mute-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", - "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true - }, - "node_modules/netmask": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", - "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/node-domexception": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", - "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/jimmywarting" - }, - { - "type": "github", - "url": "https://paypal.me/jimmywarting" - } - ], - "engines": { - "node": ">=10.5.0" - } - }, - "node_modules/node-fetch": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", - "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", - "dependencies": { - "data-uri-to-buffer": "^4.0.0", - "fetch-blob": "^3.1.4", - "formdata-polyfill": "^4.0.10" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/node-fetch" - } - }, - "node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/normalize-package-data/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/normalize-url": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.0.tgz", - "integrity": "sha512-uVFpKhj5MheNBJRTiMZ9pE/7hD1QTeEvugSJW/OmLzAp78PB5O6adfMNTvmfKhXBkvCzC+rqifWcVYpGFwTjnw==", - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/npm-run-path": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", - "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", - "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/npm-run-path/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.assign": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", - "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", - "dependencies": { - "call-bind": "^1.0.5", - "define-properties": "^1.2.1", - "has-symbols": "^1.0.3", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "dependencies": { - "mimic-fn": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", - "dev": true, - "dependencies": { - "@aashutoshrathi/word-wrap": "^1.2.3", - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/ora": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-7.0.1.tgz", - "integrity": "sha512-0TUxTiFJWv+JnjWm4o9yvuskpEJLXTcng8MJuKd+SzAzp2o+OP3HWqNhB4OdJRt1Vsd9/mR0oyaEYlOnL7XIRw==", - "dependencies": { - "chalk": "^5.3.0", - "cli-cursor": "^4.0.0", - "cli-spinners": "^2.9.0", - "is-interactive": "^2.0.0", - "is-unicode-supported": "^1.3.0", - "log-symbols": "^5.1.0", - "stdin-discarder": "^0.1.0", - "string-width": "^6.1.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/ora/node_modules/chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/ora/node_modules/cli-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", - "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", - "dependencies": { - "restore-cursor": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora/node_modules/emoji-regex": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", - "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==" - }, - "node_modules/ora/node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/ora/node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora/node_modules/restore-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", - "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - }, - "node_modules/ora/node_modules/string-width": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-6.1.0.tgz", - "integrity": "sha512-k01swCJAgQmuADB0YIc+7TuatfNvTBVOoaUWJjTB9R4VJzR5vNWzf5t42ESVZFPS8xTySF7CAdV4t/aaIm3UnQ==", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^10.2.1", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/outdent": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/outdent/-/outdent-0.5.0.tgz", - "integrity": "sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==" - }, - "node_modules/p-cancelable": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz", - "integrity": "sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==", - "engines": { - "node": ">=12.20" - } - }, - "node_modules/p-filter": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-filter/-/p-filter-2.1.0.tgz", - "integrity": "sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==", - "dependencies": { - "p-map": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/pac-proxy-agent": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.1.tgz", - "integrity": "sha512-ASV8yU4LLKBAjqIPMbrgtaKIvxQri/yh2OpI+S6hVa9JRkUI3Y3NPFbfngDtY7oFtSMD3w31Xns89mDa3Feo5A==", - "dependencies": { - "@tootallnate/quickjs-emscripten": "^0.23.0", - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "get-uri": "^6.0.1", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.2", - "pac-resolver": "^7.0.0", - "socks-proxy-agent": "^8.0.2" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/pac-resolver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.0.tgz", - "integrity": "sha512-Fd9lT9vJbHYRACT8OhCbZBbxr6KRSawSovFpy8nDGshaK99S/EBhVIHp9+crhxrsZOuvLpgL1n23iyPg6Rl2hg==", - "dependencies": { - "degenerator": "^5.0.0", - "ip": "^1.1.8", - "netmask": "^2.0.2" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/package-json": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/package-json/-/package-json-8.1.1.tgz", - "integrity": "sha512-cbH9IAIJHNj9uXi196JVsRlt7cHKak6u/e6AkL/bkRelZ7rlL3X1YKxsZwa36xipOEKAsdtmaG6aAJoM1fx2zA==", - "dependencies": { - "got": "^12.1.0", - "registry-auth-token": "^5.0.1", - "registry-url": "^6.0.0", - "semver": "^7.3.7" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pidtree": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz", - "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==", - "dev": true, - "bin": { - "pidtree": "bin/pidtree.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "engines": { - "node": ">=6" - } - }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/preferred-pm": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/preferred-pm/-/preferred-pm-3.1.2.tgz", - "integrity": "sha512-nk7dKrcW8hfCZ4H6klWcdRknBOXWzNQByJ0oJyX97BOupsYD+FzLS4hflgEu/uPUEHZCuRfMxzCBsuWd7OzT8Q==", - "dependencies": { - "find-up": "^5.0.0", - "find-yarn-workspace-root2": "1.2.16", - "path-exists": "^4.0.0", - "which-pm": "2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/preferred-pm/node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/preferred-pm/node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/preferred-pm/node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/preferred-pm/node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, - "node_modules/proto-list": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==" - }, - "node_modules/proxy-agent": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.3.1.tgz", - "integrity": "sha512-Rb5RVBy1iyqOtNl15Cw/llpeLH8bsb37gM1FUfKQ+Wck6xHlbAhWGUFiTRHtkjqGTA5pSHz6+0hrPW/oECihPQ==", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.2", - "lru-cache": "^7.14.1", - "pac-proxy-agent": "^7.0.1", - "proxy-from-env": "^1.1.0", - "socks-proxy-agent": "^8.0.2" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" - }, - "node_modules/pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==" - }, - "node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/pupa": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/pupa/-/pupa-3.1.0.tgz", - "integrity": "sha512-FLpr4flz5xZTSJxSeaheeMKN/EDzMdK7b8PTOC6a5PYFKTucWbdqjgqaEyH0shFiSJrVB1+Qqi4Tk19ccU6Aug==", - "dependencies": { - "escape-goat": "^4.0.0" - }, - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/quick-lru": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", - "engines": { - "node": ">=8" - } - }, - "node_modules/rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "dependencies": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "bin": { - "rc": "cli.js" - } - }, - "node_modules/rc/node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" - }, - "node_modules/rc/node_modules/strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg-up/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg/node_modules/type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/read-yaml-file": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-yaml-file/-/read-yaml-file-1.1.0.tgz", - "integrity": "sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==", - "dependencies": { - "graceful-fs": "^4.1.5", - "js-yaml": "^3.6.1", - "pify": "^4.0.1", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", - "dependencies": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz", - "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==" - }, - "node_modules/regexp.prototype.flags": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz", - "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "set-function-name": "^2.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/registry-auth-token": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-5.0.2.tgz", - "integrity": "sha512-o/3ikDxtXaA59BmZuZrJZDJv8NMDGSj+6j6XaeBmHw8eY1i1qd9+6H+LjVvQXx3HN6aRCGa1cUdJ9RaJZUugnQ==", - "dependencies": { - "@pnpm/npm-conf": "^2.1.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/registry-url": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-6.0.1.tgz", - "integrity": "sha512-+crtS5QjFRqFCoQmvGduwYWEBng99ZvmFvF+cUJkGYF1L1BfU8C6Zp9T7f5vPAwyLkUExpvK+ANVZmGU49qi4Q==", - "dependencies": { - "rc": "1.2.8" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-main-filename": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" - }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-alpn": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz", - "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==" - }, - "node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/responselike": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-3.0.0.tgz", - "integrity": "sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==", - "dependencies": { - "lowercase-keys": "^3.0.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/restore-cursor/node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/restore-cursor/node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/restore-cursor/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rfdc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz", - "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==", - "dev": true - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/run-async": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-3.0.0.tgz", - "integrity": "sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/safe-array-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.1.tgz", - "integrity": "sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1", - "has-symbols": "^1.0.3", - "isarray": "^2.0.5" - }, - "engines": { - "node": ">=0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safe-regex-test": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", - "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "is-regex": "^1.1.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-4.0.0.tgz", - "integrity": "sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA==", - "dependencies": { - "semver": "^7.3.5" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semver/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" - }, - "node_modules/set-function-length": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", - "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", - "dependencies": { - "define-data-property": "^1.1.1", - "get-intrinsic": "^1.2.1", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/set-function-name": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", - "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==", - "dependencies": { - "define-data-property": "^1.0.1", - "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "engines": { - "node": ">=8" - } - }, - "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/slice-ansi": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", - "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^6.0.0", - "is-fullwidth-code-point": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, - "node_modules/slice-ansi/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/smart-buffer": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", - "engines": { - "node": ">= 6.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/smartwrap": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/smartwrap/-/smartwrap-2.0.2.tgz", - "integrity": "sha512-vCsKNQxb7PnCNd2wY1WClWifAc2lwqsG8OaswpJkVJsvMGcnEntdTCDajZCkk93Ay1U3t/9puJmb525Rg5MZBA==", - "dependencies": { - "array.prototype.flat": "^1.2.3", - "breakword": "^1.0.5", - "grapheme-splitter": "^1.0.4", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1", - "yargs": "^15.1.0" - }, - "bin": { - "smartwrap": "src/terminal-adapter.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/smartwrap/node_modules/cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "node_modules/smartwrap/node_modules/y18n": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" - }, - "node_modules/smartwrap/node_modules/yargs": { - "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", - "dependencies": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/socks": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", - "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", - "dependencies": { - "ip": "^2.0.0", - "smart-buffer": "^4.2.0" - }, - "engines": { - "node": ">= 10.13.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks-proxy-agent": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz", - "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "socks": "^2.7.1" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/socks/node_modules/ip": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/spawndamnit": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/spawndamnit/-/spawndamnit-2.0.0.tgz", - "integrity": "sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA==", - "dependencies": { - "cross-spawn": "^5.1.0", - "signal-exit": "^3.0.2" - } - }, - "node_modules/spawndamnit/node_modules/cross-spawn": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", - "integrity": "sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==", - "dependencies": { - "lru-cache": "^4.0.1", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - } - }, - "node_modules/spawndamnit/node_modules/lru-cache": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", - "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", - "dependencies": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" - } - }, - "node_modules/spawndamnit/node_modules/shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==", - "dependencies": { - "shebang-regex": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/spawndamnit/node_modules/shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/spawndamnit/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - }, - "node_modules/spawndamnit/node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, - "node_modules/spawndamnit/node_modules/yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" - }, - "node_modules/spdx-correct": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", - "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-license-ids": { - "version": "3.0.16", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", - "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==" - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" - }, - "node_modules/stdin-discarder": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.1.0.tgz", - "integrity": "sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==", - "dependencies": { - "bl": "^5.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/stream-transform": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/stream-transform/-/stream-transform-2.1.3.tgz", - "integrity": "sha512-9GHUiM5hMiCi6Y03jD2ARC1ettBXkQBoQAe7nJsPknnI0ow10aXjTnew8QtYQmLjzn974BnmWEAJgCY6ZP1DeQ==", - "dependencies": { - "mixme": "^0.5.1" - } - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-argv": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", - "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==", - "dev": true, - "engines": { - "node": ">=0.6.19" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/string.prototype.trim": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz", - "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz", - "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", - "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "engines": { - "node": ">=4" - } - }, - "node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dependencies": { - "min-indent": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/stubborn-fs": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/stubborn-fs/-/stubborn-fs-1.2.5.tgz", - "integrity": "sha512-H2N9c26eXjzL/S/K+i/RHHcFanE74dptvvjM8iwzwbVcWY/zjBbgRqF3K0DY4+OD+uTTASTBvDoxPDaPN02D7g==" - }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/term-size": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz", - "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true - }, - "node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/trim-newlines": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - }, - "node_modules/tty-table": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/tty-table/-/tty-table-4.2.3.tgz", - "integrity": "sha512-Fs15mu0vGzCrj8fmJNP7Ynxt5J7praPXqFN0leZeZBXJwkMxv9cb2D454k1ltrtUSJbZ4yH4e0CynsHLxmUfFA==", - "dependencies": { - "chalk": "^4.1.2", - "csv": "^5.5.3", - "kleur": "^4.1.5", - "smartwrap": "^2.0.2", - "strip-ansi": "^6.0.1", - "wcwidth": "^1.0.1", - "yargs": "^17.7.1" - }, - "bin": { - "tty-table": "adapters/terminal-adapter.js" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/tty-table/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/tty-table/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/tty-table/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/tty-table/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/tty-table/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/tty-table/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/turbo": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo/-/turbo-1.11.0.tgz", - "integrity": "sha512-zIqJs/x1zzIIdwufhk80o7cQc9fIdHdweWRNXbK+Vjf9IaM2eSslcYyo40s+Kg/oiIOpdLM8hV7IUQst8KIyDA==", - "bin": { - "turbo": "bin/turbo" - }, - "optionalDependencies": { - "turbo-darwin-64": "1.11.0", - "turbo-darwin-arm64": "1.11.0", - "turbo-linux-64": "1.11.0", - "turbo-linux-arm64": "1.11.0", - "turbo-windows-64": "1.11.0", - "turbo-windows-arm64": "1.11.0" - } - }, - "node_modules/turbo-darwin-64": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-1.11.0.tgz", - "integrity": "sha512-yLDeJ7QgpI1Niw87ydRNvygX67Dra+6MnxR88vwXnQJKsmHTKycBhY9w3Bhe5xvnIg4JoEWoEF5EJtw6ShrlEw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/turbo-darwin-arm64": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-1.11.0.tgz", - "integrity": "sha512-lZGlfTG6+u3R7+6eVY9j/07WpVF/tx8UNkmRWfMNt4ZGSEBMg6A+Vimvp+rni92WdPhD/rhxv+qYI/kco9hNXg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/turbo-linux-64": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-1.11.0.tgz", - "integrity": "sha512-I88/WieHzTZ8V2y0j79RSjVERPp0IJTynTwLi7ddYX0PahkuyaHs1p8ktFMcs6awnJMeT6spaXlyzv5ZxnAdkg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/turbo-linux-arm64": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-1.11.0.tgz", - "integrity": "sha512-jHsKuTFa7KwrA/FIxOnyXnfSEgDEUv0UVcseqQhP0VbdL+En93ZdBZ9S9/lI6VWooXrCqPooBmC+M/6jmwY/Ig==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/turbo-windows-64": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-1.11.0.tgz", - "integrity": "sha512-7u/1GoMallGDOTg4fnKoJmvBkf2pUCOcA0Z7NbwFB6GOa7q1Su4AaPs6Iy6Tyqrmj3vDHKSXByHwfz+o0cng/g==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/turbo-windows-arm64": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-1.11.0.tgz", - "integrity": "sha512-39MNaZ7RnbINEnpeAfB++fmH6p99RhbeeC8n2IXqG61Zrck5AA59Jm8DXpfOGR6Im93iHXSDox8qF3bb8V4amQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-fest": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", - "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/typed-array-buffer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz", - "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1", - "is-typed-array": "^1.1.10" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/typed-array-byte-length": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz", - "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==", - "dependencies": { - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "has-proto": "^1.0.1", - "is-typed-array": "^1.1.10" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typed-array-byte-offset": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz", - "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==", + "node_modules/typed-array-length": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", + "dev": true, "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "has-proto": "^1.0.1", - "is-typed-array": "^1.1.10" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -6402,42 +2885,24 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/typed-array-length": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", - "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", - "dependencies": { - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "is-typed-array": "^1.1.9" + "node_modules/typescript": { + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typedarray-to-buffer": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dependencies": { - "is-typedarray": "^1.0.0" - } - }, - "node_modules/uint8array-extras": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-0.3.0.tgz", - "integrity": "sha512-erJsJwQ0tKdwuqI0359U8ijkFmfiTcq25JvvzRVc1VP+2son1NJRXhxcAKJmAW3ajM8JSGAfsAXye8g4s+znxA==", "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=14.17" } }, "node_modules/unbox-primitive": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "has-bigints": "^1.0.2", @@ -6448,119 +2913,20 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/unique-string": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-3.0.0.tgz", - "integrity": "sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==", - "dependencies": { - "crypto-random-string": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/update-notifier": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-7.0.0.tgz", - "integrity": "sha512-Hv25Bh+eAbOLlsjJreVPOs4vd51rrtCrmhyOJtbpAojro34jS4KQaEp4/EvlHJX7jSO42VvEFpkastVyXyIsdQ==", - "dependencies": { - "boxen": "^7.1.1", - "chalk": "^5.3.0", - "configstore": "^6.0.0", - "import-lazy": "^4.0.0", - "is-in-ci": "^0.1.0", - "is-installed-globally": "^0.4.0", - "is-npm": "^6.0.0", - "latest-version": "^7.0.0", - "pupa": "^3.1.0", - "semver": "^7.5.4", - "semver-diff": "^4.0.0", - "xdg-basedir": "^5.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/yeoman/update-notifier?sponsor=1" - } - }, - "node_modules/update-notifier/node_modules/chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, "dependencies": { "punycode": "^2.1.0" } }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, - "node_modules/validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "node_modules/validator": { - "version": "13.11.0", - "resolved": "https://registry.npmjs.org/validator/-/validator-13.11.0.tgz", - "integrity": "sha512-Ii+sehpSfZy+At5nPdnyMhx78fEoPDkR2XW/zimHEL3MyGJQOCQ7WeP20jPYRz7ZCpcKLB21NxuXHF3bxjStBQ==", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", - "dependencies": { - "defaults": "^1.0.3" - } - }, - "node_modules/web-streams-polyfill": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", - "integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==", - "engines": { - "node": ">= 8" - } - }, - "node_modules/when-exit": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/when-exit/-/when-exit-2.1.1.tgz", - "integrity": "sha512-XLipGldz/UcleuGaoQjbYuWwD+ICRnzIjlldtwTaTWr7aZz8yQW49rXk6MHQnh+KxOiWiJpM1vIyaxprOnlW4g==" - }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, "dependencies": { "isexe": "^2.0.0" }, @@ -6575,6 +2941,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, "dependencies": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -6586,33 +2953,17 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/which-module": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", - "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==" - }, - "node_modules/which-pm": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-pm/-/which-pm-2.0.0.tgz", - "integrity": "sha512-Lhs9Pmyph0p5n5Z3mVnN0yWcbQYUAD7rbQUiMsQxOJ3T57k7RFe35SUwWMf7dsbDZks1uOmw4AecB/JMDj3v/w==", - "dependencies": { - "load-yaml-file": "^0.2.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8.15" - } - }, "node_modules/which-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", - "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", + "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "dev": true, "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.4", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -6621,459 +2972,40 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/widest-line": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-4.0.1.tgz", - "integrity": "sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig==", - "dependencies": { - "string-width": "^5.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/widest-line/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/widest-line/node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "node_modules/widest-line/node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/widest-line/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/wrap-ansi/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, - "node_modules/write-file-atomic": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", - "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "dependencies": { - "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" - } - }, - "node_modules/write-file-atomic/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - }, - "node_modules/xdg-basedir": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-5.1.0.tgz", - "integrity": "sha512-GCPAHLvrIH13+c0SuacwvRYj2SxJXQ4kaVTT5xgL3kPrz56XxkF21IGhjSE1+W0aw7gpBWRGXLCPnPby6lSpmQ==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "node_modules/yaml": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", - "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", - "dev": true, - "engines": { - "node": ">= 14" - } - }, - "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/yargs/node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "engines": { - "node": ">=12" - } - }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - } - }, - "dependencies": { - "@aashutoshrathi/word-wrap": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", - "dev": true - }, - "@babel/code-frame": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", - "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", - "requires": { - "@babel/highlight": "^7.23.4", - "chalk": "^2.4.2" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==" - }, - "@babel/highlight": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", - "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", - "requires": { - "@babel/helper-validator-identifier": "^7.22.20", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0" - } - }, - "@babel/runtime": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.5.tgz", - "integrity": "sha512-NdUTHcPe4C99WxPub+K9l9tK5/lV4UXIoaHSYgzco9BCyjKAAwzdBI+wWtYqHt7LJdbo74ZjRPJgzVweq1sz0w==", - "requires": { - "regenerator-runtime": "^0.14.0" - } - }, - "@changesets/apply-release-plan": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@changesets/apply-release-plan/-/apply-release-plan-7.0.0.tgz", - "integrity": "sha512-vfi69JR416qC9hWmFGSxj7N6wA5J222XNBmezSVATPWDVPIF7gkd4d8CpbEbXmRWbVrkoli3oerGS6dcL/BGsQ==", - "requires": { - "@babel/runtime": "^7.20.1", - "@changesets/config": "^3.0.0", - "@changesets/get-version-range-type": "^0.4.0", - "@changesets/git": "^3.0.0", - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3", - "detect-indent": "^6.0.0", - "fs-extra": "^7.0.1", - "lodash.startcase": "^4.4.0", - "outdent": "^0.5.0", - "prettier": "^2.7.1", - "resolve-from": "^5.0.0", - "semver": "^7.5.3" - } - }, - "@changesets/assemble-release-plan": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@changesets/assemble-release-plan/-/assemble-release-plan-6.0.0.tgz", - "integrity": "sha512-4QG7NuisAjisbW4hkLCmGW2lRYdPrKzro+fCtZaILX+3zdUELSvYjpL4GTv0E4aM9Mef3PuIQp89VmHJ4y2bfw==", - "requires": { - "@babel/runtime": "^7.20.1", - "@changesets/errors": "^0.2.0", - "@changesets/get-dependents-graph": "^2.0.0", - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3", - "semver": "^7.5.3" - } - }, - "@changesets/changelog-git": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@changesets/changelog-git/-/changelog-git-0.2.0.tgz", - "integrity": "sha512-bHOx97iFI4OClIT35Lok3sJAwM31VbUM++gnMBV16fdbtBhgYu4dxsphBF/0AZZsyAHMrnM0yFcj5gZM1py6uQ==", - "requires": { - "@changesets/types": "^6.0.0" - } - }, - "@changesets/cli": { - "version": "2.27.1", - "resolved": "https://registry.npmjs.org/@changesets/cli/-/cli-2.27.1.tgz", - "integrity": "sha512-iJ91xlvRnnrJnELTp4eJJEOPjgpF3NOh4qeQehM6Ugiz9gJPRZ2t+TsXun6E3AMN4hScZKjqVXl0TX+C7AB3ZQ==", - "requires": { - "@babel/runtime": "^7.20.1", - "@changesets/apply-release-plan": "^7.0.0", - "@changesets/assemble-release-plan": "^6.0.0", - "@changesets/changelog-git": "^0.2.0", - "@changesets/config": "^3.0.0", - "@changesets/errors": "^0.2.0", - "@changesets/get-dependents-graph": "^2.0.0", - "@changesets/get-release-plan": "^4.0.0", - "@changesets/git": "^3.0.0", - "@changesets/logger": "^0.1.0", - "@changesets/pre": "^2.0.0", - "@changesets/read": "^0.6.0", - "@changesets/types": "^6.0.0", - "@changesets/write": "^0.3.0", - "@manypkg/get-packages": "^1.1.3", - "@types/semver": "^7.5.0", - "ansi-colors": "^4.1.3", - "chalk": "^2.1.0", - "ci-info": "^3.7.0", - "enquirer": "^2.3.0", - "external-editor": "^3.1.0", - "fs-extra": "^7.0.1", - "human-id": "^1.0.2", - "meow": "^6.0.0", - "outdent": "^0.5.0", - "p-limit": "^2.2.0", - "preferred-pm": "^3.0.0", - "resolve-from": "^5.0.0", - "semver": "^7.5.3", - "spawndamnit": "^2.0.0", - "term-size": "^2.1.0", - "tty-table": "^4.1.5" - } - }, - "@changesets/config": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@changesets/config/-/config-3.0.0.tgz", - "integrity": "sha512-o/rwLNnAo/+j9Yvw9mkBQOZySDYyOr/q+wptRLcAVGlU6djOeP9v1nlalbL9MFsobuBVQbZCTp+dIzdq+CLQUA==", - "requires": { - "@changesets/errors": "^0.2.0", - "@changesets/get-dependents-graph": "^2.0.0", - "@changesets/logger": "^0.1.0", - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3", - "fs-extra": "^7.0.1", - "micromatch": "^4.0.2" - } - }, - "@changesets/errors": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@changesets/errors/-/errors-0.2.0.tgz", - "integrity": "sha512-6BLOQUscTpZeGljvyQXlWOItQyU71kCdGz7Pi8H8zdw6BI0g3m43iL4xKUVPWtG+qrrL9DTjpdn8eYuCQSRpow==", - "requires": { - "extendable-error": "^0.1.5" - } - }, - "@changesets/get-dependents-graph": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@changesets/get-dependents-graph/-/get-dependents-graph-2.0.0.tgz", - "integrity": "sha512-cafUXponivK4vBgZ3yLu944mTvam06XEn2IZGjjKc0antpenkYANXiiE6GExV/yKdsCnE8dXVZ25yGqLYZmScA==", - "requires": { - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3", - "chalk": "^2.1.0", - "fs-extra": "^7.0.1", - "semver": "^7.5.3" - } - }, - "@changesets/get-release-plan": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@changesets/get-release-plan/-/get-release-plan-4.0.0.tgz", - "integrity": "sha512-9L9xCUeD/Tb6L/oKmpm8nyzsOzhdNBBbt/ZNcjynbHC07WW4E1eX8NMGC5g5SbM5z/V+MOrYsJ4lRW41GCbg3w==", - "requires": { - "@babel/runtime": "^7.20.1", - "@changesets/assemble-release-plan": "^6.0.0", - "@changesets/config": "^3.0.0", - "@changesets/pre": "^2.0.0", - "@changesets/read": "^0.6.0", - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3" - } - }, - "@changesets/get-version-range-type": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@changesets/get-version-range-type/-/get-version-range-type-0.4.0.tgz", - "integrity": "sha512-hwawtob9DryoGTpixy1D3ZXbGgJu1Rhr+ySH2PvTLHvkZuQ7sRT4oQwMh0hbqZH1weAooedEjRsbrWcGLCeyVQ==" - }, - "@changesets/git": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@changesets/git/-/git-3.0.0.tgz", - "integrity": "sha512-vvhnZDHe2eiBNRFHEgMiGd2CT+164dfYyrJDhwwxTVD/OW0FUD6G7+4DIx1dNwkwjHyzisxGAU96q0sVNBns0w==", - "requires": { - "@babel/runtime": "^7.20.1", - "@changesets/errors": "^0.2.0", - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3", - "is-subdir": "^1.1.1", - "micromatch": "^4.0.2", - "spawndamnit": "^2.0.0" - } - }, - "@changesets/logger": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@changesets/logger/-/logger-0.1.0.tgz", - "integrity": "sha512-pBrJm4CQm9VqFVwWnSqKEfsS2ESnwqwH+xR7jETxIErZcfd1u2zBSqrHbRHR7xjhSgep9x2PSKFKY//FAshA3g==", - "requires": { - "chalk": "^2.1.0" - } - }, - "@changesets/parse": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@changesets/parse/-/parse-0.4.0.tgz", - "integrity": "sha512-TS/9KG2CdGXS27S+QxbZXgr8uPsP4yNJYb4BC2/NeFUj80Rni3TeD2qwWmabymxmrLo7JEsytXH1FbpKTbvivw==", - "requires": { - "@changesets/types": "^6.0.0", - "js-yaml": "^3.13.1" - } - }, - "@changesets/pre": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@changesets/pre/-/pre-2.0.0.tgz", - "integrity": "sha512-HLTNYX/A4jZxc+Sq8D1AMBsv+1qD6rmmJtjsCJa/9MSRybdxh0mjbTvE6JYZQ/ZiQ0mMlDOlGPXTm9KLTU3jyw==", - "requires": { - "@babel/runtime": "^7.20.1", - "@changesets/errors": "^0.2.0", - "@changesets/types": "^6.0.0", - "@manypkg/get-packages": "^1.1.3", - "fs-extra": "^7.0.1" - } - }, - "@changesets/read": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@changesets/read/-/read-0.6.0.tgz", - "integrity": "sha512-ZypqX8+/im1Fm98K4YcZtmLKgjs1kDQ5zHpc2U1qdtNBmZZfo/IBiG162RoP0CUF05tvp2y4IspH11PLnPxuuw==", - "requires": { - "@babel/runtime": "^7.20.1", - "@changesets/git": "^3.0.0", - "@changesets/logger": "^0.1.0", - "@changesets/parse": "^0.4.0", - "@changesets/types": "^6.0.0", - "chalk": "^2.1.0", - "fs-extra": "^7.0.1", - "p-filter": "^2.1.0" + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "@changesets/types": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@changesets/types/-/types-6.0.0.tgz", - "integrity": "sha512-b1UkfNulgKoWfqyHtzKS5fOZYSJO+77adgL7DLRDr+/7jhChN+QcHnbjiQVOz/U+Ts3PGNySq7diAItzDgugfQ==" - }, - "@changesets/write": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@changesets/write/-/write-0.3.0.tgz", - "integrity": "sha512-slGLb21fxZVUYbyea+94uFiD6ntQW0M2hIKNznFizDhZPDgn2c/fv1UzzlW43RVzh1BEDuIqW6hzlJ1OflNmcw==", - "requires": { - "@babel/runtime": "^7.20.1", - "@changesets/types": "^6.0.0", - "fs-extra": "^7.0.1", - "human-id": "^1.0.2", - "prettier": "^2.7.1" + "node_modules/zod": { + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/colinhacks" } + } + }, + "dependencies": { + "@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true }, "@eslint-community/eslint-utils": { "version": "4.4.0", @@ -7125,19 +3057,19 @@ } }, "@eslint/js": { - "version": "8.55.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.55.0.tgz", - "integrity": "sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", + "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "dev": true }, "@humanwhocodes/config-array": { - "version": "0.11.13", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", - "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", "dev": true, "requires": { - "@humanwhocodes/object-schema": "^2.0.1", - "debug": "^4.1.1", + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", "minimatch": "^3.0.5" } }, @@ -7148,76 +3080,16 @@ "dev": true }, "@humanwhocodes/object-schema": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", - "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", "dev": true }, - "@ljharb/through": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.11.tgz", - "integrity": "sha512-ccfcIDlogiXNq5KcbAwbaO7lMh3Tm1i3khMPYpxlK8hH/W53zN81KM9coerRLOnTGu3nfXIniAmQbRI9OxbC0w==", - "requires": { - "call-bind": "^1.0.2" - } - }, - "@manypkg/find-root": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@manypkg/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==", - "requires": { - "@babel/runtime": "^7.5.5", - "@types/node": "^12.7.1", - "find-up": "^4.1.0", - "fs-extra": "^8.1.0" - }, - "dependencies": { - "fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - } - } - }, - "@manypkg/get-packages": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@manypkg/get-packages/-/get-packages-1.1.3.tgz", - "integrity": "sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==", - "requires": { - "@babel/runtime": "^7.5.5", - "@changesets/types": "^4.0.1", - "@manypkg/find-root": "^1.1.0", - "fs-extra": "^8.1.0", - "globby": "^11.0.0", - "read-yaml-file": "^1.1.0" - }, - "dependencies": { - "@changesets/types": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@changesets/types/-/types-4.1.0.tgz", - "integrity": "sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==" - }, - "fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - } - } - }, "@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, "requires": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -7226,89 +3098,152 @@ "@nodelib/fs.stat": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true }, "@nodelib/fs.walk": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, "requires": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, - "@pnpm/config.env-replace": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz", - "integrity": "sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w==" + "@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", + "dev": true + }, + "@types/jsonpath": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@types/jsonpath/-/jsonpath-0.2.4.tgz", + "integrity": "sha512-K3hxB8Blw0qgW6ExKgMbXQv2UPZBoE2GqLpVY+yr7nMD2Pq86lsuIzyAaiQ7eMqFL5B6di6pxSkogLJEyEHoGA==", + "dev": true }, - "@pnpm/network.ca-file": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@pnpm/network.ca-file/-/network.ca-file-1.0.2.tgz", - "integrity": "sha512-YcPQ8a0jwYU9bTdJDpXjMi7Brhkr1mXsXrUJvjqM2mQDgkRiz8jFaQGOdaLxgjtUfQgZhKy/O3cG/YwmgKaxLA==", + "@typescript-eslint/eslint-plugin": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.13.1.tgz", + "integrity": "sha512-kZqi+WZQaZfPKnsflLJQCz6Ze9FFSMfXrrIOcyargekQxG37ES7DJNpJUE9Q/X5n3yTIP/WPutVNzgknQ7biLg==", + "dev": true, "requires": { - "graceful-fs": "4.2.10" - }, - "dependencies": { - "graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" - } + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "7.13.1", + "@typescript-eslint/type-utils": "7.13.1", + "@typescript-eslint/utils": "7.13.1", + "@typescript-eslint/visitor-keys": "7.13.1", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" } }, - "@pnpm/npm-conf": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-2.2.2.tgz", - "integrity": "sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA==", + "@typescript-eslint/parser": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.13.1.tgz", + "integrity": "sha512-1ELDPlnLvDQ5ybTSrMhRTFDfOQEOXNM+eP+3HT/Yq7ruWpciQw+Avi73pdEbA4SooCawEWo3dtYbF68gN7Ed1A==", + "dev": true, "requires": { - "@pnpm/config.env-replace": "^1.1.0", - "@pnpm/network.ca-file": "^1.0.1", - "config-chain": "^1.1.11" + "@typescript-eslint/scope-manager": "7.13.1", + "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/typescript-estree": "7.13.1", + "@typescript-eslint/visitor-keys": "7.13.1", + "debug": "^4.3.4" } }, - "@sindresorhus/is": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-5.6.0.tgz", - "integrity": "sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==" - }, - "@szmarczak/http-timer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-5.0.1.tgz", - "integrity": "sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==", + "@typescript-eslint/scope-manager": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.13.1.tgz", + "integrity": "sha512-adbXNVEs6GmbzaCpymHQ0MB6E4TqoiVbC0iqG3uijR8ZYfpAXMGttouQzF4Oat3P2GxDVIrg7bMI/P65LiQZdg==", + "dev": true, "requires": { - "defer-to-connect": "^2.0.1" + "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/visitor-keys": "7.13.1" } }, - "@tootallnate/quickjs-emscripten": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", - "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==" - }, - "@types/http-cache-semantics": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz", - "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==" + "@typescript-eslint/type-utils": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.13.1.tgz", + "integrity": "sha512-aWDbLu1s9bmgPGXSzNCxELu+0+HQOapV/y+60gPXafR8e2g1Bifxzevaa+4L2ytCWm+CHqpELq4CSoN9ELiwCg==", + "dev": true, + "requires": { + "@typescript-eslint/typescript-estree": "7.13.1", + "@typescript-eslint/utils": "7.13.1", + "debug": "^4.3.4", + "ts-api-utils": "^1.3.0" + } }, - "@types/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==" + "@typescript-eslint/types": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.13.1.tgz", + "integrity": "sha512-7K7HMcSQIAND6RBL4kDl24sG/xKM13cA85dc7JnmQXw2cBDngg7c19B++JzvJHRG3zG36n9j1i451GBzRuHchw==", + "dev": true }, - "@types/node": { - "version": "12.20.55", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", - "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==" + "@typescript-eslint/typescript-estree": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.13.1.tgz", + "integrity": "sha512-uxNr51CMV7npU1BxZzYjoVz9iyjckBduFBP0S5sLlh1tXYzHzgZ3BR9SVsNed+LmwKrmnqN3Kdl5t7eZ5TS1Yw==", + "dev": true, + "requires": { + "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/visitor-keys": "7.13.1", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", + "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "semver": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "dev": true + } + } }, - "@types/normalize-package-data": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", - "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==" + "@typescript-eslint/utils": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.13.1.tgz", + "integrity": "sha512-h5MzFBD5a/Gh/fvNdp9pTfqJAbuQC4sCN2WzuXme71lqFJsZtLbjxfSk4r3p02WIArOF9N94pdsLiGutpDbrXQ==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "7.13.1", + "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/typescript-estree": "7.13.1" + } }, - "@types/semver": { - "version": "7.5.6", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", - "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==" + "@typescript-eslint/visitor-keys": { + "version": "7.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.13.1.tgz", + "integrity": "sha512-k/Bfne7lrP7hcb7m9zSsgcBmo+8eicqqfNAJ7uUY+jkTFpKeH2FSkWpFRtimBxgkyvqfu9jTPRbYOvud6isdXA==", + "dev": true, + "requires": { + "@typescript-eslint/types": "7.13.1", + "eslint-visitor-keys": "^3.4.3" + } }, "@ungap/structured-clone": { "version": "1.2.0", @@ -7329,14 +3264,6 @@ "dev": true, "requires": {} }, - "agent-base": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", - "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", - "requires": { - "debug": "^4.3.4" - } - }, "ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -7349,99 +3276,61 @@ "uri-js": "^4.2.2" } }, - "ajv-formats": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "requires": { - "ajv": "^8.0.0" - }, - "dependencies": { - "ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - } - } - }, - "ansi-align": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", - "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", - "requires": { - "string-width": "^4.1.0" - } - }, - "ansi-colors": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==" - }, - "ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "requires": { - "type-fest": "^0.21.3" - }, - "dependencies": { - "type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" - } - } - }, "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "array-buffer-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", + "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", + "dev": true, "requires": { - "sprintf-js": "~1.0.2" + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" } }, - "array-buffer-byte-length": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", - "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "array-includes": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", + "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", + "dev": true, "requires": { - "call-bind": "^1.0.2", - "is-array-buffer": "^3.0.1" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.4", + "is-string": "^1.0.7" } }, "array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true + }, + "array.prototype.findlastindex": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz", + "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-shim-unscopables": "^1.0.2" + } }, "array.prototype.flat": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -7449,406 +3338,85 @@ "es-shim-unscopables": "^1.0.0" } }, - "arraybuffer.prototype.slice": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz", - "integrity": "sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==", + "array.prototype.flatmap": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", + "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "dev": true, "requires": { - "array-buffer-byte-length": "^1.0.0", "call-bind": "^1.0.2", "define-properties": "^1.2.0", "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1", - "is-array-buffer": "^3.0.2", - "is-shared-array-buffer": "^1.0.2" - } - }, - "arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==" - }, - "ast-types": { - "version": "0.13.4", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", - "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", - "requires": { - "tslib": "^2.0.1" - } - }, - "atomically": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/atomically/-/atomically-2.0.2.tgz", - "integrity": "sha512-Xfmb4q5QV7uqTlVdMSTtO5eF4DCHfNOdaPyKlbFShkzeNP+3lj3yjjcbdjSmEY4+pDBKJ9g26aP+ImTe88UHoQ==", - "requires": { - "stubborn-fs": "^1.2.5", - "when-exit": "^2.0.0" - } - }, - "available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - }, - "basic-ftp": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.3.tgz", - "integrity": "sha512-QHX8HLlncOLpy54mh+k/sWIFd0ThmRqwe9ZjELybGZK+tZ8rUb9VO0saKJUROTbE+KhzDUT7xziGpGrW8Kmd+g==" - }, - "better-path-resolve": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/better-path-resolve/-/better-path-resolve-1.0.0.tgz", - "integrity": "sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==", - "requires": { - "is-windows": "^1.0.0" - } - }, - "bl": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-5.1.0.tgz", - "integrity": "sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==", - "requires": { - "buffer": "^6.0.3", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "boxen": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-7.1.1.tgz", - "integrity": "sha512-2hCgjEmP8YLWQ130n2FerGv7rYpfBmnmp9Uy2Le1vge6X3gZIfSmEzP5QTDElFxcvVcXlEn8Aq6MU/PZygIOog==", - "requires": { - "ansi-align": "^3.0.1", - "camelcase": "^7.0.1", - "chalk": "^5.2.0", - "cli-boxes": "^3.0.0", - "string-width": "^5.1.2", - "type-fest": "^2.13.0", - "widest-line": "^4.0.1", - "wrap-ansi": "^8.1.0" - }, - "dependencies": { - "ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" - }, - "ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==" - }, - "camelcase": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-7.0.1.tgz", - "integrity": "sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==" - }, - "chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==" - }, - "emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "requires": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - } - }, - "strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "requires": { - "ansi-regex": "^6.0.1" - } - }, - "type-fest": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", - "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==" - }, - "wrap-ansi": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", - "requires": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - } - } + "es-shim-unscopables": "^1.0.0" } }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "arraybuffer.prototype.slice": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", + "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", "dev": true, "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "requires": { - "fill-range": "^7.0.1" - } - }, - "breakword": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/breakword/-/breakword-1.0.6.tgz", - "integrity": "sha512-yjxDAYyK/pBvws9H4xKYpLDpYKEH6CzrBPAuXq3x18I+c/2MkVtT3qAr7Oloi6Dss9qNhPVueAAVU1CSeNDIXw==", - "requires": { - "wcwidth": "^1.0.1" - } - }, - "buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "cacheable-lookup": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz", - "integrity": "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==" - }, - "cacheable-request": { - "version": "10.2.14", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.14.tgz", - "integrity": "sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==", - "requires": { - "@types/http-cache-semantics": "^4.0.2", - "get-stream": "^6.0.1", - "http-cache-semantics": "^4.1.1", - "keyv": "^4.5.3", - "mimic-response": "^4.0.0", - "normalize-url": "^8.0.0", - "responselike": "^3.0.0" - }, - "dependencies": { - "get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==" - } - } - }, - "call-bind": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", - "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", - "requires": { - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.1", - "set-function-length": "^1.1.1" - } - }, - "callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true - }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" - }, - "camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", - "requires": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", + "is-shared-array-buffer": "^1.0.2" } }, - "chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" - }, - "ci-info": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", - "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==" - }, - "cli-boxes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz", - "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==" - }, - "cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "available-typed-arrays": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "dev": true, "requires": { - "restore-cursor": "^3.1.0" + "possible-typed-array-names": "^1.0.0" } }, - "cli-spinners": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==" + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true }, - "cli-truncate": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz", - "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "requires": { - "slice-ansi": "^5.0.0", - "string-width": "^7.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true - }, - "emoji-regex": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", - "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", - "dev": true - }, - "string-width": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", - "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", - "dev": true, - "requires": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - } - }, - "strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, - "requires": { - "ansi-regex": "^6.0.1" - } - } + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "cli-width": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", - "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==" - }, - "cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - } + "fill-range": "^7.0.1" } }, - "clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==" - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "call-bind": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "dev": true, "requires": { - "color-name": "1.1.3" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" } }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" - }, - "colorette": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", - "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", - "dev": true - }, - "commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true }, "concat-map": { @@ -7857,249 +3425,92 @@ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", "dev": true }, - "conf": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/conf/-/conf-12.0.0.tgz", - "integrity": "sha512-fIWyWUXrJ45cHCIQX+Ck1hrZDIf/9DR0P0Zewn3uNht28hbt5OfGUq8rRWsxi96pZWPyBEd0eY9ama01JTaknA==", - "requires": { - "ajv": "^8.12.0", - "ajv-formats": "^2.1.1", - "atomically": "^2.0.2", - "debounce-fn": "^5.1.2", - "dot-prop": "^8.0.2", - "env-paths": "^3.0.0", - "json-schema-typed": "^8.0.1", - "semver": "^7.5.4", - "uint8array-extras": "^0.3.0" - }, - "dependencies": { - "ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - } - } - }, - "config-chain": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", - "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", - "requires": { - "ini": "^1.3.4", - "proto-list": "~1.2.1" - }, - "dependencies": { - "ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" - } - } - }, - "configstore": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-6.0.0.tgz", - "integrity": "sha512-cD31W1v3GqUlQvbBCGcXmd2Nj9SvLDOP1oQ0YFuLETufzSPaKp11rYBsSOm7rCsW3OnIRAFM3OxRhceaXNYHkA==", - "requires": { - "dot-prop": "^6.0.1", - "graceful-fs": "^4.2.6", - "unique-string": "^3.0.0", - "write-file-atomic": "^3.0.3", - "xdg-basedir": "^5.0.1" - }, - "dependencies": { - "dot-prop": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz", - "integrity": "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==", - "requires": { - "is-obj": "^2.0.0" - } - } - } - }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, "requires": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, - "crypto-random-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-4.0.0.tgz", - "integrity": "sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA==", + "data-view-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", + "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", + "dev": true, "requires": { - "type-fest": "^1.0.1" - }, - "dependencies": { - "type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==" - } + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" } }, - "csv": { - "version": "5.5.3", - "resolved": "https://registry.npmjs.org/csv/-/csv-5.5.3.tgz", - "integrity": "sha512-QTaY0XjjhTQOdguARF0lGKm5/mEq9PD9/VhZZegHDIBq2tQwgNpHc3dneD4mGo2iJs+fTKv5Bp0fZ+BRuY3Z0g==", + "data-view-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", + "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", + "dev": true, "requires": { - "csv-generate": "^3.4.3", - "csv-parse": "^4.16.3", - "csv-stringify": "^5.6.5", - "stream-transform": "^2.1.3" + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" } }, - "csv-generate": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/csv-generate/-/csv-generate-3.4.3.tgz", - "integrity": "sha512-w/T+rqR0vwvHqWs/1ZyMDWtHHSJaN06klRqJXBEpDJaM/+dZkso0OKh1VcuuYvK3XM53KysVNq8Ko/epCK8wOw==" - }, - "csv-parse": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.16.3.tgz", - "integrity": "sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==" - }, - "csv-stringify": { - "version": "5.6.5", - "resolved": "https://registry.npmjs.org/csv-stringify/-/csv-stringify-5.6.5.tgz", - "integrity": "sha512-PjiQ659aQ+fUTQqSrd1XEDnOr52jh30RBurfzkscaE2tPaFsDH5wOAHJiw8XAHphRknCwMUE9KRayc4K/NbO8A==" - }, - "data-uri-to-buffer": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", - "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==" - }, - "debounce-fn": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/debounce-fn/-/debounce-fn-5.1.2.tgz", - "integrity": "sha512-Sr4SdOZ4vw6eQDvPYNxHogvrxmCIld/VenC5JbNrFwMiwd7lY/Z18ZFfo+EWNG4DD9nFlAujWAo/wGuOPHmy5A==", + "data-view-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", + "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", + "dev": true, "requires": { - "mimic-fn": "^4.0.0" + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" } }, "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, "requires": { "ms": "2.1.2" } }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==" - }, - "decamelize-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", - "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", - "requires": { - "decamelize": "^1.1.0", - "map-obj": "^1.0.0" - }, - "dependencies": { - "map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==" - } - } - }, - "decompress-response": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", - "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", - "requires": { - "mimic-response": "^3.1.0" - }, - "dependencies": { - "mimic-response": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", - "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==" - } - } - }, - "deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" - }, "deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, - "defaults": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", - "requires": { - "clone": "^1.0.2" - } - }, - "defer-to-connect": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", - "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==" - }, "define-data-property": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", - "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dev": true, "requires": { - "get-intrinsic": "^1.2.1", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" } }, "define-properties": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dev": true, "requires": { "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" } }, - "degenerator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", - "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", - "requires": { - "ast-types": "^0.13.4", - "escodegen": "^2.1.0", - "esprima": "^4.0.1" - } - }, - "detect-indent": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", - "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==" - }, "dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, "requires": { "path-type": "^4.0.0" } @@ -8113,106 +3524,110 @@ "esutils": "^2.0.2" } }, - "dot-prop": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-8.0.2.tgz", - "integrity": "sha512-xaBe6ZT4DHPkg0k4Ytbvn5xoxgpG0jOS1dYxSOwAHPuNLjP3/OzN0gH55SrLqpx8cBfSaVt91lXYkApjb+nYdQ==", - "requires": { - "type-fest": "^3.8.0" - } - }, - "eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "enquirer": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", - "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", - "requires": { - "ansi-colors": "^4.1.1", - "strip-ansi": "^6.0.1" - } - }, - "env-paths": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-3.0.0.tgz", - "integrity": "sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==" - }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "enhanced-resolve": { + "version": "5.17.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.0.tgz", + "integrity": "sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==", + "dev": true, "requires": { - "is-arrayish": "^0.2.1" + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" } }, "es-abstract": { - "version": "1.22.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.3.tgz", - "integrity": "sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==", + "version": "1.23.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", + "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", + "dev": true, "requires": { - "array-buffer-byte-length": "^1.0.0", - "arraybuffer.prototype.slice": "^1.0.2", - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.5", - "es-set-tostringtag": "^2.0.1", + "array-buffer-byte-length": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.3", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "data-view-buffer": "^1.0.1", + "data-view-byte-length": "^1.0.1", + "data-view-byte-offset": "^1.0.0", + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-set-tostringtag": "^2.0.3", "es-to-primitive": "^1.2.1", "function.prototype.name": "^1.1.6", - "get-intrinsic": "^1.2.2", - "get-symbol-description": "^1.0.0", + "get-intrinsic": "^1.2.4", + "get-symbol-description": "^1.0.2", "globalthis": "^1.0.3", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0", - "has-proto": "^1.0.1", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.0.3", "has-symbols": "^1.0.3", - "hasown": "^2.0.0", - "internal-slot": "^1.0.5", - "is-array-buffer": "^3.0.2", + "hasown": "^2.0.2", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", "is-callable": "^1.2.7", - "is-negative-zero": "^2.0.2", + "is-data-view": "^1.0.1", + "is-negative-zero": "^2.0.3", "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", + "is-shared-array-buffer": "^1.0.3", "is-string": "^1.0.7", - "is-typed-array": "^1.1.12", + "is-typed-array": "^1.1.13", "is-weakref": "^1.0.2", "object-inspect": "^1.13.1", "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.5.1", - "safe-array-concat": "^1.0.1", - "safe-regex-test": "^1.0.0", - "string.prototype.trim": "^1.2.8", - "string.prototype.trimend": "^1.0.7", - "string.prototype.trimstart": "^1.0.7", - "typed-array-buffer": "^1.0.0", - "typed-array-byte-length": "^1.0.0", - "typed-array-byte-offset": "^1.0.0", - "typed-array-length": "^1.0.4", + "object.assign": "^4.1.5", + "regexp.prototype.flags": "^1.5.2", + "safe-array-concat": "^1.1.2", + "safe-regex-test": "^1.0.3", + "string.prototype.trim": "^1.2.9", + "string.prototype.trimend": "^1.0.8", + "string.prototype.trimstart": "^1.0.8", + "typed-array-buffer": "^1.0.2", + "typed-array-byte-length": "^1.0.1", + "typed-array-byte-offset": "^1.0.2", + "typed-array-length": "^1.0.6", "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.13" + "which-typed-array": "^1.1.15" + } + }, + "es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.4" + } + }, + "es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true + }, + "es-object-atoms": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", + "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", + "dev": true, + "requires": { + "es-errors": "^1.3.0" } }, "es-set-tostringtag": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz", - "integrity": "sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", + "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", + "dev": true, "requires": { - "get-intrinsic": "^1.2.2", - "has-tostringtag": "^1.0.0", - "hasown": "^2.0.0" + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" } }, "es-shim-unscopables": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", + "dev": true, "requires": { "hasown": "^2.0.0" } @@ -8221,49 +3636,24 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, "requires": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", "is-symbol": "^1.0.2" } }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" - }, - "escape-goat": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-4.0.0.tgz", - "integrity": "sha512-2Sd4ShcWxbx6OY1IHyla/CVNwvg7XwZVoXZHcSu9w9SReNP1EzzD5T8NWKIR38fIqEns9kDWKUQTXXAmlDrdPg==" - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" - }, - "escodegen": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", - "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", - "requires": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2", - "source-map": "~0.6.1" - } - }, "eslint": { - "version": "8.55.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.55.0.tgz", - "integrity": "sha512-iyUUAM0PCKj5QpwGfmCAG9XXbZCWsqP/eWAWrG/W0umvjuLRBECwSFdt+rCntju0xEH7teIABPwXpahftIaTdA==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.55.0", - "@humanwhocodes/config-array": "^0.11.13", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", @@ -8376,35 +3766,143 @@ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, "requires": { - "p-locate": "^5.0.0" + "p-locate": "^5.0.0" + } + }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "eslint-import-resolver-node": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", + "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", + "dev": true, + "requires": { + "debug": "^3.2.7", + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "eslint-import-resolver-typescript": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.1.tgz", + "integrity": "sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==", + "dev": true, + "requires": { + "debug": "^4.3.4", + "enhanced-resolve": "^5.12.0", + "eslint-module-utils": "^2.7.4", + "fast-glob": "^3.3.1", + "get-tsconfig": "^4.5.0", + "is-core-module": "^2.11.0", + "is-glob": "^4.0.3" + } + }, + "eslint-module-utils": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz", + "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==", + "dev": true, + "requires": { + "debug": "^3.2.7" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" } - }, - "p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + } + } + }, + "eslint-plugin-import": { + "version": "2.29.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", + "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", + "dev": true, + "requires": { + "array-includes": "^3.1.7", + "array.prototype.findlastindex": "^1.2.3", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.8.0", + "hasown": "^2.0.0", + "is-core-module": "^2.13.1", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.7", + "object.groupby": "^1.0.1", + "object.values": "^1.1.7", + "semver": "^6.3.1", + "tsconfig-paths": "^3.15.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, "requires": { - "yocto-queue": "^0.1.0" + "ms": "^2.1.1" } }, - "p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", "dev": true, "requires": { - "p-limit": "^3.0.2" + "esutils": "^2.0.2" } }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } + "semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true } } }, @@ -8435,11 +3933,6 @@ "eslint-visitor-keys": "^3.4.1" } }, - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" - }, "esquery": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", @@ -8461,59 +3954,26 @@ "estraverse": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true }, "esutils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" - }, - "eventemitter3": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true }, - "execa": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", - "requires": { - "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" - } - }, - "extendable-error": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/extendable-error/-/extendable-error-0.1.7.tgz", - "integrity": "sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==" - }, - "external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "requires": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - } - }, "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true }, "fast-glob": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, "requires": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -8526,6 +3986,7 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, "requires": { "is-glob": "^4.0.1" } @@ -8548,35 +4009,11 @@ "version": "1.15.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dev": true, "requires": { "reusify": "^1.0.4" } }, - "fetch-blob": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", - "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", - "requires": { - "node-domexception": "^1.0.0", - "web-streams-polyfill": "^3.0.3" - } - }, - "figures": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-5.0.0.tgz", - "integrity": "sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==", - "requires": { - "escape-string-regexp": "^5.0.0", - "is-unicode-supported": "^1.2.0" - }, - "dependencies": { - "escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==" - } - } - }, "file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", @@ -8590,28 +4027,11 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, "requires": { "to-regex-range": "^5.0.1" } }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "find-yarn-workspace-root2": { - "version": "1.2.16", - "resolved": "https://registry.npmjs.org/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.16.tgz", - "integrity": "sha512-hr6hb1w8ePMpPVUK39S4RlwJzi+xPLuVuG8XlwXU3KD5Yn3qgBWVfy3AzNlDhWvE1EORCE65/Qm26rFQt3VLVA==", - "requires": { - "micromatch": "^4.0.2", - "pkg-dir": "^4.2.0" - } - }, "flat-cache": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", @@ -8633,33 +4053,11 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, "requires": { "is-callable": "^1.1.3" } }, - "form-data-encoder": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz", - "integrity": "sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==" - }, - "formdata-polyfill": { - "version": "4.0.10", - "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", - "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", - "requires": { - "fetch-blob": "^3.1.2" - } - }, - "fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -8669,12 +4067,14 @@ "function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==" + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true }, "function.prototype.name": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -8685,112 +4085,40 @@ "functions-have-names": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" - }, - "fuse.js": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-6.6.2.tgz", - "integrity": "sha512-cJaJkxCCxC8qIIcPBF9yGxY0W/tVZS3uEISDxhYIdtk8OL93pe+6Zj7LjCqVV4dzbqcriOZ+kQ/NE4RXZHsIGA==" - }, - "get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" - }, - "get-east-asian-width": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz", - "integrity": "sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", "dev": true }, "get-intrinsic": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", - "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "dev": true, "requires": { + "es-errors": "^1.3.0", "function-bind": "^1.1.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", "hasown": "^2.0.0" } }, - "get-stream": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==" - }, "get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - } - }, - "get-uri": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.2.tgz", - "integrity": "sha512-5KLucCJobh8vBY1K07EFV4+cPZH3mrV9YeAruUseCQKHB58SGjjT2l9/eA9LD082IiuMjSlFJEcdJ27TXvbZNw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", + "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", + "dev": true, "requires": { - "basic-ftp": "^5.0.2", - "data-uri-to-buffer": "^6.0.0", - "debug": "^4.3.4", - "fs-extra": "^8.1.0" - }, - "dependencies": { - "data-uri-to-buffer": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.1.tgz", - "integrity": "sha512-MZd3VlchQkp8rdend6vrx7MmVDJzSNTBvghvKjirLkD+WTChA3KUf0jkE68Q4UyctNqI11zZO9/x2Yx+ub5Cvg==" - }, - "fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - } + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" } }, - "gitmoji-cli": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/gitmoji-cli/-/gitmoji-cli-9.0.0.tgz", - "integrity": "sha512-yXVPbLHzC85da8tOq/h+WKrmtLQu/HgvS+nxp6rknTvVdW6tYIQqFDDJFeUy4MWLvPqsGCGnkF9PtI6PftMVIA==", + "get-tsconfig": { + "version": "4.7.5", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.5.tgz", + "integrity": "sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==", + "dev": true, "requires": { - "chalk": "^5.3.0", - "conf": "12.0.0", - "execa": "^8.0.1", - "fuse.js": "6.6.2", - "inquirer": "^9.2.11", - "inquirer-autocomplete-prompt": "^3.0.1", - "meow": "^12.1.1", - "node-fetch": "^3.3.2", - "ora": "^7.0.1", - "path-exists": "^5.0.0", - "proxy-agent": "^6.3.1", - "update-notifier": "^7.0.0", - "validator": "^13.11.0" - }, - "dependencies": { - "chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==" - }, - "meow": { - "version": "12.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", - "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==" - }, - "path-exists": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", - "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==" - } + "resolve-pkg-maps": "^1.0.0" } }, "glob": { @@ -8816,14 +4144,6 @@ "is-glob": "^4.0.3" } }, - "global-dirs": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.1.tgz", - "integrity": "sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==", - "requires": { - "ini": "2.0.0" - } - }, "globals": { "version": "13.23.0", "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", @@ -8845,6 +4165,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dev": true, "requires": { "define-properties": "^1.1.3" } @@ -8853,6 +4174,7 @@ "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, "requires": { "array-union": "^2.1.0", "dir-glob": "^3.0.1", @@ -8866,44 +4188,16 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, "requires": { "get-intrinsic": "^1.1.3" } }, - "got": { - "version": "12.6.1", - "resolved": "https://registry.npmjs.org/got/-/got-12.6.1.tgz", - "integrity": "sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ==", - "requires": { - "@sindresorhus/is": "^5.2.0", - "@szmarczak/http-timer": "^5.0.1", - "cacheable-lookup": "^7.0.0", - "cacheable-request": "^10.2.8", - "decompress-response": "^6.0.0", - "form-data-encoder": "^2.1.2", - "get-stream": "^6.0.1", - "http2-wrapper": "^2.1.10", - "lowercase-keys": "^3.0.0", - "p-cancelable": "^3.0.0", - "responselike": "^3.0.0" - }, - "dependencies": { - "get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==" - } - } - }, "graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" - }, - "grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==" + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true }, "graphemer": { "version": "1.4.0", @@ -8911,132 +4205,56 @@ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "dev": true }, - "hard-rejection": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==" - }, "has-bigints": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true }, "has-property-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", - "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dev": true, "requires": { - "get-intrinsic": "^1.2.2" + "es-define-property": "^1.0.0" } }, "has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "dev": true }, "has-symbols": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true }, "has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dev": true, "requires": { - "has-symbols": "^1.0.2" + "has-symbols": "^1.0.3" } }, "hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, "requires": { "function-bind": "^1.1.2" } }, - "hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" - }, - "http-cache-semantics": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", - "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==" - }, - "http-proxy-agent": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz", - "integrity": "sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==", - "requires": { - "agent-base": "^7.1.0", - "debug": "^4.3.4" - } - }, - "http2-wrapper": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.1.tgz", - "integrity": "sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ==", - "requires": { - "quick-lru": "^5.1.1", - "resolve-alpn": "^1.2.0" - }, - "dependencies": { - "quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==" - } - } - }, - "https-proxy-agent": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz", - "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==", - "requires": { - "agent-base": "^7.0.2", - "debug": "4" - } - }, - "human-id": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/human-id/-/human-id-1.0.2.tgz", - "integrity": "sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==" - }, - "human-signals": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==" - }, - "husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", - "dev": true - }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - }, "ignore": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", - "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==" + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "dev": true }, "import-fresh": { "version": "3.3.0", @@ -9056,20 +4274,11 @@ } } }, - "import-lazy": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz", - "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==" - }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==" - }, - "indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true }, "inflight": { "version": "1.0.6", @@ -9077,220 +4286,42 @@ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "dev": true, "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "ini": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", - "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==" - }, - "inquirer": { - "version": "9.2.12", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.12.tgz", - "integrity": "sha512-mg3Fh9g2zfuVWJn6lhST0O7x4n03k7G8Tx5nvikJkbq8/CK47WDVm+UznF0G6s5Zi0KcyUisr6DU8T67N5U+1Q==", - "requires": { - "@ljharb/through": "^2.3.11", - "ansi-escapes": "^4.3.2", - "chalk": "^5.3.0", - "cli-cursor": "^3.1.0", - "cli-width": "^4.1.0", - "external-editor": "^3.1.0", - "figures": "^5.0.0", - "lodash": "^4.17.21", - "mute-stream": "1.0.0", - "ora": "^5.4.1", - "run-async": "^3.0.0", - "rxjs": "^7.8.1", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "requires": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==" - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" - }, - "is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==" - }, - "is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" - }, - "log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "requires": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - } - } - }, - "ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", - "requires": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - } - } - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "inquirer-autocomplete-prompt": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-3.0.1.tgz", - "integrity": "sha512-DQBXwX2fVQPVUzu4v4lGgtNgyjcX2+rTyphb2MeSOQh3xUayKAfHAF4y0KgsMi06m6ZiR3xIOdzMZMfQgX2m9w==", - "requires": { - "ansi-escapes": "^6.0.0", - "figures": "^5.0.0", - "picocolors": "^1.0.0", - "run-async": "^2.4.1", - "rxjs": "^7.5.6" - }, - "dependencies": { - "ansi-escapes": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", - "integrity": "sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==", - "requires": { - "type-fest": "^3.0.0" - } - }, - "run-async": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" - } + "once": "^1.3.0", + "wrappy": "1" } }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, "internal-slot": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz", - "integrity": "sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", + "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", + "dev": true, "requires": { - "get-intrinsic": "^1.2.2", + "es-errors": "^1.3.0", "hasown": "^2.0.0", "side-channel": "^1.0.4" } }, - "ip": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.8.tgz", - "integrity": "sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==" - }, "is-array-buffer": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", - "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", + "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", + "dev": true, "requires": { "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", - "is-typed-array": "^1.1.10" + "get-intrinsic": "^1.2.1" } }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" - }, "is-bigint": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, "requires": { "has-bigints": "^1.0.1" } @@ -9299,6 +4330,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, "requires": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -9307,20 +4339,32 @@ "is-callable": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==" + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true }, "is-core-module": { "version": "2.13.1", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dev": true, "requires": { "hasown": "^2.0.0" } }, + "is-data-view": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", + "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", + "dev": true, + "requires": { + "is-typed-array": "^1.1.13" + } + }, "is-date-object": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } @@ -9328,610 +4372,180 @@ "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" - }, - "is-fullwidth-code-point": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", - "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true }, "is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, "requires": { "is-extglob": "^2.1.1" } }, - "is-in-ci": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-in-ci/-/is-in-ci-0.1.0.tgz", - "integrity": "sha512-d9PXLEY0v1iJ64xLiQMJ51J128EYHAaOR4yZqQi8aHGfw6KgifM3/Viw1oZZ1GCVmb3gBuyhLyHj0HgR2DhSXQ==" - }, - "is-installed-globally": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", - "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", - "requires": { - "global-dirs": "^3.0.0", - "is-path-inside": "^3.0.2" - } - }, - "is-interactive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", - "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==" - }, "is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==" - }, - "is-npm": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-6.0.0.tgz", - "integrity": "sha512-JEjxbSmtPSt1c8XTkVrlujcXdKV1/tvuQ7GwKcAlyiVLeYFQ2VHat8xfrDJsIkhCdF/tZ7CiIR3sy141c6+gPQ==" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", + "dev": true }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true }, "is-number-object": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } }, - "is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" - }, "is-path-inside": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==" - }, - "is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==" + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true }, "is-regex": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, "requires": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" } }, "is-shared-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", - "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", + "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", + "dev": true, "requires": { - "call-bind": "^1.0.2" + "call-bind": "^1.0.7" } }, - "is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==" - }, "is-string": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } }, - "is-subdir": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-subdir/-/is-subdir-1.2.0.tgz", - "integrity": "sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw==", - "requires": { - "better-path-resolve": "1.0.0" - } - }, "is-symbol": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, "requires": { "has-symbols": "^1.0.2" } }, "is-typed-array": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", - "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", + "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "dev": true, "requires": { - "which-typed-array": "^1.1.11" + "which-typed-array": "^1.1.14" } }, - "is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==" - }, - "is-unicode-supported": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", - "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==" - }, "is-weakref": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, "requires": { "call-bind": "^1.0.2" } }, - "is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==" - }, "isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" - }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" - }, - "js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" - }, - "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, - "json-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" - }, - "json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "json-schema-typed": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.1.tgz", - "integrity": "sha512-XQmWYj2Sm4kn4WeTYvmpKEbyPsL7nBsb647c7pMe6l02/yx2+Jfc4dT6UZkEXnIUb5LhD55r2HPsJ1milQ4rDg==" - }, - "json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true - }, - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "requires": { - "graceful-fs": "^4.1.6" - } - }, - "keyv": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", - "requires": { - "json-buffer": "3.0.1" - } - }, - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - }, - "kleur": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz", - "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==" - }, - "latest-version": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-7.0.0.tgz", - "integrity": "sha512-KvNT4XqAMzdcL6ka6Tl3i2lYeFDgXNCuIX+xNx6ZMVR1dFq+idXd9FLKNMOIx0t9mJ9/HudyX4oZWXZQ0UJHeg==", - "requires": { - "package-json": "^8.1.0" - } - }, - "levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "requires": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - } - }, - "lilconfig": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz", - "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==", - "dev": true - }, - "lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" - }, - "lint-staged": { - "version": "15.2.0", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.0.tgz", - "integrity": "sha512-TFZzUEV00f+2YLaVPWBWGAMq7So6yQx+GG8YRMDeOEIf95Zn5RyiLMsEiX4KTNl9vq/w+NqRJkLA1kPIo15ufQ==", - "dev": true, - "requires": { - "chalk": "5.3.0", - "commander": "11.1.0", - "debug": "4.3.4", - "execa": "8.0.1", - "lilconfig": "3.0.0", - "listr2": "8.0.0", - "micromatch": "4.0.5", - "pidtree": "0.6.0", - "string-argv": "0.3.2", - "yaml": "2.3.4" - }, - "dependencies": { - "chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", - "dev": true - } - } - }, - "listr2": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.0.0.tgz", - "integrity": "sha512-u8cusxAcyqAiQ2RhYvV7kRKNLgUvtObIbhOX2NCXqvp1UU32xIg5CT22ykS2TPKJXZWJwtK3IKLiqAGlGNE+Zg==", - "dev": true, - "requires": { - "cli-truncate": "^4.0.0", - "colorette": "^2.0.20", - "eventemitter3": "^5.0.1", - "log-update": "^6.0.0", - "rfdc": "^1.3.0", - "wrap-ansi": "^9.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true - }, - "ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true - }, - "emoji-regex": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", - "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", - "dev": true - }, - "string-width": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", - "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", - "dev": true, - "requires": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - } - }, - "strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, - "requires": { - "ansi-regex": "^6.0.1" - } - }, - "wrap-ansi": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", - "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", - "dev": true, - "requires": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - } - } - } - }, - "load-yaml-file": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/load-yaml-file/-/load-yaml-file-0.2.0.tgz", - "integrity": "sha512-OfCBkGEw4nN6JLtgRidPX6QxjBQGQf72q3si2uvqyFEMbycSFFHwAZeXx6cJgFM9wmLrf9zBwCP3Ivqa+LLZPw==", - "requires": { - "graceful-fs": "^4.1.5", - "js-yaml": "^3.13.0", - "pify": "^4.0.1", - "strip-bom": "^3.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "requires": { - "p-locate": "^4.1.0" - } - }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", "dev": true }, - "lodash.startcase": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.startcase/-/lodash.startcase-4.4.0.tgz", - "integrity": "sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==" - }, - "log-symbols": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-5.1.0.tgz", - "integrity": "sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==", - "requires": { - "chalk": "^5.0.0", - "is-unicode-supported": "^1.1.0" - }, - "dependencies": { - "chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==" - } - } - }, - "log-update": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/log-update/-/log-update-6.0.0.tgz", - "integrity": "sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw==", - "dev": true, - "requires": { - "ansi-escapes": "^6.2.0", - "cli-cursor": "^4.0.0", - "slice-ansi": "^7.0.0", - "strip-ansi": "^7.1.0", - "wrap-ansi": "^9.0.0" - }, - "dependencies": { - "ansi-escapes": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", - "integrity": "sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==", - "dev": true, - "requires": { - "type-fest": "^3.0.0" - } - }, - "ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true - }, - "ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true - }, - "cli-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", - "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", - "dev": true, - "requires": { - "restore-cursor": "^4.0.0" - } - }, - "emoji-regex": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", - "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.0.0.tgz", - "integrity": "sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==", - "dev": true, - "requires": { - "get-east-asian-width": "^1.0.0" - } - }, - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true - }, - "onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "restore-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", - "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", - "dev": true, - "requires": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - } - }, - "signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true - }, - "slice-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.0.tgz", - "integrity": "sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==", - "dev": true, - "requires": { - "ansi-styles": "^6.2.1", - "is-fullwidth-code-point": "^5.0.0" - } - }, - "string-width": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", - "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", - "dev": true, - "requires": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - } - }, - "strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, - "requires": { - "ansi-regex": "^6.0.1" - } - }, - "wrap-ansi": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", - "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", - "dev": true, - "requires": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - } - } - } - }, - "lowercase-keys": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-3.0.0.tgz", - "integrity": "sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==" + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true }, - "lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==" + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true }, - "map-obj": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==" + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true }, - "meow": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-6.1.1.tgz", - "integrity": "sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg==", + "json5": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dev": true, "requires": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "^4.0.2", - "normalize-package-data": "^2.5.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" - }, - "dependencies": { - "type-fest": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==" - } + "minimist": "^1.2.0" } }, - "merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + "keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "requires": { + "json-buffer": "3.0.1" + } + }, + "levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + } + }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true }, "merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true }, "micromatch": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, "requires": { "braces": "^3.0.2", "picomatch": "^2.3.1" } }, - "mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==" - }, - "mimic-response": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz", - "integrity": "sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==" - }, - "min-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==" - }, "minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -9944,32 +4558,14 @@ "minimist": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==" - }, - "minimist-options": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", - "requires": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0", - "kind-of": "^6.0.3" - } - }, - "mixme": { - "version": "0.5.10", - "resolved": "https://registry.npmjs.org/mixme/-/mixme-0.5.10.tgz", - "integrity": "sha512-5H76ANWinB1H3twpJ6JY8uvAtpmFvHNArpilJAjXRKXSDDLPIMoZArw5SH0q9z+lLs8IrMw7Q2VWpWimFKFT1Q==" + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "mute-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", - "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==" + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true }, "natural-compare": { "version": "1.4.0", @@ -9977,78 +4573,23 @@ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true }, - "netmask": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", - "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==" - }, - "node-domexception": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", - "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==" - }, - "node-fetch": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", - "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", - "requires": { - "data-uri-to-buffer": "^4.0.0", - "fetch-blob": "^3.1.4", - "formdata-polyfill": "^4.0.10" - } - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - }, - "dependencies": { - "semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==" - } - } - }, - "normalize-url": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.0.tgz", - "integrity": "sha512-uVFpKhj5MheNBJRTiMZ9pE/7hD1QTeEvugSJW/OmLzAp78PB5O6adfMNTvmfKhXBkvCzC+rqifWcVYpGFwTjnw==" - }, - "npm-run-path": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", - "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", - "requires": { - "path-key": "^4.0.0" - }, - "dependencies": { - "path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==" - } - } - }, "object-inspect": { "version": "1.13.1", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==" + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "dev": true }, "object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true }, "object.assign": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", + "dev": true, "requires": { "call-bind": "^1.0.5", "define-properties": "^1.2.1", @@ -10056,6 +4597,40 @@ "object-keys": "^1.1.1" } }, + "object.fromentries": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", + "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + } + }, + "object.groupby": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz", + "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2" + } + }, + "object.values": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz", + "integrity": "sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + } + }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -10065,14 +4640,6 @@ "wrappy": "1" } }, - "onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "requires": { - "mimic-fn": "^4.0.0" - } - }, "optionator": { "version": "0.9.3", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", @@ -10087,177 +4654,6 @@ "type-check": "^0.4.0" } }, - "ora": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-7.0.1.tgz", - "integrity": "sha512-0TUxTiFJWv+JnjWm4o9yvuskpEJLXTcng8MJuKd+SzAzp2o+OP3HWqNhB4OdJRt1Vsd9/mR0oyaEYlOnL7XIRw==", - "requires": { - "chalk": "^5.3.0", - "cli-cursor": "^4.0.0", - "cli-spinners": "^2.9.0", - "is-interactive": "^2.0.0", - "is-unicode-supported": "^1.3.0", - "log-symbols": "^5.1.0", - "stdin-discarder": "^0.1.0", - "string-width": "^6.1.0", - "strip-ansi": "^7.1.0" - }, - "dependencies": { - "ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" - }, - "chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==" - }, - "cli-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", - "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", - "requires": { - "restore-cursor": "^4.0.0" - } - }, - "emoji-regex": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", - "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==" - }, - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" - }, - "onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "restore-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", - "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", - "requires": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - } - }, - "signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - }, - "string-width": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-6.1.0.tgz", - "integrity": "sha512-k01swCJAgQmuADB0YIc+7TuatfNvTBVOoaUWJjTB9R4VJzR5vNWzf5t42ESVZFPS8xTySF7CAdV4t/aaIm3UnQ==", - "requires": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^10.2.1", - "strip-ansi": "^7.0.1" - } - }, - "strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "requires": { - "ansi-regex": "^6.0.1" - } - } - } - }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==" - }, - "outdent": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/outdent/-/outdent-0.5.0.tgz", - "integrity": "sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==" - }, - "p-cancelable": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz", - "integrity": "sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==" - }, - "p-filter": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-filter/-/p-filter-2.1.0.tgz", - "integrity": "sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==", - "requires": { - "p-map": "^2.0.0" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "requires": { - "p-limit": "^2.2.0" - } - }, - "p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==" - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" - }, - "pac-proxy-agent": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.1.tgz", - "integrity": "sha512-ASV8yU4LLKBAjqIPMbrgtaKIvxQri/yh2OpI+S6hVa9JRkUI3Y3NPFbfngDtY7oFtSMD3w31Xns89mDa3Feo5A==", - "requires": { - "@tootallnate/quickjs-emscripten": "^0.23.0", - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "get-uri": "^6.0.1", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.2", - "pac-resolver": "^7.0.0", - "socks-proxy-agent": "^8.0.2" - } - }, - "pac-resolver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.0.tgz", - "integrity": "sha512-Fd9lT9vJbHYRACT8OhCbZBbxr6KRSawSovFpy8nDGshaK99S/EBhVIHp9+crhxrsZOuvLpgL1n23iyPg6Rl2hg==", - "requires": { - "degenerator": "^5.0.0", - "ip": "^1.1.8", - "netmask": "^2.0.2" - } - }, - "package-json": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/package-json/-/package-json-8.1.1.tgz", - "integrity": "sha512-cbH9IAIJHNj9uXi196JVsRlt7cHKak6u/e6AkL/bkRelZ7rlL3X1YKxsZwa36xipOEKAsdtmaG6aAJoM1fx2zA==", - "requires": { - "got": "^12.1.0", - "registry-auth-token": "^5.0.1", - "registry-url": "^6.0.0", - "semver": "^7.3.7" - } - }, "parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -10267,382 +4663,99 @@ "callsites": "^3.0.0" } }, - "parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - } - }, "path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true - }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" - }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" - }, - "picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" - }, - "picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" - }, - "pidtree": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz", - "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==", - "dev": true - }, - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==" - }, - "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "requires": { - "find-up": "^4.0.0" - } - }, - "preferred-pm": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/preferred-pm/-/preferred-pm-3.1.2.tgz", - "integrity": "sha512-nk7dKrcW8hfCZ4H6klWcdRknBOXWzNQByJ0oJyX97BOupsYD+FzLS4hflgEu/uPUEHZCuRfMxzCBsuWd7OzT8Q==", - "requires": { - "find-up": "^5.0.0", - "find-yarn-workspace-root2": "1.2.16", - "path-exists": "^4.0.0", - "which-pm": "2.0.0" - }, - "dependencies": { - "find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "requires": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "requires": { - "p-locate": "^5.0.0" - } - }, - "p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "requires": { - "yocto-queue": "^0.1.0" - } - }, - "p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "requires": { - "p-limit": "^3.0.2" - } - } - } - }, - "prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "dev": true }, - "prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==" + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true }, - "proto-list": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==" + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true }, - "proxy-agent": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.3.1.tgz", - "integrity": "sha512-Rb5RVBy1iyqOtNl15Cw/llpeLH8bsb37gM1FUfKQ+Wck6xHlbAhWGUFiTRHtkjqGTA5pSHz6+0hrPW/oECihPQ==", - "requires": { - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.2", - "lru-cache": "^7.14.1", - "pac-proxy-agent": "^7.0.1", - "proxy-from-env": "^1.1.0", - "socks-proxy-agent": "^8.0.2" - } + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true }, - "proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + "possible-typed-array-names": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", + "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "dev": true }, - "pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==" + "prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true }, "punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==" - }, - "pupa": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/pupa/-/pupa-3.1.0.tgz", - "integrity": "sha512-FLpr4flz5xZTSJxSeaheeMKN/EDzMdK7b8PTOC6a5PYFKTucWbdqjgqaEyH0shFiSJrVB1+Qqi4Tk19ccU6Aug==", - "requires": { - "escape-goat": "^4.0.0" - } + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" - }, - "quick-lru": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==" - }, - "rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "dependencies": { - "ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" - }, - "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==" - } - } - }, - "read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "dependencies": { - "type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==" - } - } - }, - "read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "requires": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" - } - } - }, - "read-yaml-file": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-yaml-file/-/read-yaml-file-1.1.0.tgz", - "integrity": "sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==", - "requires": { - "graceful-fs": "^4.1.5", - "js-yaml": "^3.6.1", - "pify": "^4.0.1", - "strip-bom": "^3.0.0" - } - }, - "readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", - "requires": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" - } - }, - "regenerator-runtime": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz", - "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==" + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true }, "regexp.prototype.flags": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz", - "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "set-function-name": "^2.0.0" - } - }, - "registry-auth-token": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-5.0.2.tgz", - "integrity": "sha512-o/3ikDxtXaA59BmZuZrJZDJv8NMDGSj+6j6XaeBmHw8eY1i1qd9+6H+LjVvQXx3HN6aRCGa1cUdJ9RaJZUugnQ==", - "requires": { - "@pnpm/npm-conf": "^2.1.0" - } - }, - "registry-url": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-6.0.1.tgz", - "integrity": "sha512-+crtS5QjFRqFCoQmvGduwYWEBng99ZvmFvF+cUJkGYF1L1BfU8C6Zp9T7f5vPAwyLkUExpvK+ANVZmGU49qi4Q==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", + "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", + "dev": true, "requires": { - "rc": "1.2.8" + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" } }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" - }, - "require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" - }, - "require-main-filename": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" - }, "resolve": { "version": "1.22.8", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dev": true, "requires": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" } }, - "resolve-alpn": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz", - "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==" - }, - "resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" - }, - "responselike": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-3.0.0.tgz", - "integrity": "sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==", - "requires": { - "lowercase-keys": "^3.0.0" - } - }, - "restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "requires": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "dependencies": { - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" - }, - "onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - } - } + "resolve-pkg-maps": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", + "dev": true }, "reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" - }, - "rfdc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz", - "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true }, "rimraf": { @@ -10654,421 +4767,136 @@ "glob": "^7.1.3" } }, - "run-async": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-3.0.0.tgz", - "integrity": "sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==" - }, "run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, "requires": { "queue-microtask": "^1.2.2" } }, - "rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", - "requires": { - "tslib": "^2.1.0" - } - }, "safe-array-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.1.tgz", - "integrity": "sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", + "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", + "dev": true, "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1", + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4", "has-symbols": "^1.0.3", "isarray": "^2.0.5" } }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, "safe-regex-test": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", - "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "is-regex": "^1.1.4" - } - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "requires": { - "lru-cache": "^6.0.0" - }, - "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - } - } - }, - "semver-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-4.0.0.tgz", - "integrity": "sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA==", - "requires": { - "semver": "^7.3.5" - } - }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" - }, - "set-function-length": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", - "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", - "requires": { - "define-data-property": "^1.1.1", - "get-intrinsic": "^1.2.1", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" - } - }, - "set-function-name": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", - "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==", - "requires": { - "define-data-property": "^1.0.1", - "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.0" - } - }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" - }, - "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" - }, - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" - }, - "slice-ansi": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", - "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", + "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", "dev": true, "requires": { - "ansi-styles": "^6.0.0", - "is-fullwidth-code-point": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true - } - } - }, - "smart-buffer": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==" - }, - "smartwrap": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/smartwrap/-/smartwrap-2.0.2.tgz", - "integrity": "sha512-vCsKNQxb7PnCNd2wY1WClWifAc2lwqsG8OaswpJkVJsvMGcnEntdTCDajZCkk93Ay1U3t/9puJmb525Rg5MZBA==", - "requires": { - "array.prototype.flat": "^1.2.3", - "breakword": "^1.0.5", - "grapheme-splitter": "^1.0.4", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1", - "yargs": "^15.1.0" - }, - "dependencies": { - "cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "y18n": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" - }, - "yargs": { - "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", - "requires": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" - } - } - } - }, - "socks": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", - "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", - "requires": { - "ip": "^2.0.0", - "smart-buffer": "^4.2.0" - }, - "dependencies": { - "ip": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" - } - } - }, - "socks-proxy-agent": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz", - "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==", - "requires": { - "agent-base": "^7.0.2", - "debug": "^4.3.4", - "socks": "^2.7.1" - } - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "optional": true - }, - "spawndamnit": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/spawndamnit/-/spawndamnit-2.0.0.tgz", - "integrity": "sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA==", - "requires": { - "cross-spawn": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "dependencies": { - "cross-spawn": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", - "integrity": "sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==", - "requires": { - "lru-cache": "^4.0.1", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - } - }, - "lru-cache": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", - "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", - "requires": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" - } - }, - "shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==", - "requires": { - "shebang-regex": "^1.0.0" - } - }, - "shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==" - }, - "signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - }, - "which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "requires": { - "isexe": "^2.0.0" - } - }, - "yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" - } - } - }, - "spdx-correct": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", - "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" - }, - "spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-regex": "^1.1.4" } }, - "spdx-license-ids": { - "version": "3.0.16", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", - "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==" - }, - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" - }, - "stdin-discarder": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.1.0.tgz", - "integrity": "sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==", + "set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dev": true, "requires": { - "bl": "^5.0.0" + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" } }, - "stream-transform": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/stream-transform/-/stream-transform-2.1.3.tgz", - "integrity": "sha512-9GHUiM5hMiCi6Y03jD2ARC1ettBXkQBoQAe7nJsPknnI0ow10aXjTnew8QtYQmLjzn974BnmWEAJgCY6ZP1DeQ==", + "set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "dev": true, "requires": { - "mixme": "^0.5.1" + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" } }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, "requires": { - "safe-buffer": "~5.2.0" + "shebang-regex": "^3.0.0" } }, - "string-argv": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", - "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==", + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, - "string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "side-channel": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", + "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "dev": true, "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "dependencies": { - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" - } + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" } }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + }, "string.prototype.trim": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz", - "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", + "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", + "dev": true, "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.0", + "es-object-atoms": "^1.0.0" } }, "string.prototype.trimend": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz", - "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", + "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", + "dev": true, "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" } }, "string.prototype.trimstart": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", - "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", + "dev": true, "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" } }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "requires": { "ansi-regex": "^5.0.1" } @@ -11076,20 +4904,8 @@ "strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==" - }, - "strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==" - }, - "strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "requires": { - "min-indent": "^1.0.0" - } + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true }, "strip-json-comments": { "version": "3.1.1", @@ -11097,28 +4913,17 @@ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true }, - "stubborn-fs": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/stubborn-fs/-/stubborn-fs-1.2.5.tgz", - "integrity": "sha512-H2N9c26eXjzL/S/K+i/RHHcFanE74dptvvjM8iwzwbVcWY/zjBbgRqF3K0DY4+OD+uTTASTBvDoxPDaPN02D7g==" - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - }, "supports-preserve-symlinks-flag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true }, - "term-size": { + "tapable": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz", - "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true }, "text-table": { "version": "0.2.0", @@ -11126,139 +4931,33 @@ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, - "tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "requires": { - "os-tmpdir": "~1.0.2" - } - }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, "requires": { "is-number": "^7.0.0" } }, - "trim-newlines": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==" - }, - "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - }, - "tty-table": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/tty-table/-/tty-table-4.2.3.tgz", - "integrity": "sha512-Fs15mu0vGzCrj8fmJNP7Ynxt5J7praPXqFN0leZeZBXJwkMxv9cb2D454k1ltrtUSJbZ4yH4e0CynsHLxmUfFA==", - "requires": { - "chalk": "^4.1.2", - "csv": "^5.5.3", - "kleur": "^4.1.5", - "smartwrap": "^2.0.2", - "strip-ansi": "^6.0.1", - "wcwidth": "^1.0.1", - "yargs": "^17.7.1" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { - "has-flag": "^4.0.0" - } - } - } + "ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "dev": true, + "requires": {} }, - "turbo": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo/-/turbo-1.11.0.tgz", - "integrity": "sha512-zIqJs/x1zzIIdwufhk80o7cQc9fIdHdweWRNXbK+Vjf9IaM2eSslcYyo40s+Kg/oiIOpdLM8hV7IUQst8KIyDA==", + "tsconfig-paths": { + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", + "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", + "dev": true, "requires": { - "turbo-darwin-64": "1.11.0", - "turbo-darwin-arm64": "1.11.0", - "turbo-linux-64": "1.11.0", - "turbo-linux-arm64": "1.11.0", - "turbo-windows-64": "1.11.0", - "turbo-windows-arm64": "1.11.0" - } - }, - "turbo-darwin-64": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-1.11.0.tgz", - "integrity": "sha512-yLDeJ7QgpI1Niw87ydRNvygX67Dra+6MnxR88vwXnQJKsmHTKycBhY9w3Bhe5xvnIg4JoEWoEF5EJtw6ShrlEw==", - "optional": true - }, - "turbo-darwin-arm64": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-1.11.0.tgz", - "integrity": "sha512-lZGlfTG6+u3R7+6eVY9j/07WpVF/tx8UNkmRWfMNt4ZGSEBMg6A+Vimvp+rni92WdPhD/rhxv+qYI/kco9hNXg==", - "optional": true - }, - "turbo-linux-64": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-1.11.0.tgz", - "integrity": "sha512-I88/WieHzTZ8V2y0j79RSjVERPp0IJTynTwLi7ddYX0PahkuyaHs1p8ktFMcs6awnJMeT6spaXlyzv5ZxnAdkg==", - "optional": true - }, - "turbo-linux-arm64": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-1.11.0.tgz", - "integrity": "sha512-jHsKuTFa7KwrA/FIxOnyXnfSEgDEUv0UVcseqQhP0VbdL+En93ZdBZ9S9/lI6VWooXrCqPooBmC+M/6jmwY/Ig==", - "optional": true - }, - "turbo-windows-64": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-1.11.0.tgz", - "integrity": "sha512-7u/1GoMallGDOTg4fnKoJmvBkf2pUCOcA0Z7NbwFB6GOa7q1Su4AaPs6Iy6Tyqrmj3vDHKSXByHwfz+o0cng/g==", - "optional": true - }, - "turbo-windows-arm64": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-1.11.0.tgz", - "integrity": "sha512-39MNaZ7RnbINEnpeAfB++fmH6p99RhbeeC8n2IXqG61Zrck5AA59Jm8DXpfOGR6Im93iHXSDox8qF3bb8V4amQ==", - "optional": true + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } }, "type-check": { "version": "0.4.0", @@ -11269,71 +4968,69 @@ "prelude-ls": "^1.2.1" } }, - "type-fest": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", - "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==" - }, "typed-array-buffer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz", - "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", + "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", + "dev": true, "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1", - "is-typed-array": "^1.1.10" + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" } }, "typed-array-byte-length": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz", - "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", + "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "dev": true, "requires": { - "call-bind": "^1.0.2", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "has-proto": "^1.0.1", - "is-typed-array": "^1.1.10" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" } }, "typed-array-byte-offset": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz", - "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", + "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "dev": true, "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "has-proto": "^1.0.1", - "is-typed-array": "^1.1.10" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" } }, "typed-array-length": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", - "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", + "dev": true, "requires": { - "call-bind": "^1.0.2", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "is-typed-array": "^1.1.9" - } - }, - "typedarray-to-buffer": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "requires": { - "is-typedarray": "^1.0.0" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" } }, - "uint8array-extras": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-0.3.0.tgz", - "integrity": "sha512-erJsJwQ0tKdwuqI0359U8ijkFmfiTcq25JvvzRVc1VP+2son1NJRXhxcAKJmAW3ajM8JSGAfsAXye8g4s+znxA==" + "typescript": { + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "dev": true }, "unbox-primitive": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, "requires": { "call-bind": "^1.0.2", "has-bigints": "^1.0.2", @@ -11341,94 +5038,20 @@ "which-boxed-primitive": "^1.0.2" } }, - "unique-string": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-3.0.0.tgz", - "integrity": "sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==", - "requires": { - "crypto-random-string": "^4.0.0" - } - }, - "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" - }, - "update-notifier": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-7.0.0.tgz", - "integrity": "sha512-Hv25Bh+eAbOLlsjJreVPOs4vd51rrtCrmhyOJtbpAojro34jS4KQaEp4/EvlHJX7jSO42VvEFpkastVyXyIsdQ==", - "requires": { - "boxen": "^7.1.1", - "chalk": "^5.3.0", - "configstore": "^6.0.0", - "import-lazy": "^4.0.0", - "is-in-ci": "^0.1.0", - "is-installed-globally": "^0.4.0", - "is-npm": "^6.0.0", - "latest-version": "^7.0.0", - "pupa": "^3.1.0", - "semver": "^7.5.4", - "semver-diff": "^4.0.0", - "xdg-basedir": "^5.1.0" - }, - "dependencies": { - "chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==" - } - } - }, "uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, "requires": { "punycode": "^2.1.0" } }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, - "validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "validator": { - "version": "13.11.0", - "resolved": "https://registry.npmjs.org/validator/-/validator-13.11.0.tgz", - "integrity": "sha512-Ii+sehpSfZy+At5nPdnyMhx78fEoPDkR2XW/zimHEL3MyGJQOCQ7WeP20jPYRz7ZCpcKLB21NxuXHF3bxjStBQ==" - }, - "wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", - "requires": { - "defaults": "^1.0.3" - } - }, - "web-streams-polyfill": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", - "integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==" - }, - "when-exit": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/when-exit/-/when-exit-2.1.1.tgz", - "integrity": "sha512-XLipGldz/UcleuGaoQjbYuWwD+ICRnzIjlldtwTaTWr7aZz8yQW49rXk6MHQnh+KxOiWiJpM1vIyaxprOnlW4g==" - }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, "requires": { "isexe": "^2.0.0" } @@ -11437,6 +5060,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, "requires": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -11445,101 +5069,17 @@ "is-symbol": "^1.0.3" } }, - "which-module": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", - "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==" - }, - "which-pm": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-pm/-/which-pm-2.0.0.tgz", - "integrity": "sha512-Lhs9Pmyph0p5n5Z3mVnN0yWcbQYUAD7rbQUiMsQxOJ3T57k7RFe35SUwWMf7dsbDZks1uOmw4AecB/JMDj3v/w==", - "requires": { - "load-yaml-file": "^0.2.0", - "path-exists": "^4.0.0" - } - }, "which-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", - "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", + "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "dev": true, "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.4", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" - } - }, - "widest-line": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-4.0.1.tgz", - "integrity": "sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig==", - "requires": { - "string-width": "^5.0.1" - }, - "dependencies": { - "ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" - }, - "emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "requires": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - } - }, - "strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "requires": { - "ansi-regex": "^6.0.1" - } - } - } - }, - "wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - } + "has-tostringtag": "^1.0.2" } }, "wrappy": { @@ -11548,79 +5088,17 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, - "write-file-atomic": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", - "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "requires": { - "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" - }, - "dependencies": { - "signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - } - } - }, - "xdg-basedir": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-5.1.0.tgz", - "integrity": "sha512-GCPAHLvrIH13+c0SuacwvRYj2SxJXQ4kaVTT5xgL3kPrz56XxkF21IGhjSE1+W0aw7gpBWRGXLCPnPby6lSpmQ==" - }, - "y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "yaml": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", - "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", - "dev": true - }, - "yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "requires": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "dependencies": { - "yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" - } - } - }, - "yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - }, "yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true + }, + "zod": { + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", + "dev": true } } } diff --git a/package.json b/package.json index 69d51acc2..49640b35f 100644 --- a/package.json +++ b/package.json @@ -1,41 +1,32 @@ { - "name": "Panora", - "version": "1.0.0", - "description": "", - "main": "index.js", - "packageManager": "pnpm@8.9.2", + "name": "openapi", + "version": "0.0.1", + "author": "Speakeasy", + "main": "./index.js", + "sideEffects": false, + "repository": { + "type": "git", + "url": "https://github.com/panoratech/Panora.git" + }, "scripts": { - "build": "turbo run build", - "lint": "turbo run lint", - "test": "echo \"Error: no test specified\"", - "prepare": "husky install", - "version": "changeset version", - "release": "pnpm run lint && pnpm run build && changeset publish", - "preinstall": "npx only-allow pnpm" + "lint": "eslint --max-warnings=0 src", + "build": "tsc", + "prepare": "npm run build" }, - "keywords": [], - "author": "", - "license": "ISC", - "devDependencies": { - "eslint": "^8.52.0", - "husky": "^8.0.0", - "lint-staged": "^15.0.2" + "peerDependencies": { + "zod": ">= 3" }, - "lint-staged": { - "!website-docs/**/*.{ts,tsx,js}": [], - "packages/*.{ts,tsx,js}": [ - "eslint" - ] + "devDependencies": { + "@types/jsonpath": "^0.2.4", + "@typescript-eslint/eslint-plugin": "^7.7.1", + "@typescript-eslint/parser": "^7.7.1", + "eslint": "^8.57.0", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.1", + "typescript": "^5.4.5", + "zod": "^3.23.4" }, "dependencies": { - "@changesets/cli": "^2.26.2", - "gitmoji-cli": "^9.0.0", - "optional": "^0.1.4", - "sharp": "^0.33.2", - "turbo": "^1.10.16" - }, - "private": true, - "engines": { - "node": "20.9.0" + } } diff --git a/src/hooks/hooks.ts b/src/hooks/hooks.ts new file mode 100644 index 000000000..a4a64bebe --- /dev/null +++ b/src/hooks/hooks.ts @@ -0,0 +1,99 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { RequestInput } from "../lib/http"; +import { + AfterErrorContext, + AfterErrorHook, + AfterSuccessContext, + AfterSuccessHook, + BeforeRequestContext, + BeforeRequestHook, + BeforeCreateRequestHook, + BeforeCreateRequestContext, + Hooks, + SDKInitHook, + SDKInitOptions, +} from "./types"; + +export class SDKHooks implements Hooks { + sdkInitHooks: SDKInitHook[] = []; + beforeCreateRequestHooks: BeforeCreateRequestHook[] = []; + beforeRequestHooks: BeforeRequestHook[] = []; + afterSuccessHooks: AfterSuccessHook[] = []; + afterErrorHooks: AfterErrorHook[] = []; + + constructor() {} + + registerSDKInitHook(hook: SDKInitHook) { + this.sdkInitHooks.push(hook); + } + + registerBeforeCreateRequestHook(hook: BeforeCreateRequestHook) { + this.beforeCreateRequestHooks.push(hook); + } + + registerBeforeRequestHook(hook: BeforeRequestHook) { + this.beforeRequestHooks.push(hook); + } + + registerAfterSuccessHook(hook: AfterSuccessHook) { + this.afterSuccessHooks.push(hook); + } + + registerAfterErrorHook(hook: AfterErrorHook) { + this.afterErrorHooks.push(hook); + } + + sdkInit(opts: SDKInitOptions): SDKInitOptions { + return this.sdkInitHooks.reduce((opts, hook) => hook.sdkInit(opts), opts); + } + + beforeCreateRequest(hookCtx: BeforeCreateRequestContext, input: RequestInput): RequestInput { + let inp = input; + + for (const hook of this.beforeCreateRequestHooks) { + inp = hook.beforeCreateRequest(hookCtx, inp); + } + + return inp; + } + + async beforeRequest(hookCtx: BeforeRequestContext, request: Request): Promise { + let req = request; + + for (const hook of this.beforeRequestHooks) { + req = await hook.beforeRequest(hookCtx, req); + } + + return req; + } + + async afterSuccess(hookCtx: AfterSuccessContext, response: Response): Promise { + let res = response; + + for (const hook of this.afterSuccessHooks) { + res = await hook.afterSuccess(hookCtx, res); + } + + return res; + } + + async afterError( + hookCtx: AfterErrorContext, + response: Response | null, + error: unknown + ): Promise<{ response: Response | null; error: unknown }> { + let res = response; + let err = error; + + for (const hook of this.afterErrorHooks) { + const result = await hook.afterError(hookCtx, res, err); + res = result.response; + err = result.error; + } + + return { response: res, error: err }; + } +} diff --git a/src/hooks/index.ts b/src/hooks/index.ts new file mode 100644 index 000000000..3df03930d --- /dev/null +++ b/src/hooks/index.ts @@ -0,0 +1,6 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export * from "./types"; +export * from "./hooks"; diff --git a/src/hooks/types.ts b/src/hooks/types.ts new file mode 100644 index 000000000..a5b367a81 --- /dev/null +++ b/src/hooks/types.ts @@ -0,0 +1,89 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { HTTPClient, RequestInput } from "../lib/http"; + +export type HookContext = { + operationID: string; + oAuth2Scopes?: string[]; + securitySource?: any | (() => Promise); +}; + +export type Awaitable = T | Promise; + +export type SDKInitOptions = { + baseURL: URL | null; + client: HTTPClient; +}; + +export type BeforeCreateRequestContext = HookContext & {}; +export type BeforeRequestContext = HookContext & {}; +export type AfterSuccessContext = HookContext & {}; +export type AfterErrorContext = HookContext & {}; + +/** + * SDKInitHook is called when the SDK is initializing. The + * hook can return a new baseURL and HTTP client to be used by the SDK. + */ +export interface SDKInitHook { + sdkInit: (opts: SDKInitOptions) => SDKInitOptions; +} + +export interface BeforeCreateRequestHook { + /** + * A hook that is called before the SDK creates a `Request` object. The hook + * can modify how a request is constructed since certain modifications, like + * changing the request URL, cannot be done on a request object directly. + */ + beforeCreateRequest: (hookCtx: BeforeCreateRequestContext, input: RequestInput) => RequestInput; +} + +export interface BeforeRequestHook { + /** + * A hook that is called before the SDK sends a request. The hook can + * introduce instrumentation code such as logging, tracing and metrics or + * replace the request before it is sent or throw an error to stop the + * request from being sent. + */ + beforeRequest: (hookCtx: BeforeRequestContext, request: Request) => Awaitable; +} + +export interface AfterSuccessHook { + /** + * A hook that is called after the SDK receives a response. The hook can + * introduce instrumentation code such as logging, tracing and metrics or + * modify the response before it is handled or throw an error to stop the + * response from being handled. + */ + afterSuccess: (hookCtx: AfterSuccessContext, response: Response) => Awaitable; +} + +export interface AfterErrorHook { + /** + * A hook that is called after the SDK encounters an error, or a + * non-successful response. The hook can introduce instrumentation code such + * as logging, tracing and metrics or modify the response or error values. + */ + afterError: ( + hookCtx: AfterErrorContext, + response: Response | null, + error: unknown + ) => Awaitable<{ + response: Response | null; + error: unknown; + }>; +} + +export interface Hooks { + /** Registers a hook to be used by the SDK for initialization event. */ + registerSDKInitHook(hook: SDKInitHook): void; + /** Registers a hook to be used by the SDK for to modify `Request` construction. */ + registerBeforeCreateRequestHook(hook: BeforeCreateRequestHook): void; + /** Registers a hook to be used by the SDK for the before request event. */ + registerBeforeRequestHook(hook: BeforeRequestHook): void; + /** Registers a hook to be used by the SDK for the after success event. */ + registerAfterSuccessHook(hook: AfterSuccessHook): void; + /** Registers a hook to be used by the SDK for the after error event. */ + registerAfterErrorHook(hook: AfterErrorHook): void; +} diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 000000000..32044ebab --- /dev/null +++ b/src/index.ts @@ -0,0 +1,6 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export * from "./sdk"; +export * from "./lib/config"; diff --git a/src/lib/base64.ts b/src/lib/base64.ts new file mode 100644 index 000000000..cda076411 --- /dev/null +++ b/src/lib/base64.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export function bytesToBase64(u8arr: Uint8Array): string { + return btoa(String.fromCodePoint(...u8arr)); +} + +export function bytesFromBase64(encoded: string): Uint8Array { + return Uint8Array.from(atob(encoded), (c) => c.charCodeAt(0)); +} + +export function stringToBytes(str: string): Uint8Array { + return new TextEncoder().encode(str); +} + +export function stringFromBytes(u8arr: Uint8Array): string { + return new TextDecoder().decode(u8arr); +} + +export function stringToBase64(str: string): string { + return bytesToBase64(stringToBytes(str)); +} + +export function stringFromBase64(b64str: string): string { + return stringFromBytes(bytesFromBase64(b64str)); +} + +export const zodOutbound = z + .instanceof(Uint8Array) + .or(z.string().transform(stringToBytes)); + +export const zodInbound = z + .instanceof(Uint8Array) + .or(z.string().transform(bytesFromBase64)); diff --git a/src/lib/config.ts b/src/lib/config.ts new file mode 100644 index 000000000..20b6f5b2f --- /dev/null +++ b/src/lib/config.ts @@ -0,0 +1,64 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { HTTPClient } from "./http"; +import { RetryConfig } from "./retries"; +import { Params, pathToFunc } from "./url"; + +/** + * Contains the list of servers available to the SDK + */ +export const ServerList = [ + /** + * Production server + */ + "https://api.panora.dev", + /** + * Sandbox server + */ + "https://api-sandbox.panora.dev", +] as const; + +export type SDKOptions = { + jwt?: string | (() => Promise); + + httpClient?: HTTPClient; + /** + * Allows overriding the default server used by the SDK + */ + serverIdx?: number; + /** + * Allows overriding the default server URL used by the SDK + */ + serverURL?: string; + /** + * Allows overriding the default retry config used by the SDK + */ + retryConfig?: RetryConfig; +}; + +export function serverURLFromOptions(options: SDKOptions): URL | null { + let serverURL = options.serverURL; + + const params: Params = {}; + + if (!serverURL) { + const serverIdx = options.serverIdx ?? 0; + if (serverIdx < 0 || serverIdx >= ServerList.length) { + throw new Error(`Invalid server index ${serverIdx}`); + } + serverURL = ServerList[serverIdx] || ""; + } + + const u = pathToFunc(serverURL)(params); + return new URL(u); +} + +export const SDK_METADATA = { + language: "typescript", + openapiDocVersion: "1.0", + sdkVersion: "0.0.1", + genVersion: "2.342.6", + userAgent: "speakeasy-sdk/typescript 0.0.1 2.342.6 1.0 openapi", +} as const; diff --git a/src/lib/encodings.ts b/src/lib/encodings.ts new file mode 100644 index 000000000..c28d89447 --- /dev/null +++ b/src/lib/encodings.ts @@ -0,0 +1,431 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { bytesToBase64 } from "./base64"; +import { isPlainObject } from "./is-plain-object"; + +export class EncodingError extends Error { + constructor(message: string) { + super(message); + this.name = "EncodingError"; + } +} + +export function encodeMatrix( + key: string, + value: unknown, + options?: { explode?: boolean; charEncoding?: "percent" | "none" }, +): string { + let out = ""; + const pairs: [string, unknown][] = options?.explode + ? explode(key, value) + : [[key, value]]; + + const encodeString = (v: string) => { + return options?.charEncoding === "percent" ? encodeURIComponent(v) : v; + }; + const encodeValue = (v: unknown) => encodeString(serializeValue(v)); + + pairs.forEach(([pk, pv]) => { + let tmp = ""; + let encValue = ""; + + if (pv === undefined) { + return; + } else if (Array.isArray(pv)) { + encValue = mapDefined(pv, (v) => `${encodeValue(v)}`).join(","); + } else if (isPlainObject(pv)) { + encValue = mapDefinedEntries(Object.entries(pv), ([k, v]) => { + return `,${encodeString(k)},${encodeValue(v)}`; + }).join(""); + encValue = encValue.slice(1); + } else { + encValue = `${encodeValue(pv)}`; + } + + const keyPrefix = encodeString(pk); + tmp = `${keyPrefix}=${encValue}`; + // trim trailing '=' if value was empty + if (tmp === `${keyPrefix}=`) { + tmp = tmp.slice(0, -1); + } + + // If we end up with the nothing then skip forward + if (!tmp) { + return; + } + + out += `;${tmp}`; + }); + + return out; +} + +export function encodeLabel( + key: string, + value: unknown, + options?: { explode?: boolean; charEncoding?: "percent" | "none" }, +): string { + let out = ""; + const pairs: [string, unknown][] = options?.explode + ? explode(key, value) + : [[key, value]]; + + const encodeString = (v: string) => { + return options?.charEncoding === "percent" ? encodeURIComponent(v) : v; + }; + const encodeValue = (v: unknown) => encodeString(serializeValue(v)); + + pairs.forEach(([pk, pv]) => { + let encValue = ""; + + if (pv === undefined) { + return; + } else if (Array.isArray(pv)) { + encValue = mapDefined(pv, (v) => `${encodeValue(v)}`).join("."); + } else if (isPlainObject(pv)) { + encValue = mapDefinedEntries(Object.entries(pv), ([k, v]) => { + return `.${encodeString(k)}.${encodeValue(v)}`; + }).join(""); + encValue = encValue.slice(1); + } else { + const k = + options?.explode && isPlainObject(value) ? `${encodeString(pk)}=` : ""; + encValue = `${k}${encodeValue(pv)}`; + } + + out += `.${encValue}`; + }); + + return out; +} + +type FormEncoder = ( + key: string, + value: unknown, + options?: { explode?: boolean; charEncoding?: "percent" | "none" }, +) => string; + +function formEncoder(sep: string): FormEncoder { + return ( + key: string, + value: unknown, + options?: { explode?: boolean; charEncoding?: "percent" | "none" }, + ) => { + let out = ""; + const pairs: [string, unknown][] = options?.explode + ? explode(key, value) + : [[key, value]]; + + const encodeString = (v: string) => { + return options?.charEncoding === "percent" ? encodeURIComponent(v) : v; + }; + + const encodeValue = (v: unknown) => encodeString(serializeValue(v)); + + const encodedSep = encodeString(sep); + + pairs.forEach(([pk, pv]) => { + let tmp = ""; + let encValue = ""; + + if (pv === undefined) { + return; + } else if (Array.isArray(pv)) { + encValue = mapDefined(pv, (v) => `${encodeValue(v)}`).join(encodedSep); + } else if (isPlainObject(pv)) { + encValue = mapDefinedEntries(Object.entries(pv), ([k, v]) => { + return `${encodeString(k)}${encodedSep}${encodeValue(v)}`; + }).join(encodedSep); + } else { + encValue = `${encodeValue(pv)}`; + } + + tmp = `${encodeString(pk)}=${encValue}`; + + // If we end up with the nothing then skip forward + if (!tmp || tmp === "=") { + return; + } + + out += `&${tmp}`; + }); + + return out.slice(1); + }; +} + +export const encodeForm = formEncoder(","); +export const encodeSpaceDelimited = formEncoder(" "); +export const encodePipeDelimited = formEncoder("|"); + +export function encodeBodyForm( + key: string, + value: unknown, + options?: { explode?: boolean; charEncoding?: "percent" | "none" }, +): string { + let out = ""; + const pairs: [string, unknown][] = options?.explode + ? explode(key, value) + : [[key, value]]; + + const encodeString = (v: string) => { + return options?.charEncoding === "percent" ? encodeURIComponent(v) : v; + }; + + const encodeValue = (v: unknown) => encodeString(serializeValue(v)); + + pairs.forEach(([pk, pv]) => { + let tmp = ""; + let encValue = ""; + + if (pv === undefined) { + return; + } else if (Array.isArray(pv)) { + encValue = JSON.stringify(pv, jsonReplacer); + } else if (isPlainObject(pv)) { + encValue = JSON.stringify(pv, jsonReplacer); + } else { + encValue = `${encodeValue(pv)}`; + } + + tmp = `${encodeString(pk)}=${encValue}`; + + // If we end up with the nothing then skip forward + if (!tmp || tmp === "=") { + return; + } + + out += `&${tmp}`; + }); + + return out.slice(1); +} + +export function encodeDeepObject( + key: string, + value: unknown, + options?: { charEncoding?: "percent" | "none" }, +): string { + if (value == null) { + return ""; + } + + let out = ""; + + const encodeString = (v: string) => { + return options?.charEncoding === "percent" ? encodeURIComponent(v) : v; + }; + + if (!isPlainObject(value)) { + throw new EncodingError( + `Value of parameter '${key}' which uses deepObject encoding must be an object`, + ); + } + + Object.entries(value).forEach(([ck, cv]) => { + if (cv === undefined) { + return; + } + + const pk = `${key}[${ck}]`; + + if (isPlainObject(cv)) { + throw new EncodingError( + `Value of parameter field '${pk}' cannot be an array or object.`, + ); + } + + const pairs: unknown[] = Array.isArray(cv) ? cv : [cv]; + let encoded = ""; + + encoded = mapDefined(pairs, (v) => { + return `${encodeString(pk)}=${encodeString(serializeValue(v))}`; + }).join("&"); + + out += `&${encoded}`; + }); + + return out.slice(1); +} + +export function encodeJSON( + key: string, + value: unknown, + options?: { explode?: boolean; charEncoding?: "percent" | "none" }, +): string { + if (typeof value === "undefined") { + return ""; + } + + const encodeString = (v: string) => { + return options?.charEncoding === "percent" ? encodeURIComponent(v) : v; + }; + + const encVal = encodeString(JSON.stringify(value, jsonReplacer)); + + return options?.explode ? encVal : `${encodeString(key)}=${encVal}`; +} + +export const encodeSimple = ( + key: string, + value: unknown, + options?: { explode?: boolean; charEncoding?: "percent" | "none" }, +): string => { + let out = ""; + const pairs: [string, unknown][] = options?.explode + ? explode(key, value) + : [[key, value]]; + + const encodeString = (v: string) => { + return options?.charEncoding === "percent" ? encodeURIComponent(v) : v; + }; + const encodeValue = (v: unknown) => encodeString(serializeValue(v)); + + pairs.forEach(([pk, pv]) => { + let tmp = ""; + + if (pv === undefined) { + return; + } else if (Array.isArray(pv)) { + tmp = mapDefined(pv, (v) => `${encodeValue(v)}`).join(","); + } else if (isPlainObject(pv)) { + tmp = mapDefinedEntries(Object.entries(pv), ([k, v]) => { + return `,${encodeString(k)},${encodeValue(v)}`; + }).join(""); + tmp = tmp.slice(1); + } else { + const k = options?.explode && isPlainObject(value) ? `${pk}=` : ""; + tmp = `${k}${encodeValue(pv)}`; + } + + // If we end up with the nothing then skip forward + if (!tmp) { + return; + } + + out += `,${tmp}`; + }); + + return out.slice(1); +}; + +function explode(key: string, value: unknown): [string, unknown][] { + if (Array.isArray(value)) { + return value.map((v) => [key, v]); + } else if (isPlainObject(value)) { + const o = value ?? {}; + return Object.entries(o).map(([k, v]) => [k, v]); + } else { + return [[key, value]]; + } +} + +function serializeValue(value: unknown): string { + if (value === null) { + return "null"; + } else if (typeof value === "undefined") { + return ""; + } else if (value instanceof Date) { + return value.toISOString(); + } else if (value instanceof Uint8Array) { + return bytesToBase64(value); + } else if (typeof value === "object") { + return JSON.stringify(value, jsonReplacer); + } + + return `${value}`; +} + +function jsonReplacer(_: string, value: unknown): unknown { + if (value instanceof Uint8Array) { + return bytesToBase64(value); + } else { + return value; + } +} + +function mapDefined(inp: T[], mapper: (v: T) => R): R[] { + return inp.reduce((acc, v) => { + if (v === undefined) { + return acc; + } + + const m = mapper(v); + if (m === undefined) { + return acc; + } + + acc.push(m); + + return acc; + }, []); +} + +function mapDefinedEntries( + inp: Iterable<[K, V]>, + mapper: (v: [K, V]) => R, +): R[] { + const acc: R[] = []; + for (const [k, v] of inp) { + if (v === undefined) { + continue; + } + + const m = mapper([k, v]); + if (m === undefined) { + continue; + } + + acc.push(m); + } + + return acc; +} + +export function queryJoin(...args: string[]): string { + return args.filter(Boolean).join("&"); +} + +type QueryEncoderOptions = { + explode?: boolean; + charEncoding?: "percent" | "none"; +}; + +type QueryEncoder = ( + key: string, + value: unknown, + options?: QueryEncoderOptions, +) => string; + +type BulkQueryEncoder = ( + values: Record, + options?: QueryEncoderOptions, +) => string; + +export function queryEncoder(f: QueryEncoder): BulkQueryEncoder { + const bulkEncode = function ( + values: Record, + options?: QueryEncoderOptions, + ): string { + const opts: QueryEncoderOptions = { + ...options, + explode: options?.explode ?? true, + charEncoding: options?.charEncoding ?? "percent", + }; + + const encoded = Object.entries(values).map(([key, value]) => { + return f(key, value, opts); + }); + return queryJoin(...encoded); + }; + + return bulkEncode; +} + +export const encodeJSONQuery = queryEncoder(encodeJSON); +export const encodeFormQuery = queryEncoder(encodeForm); +export const encodeSpaceDelimitedQuery = queryEncoder(encodeSpaceDelimited); +export const encodePipeDelimitedQuery = queryEncoder(encodePipeDelimited); +export const encodeDeepObjectQuery = queryEncoder(encodeDeepObject); diff --git a/src/lib/http.ts b/src/lib/http.ts new file mode 100644 index 000000000..04d111fdc --- /dev/null +++ b/src/lib/http.ts @@ -0,0 +1,502 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { never as znever } from "zod"; +import { parse } from "./schemas"; +import { isPlainObject } from "./is-plain-object"; +import * as errors from "../models/errors"; + +export type Fetcher = (input: RequestInfo | URL, init?: RequestInit) => Promise; + +export type Awaitable = T | Promise; + +const DEFAULT_FETCHER: Fetcher = (input, init) => { + // If input is a Request and init is undefined, Bun will discard the method, + // headers, body and other options that were set on the request object. + // Node.js and browers would ignore an undefined init value. This check is + // therefore needed for interop with Bun. + if (init == null) { + return fetch(input); + } else { + return fetch(input, init); + } +}; + +export type RequestInput = { + /** + * The URL the request will use. + */ + url: URL; + /** + * Options used to create a [`Request`](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request). + */ + options?: RequestInit | undefined; +}; + +export interface HTTPClientOptions { + fetcher?: Fetcher; +} + +export type BeforeRequestHook = (req: Request) => Awaitable; +export type RequestErrorHook = (err: unknown, req: Request) => Awaitable; +export type ResponseHook = (res: Response, req: Request) => Awaitable; + +export class HTTPClient { + private fetcher: Fetcher; + private requestHooks: BeforeRequestHook[] = []; + private requestErrorHooks: RequestErrorHook[] = []; + private responseHooks: ResponseHook[] = []; + + constructor(private options: HTTPClientOptions = {}) { + this.fetcher = options.fetcher || DEFAULT_FETCHER; + } + + async request(request: Request): Promise { + let req = request; + for (const hook of this.requestHooks) { + const nextRequest = await hook(req); + if (nextRequest) { + req = nextRequest; + } + } + + try { + const res = await this.fetcher(req); + + for (const hook of this.responseHooks) { + await hook(res, req); + } + + return res; + } catch (err) { + for (const hook of this.requestErrorHooks) { + await hook(err, req); + } + + throw err; + } + } + + /** + * Registers a hook that is called before a request is made. The hook function + * can mutate the request or return a new request. This may be useful to add + * additional information to request such as request IDs and tracing headers. + */ + addHook(hook: "beforeRequest", fn: BeforeRequestHook): this; + /** + * Registers a hook that is called when a request cannot be made due to a + * network error. + */ + addHook(hook: "requestError", fn: RequestErrorHook): this; + /** + * Registers a hook that is called when a response has been received from the + * server. + */ + addHook(hook: "response", fn: ResponseHook): this; + addHook( + ...args: + | [hook: "beforeRequest", fn: BeforeRequestHook] + | [hook: "requestError", fn: RequestErrorHook] + | [hook: "response", fn: ResponseHook] + ) { + if (args[0] === "beforeRequest") { + this.requestHooks.push(args[1]); + } else if (args[0] === "requestError") { + this.requestErrorHooks.push(args[1]); + } else if (args[0] === "response") { + this.responseHooks.push(args[1]); + } else { + throw new Error(`Invalid hook type: ${args[0]}`); + } + return this; + } + + /** Removes a hook that was previously registered with `addHook`. */ + removeHook(hook: "beforeRequest", fn: BeforeRequestHook): this; + /** Removes a hook that was previously registered with `addHook`. */ + removeHook(hook: "requestError", fn: RequestErrorHook): this; + /** Removes a hook that was previously registered with `addHook`. */ + removeHook(hook: "response", fn: ResponseHook): this; + removeHook( + ...args: + | [hook: "beforeRequest", fn: BeforeRequestHook] + | [hook: "requestError", fn: RequestErrorHook] + | [hook: "response", fn: ResponseHook] + ): this { + let target: unknown[]; + if (args[0] === "beforeRequest") { + target = this.requestHooks; + } else if (args[0] === "requestError") { + target = this.requestErrorHooks; + } else if (args[0] === "response") { + target = this.responseHooks; + } else { + throw new Error(`Invalid hook type: ${args[0]}`); + } + + const index = target.findIndex((v) => v === args[1]); + if (index >= 0) { + target.splice(index, 1); + } + + return this; + } + + clone(): HTTPClient { + const child = new HTTPClient(this.options); + child.requestHooks = this.requestHooks.slice(); + child.requestErrorHooks = this.requestErrorHooks.slice(); + child.responseHooks = this.responseHooks.slice(); + + return child; + } +} + +export type StatusCodePredicate = number | string | (number | string)[]; + +// A semicolon surrounded by optional whitespace characters is used to separate +// segments in a media type string. +const mediaParamSeparator = /\s*;\s*/g; + +function matchContentType(response: Response, pattern: string): boolean { + // `*` is a special case which means anything is acceptable. + if (pattern === "*") { + return true; + } + + let contentType = response.headers.get("content-type")?.trim() || "application/octet-stream"; + contentType = contentType.toLowerCase(); + + const wantParts = pattern.toLowerCase().trim().split(mediaParamSeparator); + const [wantType = "", ...wantParams] = wantParts; + + if (wantType.split("/").length !== 2) { + return false; + } + + const gotParts = contentType.split(mediaParamSeparator); + const [gotType = "", ...gotParams] = gotParts; + + const [type = "", subtype = ""] = gotType.split("/"); + if (!type || !subtype) { + return false; + } + + if ( + wantType !== "*/*" && + gotType !== wantType && + `${type}/*` !== wantType && + `*/${subtype}` !== wantType + ) { + return false; + } + + if (gotParams.length < wantParams.length) { + return false; + } + + const params = new Set(gotParams); + for (const wantParam of wantParams) { + if (!params.has(wantParam)) { + return false; + } + } + + return true; +} + +const codeRangeRE = new RegExp("^[0-9]xx$", "i"); + +export function matchStatusCode(response: Response, codes: StatusCodePredicate): boolean { + const actual = `${response.status}`; + const expectedCodes = Array.isArray(codes) ? codes : [codes]; + if (!expectedCodes.length) { + return false; + } + + return expectedCodes.some((ec) => { + const code = `${ec}`; + + if (code === "default") { + return true; + } + + if (!codeRangeRE.test(`${code}`)) { + return code === actual; + } + + const expectFamily = code.charAt(0); + if (!expectFamily) { + throw new Error("Invalid status code range"); + } + + const actualFamily = actual.charAt(0); + if (!actualFamily) { + throw new Error(`Invalid response status code: ${actual}`); + } + + return actualFamily === expectFamily; + }); +} + +export function matchResponse( + response: Response, + code: StatusCodePredicate, + contentTypePattern: string +): boolean { + return matchStatusCode(response, code) && matchContentType(response, contentTypePattern); +} + +const headerValRE = /, */; +export function unpackHeaders(headers: Headers): Record { + const out: Record = {}; + + for (const [k, v] of headers.entries()) { + out[k] = v.split(headerValRE); + } + + return out; +} + +type ResponseMatcherSchema = + | { parse: (data: unknown) => T } + | { inboundSchema: { parse: (data: unknown) => T } }; + +type SerializationMethod = "sse" | "json" | "rawBytes" | "rawStream" | "text" | "void" | "fail"; + +const defaultContentTypes: Record = { + sse: "text/event-stream", + json: "application/json", + rawBytes: "application/octet-stream", + rawStream: "application/octet-stream", + text: "text/plain", + void: "", + fail: "", +}; + +type ResponsePredicateMatch = { + method: SerializationMethod; + codes: StatusCodePredicate; + ctype: string; + schema: ResponseMatcherSchema; + hdrs: boolean; + key: string | undefined; + err: boolean; + fail: boolean; +}; + +type ResponsePredicateOptions = { + /** Content type to match on. */ + ctype?: string; + /** Pass HTTP headers to deserializer. */ + hdrs?: boolean; +} & ( + | { + /** The result key to store the deserialized value into. */ + key?: string; + fail?: never; + err?: never; + } + | { + /** Indicates the matched response must throw the built-in error. */ + fail: true; + key?: never; + err?: never; + } + | { + /** Indicates the matched response is a custom error. */ + err: true; + key?: never; + fail?: never; + } +); + +export class ResponseMatcher { + private predicates: ResponsePredicateMatch[] = []; + + #any( + method: SerializationMethod, + codes: StatusCodePredicate, + schema: ResponseMatcherSchema, + opts?: ResponsePredicateOptions + ) { + const ctype = opts?.ctype || defaultContentTypes[method]; + const hdrs = !!opts?.hdrs; + const key = opts?.key; + const err = !!opts?.err; + const fail = !!opts?.fail; + this.predicates.push({ + method, + codes, + ctype, + schema, + hdrs, + key, + err, + fail, + }); + return this; + } + + json( + codes: StatusCodePredicate, + schema: ResponseMatcherSchema, + opts?: ResponsePredicateOptions + ): this { + return this.#any("json", codes, schema, opts); + } + bytes( + codes: StatusCodePredicate, + schema: ResponseMatcherSchema, + opts?: ResponsePredicateOptions + ): this { + return this.#any("rawBytes", codes, schema, opts); + } + stream( + codes: StatusCodePredicate, + schema: ResponseMatcherSchema, + opts?: ResponsePredicateOptions + ): this { + return this.#any("rawStream", codes, schema, opts); + } + text( + codes: StatusCodePredicate, + schema: ResponseMatcherSchema, + opts?: ResponsePredicateOptions + ): this { + return this.#any("text", codes, schema, opts); + } + sse( + codes: StatusCodePredicate, + schema: ResponseMatcherSchema, + opts?: Omit + ): this { + return this.#any("sse", codes, schema, opts); + } + void( + codes: StatusCodePredicate, + schema: ResponseMatcherSchema, + opts?: Pick + ): this { + return this.#any("void", codes, schema, opts); + } + fail(codes: StatusCodePredicate): this { + return this.#any("fail", codes, znever(), { fail: true }); + } + + async match( + response: Response, + // envelope-http + request: Request, + + options?: { + resultKey?: string; + extraFields?: Record; + } + ): Promise<[result: Result, rawData: unknown]> { + let pred: ResponsePredicateMatch | undefined; + for (const predicate of this.predicates) { + const { codes, ctype } = predicate; + if (ctype && matchResponse(response, codes, ctype)) { + pred = predicate; + break; + } else if (!ctype && matchStatusCode(response, codes)) { + pred = predicate; + break; + } + } + if (pred == null) { + await discardResponseBody(response); + throw new errors.SDKError("Unexpected API response status or content-type", { + response, + request, + }); + } + + const { method, schema } = pred; + + let raw: unknown; + switch (method) { + case "json": + raw = await response.json(); + break; + case "rawBytes": + raw = await response.arrayBuffer(); + break; + case "rawStream": + raw = response.body; + break; + case "text": + raw = await response.text(); + break; + case "sse": + raw = response.body; + break; + case "void": + raw = await discardResponseBody(response); + break; + case "fail": + raw = await discardResponseBody(response); + break; + default: + method satisfies never; + throw new Error(`Unsupported response type: ${method}`); + } + + const resultKey = pred.key || options?.resultKey; + let data: unknown; + if (pred.fail) { + throw new errors.SDKError("API error occurred", { response, request }); + } else if (pred.err) { + data = { + ...options?.extraFields, + ...(pred.hdrs ? { Headers: unpackHeaders(response.headers) } : null), + ...(isPlainObject(raw) ? raw : null), + }; + } else if (resultKey) { + data = { + ...options?.extraFields, + ...(pred.hdrs ? { Headers: unpackHeaders(response.headers) } : null), + [resultKey]: raw, + }; + } else { + data = { + ...options?.extraFields, + ...(pred.hdrs ? { Headers: unpackHeaders(response.headers) } : null), + }; + } + + const parser = "inboundSchema" in schema ? schema.inboundSchema : schema; + const body = parse(data, (v: unknown) => parser.parse(v), "Response validation failed"); + + if (body instanceof Error) { + throw body; + } + + return [body, raw]; + } +} + +/** + * Discards the response body to free up resources. + * + * To learn why this is need, see the undici docs: + * https://undici.nodejs.org/#/?id=garbage-collection + */ +export async function discardResponseBody(res: Response) { + const reader = res.body?.getReader(); + if (reader == null) { + return; + } + + try { + let done = false; + while (!done) { + const res = await reader.read(); + done = res.done; + } + } finally { + reader.releaseLock(); + } +} diff --git a/src/lib/is-plain-object.ts b/src/lib/is-plain-object.ts new file mode 100644 index 000000000..af0d6e7e4 --- /dev/null +++ b/src/lib/is-plain-object.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +/* +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ + +// Taken from https://github.com/sindresorhus/is-plain-obj/blob/97f38e8836f86a642cce98fc6ab3058bc36df181/index.js + +export function isPlainObject(value: unknown): value is object { + if (typeof value !== "object" || value === null) { + return false; + } + + const prototype = Object.getPrototypeOf(value); + return ( + (prototype === null || + prototype === Object.prototype || + Object.getPrototypeOf(prototype) === null) && + !(Symbol.toStringTag in value) && + !(Symbol.iterator in value) + ); +} diff --git a/src/lib/primitives.ts b/src/lib/primitives.ts new file mode 100644 index 000000000..d3aae30be --- /dev/null +++ b/src/lib/primitives.ts @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export type Remap = { + [k in keyof Inp as Mapping[k] extends string /* if we have a string mapping for this key then use it */ + ? Mapping[k] + : Mapping[k] extends null /* if the mapping is to `null` then drop the key */ + ? never + : k /* otherwise keep the key as-is */]: Inp[k]; +}; + +/** + * Converts or omits an object's keys according to a mapping. + * + * @param inp An object whose keys will be remapped + * @param mappings A mapping of original keys to new keys. If a key is not present in the mapping, it will be left as is. If a key is mapped to `null`, it will be removed in the resulting object. + * @returns A new object with keys remapped or omitted according to the mappings + */ +export function remap< + Inp extends Record, + const Mapping extends { [k in keyof Inp]?: string | null }, +>(inp: Inp, mappings: Mapping): Remap { + let out: any = {}; + + if (!Object.keys(mappings).length) { + out = inp; + return out; + } + + for (const [k, v] of Object.entries(inp)) { + const j = mappings[k]; + if (j === null) { + continue; + } + out[j ?? k] = v; + } + + return out; +} diff --git a/src/lib/retries.ts b/src/lib/retries.ts new file mode 100644 index 000000000..ed9b49595 --- /dev/null +++ b/src/lib/retries.ts @@ -0,0 +1,226 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export type BackoffStrategy = { + initialInterval: number; + maxInterval: number; + exponent: number; + maxElapsedTime: number; +}; + +const defaultBackoff: BackoffStrategy = { + initialInterval: 500, + maxInterval: 60000, + exponent: 1.5, + maxElapsedTime: 3600000, +}; + +export type RetryConfig = + | { strategy: "none" } + | { + strategy: "backoff"; + backoff?: BackoffStrategy; + retryConnectionErrors?: boolean; + }; + +class PermanentError extends Error { + inner: unknown; + + constructor(inner: unknown) { + super("Permanent error"); + this.inner = inner; + + Object.setPrototypeOf(this, PermanentError.prototype); + } +} + +class TemporaryError extends Error { + res: Response; + + constructor(res: Response) { + super("Temporary error"); + this.res = res; + + Object.setPrototypeOf(this, TemporaryError.prototype); + } +} + +export async function retry( + fetchFn: () => Promise, + options: { + config: RetryConfig; + statusCodes: string[]; + }, +): Promise { + switch (options.config.strategy) { + case "backoff": + return retryBackoff( + wrapFetcher(fetchFn, { + statusCodes: options.statusCodes, + retryConnectionErrors: !!options.config.retryConnectionErrors, + }), + options.config.backoff ?? defaultBackoff, + ); + default: + return await fetchFn(); + } +} + +function wrapFetcher( + fn: () => Promise, + options: { + statusCodes: string[]; + retryConnectionErrors: boolean; + }, +): () => Promise { + return async () => { + try { + const res = await fn(); + if (isRetryableResponse(res, options.statusCodes)) { + throw new TemporaryError(res); + } + + return res; + } catch (err) { + if (err instanceof TemporaryError) { + throw err; + } + + if ( + options.retryConnectionErrors && + (isTimeoutError(err) || isConnectionError(err)) + ) { + throw err; + } + + throw new PermanentError(err); + } + }; +} + +function isConnectionError(err: unknown) { + if (typeof err !== "object" || err == null) { + return false; + } + + // Covers fetch in Deno as well + const isBrowserErr = + err instanceof TypeError && + err.message.toLowerCase().startsWith("failed to fetch"); + + const isNodeErr = + err instanceof TypeError && + err.message.toLowerCase().startsWith("fetch failed"); + + const isBunErr = "name" in err && err.name === "ConnectionError"; + + const isGenericErr = + "code" in err && + typeof err.code === "string" && + err.code.toLowerCase() === "econnreset"; + + return isBrowserErr || isNodeErr || isGenericErr || isBunErr; +} + +function isTimeoutError(err: unknown) { + if (typeof err !== "object" || err == null) { + return false; + } + + // Fetch in browser, Node.js, Bun, Deno + const isNative = "name" in err && err.name === "TimeoutError"; + + // Node.js HTTP client and Axios + const isGenericErr = + "code" in err && + typeof err.code === "string" && + err.code.toLowerCase() === "econnaborted"; + + return isNative || isGenericErr; +} + +const codeRangeRE = new RegExp("^[0-9]xx$", "i"); + +function isRetryableResponse(res: Response, statusCodes: string[]): boolean { + const actual = `${res.status}`; + + return statusCodes.some((code) => { + if (!codeRangeRE.test(code)) { + return code === actual; + } + + const expectFamily = code.charAt(0); + if (!expectFamily) { + throw new Error("Invalid status code range"); + } + + const actualFamily = actual.charAt(0); + if (!actualFamily) { + throw new Error(`Invalid response status code: ${actual}`); + } + + return actualFamily === expectFamily; + }); +} + +async function retryBackoff( + fn: () => Promise, + strategy: BackoffStrategy, +): Promise { + const { maxElapsedTime, initialInterval, exponent, maxInterval } = strategy; + + const start = Date.now(); + let x = 0; + + // eslint-disable-next-line no-constant-condition + while (true) { + try { + const res = await fn(); + return res; + } catch (err) { + if (err instanceof PermanentError) { + throw err.inner; + } + const elapsed = Date.now() - start; + if (elapsed > maxElapsedTime) { + if (err instanceof TemporaryError) { + return err.res; + } + + throw err; + } + + let retryInterval = 0; + if (err instanceof TemporaryError && err.res && err.res.headers) { + const retryVal = err.res.headers.get("retry-after") || ""; + if (retryVal != "") { + const parsedNumber = Number(retryVal); + if (!isNaN(parsedNumber) && Number.isInteger(parsedNumber)) { + retryInterval = parsedNumber * 1000; + } else { + const parsedDate = Date.parse(retryVal); + if (!isNaN(parsedDate)) { + const deltaMS = parsedDate - Date.now(); + retryInterval = deltaMS > 0 ? Math.ceil(deltaMS) : 0; + } + } + } + } + + if (retryInterval == 0) { + retryInterval = + initialInterval * Math.pow(x, exponent) + Math.random() * 1000; + } + + const d = Math.min(retryInterval, maxInterval); + + await delay(d); + x++; + } + } +} + +async function delay(delay: number): Promise { + return new Promise((resolve) => setTimeout(resolve, delay)); +} diff --git a/src/lib/schemas.ts b/src/lib/schemas.ts new file mode 100644 index 000000000..3e8270b9d --- /dev/null +++ b/src/lib/schemas.ts @@ -0,0 +1,56 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { output, ZodEffects, ZodError, ZodObject, ZodRawShape, ZodTypeAny } from "zod"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror"; + +/** + * Utility function that executes some code which may throw a ZodError. It + * intercepts this error and converts it to an SDKValidationError so as to not + * leak Zod implementation details to user code. + */ +export function parse(rawValue: Inp, fn: (value: Inp) => Out, errorMessage: string): Out { + try { + return fn(rawValue); + } catch (err) { + if (err instanceof ZodError) { + throw new SDKValidationError(errorMessage, err, rawValue); + } + throw err; + } +} + +export function collectExtraKeys< + Shape extends ZodRawShape, + Catchall extends ZodTypeAny, + K extends string +>( + obj: ZodObject, + extrasKey: K +): ZodEffects< + typeof obj, + output> & { + [k in K]: Record>; + } +> { + return obj.transform((val) => { + const extras: Record> = {}; + const { shape } = obj; + for (const [key] of Object.entries(val)) { + if (key in shape) { + continue; + } + + const v = val[key]; + if (typeof v === "undefined") { + continue; + } + + extras[key] = v; + delete val[key]; + } + + return { ...val, [extrasKey]: extras }; + }); +} diff --git a/src/lib/sdks.ts b/src/lib/sdks.ts new file mode 100644 index 000000000..9ec697e71 --- /dev/null +++ b/src/lib/sdks.ts @@ -0,0 +1,147 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { ResponseMatcher, HTTPClient, matchStatusCode } from "./http"; +import { SecurityState, resolveSecurity, resolveGlobalSecurity } from "./security"; +import { pathToFunc } from "./url"; +import { encodeForm } from "./encodings"; +import { stringToBase64 } from "./base64"; +import { SDKHooks, HookContext } from "../hooks"; + +export type RequestOptions = { + fetchOptions?: Omit; +}; + +type RequestConfig = { + method: string; + path: string; + baseURL?: string | URL; + query?: string; + body?: RequestInit["body"]; + headers?: HeadersInit; + security?: SecurityState | null; +}; + +export class ClientSDK { + private readonly client: HTTPClient; + protected readonly baseURL: URL | null; + protected readonly hooks$: SDKHooks; + + constructor(init: { client: HTTPClient; baseURL: URL | null; hooks: SDKHooks }) { + const url = init.baseURL; + if (url) { + url.pathname = url.pathname.replace(/\/+$/, "") + "/"; + } + + this.hooks$ = init.hooks; + const { baseURL, client } = this.hooks$.sdkInit({ baseURL: url, client: init.client }); + this.baseURL = baseURL; + this.client = client; + } + + protected createRequest$( + context: HookContext, + conf: RequestConfig, + options?: RequestOptions + ): Request { + const { method, path, query, headers: opHeaders, security } = conf; + + const base = conf.baseURL ?? this.baseURL; + if (!base) { + throw new TypeError("No base URL provided for operation"); + } + const reqURL = new URL(base); + const inputURL = new URL(path, reqURL); + + if (path) { + reqURL.pathname += inputURL.pathname.replace(/^\/+/, ""); + } + + let finalQuery = query || ""; + + const secQuery: string[] = []; + for (const [k, v] of Object.entries(security?.queryParams || {})) { + secQuery.push(encodeForm(k, v, { charEncoding: "percent" })); + } + if (secQuery.length) { + finalQuery += `&${secQuery.join("&")}`; + } + + if (finalQuery) { + const q = finalQuery.startsWith("&") ? finalQuery.slice(1) : finalQuery; + reqURL.search = `?${q}`; + } + + const headers = new Headers(opHeaders); + + const username = security?.basic.username; + const password = security?.basic.password; + if (username != null || password != null) { + const encoded = stringToBase64([username || "", password || ""].join(":")); + headers.set("Authorization", `Basic ${encoded}`); + } + + const securityHeaders = new Headers(security?.headers || {}); + for (const [k, v] of securityHeaders) { + headers.set(k, v); + } + + let cookie = headers.get("cookie") || ""; + for (const [k, v] of Object.entries(security?.cookies || {})) { + cookie += `; ${k}=${v}`; + } + cookie = cookie.startsWith("; ") ? cookie.slice(2) : cookie; + headers.set("cookie", cookie); + + const userHeaders = new Headers(options?.fetchOptions?.headers); + for (const [k, v] of userHeaders) { + headers.set(k, v); + } + + const input = this.hooks$.beforeCreateRequest(context, { + url: reqURL, + options: { + ...options?.fetchOptions, + body: conf.body ?? null, + headers, + method, + }, + }); + + return new Request(input.url, input.options); + } + + protected async do$( + req: Request, + options: { + context: HookContext; + errorCodes: number | string | (number | string)[]; + } + ): Promise { + const { context, errorCodes } = options; + + let response = await this.client.request(await this.hooks$.beforeRequest(context, req)); + + if (matchStatusCode(response, errorCodes)) { + const result = await this.hooks$.afterError(context, response, null); + if (result.error) { + throw result.error; + } + response = result.response || response; + } else { + response = await this.hooks$.afterSuccess(context, response); + } + + return response; + } + + protected matcher(): ResponseMatcher { + return new ResponseMatcher(); + } + + protected templateURLComponent = pathToFunc; + + protected resolveSecurity = resolveSecurity; + protected resolveGlobalSecurity = resolveGlobalSecurity; +} diff --git a/src/lib/security.ts b/src/lib/security.ts new file mode 100644 index 000000000..0f65dc593 --- /dev/null +++ b/src/lib/security.ts @@ -0,0 +1,182 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as components from "../models/components"; + +export enum SecurityErrorCode { + Incomplete = "incomplete", + UnrecognisedSecurityType = "unrecognized_security_type", +} + +export class SecurityError extends Error { + constructor(public code: SecurityErrorCode, message: string) { + super(message); + this.name = "SecurityError"; + } + + static incomplete(): SecurityError { + return new SecurityError( + SecurityErrorCode.Incomplete, + "Security requirements not met in order to perform the operation" + ); + } + static unrecognizedType(type: string): SecurityError { + return new SecurityError( + SecurityErrorCode.UnrecognisedSecurityType, + `Unrecognised security type: ${type}` + ); + } +} + +export type SecurityState = { + basic: { username?: string | undefined; password?: string | undefined }; + headers: Record; + queryParams: Record; + cookies: Record; +}; + +type SecurityInputBasic = { + type: "http:basic"; + value: { username?: string | undefined; password?: string | undefined } | null | undefined; +}; + +type SecurityInputBearer = { + type: "http:bearer"; + value: string | null | undefined; + fieldName: string; +}; + +type SecurityInputAPIKey = { + type: "apiKey:header" | "apiKey:query" | "apiKey:cookie"; + value: string | null | undefined; + fieldName: string; +}; + +type SecurityInputOIDC = { + type: "openIdConnect"; + value: string | null | undefined; + fieldName: string; +}; + +type SecurityInputOAuth2 = { + type: "oauth2"; + value: string | null | undefined; + fieldName: string; +}; + +type SecurityInputOAuth2ClientCredentials = { + type: "oauth2:client_credentials"; + value: string | null | undefined; + fieldName: string; +}; + +export type SecurityInput = + | SecurityInputBasic + | SecurityInputBearer + | SecurityInputAPIKey + | SecurityInputOAuth2 + | SecurityInputOAuth2ClientCredentials + | SecurityInputOIDC; + +export function resolveSecurity(...options: SecurityInput[][]): SecurityState | null { + const state: SecurityState = { + basic: { username: "", password: "" }, + headers: {}, + queryParams: {}, + cookies: {}, + }; + + const option = options.find((opts) => { + return opts.every((o) => { + if (o.value == null) { + return false; + } else if (o.type === "http:basic") { + return o.value.username != null || o.value.password != null; + } else if (typeof o.value === "string") { + return !!o.value; + } else { + throw new Error( + `Unrecognized security type: ${o.type} (value type: ${typeof o.value})` + ); + } + }); + }); + if (option == null) { + return null; + } + + option.forEach((spec) => { + if (spec.value == null) { + return; + } + + const { type } = spec; + + switch (type) { + case "apiKey:header": + state.headers[spec.fieldName] = spec.value; + break; + case "apiKey:query": + state.queryParams[spec.fieldName] = spec.value; + break; + case "apiKey:cookie": + state.cookies[spec.fieldName] = spec.value; + break; + case "http:basic": + applyBasic(state, spec); + break; + case "http:bearer": + applyBearer(state, spec); + break; + case "oauth2": + applyBearer(state, spec); + break; + case "oauth2:client_credentials": + break; + case "openIdConnect": + applyBearer(state, spec); + break; + default: + spec satisfies never; + throw SecurityError.unrecognizedType(type); + } + }); + + return state; +} + +function applyBasic(state: SecurityState, spec: SecurityInputBasic) { + if (spec.value == null) { + return; + } + + state.basic = spec.value; +} + +function applyBearer( + state: SecurityState, + spec: SecurityInputBearer | SecurityInputOAuth2 | SecurityInputOIDC +) { + if (spec.value == null) { + return; + } + + let value = spec.value; + if (value.slice(0, 7).toLowerCase() !== "bearer ") { + value = `Bearer ${value}`; + } + + state.headers[spec.fieldName] = value; +} +export function resolveGlobalSecurity( + security: Partial | null | undefined +): SecurityState | null { + return resolveSecurity([ + { + fieldName: "Authorization", + type: "http:bearer", + value: security?.jwt, + }, + ]); +} diff --git a/src/lib/url.ts b/src/lib/url.ts new file mode 100644 index 000000000..df58acbba --- /dev/null +++ b/src/lib/url.ts @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +const hasOwn = Object.prototype.hasOwnProperty; + +export type Params = Partial>; + +export function pathToFunc( + pathPattern: string, + options?: { charEncoding?: "percent" | "none" }, +): (params?: Params) => string { + const paramRE = /\{([a-zA-Z0-9_]+?)\}/g; + + return function buildURLPath(params: Record = {}): string { + return pathPattern.replace(paramRE, function (_, placeholder) { + if (!hasOwn.call(params, placeholder)) { + throw new Error(`Parameter '${placeholder}' is required`); + } + + const value = params[placeholder]; + if (typeof value !== "string" && typeof value !== "number") { + throw new Error( + `Parameter '${placeholder}' must be a string or number`, + ); + } + + return options?.charEncoding === "percent" + ? encodeURIComponent(`${value}`) + : `${value}`; + }); + }; +} diff --git a/src/models/components/apikeydto.ts b/src/models/components/apikeydto.ts new file mode 100644 index 000000000..dbc536e16 --- /dev/null +++ b/src/models/components/apikeydto.ts @@ -0,0 +1,32 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type ApiKeyDto = { + projectId: string; + userId: string; + keyName: string; +}; + +/** @internal */ +export namespace ApiKeyDto$ { + export const inboundSchema: z.ZodType = z.object({ + projectId: z.string(), + userId: z.string(), + keyName: z.string(), + }); + + export type Outbound = { + projectId: string; + userId: string; + keyName: string; + }; + + export const outboundSchema: z.ZodType = z.object({ + projectId: z.string(), + userId: z.string(), + keyName: z.string(), + }); +} diff --git a/src/models/components/bodydatatype.ts b/src/models/components/bodydatatype.ts new file mode 100644 index 000000000..d79a828ae --- /dev/null +++ b/src/models/components/bodydatatype.ts @@ -0,0 +1,16 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type BodyDataType = {}; + +/** @internal */ +export namespace BodyDataType$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} diff --git a/src/models/components/connectionstrategycredentials.ts b/src/models/components/connectionstrategycredentials.ts new file mode 100644 index 000000000..79849ca52 --- /dev/null +++ b/src/models/components/connectionstrategycredentials.ts @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type ConnectionStrategyCredentials = { + type: string; + attributes: Array; +}; + +/** @internal */ +export namespace ConnectionStrategyCredentials$ { + export const inboundSchema: z.ZodType = + z.object({ + type: z.string(), + attributes: z.array(z.string()), + }); + + export type Outbound = { + type: string; + attributes: Array; + }; + + export const outboundSchema: z.ZodType = + z.object({ + type: z.string(), + attributes: z.array(z.string()), + }); +} diff --git a/src/models/components/createbatchlinkeduserdto.ts b/src/models/components/createbatchlinkeduserdto.ts new file mode 100644 index 000000000..362e92dc8 --- /dev/null +++ b/src/models/components/createbatchlinkeduserdto.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type CreateBatchLinkedUserDto = { + linkedUserOriginIds: Array; + alias: string; + idProject: string; +}; + +/** @internal */ +export namespace CreateBatchLinkedUserDto$ { + export const inboundSchema: z.ZodType = z + .object({ + linked_user_origin_ids: z.array(z.string()), + alias: z.string(), + id_project: z.string(), + }) + .transform((v) => { + return remap$(v, { + linked_user_origin_ids: "linkedUserOriginIds", + id_project: "idProject", + }); + }); + + export type Outbound = { + linked_user_origin_ids: Array; + alias: string; + id_project: string; + }; + + export const outboundSchema: z.ZodType = z + .object({ + linkedUserOriginIds: z.array(z.string()), + alias: z.string(), + idProject: z.string(), + }) + .transform((v) => { + return remap$(v, { + linkedUserOriginIds: "linked_user_origin_ids", + idProject: "id_project", + }); + }); +} diff --git a/src/models/components/createconnectionstrategydto.ts b/src/models/components/createconnectionstrategydto.ts new file mode 100644 index 000000000..07f2b6e53 --- /dev/null +++ b/src/models/components/createconnectionstrategydto.ts @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type CreateConnectionStrategyDto = { + type: string; + attributes: Array; + values: Array; +}; + +/** @internal */ +export namespace CreateConnectionStrategyDto$ { + export const inboundSchema: z.ZodType = + z.object({ + type: z.string(), + attributes: z.array(z.string()), + values: z.array(z.string()), + }); + + export type Outbound = { + type: string; + attributes: Array; + values: Array; + }; + + export const outboundSchema: z.ZodType = + z.object({ + type: z.string(), + attributes: z.array(z.string()), + values: z.array(z.string()), + }); +} diff --git a/src/models/components/createlinkeduserdto.ts b/src/models/components/createlinkeduserdto.ts new file mode 100644 index 000000000..c606bf411 --- /dev/null +++ b/src/models/components/createlinkeduserdto.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type CreateLinkedUserDto = { + linkedUserOriginId: string; + alias: string; + idProject: string; +}; + +/** @internal */ +export namespace CreateLinkedUserDto$ { + export const inboundSchema: z.ZodType = z + .object({ + linked_user_origin_id: z.string(), + alias: z.string(), + id_project: z.string(), + }) + .transform((v) => { + return remap$(v, { + linked_user_origin_id: "linkedUserOriginId", + id_project: "idProject", + }); + }); + + export type Outbound = { + linked_user_origin_id: string; + alias: string; + id_project: string; + }; + + export const outboundSchema: z.ZodType = z + .object({ + linkedUserOriginId: z.string(), + alias: z.string(), + idProject: z.string(), + }) + .transform((v) => { + return remap$(v, { + linkedUserOriginId: "linked_user_origin_id", + idProject: "id_project", + }); + }); +} diff --git a/src/models/components/createmagiclinkdto.ts b/src/models/components/createmagiclinkdto.ts new file mode 100644 index 000000000..87dd7fce0 --- /dev/null +++ b/src/models/components/createmagiclinkdto.ts @@ -0,0 +1,51 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type CreateMagicLinkDto = { + linkedUserOriginId: string; + email: string; + alias: string; + idProject: string; +}; + +/** @internal */ +export namespace CreateMagicLinkDto$ { + export const inboundSchema: z.ZodType = z + .object({ + linked_user_origin_id: z.string(), + email: z.string(), + alias: z.string(), + id_project: z.string(), + }) + .transform((v) => { + return remap$(v, { + linked_user_origin_id: "linkedUserOriginId", + id_project: "idProject", + }); + }); + + export type Outbound = { + linked_user_origin_id: string; + email: string; + alias: string; + id_project: string; + }; + + export const outboundSchema: z.ZodType = z + .object({ + linkedUserOriginId: z.string(), + email: z.string(), + alias: z.string(), + idProject: z.string(), + }) + .transform((v) => { + return remap$(v, { + linkedUserOriginId: "linked_user_origin_id", + idProject: "id_project", + }); + }); +} diff --git a/src/models/components/createorganizationdto.ts b/src/models/components/createorganizationdto.ts new file mode 100644 index 000000000..5e5b1a8b5 --- /dev/null +++ b/src/models/components/createorganizationdto.ts @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type CreateOrganizationDto = { + name: string; + stripeCustomerId: string; +}; + +/** @internal */ +export namespace CreateOrganizationDto$ { + export const inboundSchema: z.ZodType = z + .object({ + name: z.string(), + stripe_customer_id: z.string(), + }) + .transform((v) => { + return remap$(v, { + stripe_customer_id: "stripeCustomerId", + }); + }); + + export type Outbound = { + name: string; + stripe_customer_id: string; + }; + + export const outboundSchema: z.ZodType = z + .object({ + name: z.string(), + stripeCustomerId: z.string(), + }) + .transform((v) => { + return remap$(v, { + stripeCustomerId: "stripe_customer_id", + }); + }); +} diff --git a/src/models/components/createprojectdto.ts b/src/models/components/createprojectdto.ts new file mode 100644 index 000000000..7d498bb19 --- /dev/null +++ b/src/models/components/createprojectdto.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type CreateProjectDto = { + name: string; + idOrganization?: string | undefined; + idUser: string; +}; + +/** @internal */ +export namespace CreateProjectDto$ { + export const inboundSchema: z.ZodType = z + .object({ + name: z.string(), + id_organization: z.string().optional(), + id_user: z.string(), + }) + .transform((v) => { + return remap$(v, { + id_organization: "idOrganization", + id_user: "idUser", + }); + }); + + export type Outbound = { + name: string; + id_organization?: string | undefined; + id_user: string; + }; + + export const outboundSchema: z.ZodType = z + .object({ + name: z.string(), + idOrganization: z.string().optional(), + idUser: z.string(), + }) + .transform((v) => { + return remap$(v, { + idOrganization: "id_organization", + idUser: "id_user", + }); + }); +} diff --git a/src/models/components/createuserdto.ts b/src/models/components/createuserdto.ts new file mode 100644 index 000000000..9d2e3083f --- /dev/null +++ b/src/models/components/createuserdto.ts @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type CreateUserDto = { + firstName: string; + lastName: string; + email: string; + strategy: string; + passwordHash?: string | undefined; + idOrganisation?: string | undefined; +}; + +/** @internal */ +export namespace CreateUserDto$ { + export const inboundSchema: z.ZodType = z + .object({ + first_name: z.string(), + last_name: z.string(), + email: z.string(), + strategy: z.string(), + password_hash: z.string().optional(), + id_organisation: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + first_name: "firstName", + last_name: "lastName", + password_hash: "passwordHash", + id_organisation: "idOrganisation", + }); + }); + + export type Outbound = { + first_name: string; + last_name: string; + email: string; + strategy: string; + password_hash?: string | undefined; + id_organisation?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + strategy: z.string(), + passwordHash: z.string().optional(), + idOrganisation: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + firstName: "first_name", + lastName: "last_name", + passwordHash: "password_hash", + idOrganisation: "id_organisation", + }); + }); +} diff --git a/src/models/components/customfieldcreatedto.ts b/src/models/components/customfieldcreatedto.ts new file mode 100644 index 000000000..1952e19c2 --- /dev/null +++ b/src/models/components/customfieldcreatedto.ts @@ -0,0 +1,69 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type CustomFieldCreateDto = { + objectTypeOwner: string; + name: string; + description: string; + dataType: string; + sourceCustomFieldId: string; + sourceProvider: string; + linkedUserId: string; +}; + +/** @internal */ +export namespace CustomFieldCreateDto$ { + export const inboundSchema: z.ZodType = z + .object({ + object_type_owner: z.string(), + name: z.string(), + description: z.string(), + data_type: z.string(), + source_custom_field_id: z.string(), + source_provider: z.string(), + linked_user_id: z.string(), + }) + .transform((v) => { + return remap$(v, { + object_type_owner: "objectTypeOwner", + data_type: "dataType", + source_custom_field_id: "sourceCustomFieldId", + source_provider: "sourceProvider", + linked_user_id: "linkedUserId", + }); + }); + + export type Outbound = { + object_type_owner: string; + name: string; + description: string; + data_type: string; + source_custom_field_id: string; + source_provider: string; + linked_user_id: string; + }; + + export const outboundSchema: z.ZodType = z + .object({ + objectTypeOwner: z.string(), + name: z.string(), + description: z.string(), + dataType: z.string(), + sourceCustomFieldId: z.string(), + sourceProvider: z.string(), + linkedUserId: z.string(), + }) + .transform((v) => { + return remap$(v, { + objectTypeOwner: "object_type_owner", + dataType: "data_type", + sourceCustomFieldId: "source_custom_field_id", + sourceProvider: "source_provider", + linkedUserId: "linked_user_id", + }); + }); +} diff --git a/src/models/components/definetargetfielddto.ts b/src/models/components/definetargetfielddto.ts new file mode 100644 index 000000000..aa7c01433 --- /dev/null +++ b/src/models/components/definetargetfielddto.ts @@ -0,0 +1,51 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type DefineTargetFieldDto = { + objectTypeOwner: string; + name: string; + description: string; + dataType: string; +}; + +/** @internal */ +export namespace DefineTargetFieldDto$ { + export const inboundSchema: z.ZodType = z + .object({ + object_type_owner: z.string(), + name: z.string(), + description: z.string(), + data_type: z.string(), + }) + .transform((v) => { + return remap$(v, { + object_type_owner: "objectTypeOwner", + data_type: "dataType", + }); + }); + + export type Outbound = { + object_type_owner: string; + name: string; + description: string; + data_type: string; + }; + + export const outboundSchema: z.ZodType = z + .object({ + objectTypeOwner: z.string(), + name: z.string(), + description: z.string(), + dataType: z.string(), + }) + .transform((v) => { + return remap$(v, { + objectTypeOwner: "object_type_owner", + dataType: "data_type", + }); + }); +} diff --git a/src/models/components/deletecsdto.ts b/src/models/components/deletecsdto.ts new file mode 100644 index 000000000..f79bb47f7 --- /dev/null +++ b/src/models/components/deletecsdto.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type DeleteCSDto = { + id: string; +}; + +/** @internal */ +export namespace DeleteCSDto$ { + export const inboundSchema: z.ZodType = z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = z.object({ + id: z.string(), + }); +} diff --git a/src/models/components/httpmetadata.ts b/src/models/components/httpmetadata.ts new file mode 100644 index 000000000..d8ffc7a4a --- /dev/null +++ b/src/models/components/httpmetadata.ts @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type HTTPMetadata = { + /** + * Raw HTTP response; suitable for custom response parsing + */ + response: Response; + /** + * Raw HTTP request; suitable for debugging + */ + request: Request; +}; + +/** @internal */ +export namespace HTTPMetadata$ { + export const inboundSchema: z.ZodType = z + .object({ + Response: z.instanceof(Response), + Request: z.instanceof(Request), + }) + .transform((v) => { + return remap$(v, { + Response: "response", + Request: "request", + }); + }); + + export type Outbound = { + Response: never; + Request: never; + }; + + export const outboundSchema: z.ZodType = z + .object({ + response: z.instanceof(Response).transform(() => { + throw new Error("Response cannot be serialized"); + }), + request: z.instanceof(Request).transform(() => { + throw new Error("Response cannot be serialized"); + }), + }) + .transform((v) => { + return remap$(v, { + response: "Response", + request: "Request", + }); + }); +} diff --git a/src/models/components/index.ts b/src/models/components/index.ts new file mode 100644 index 000000000..bd19fa5d8 --- /dev/null +++ b/src/models/components/index.ts @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export * from "./apikeydto"; +export * from "./bodydatatype"; +export * from "./connectionstrategycredentials"; +export * from "./createbatchlinkeduserdto"; +export * from "./createconnectionstrategydto"; +export * from "./createlinkeduserdto"; +export * from "./createmagiclinkdto"; +export * from "./createorganizationdto"; +export * from "./createprojectdto"; +export * from "./createuserdto"; +export * from "./customfieldcreatedto"; +export * from "./definetargetfielddto"; +export * from "./deletecsdto"; +export * from "./httpmetadata"; +export * from "./logindto"; +export * from "./managedwebhooksdto"; +export * from "./mapfieldtoproviderdto"; +export * from "./passthroughrequestdto"; +export * from "./passthroughresponse"; +export * from "./projectconnectorsdto"; +export * from "./refreshdto"; +export * from "./remotethirdpartycreationdto"; +export * from "./security"; +export * from "./signatureverificationdto"; +export * from "./togglestrategydto"; +export * from "./unifiedaccountinput"; +export * from "./unifiedaccountoutput"; +export * from "./unifiedactioninput"; +export * from "./unifiedactionoutput"; +export * from "./unifiedactivityinput"; +export * from "./unifiedactivityoutput"; +export * from "./unifiedaddressinput"; +export * from "./unifiedaddressoutput"; +export * from "./unifiedapplicationinput"; +export * from "./unifiedapplicationoutput"; +export * from "./unifiedattachmentinput"; +export * from "./unifiedattachmentoutput"; +export * from "./unifiedautomationinput"; +export * from "./unifiedautomationoutput"; +export * from "./unifiedbalancesheetinput"; +export * from "./unifiedbalancesheetoutput"; +export * from "./unifiedbankinfoinput"; +export * from "./unifiedbankinfooutput"; +export * from "./unifiedbenefitinput"; +export * from "./unifiedbenefitoutput"; +export * from "./unifiedcampaigninput"; +export * from "./unifiedcampaignoutput"; +export * from "./unifiedcandidateinput"; +export * from "./unifiedcandidateoutput"; +export * from "./unifiedcashflowstatementinput"; +export * from "./unifiedcashflowstatementoutput"; +export * from "./unifiedcollectionoutput"; +export * from "./unifiedcommentinput"; +export * from "./unifiedcommentoutput"; +export * from "./unifiedcompanyinfoinput"; +export * from "./unifiedcompanyinfooutput"; +export * from "./unifiedcompanyinput"; +export * from "./unifiedcompanyoutput"; +export * from "./unifiedcontactinput"; +export * from "./unifiedcontactoutput"; +export * from "./unifiedcreditnoteinput"; +export * from "./unifiedcreditnoteoutput"; +export * from "./unifieddealinput"; +export * from "./unifieddealoutput"; +export * from "./unifieddepartmentinput"; +export * from "./unifieddepartmentoutput"; +export * from "./unifieddependentinput"; +export * from "./unifieddependentoutput"; +export * from "./unifieddriveinput"; +export * from "./unifieddriveoutput"; +export * from "./unifiedeeocsinput"; +export * from "./unifiedeeocsoutput"; +export * from "./unifiedemailinput"; +export * from "./unifiedemailoutput"; +export * from "./unifiedemployeeinput"; +export * from "./unifiedemployeeoutput"; +export * from "./unifiedemployeepayrollruninput"; +export * from "./unifiedemployeepayrollrunoutput"; +export * from "./unifiedemployerbenefitinput"; +export * from "./unifiedemployerbenefitoutput"; +export * from "./unifiedemploymentinput"; +export * from "./unifiedemploymentoutput"; +export * from "./unifiedengagementinput"; +export * from "./unifiedengagementoutput"; +export * from "./unifiedeventinput"; +export * from "./unifiedeventoutput"; +export * from "./unifiedexpenseinput"; +export * from "./unifiedexpenseoutput"; +export * from "./unifiedfileinput"; +export * from "./unifiedfileoutput"; +export * from "./unifiedfolderinput"; +export * from "./unifiedfolderoutput"; +export * from "./unifiedgroupinput"; +export * from "./unifiedgroupoutput"; +export * from "./unifiedincomestatementinput"; +export * from "./unifiedincomestatementoutput"; +export * from "./unifiedinterviewinput"; +export * from "./unifiedinterviewoutput"; +export * from "./unifiedinvoiceinput"; +export * from "./unifiedinvoiceoutput"; +export * from "./unifiediteminput"; +export * from "./unifieditemoutput"; +export * from "./unifiedjobinput"; +export * from "./unifiedjobinterviewstageinput"; +export * from "./unifiedjobinterviewstageoutput"; +export * from "./unifiedjoboutput"; +export * from "./unifiedjournalentryinput"; +export * from "./unifiedjournalentryoutput"; +export * from "./unifiedlistinput"; +export * from "./unifiedlistoutput"; +export * from "./unifiedlocationinput"; +export * from "./unifiedlocationoutput"; +export * from "./unifiedmessageinput"; +export * from "./unifiedmessageoutput"; +export * from "./unifiednoteinput"; +export * from "./unifiednoteoutput"; +export * from "./unifiedofferinput"; +export * from "./unifiedofferoutput"; +export * from "./unifiedofficeinput"; +export * from "./unifiedofficeoutput"; +export * from "./unifiedpaygroupinput"; +export * from "./unifiedpaygroupoutput"; +export * from "./unifiedpaymentinput"; +export * from "./unifiedpaymentoutput"; +export * from "./unifiedpayrollruninput"; +export * from "./unifiedpayrollrunoutput"; +export * from "./unifiedpermissioninput"; +export * from "./unifiedpermissionoutput"; +export * from "./unifiedphonenumberinput"; +export * from "./unifiedphonenumberoutput"; +export * from "./unifiedpurchaseorderinput"; +export * from "./unifiedpurchaseorderoutput"; +export * from "./unifiedrejectreasoninput"; +export * from "./unifiedrejectreasonoutput"; +export * from "./unifiedscorecardinput"; +export * from "./unifiedscorecardoutput"; +export * from "./unifiedscreeningquestioninput"; +export * from "./unifiedscreeningquestionoutput"; +export * from "./unifiedsharedlinkinput"; +export * from "./unifiedsharedlinkoutput"; +export * from "./unifiedstageoutput"; +export * from "./unifiedtaginput"; +export * from "./unifiedtagoutput"; +export * from "./unifiedtaskinput"; +export * from "./unifiedtaskoutput"; +export * from "./unifiedtaxrateinput"; +export * from "./unifiedtaxrateoutput"; +export * from "./unifiedteamoutput"; +export * from "./unifiedtemplateinput"; +export * from "./unifiedtemplateoutput"; +export * from "./unifiedticketinput"; +export * from "./unifiedticketoutput"; +export * from "./unifiedtimeoffbalanceinput"; +export * from "./unifiedtimeoffbalanceoutput"; +export * from "./unifiedtimeoffinput"; +export * from "./unifiedtimeoffoutput"; +export * from "./unifiedtrackingcategoryinput"; +export * from "./unifiedtrackingcategoryoutput"; +export * from "./unifiedtransactioninput"; +export * from "./unifiedtransactionoutput"; +export * from "./unifieduserinput"; +export * from "./unifieduseroutput"; +export * from "./unifiedvendorcreditinput"; +export * from "./unifiedvendorcreditoutput"; +export * from "./updatecsdto"; +export * from "./verifyuserdto"; +export * from "./webhookdto"; diff --git a/src/models/components/logindto.ts b/src/models/components/logindto.ts new file mode 100644 index 000000000..cfeb4102f --- /dev/null +++ b/src/models/components/logindto.ts @@ -0,0 +1,47 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type LoginDto = { + idUser?: string | undefined; + email: string; + passwordHash: string; +}; + +/** @internal */ +export namespace LoginDto$ { + export const inboundSchema: z.ZodType = z + .object({ + id_user: z.string().optional(), + email: z.string(), + password_hash: z.string(), + }) + .transform((v) => { + return remap$(v, { + id_user: "idUser", + password_hash: "passwordHash", + }); + }); + + export type Outbound = { + id_user?: string | undefined; + email: string; + password_hash: string; + }; + + export const outboundSchema: z.ZodType = z + .object({ + idUser: z.string().optional(), + email: z.string(), + passwordHash: z.string(), + }) + .transform((v) => { + return remap$(v, { + idUser: "id_user", + passwordHash: "password_hash", + }); + }); +} diff --git a/src/models/components/managedwebhooksdto.ts b/src/models/components/managedwebhooksdto.ts new file mode 100644 index 000000000..f048ca6fe --- /dev/null +++ b/src/models/components/managedwebhooksdto.ts @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type ManagedWebhooksDto = { + idConnection: string; + scopes: Array; + apiVersion?: string | undefined; + remoteSignatureSecret?: string | undefined; +}; + +/** @internal */ +export namespace ManagedWebhooksDto$ { + export const inboundSchema: z.ZodType = z + .object({ + id_connection: z.string(), + scopes: z.array(z.string()), + api_version: z.string().optional(), + remote_signature_secret: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + id_connection: "idConnection", + api_version: "apiVersion", + remote_signature_secret: "remoteSignatureSecret", + }); + }); + + export type Outbound = { + id_connection: string; + scopes: Array; + api_version?: string | undefined; + remote_signature_secret?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + idConnection: z.string(), + scopes: z.array(z.string()), + apiVersion: z.string().optional(), + remoteSignatureSecret: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + idConnection: "id_connection", + apiVersion: "api_version", + remoteSignatureSecret: "remote_signature_secret", + }); + }); +} diff --git a/src/models/components/mapfieldtoproviderdto.ts b/src/models/components/mapfieldtoproviderdto.ts new file mode 100644 index 000000000..65eac8c98 --- /dev/null +++ b/src/models/components/mapfieldtoproviderdto.ts @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type MapFieldToProviderDto = { + attributeId: string; + sourceCustomFieldId: string; + sourceProvider: string; + linkedUserId: string; +}; + +/** @internal */ +export namespace MapFieldToProviderDto$ { + export const inboundSchema: z.ZodType = z + .object({ + attributeId: z.string(), + source_custom_field_id: z.string(), + source_provider: z.string(), + linked_user_id: z.string(), + }) + .transform((v) => { + return remap$(v, { + source_custom_field_id: "sourceCustomFieldId", + source_provider: "sourceProvider", + linked_user_id: "linkedUserId", + }); + }); + + export type Outbound = { + attributeId: string; + source_custom_field_id: string; + source_provider: string; + linked_user_id: string; + }; + + export const outboundSchema: z.ZodType = z + .object({ + attributeId: z.string(), + sourceCustomFieldId: z.string(), + sourceProvider: z.string(), + linkedUserId: z.string(), + }) + .transform((v) => { + return remap$(v, { + sourceCustomFieldId: "source_custom_field_id", + sourceProvider: "source_provider", + linkedUserId: "linked_user_id", + }); + }); +} diff --git a/src/models/components/passthroughrequestdto.ts b/src/models/components/passthroughrequestdto.ts new file mode 100644 index 000000000..f87ed4cfc --- /dev/null +++ b/src/models/components/passthroughrequestdto.ts @@ -0,0 +1,73 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export enum Method { + Get = "GET", + Post = "POST", + Patch = "PATCH", + Delete = "DELETE", + Put = "PUT", +} + +export type Data = {}; + +export type Headers = {}; + +export type PassThroughRequestDto = { + method: Method; + path: string; + data?: Data | undefined; + headers?: Headers | undefined; +}; + +/** @internal */ +export namespace Method$ { + export const inboundSchema = z.nativeEnum(Method); + export const outboundSchema = inboundSchema; +} + +/** @internal */ +export namespace Data$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} + +/** @internal */ +export namespace Headers$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} + +/** @internal */ +export namespace PassThroughRequestDto$ { + export const inboundSchema: z.ZodType = z.object({ + method: Method$.inboundSchema, + path: z.string(), + data: z.lazy(() => Data$.inboundSchema).optional(), + headers: z.lazy(() => Headers$.inboundSchema).optional(), + }); + + export type Outbound = { + method: string; + path: string; + data?: Data$.Outbound | undefined; + headers?: Headers$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + method: Method$.outboundSchema, + path: z.string(), + data: z.lazy(() => Data$.outboundSchema).optional(), + headers: z.lazy(() => Headers$.outboundSchema).optional(), + }); +} diff --git a/src/models/components/passthroughresponse.ts b/src/models/components/passthroughresponse.ts new file mode 100644 index 000000000..fd8819168 --- /dev/null +++ b/src/models/components/passthroughresponse.ts @@ -0,0 +1,45 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type PassThroughResponseData = {}; + +export type PassThroughResponse = { + url: string; + status: number; + data: PassThroughResponseData; +}; + +/** @internal */ +export namespace PassThroughResponseData$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace PassThroughResponse$ { + export const inboundSchema: z.ZodType = z.object({ + url: z.string(), + status: z.number(), + data: z.lazy(() => PassThroughResponseData$.inboundSchema), + }); + + export type Outbound = { + url: string; + status: number; + data: PassThroughResponseData$.Outbound; + }; + + export const outboundSchema: z.ZodType = z.object({ + url: z.string(), + status: z.number(), + data: z.lazy(() => PassThroughResponseData$.outboundSchema), + }); +} diff --git a/src/models/components/projectconnectorsdto.ts b/src/models/components/projectconnectorsdto.ts new file mode 100644 index 000000000..94f5d343a --- /dev/null +++ b/src/models/components/projectconnectorsdto.ts @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type ProjectConnectorsDto = { + column: string; + status: boolean; +}; + +/** @internal */ +export namespace ProjectConnectorsDto$ { + export const inboundSchema: z.ZodType = z.object({ + column: z.string(), + status: z.boolean(), + }); + + export type Outbound = { + column: string; + status: boolean; + }; + + export const outboundSchema: z.ZodType = z.object( + { + column: z.string(), + status: z.boolean(), + } + ); +} diff --git a/src/models/components/refreshdto.ts b/src/models/components/refreshdto.ts new file mode 100644 index 000000000..b5d9b0461 --- /dev/null +++ b/src/models/components/refreshdto.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type RefreshDto = { + projectId: string; +}; + +/** @internal */ +export namespace RefreshDto$ { + export const inboundSchema: z.ZodType = z.object({ + projectId: z.string(), + }); + + export type Outbound = { + projectId: string; + }; + + export const outboundSchema: z.ZodType = z.object({ + projectId: z.string(), + }); +} diff --git a/src/models/components/remotethirdpartycreationdto.ts b/src/models/components/remotethirdpartycreationdto.ts new file mode 100644 index 000000000..9578ebf23 --- /dev/null +++ b/src/models/components/remotethirdpartycreationdto.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type RemoteThirdPartyCreationDto = { + idConnection: string; + mwIds: Array; +}; + +/** @internal */ +export namespace RemoteThirdPartyCreationDto$ { + export const inboundSchema: z.ZodType = z + .object({ + id_connection: z.string(), + mw_ids: z.array(z.string()), + }) + .transform((v) => { + return remap$(v, { + id_connection: "idConnection", + mw_ids: "mwIds", + }); + }); + + export type Outbound = { + id_connection: string; + mw_ids: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + idConnection: z.string(), + mwIds: z.array(z.string()), + }) + .transform((v) => { + return remap$(v, { + idConnection: "id_connection", + mwIds: "mw_ids", + }); + }); +} diff --git a/src/models/components/security.ts b/src/models/components/security.ts new file mode 100644 index 000000000..188b0ad20 --- /dev/null +++ b/src/models/components/security.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type Security = { + jwt?: string | undefined; +}; + +/** @internal */ +export namespace Security$ { + export const inboundSchema: z.ZodType = z + .object({ + JWT: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + JWT: "jwt", + }); + }); + + export type Outbound = { + JWT?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + jwt: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + jwt: "JWT", + }); + }); +} diff --git a/src/models/components/signatureverificationdto.ts b/src/models/components/signatureverificationdto.ts new file mode 100644 index 000000000..b8e813f5f --- /dev/null +++ b/src/models/components/signatureverificationdto.ts @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type SignatureVerificationDto = { + signature: string; + secret: string; +}; + +/** @internal */ +export namespace SignatureVerificationDto$ { + export const inboundSchema: z.ZodType = + z.object({ + signature: z.string(), + secret: z.string(), + }); + + export type Outbound = { + signature: string; + secret: string; + }; + + export const outboundSchema: z.ZodType = + z.object({ + signature: z.string(), + secret: z.string(), + }); +} diff --git a/src/models/components/togglestrategydto.ts b/src/models/components/togglestrategydto.ts new file mode 100644 index 000000000..38692fb36 --- /dev/null +++ b/src/models/components/togglestrategydto.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type ToggleStrategyDto = { + idCs: string; +}; + +/** @internal */ +export namespace ToggleStrategyDto$ { + export const inboundSchema: z.ZodType = z + .object({ + id_cs: z.string(), + }) + .transform((v) => { + return remap$(v, { + id_cs: "idCs", + }); + }); + + export type Outbound = { + id_cs: string; + }; + + export const outboundSchema: z.ZodType = z + .object({ + idCs: z.string(), + }) + .transform((v) => { + return remap$(v, { + idCs: "id_cs", + }); + }); +} diff --git a/src/models/components/unifiedaccountinput.ts b/src/models/components/unifiedaccountinput.ts new file mode 100644 index 000000000..483c2cc5a --- /dev/null +++ b/src/models/components/unifiedaccountinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedAccountInput = {}; + +/** @internal */ +export namespace UnifiedAccountInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedaccountoutput.ts b/src/models/components/unifiedaccountoutput.ts new file mode 100644 index 000000000..ad65ba32e --- /dev/null +++ b/src/models/components/unifiedaccountoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedAccountOutput = {}; + +/** @internal */ +export namespace UnifiedAccountOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedactioninput.ts b/src/models/components/unifiedactioninput.ts new file mode 100644 index 000000000..80b440661 --- /dev/null +++ b/src/models/components/unifiedactioninput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedActionInput = {}; + +/** @internal */ +export namespace UnifiedActionInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedactionoutput.ts b/src/models/components/unifiedactionoutput.ts new file mode 100644 index 000000000..15142a600 --- /dev/null +++ b/src/models/components/unifiedactionoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedActionOutput = {}; + +/** @internal */ +export namespace UnifiedActionOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedactivityinput.ts b/src/models/components/unifiedactivityinput.ts new file mode 100644 index 000000000..2e63d99e3 --- /dev/null +++ b/src/models/components/unifiedactivityinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedActivityInput = {}; + +/** @internal */ +export namespace UnifiedActivityInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedactivityoutput.ts b/src/models/components/unifiedactivityoutput.ts new file mode 100644 index 000000000..8c5e77d01 --- /dev/null +++ b/src/models/components/unifiedactivityoutput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedActivityOutput = {}; + +/** @internal */ +export namespace UnifiedActivityOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedaddressinput.ts b/src/models/components/unifiedaddressinput.ts new file mode 100644 index 000000000..ee1fd69ad --- /dev/null +++ b/src/models/components/unifiedaddressinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedAddressInput = {}; + +/** @internal */ +export namespace UnifiedAddressInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedaddressoutput.ts b/src/models/components/unifiedaddressoutput.ts new file mode 100644 index 000000000..d31685020 --- /dev/null +++ b/src/models/components/unifiedaddressoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedAddressOutput = {}; + +/** @internal */ +export namespace UnifiedAddressOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedapplicationinput.ts b/src/models/components/unifiedapplicationinput.ts new file mode 100644 index 000000000..c9c9e27ac --- /dev/null +++ b/src/models/components/unifiedapplicationinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedApplicationInput = {}; + +/** @internal */ +export namespace UnifiedApplicationInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedapplicationoutput.ts b/src/models/components/unifiedapplicationoutput.ts new file mode 100644 index 000000000..b8bb8aa2d --- /dev/null +++ b/src/models/components/unifiedapplicationoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedApplicationOutput = {}; + +/** @internal */ +export namespace UnifiedApplicationOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedattachmentinput.ts b/src/models/components/unifiedattachmentinput.ts new file mode 100644 index 000000000..b1b68ecb0 --- /dev/null +++ b/src/models/components/unifiedattachmentinput.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedAttachmentInputFieldMappings = {}; + +export type UnifiedAttachmentInput = { + /** + * The file name of the attachment + */ + fileName: string; + /** + * The file url of the attachment + */ + fileUrl: string; + /** + * The uploader's uuid of the attachment + */ + uploader: string; + fieldMappings: UnifiedAttachmentInputFieldMappings; +}; + +/** @internal */ +export namespace UnifiedAttachmentInputFieldMappings$ { + export const inboundSchema: z.ZodType< + UnifiedAttachmentInputFieldMappings, + z.ZodTypeDef, + unknown + > = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UnifiedAttachmentInputFieldMappings + > = z.object({}); +} + +/** @internal */ +export namespace UnifiedAttachmentInput$ { + export const inboundSchema: z.ZodType = z + .object({ + file_name: z.string(), + file_url: z.string(), + uploader: z.string(), + field_mappings: z.lazy(() => UnifiedAttachmentInputFieldMappings$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + file_name: "fileName", + file_url: "fileUrl", + field_mappings: "fieldMappings", + }); + }); + + export type Outbound = { + file_name: string; + file_url: string; + uploader: string; + field_mappings: UnifiedAttachmentInputFieldMappings$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + fileName: z.string(), + fileUrl: z.string(), + uploader: z.string(), + fieldMappings: z.lazy(() => UnifiedAttachmentInputFieldMappings$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + fileName: "file_name", + fileUrl: "file_url", + fieldMappings: "field_mappings", + }); + }); +} diff --git a/src/models/components/unifiedattachmentoutput.ts b/src/models/components/unifiedattachmentoutput.ts new file mode 100644 index 000000000..693f8afe4 --- /dev/null +++ b/src/models/components/unifiedattachmentoutput.ts @@ -0,0 +1,122 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedAttachmentOutputFieldMappings = {}; + +export type UnifiedAttachmentOutputRemoteData = {}; + +export type UnifiedAttachmentOutput = { + /** + * The file name of the attachment + */ + fileName: string; + /** + * The file url of the attachment + */ + fileUrl: string; + /** + * The uploader's uuid of the attachment + */ + uploader: string; + fieldMappings: UnifiedAttachmentOutputFieldMappings; + /** + * The uuid of the attachment + */ + id?: string | undefined; + /** + * The id of the attachment in the context of the 3rd Party + */ + remoteId?: string | undefined; + remoteData: UnifiedAttachmentOutputRemoteData; +}; + +/** @internal */ +export namespace UnifiedAttachmentOutputFieldMappings$ { + export const inboundSchema: z.ZodType< + UnifiedAttachmentOutputFieldMappings, + z.ZodTypeDef, + unknown + > = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UnifiedAttachmentOutputFieldMappings + > = z.object({}); +} + +/** @internal */ +export namespace UnifiedAttachmentOutputRemoteData$ { + export const inboundSchema: z.ZodType< + UnifiedAttachmentOutputRemoteData, + z.ZodTypeDef, + unknown + > = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UnifiedAttachmentOutputRemoteData + > = z.object({}); +} + +/** @internal */ +export namespace UnifiedAttachmentOutput$ { + export const inboundSchema: z.ZodType = z + .object({ + file_name: z.string(), + file_url: z.string(), + uploader: z.string(), + field_mappings: z.lazy(() => UnifiedAttachmentOutputFieldMappings$.inboundSchema), + id: z.string().optional(), + remote_id: z.string().optional(), + remote_data: z.lazy(() => UnifiedAttachmentOutputRemoteData$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + file_name: "fileName", + file_url: "fileUrl", + field_mappings: "fieldMappings", + remote_id: "remoteId", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + file_name: string; + file_url: string; + uploader: string; + field_mappings: UnifiedAttachmentOutputFieldMappings$.Outbound; + id?: string | undefined; + remote_id?: string | undefined; + remote_data: UnifiedAttachmentOutputRemoteData$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + fileName: z.string(), + fileUrl: z.string(), + uploader: z.string(), + fieldMappings: z.lazy(() => UnifiedAttachmentOutputFieldMappings$.outboundSchema), + id: z.string().optional(), + remoteId: z.string().optional(), + remoteData: z.lazy(() => UnifiedAttachmentOutputRemoteData$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + fileName: "file_name", + fileUrl: "file_url", + fieldMappings: "field_mappings", + remoteId: "remote_id", + remoteData: "remote_data", + }); + }); +} diff --git a/src/models/components/unifiedautomationinput.ts b/src/models/components/unifiedautomationinput.ts new file mode 100644 index 000000000..5c2c05eb6 --- /dev/null +++ b/src/models/components/unifiedautomationinput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedAutomationInput = {}; + +/** @internal */ +export namespace UnifiedAutomationInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedautomationoutput.ts b/src/models/components/unifiedautomationoutput.ts new file mode 100644 index 000000000..84b850199 --- /dev/null +++ b/src/models/components/unifiedautomationoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedAutomationOutput = {}; + +/** @internal */ +export namespace UnifiedAutomationOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedbalancesheetinput.ts b/src/models/components/unifiedbalancesheetinput.ts new file mode 100644 index 000000000..698447101 --- /dev/null +++ b/src/models/components/unifiedbalancesheetinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedBalanceSheetInput = {}; + +/** @internal */ +export namespace UnifiedBalanceSheetInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedbalancesheetoutput.ts b/src/models/components/unifiedbalancesheetoutput.ts new file mode 100644 index 000000000..5d4ffb638 --- /dev/null +++ b/src/models/components/unifiedbalancesheetoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedBalanceSheetOutput = {}; + +/** @internal */ +export namespace UnifiedBalanceSheetOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedbankinfoinput.ts b/src/models/components/unifiedbankinfoinput.ts new file mode 100644 index 000000000..28a25299e --- /dev/null +++ b/src/models/components/unifiedbankinfoinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedBankInfoInput = {}; + +/** @internal */ +export namespace UnifiedBankInfoInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedbankinfooutput.ts b/src/models/components/unifiedbankinfooutput.ts new file mode 100644 index 000000000..91fadadcb --- /dev/null +++ b/src/models/components/unifiedbankinfooutput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedBankInfoOutput = {}; + +/** @internal */ +export namespace UnifiedBankInfoOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedbenefitinput.ts b/src/models/components/unifiedbenefitinput.ts new file mode 100644 index 000000000..7034df2aa --- /dev/null +++ b/src/models/components/unifiedbenefitinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedBenefitInput = {}; + +/** @internal */ +export namespace UnifiedBenefitInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedbenefitoutput.ts b/src/models/components/unifiedbenefitoutput.ts new file mode 100644 index 000000000..769289b76 --- /dev/null +++ b/src/models/components/unifiedbenefitoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedBenefitOutput = {}; + +/** @internal */ +export namespace UnifiedBenefitOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedcampaigninput.ts b/src/models/components/unifiedcampaigninput.ts new file mode 100644 index 000000000..50d1812e2 --- /dev/null +++ b/src/models/components/unifiedcampaigninput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedCampaignInput = {}; + +/** @internal */ +export namespace UnifiedCampaignInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedcampaignoutput.ts b/src/models/components/unifiedcampaignoutput.ts new file mode 100644 index 000000000..a91919e87 --- /dev/null +++ b/src/models/components/unifiedcampaignoutput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedCampaignOutput = {}; + +/** @internal */ +export namespace UnifiedCampaignOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedcandidateinput.ts b/src/models/components/unifiedcandidateinput.ts new file mode 100644 index 000000000..aa5037890 --- /dev/null +++ b/src/models/components/unifiedcandidateinput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedCandidateInput = {}; + +/** @internal */ +export namespace UnifiedCandidateInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedcandidateoutput.ts b/src/models/components/unifiedcandidateoutput.ts new file mode 100644 index 000000000..d5386fa9b --- /dev/null +++ b/src/models/components/unifiedcandidateoutput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedCandidateOutput = {}; + +/** @internal */ +export namespace UnifiedCandidateOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedcashflowstatementinput.ts b/src/models/components/unifiedcashflowstatementinput.ts new file mode 100644 index 000000000..5c27865b7 --- /dev/null +++ b/src/models/components/unifiedcashflowstatementinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedCashflowStatementInput = {}; + +/** @internal */ +export namespace UnifiedCashflowStatementInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedcashflowstatementoutput.ts b/src/models/components/unifiedcashflowstatementoutput.ts new file mode 100644 index 000000000..3842bafbb --- /dev/null +++ b/src/models/components/unifiedcashflowstatementoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedCashflowStatementOutput = {}; + +/** @internal */ +export namespace UnifiedCashflowStatementOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedcollectionoutput.ts b/src/models/components/unifiedcollectionoutput.ts new file mode 100644 index 000000000..2e668730f --- /dev/null +++ b/src/models/components/unifiedcollectionoutput.ts @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedCollectionOutputRemoteData = {}; + +export type UnifiedCollectionOutput = { + /** + * The name of the collection + */ + name: string; + /** + * The description of the collection + */ + description?: string | undefined; + /** + * The type of the collection. Authorized values are either PROJECT or LIST + */ + collectionType?: string | undefined; + /** + * The uuid of the collection + */ + id?: string | undefined; + /** + * The id of the collection in the context of the 3rd Party + */ + remoteId?: string | undefined; + remoteData: UnifiedCollectionOutputRemoteData; +}; + +/** @internal */ +export namespace UnifiedCollectionOutputRemoteData$ { + export const inboundSchema: z.ZodType< + UnifiedCollectionOutputRemoteData, + z.ZodTypeDef, + unknown + > = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UnifiedCollectionOutputRemoteData + > = z.object({}); +} + +/** @internal */ +export namespace UnifiedCollectionOutput$ { + export const inboundSchema: z.ZodType = z + .object({ + name: z.string(), + description: z.string().optional(), + collection_type: z.string().optional(), + id: z.string().optional(), + remote_id: z.string().optional(), + remote_data: z.lazy(() => UnifiedCollectionOutputRemoteData$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + collection_type: "collectionType", + remote_id: "remoteId", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + name: string; + description?: string | undefined; + collection_type?: string | undefined; + id?: string | undefined; + remote_id?: string | undefined; + remote_data: UnifiedCollectionOutputRemoteData$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + name: z.string(), + description: z.string().optional(), + collectionType: z.string().optional(), + id: z.string().optional(), + remoteId: z.string().optional(), + remoteData: z.lazy(() => UnifiedCollectionOutputRemoteData$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + collectionType: "collection_type", + remoteId: "remote_id", + remoteData: "remote_data", + }); + }); +} diff --git a/src/models/components/unifiedcommentinput.ts b/src/models/components/unifiedcommentinput.ts new file mode 100644 index 000000000..4bd805ed9 --- /dev/null +++ b/src/models/components/unifiedcommentinput.ts @@ -0,0 +1,99 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedCommentInput = { + /** + * The body of the comment + */ + body: string; + /** + * The html body of the comment + */ + htmlBody?: string | undefined; + /** + * The public status of the comment + */ + isPrivate?: boolean | undefined; + /** + * The creator type of the comment. Authorized values are either USER or CONTACT + */ + creatorType?: string | undefined; + /** + * The uuid of the ticket the comment is tied to + */ + ticketId?: string | undefined; + /** + * The uuid of the contact which the comment belongs to (if no user_id specified) + */ + contactId?: string | undefined; + /** + * The uuid of the user which the comment belongs to (if no contact_id specified) + */ + userId?: string | undefined; + /** + * The attachements uuids tied to the comment + */ + attachments?: Array | undefined; +}; + +/** @internal */ +export namespace UnifiedCommentInput$ { + export const inboundSchema: z.ZodType = z + .object({ + body: z.string(), + html_body: z.string().optional(), + is_private: z.boolean().optional(), + creator_type: z.string().optional(), + ticket_id: z.string().optional(), + contact_id: z.string().optional(), + user_id: z.string().optional(), + attachments: z.array(z.string()).optional(), + }) + .transform((v) => { + return remap$(v, { + html_body: "htmlBody", + is_private: "isPrivate", + creator_type: "creatorType", + ticket_id: "ticketId", + contact_id: "contactId", + user_id: "userId", + }); + }); + + export type Outbound = { + body: string; + html_body?: string | undefined; + is_private?: boolean | undefined; + creator_type?: string | undefined; + ticket_id?: string | undefined; + contact_id?: string | undefined; + user_id?: string | undefined; + attachments?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + body: z.string(), + htmlBody: z.string().optional(), + isPrivate: z.boolean().optional(), + creatorType: z.string().optional(), + ticketId: z.string().optional(), + contactId: z.string().optional(), + userId: z.string().optional(), + attachments: z.array(z.string()).optional(), + }) + .transform((v) => { + return remap$(v, { + htmlBody: "html_body", + isPrivate: "is_private", + creatorType: "creator_type", + ticketId: "ticket_id", + contactId: "contact_id", + userId: "user_id", + }); + }); +} diff --git a/src/models/components/unifiedcommentoutput.ts b/src/models/components/unifiedcommentoutput.ts new file mode 100644 index 000000000..3cacc074c --- /dev/null +++ b/src/models/components/unifiedcommentoutput.ts @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import { UnifiedAttachmentOutput, UnifiedAttachmentOutput$ } from "./unifiedattachmentoutput"; +import * as z from "zod"; + +export type UnifiedCommentOutputRemoteData = {}; + +export type UnifiedCommentOutput = { + /** + * The body of the comment + */ + body: string; + /** + * The html body of the comment + */ + htmlBody?: string | undefined; + /** + * The public status of the comment + */ + isPrivate?: boolean | undefined; + /** + * The creator type of the comment. Authorized values are either USER or CONTACT + */ + creatorType?: string | undefined; + /** + * The uuid of the ticket the comment is tied to + */ + ticketId?: string | undefined; + /** + * The uuid of the contact which the comment belongs to (if no user_id specified) + */ + contactId?: string | undefined; + /** + * The uuid of the user which the comment belongs to (if no contact_id specified) + */ + userId?: string | undefined; + /** + * The attachemnets tied to the comment + */ + attachments?: Array | undefined; + /** + * The uuid of the comment + */ + id?: string | undefined; + /** + * The id of the comment in the context of the 3rd Party + */ + remoteId?: string | undefined; + remoteData: UnifiedCommentOutputRemoteData; +}; + +/** @internal */ +export namespace UnifiedCommentOutputRemoteData$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedCommentOutput$ { + export const inboundSchema: z.ZodType = z + .object({ + body: z.string(), + html_body: z.string().optional(), + is_private: z.boolean().optional(), + creator_type: z.string().optional(), + ticket_id: z.string().optional(), + contact_id: z.string().optional(), + user_id: z.string().optional(), + attachments: z.array(UnifiedAttachmentOutput$.inboundSchema).optional(), + id: z.string().optional(), + remote_id: z.string().optional(), + remote_data: z.lazy(() => UnifiedCommentOutputRemoteData$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + html_body: "htmlBody", + is_private: "isPrivate", + creator_type: "creatorType", + ticket_id: "ticketId", + contact_id: "contactId", + user_id: "userId", + remote_id: "remoteId", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + body: string; + html_body?: string | undefined; + is_private?: boolean | undefined; + creator_type?: string | undefined; + ticket_id?: string | undefined; + contact_id?: string | undefined; + user_id?: string | undefined; + attachments?: Array | undefined; + id?: string | undefined; + remote_id?: string | undefined; + remote_data: UnifiedCommentOutputRemoteData$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + body: z.string(), + htmlBody: z.string().optional(), + isPrivate: z.boolean().optional(), + creatorType: z.string().optional(), + ticketId: z.string().optional(), + contactId: z.string().optional(), + userId: z.string().optional(), + attachments: z.array(UnifiedAttachmentOutput$.outboundSchema).optional(), + id: z.string().optional(), + remoteId: z.string().optional(), + remoteData: z.lazy(() => UnifiedCommentOutputRemoteData$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + htmlBody: "html_body", + isPrivate: "is_private", + creatorType: "creator_type", + ticketId: "ticket_id", + contactId: "contact_id", + userId: "user_id", + remoteId: "remote_id", + remoteData: "remote_data", + }); + }); +} diff --git a/src/models/components/unifiedcompanyinfoinput.ts b/src/models/components/unifiedcompanyinfoinput.ts new file mode 100644 index 000000000..de9213cad --- /dev/null +++ b/src/models/components/unifiedcompanyinfoinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedCompanyInfoInput = {}; + +/** @internal */ +export namespace UnifiedCompanyInfoInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedcompanyinfooutput.ts b/src/models/components/unifiedcompanyinfooutput.ts new file mode 100644 index 000000000..a82340b16 --- /dev/null +++ b/src/models/components/unifiedcompanyinfooutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedCompanyInfoOutput = {}; + +/** @internal */ +export namespace UnifiedCompanyInfoOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedcompanyinput.ts b/src/models/components/unifiedcompanyinput.ts new file mode 100644 index 000000000..c599c724e --- /dev/null +++ b/src/models/components/unifiedcompanyinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedCompanyInput = {}; + +/** @internal */ +export namespace UnifiedCompanyInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedcompanyoutput.ts b/src/models/components/unifiedcompanyoutput.ts new file mode 100644 index 000000000..a0fca033d --- /dev/null +++ b/src/models/components/unifiedcompanyoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedCompanyOutput = {}; + +/** @internal */ +export namespace UnifiedCompanyOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedcontactinput.ts b/src/models/components/unifiedcontactinput.ts new file mode 100644 index 000000000..b25343f11 --- /dev/null +++ b/src/models/components/unifiedcontactinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedContactInput = {}; + +/** @internal */ +export namespace UnifiedContactInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedcontactoutput.ts b/src/models/components/unifiedcontactoutput.ts new file mode 100644 index 000000000..3f6662107 --- /dev/null +++ b/src/models/components/unifiedcontactoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedContactOutput = {}; + +/** @internal */ +export namespace UnifiedContactOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedcreditnoteinput.ts b/src/models/components/unifiedcreditnoteinput.ts new file mode 100644 index 000000000..e4f2c4595 --- /dev/null +++ b/src/models/components/unifiedcreditnoteinput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedCreditNoteInput = {}; + +/** @internal */ +export namespace UnifiedCreditNoteInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedcreditnoteoutput.ts b/src/models/components/unifiedcreditnoteoutput.ts new file mode 100644 index 000000000..b96e98479 --- /dev/null +++ b/src/models/components/unifiedcreditnoteoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedCreditNoteOutput = {}; + +/** @internal */ +export namespace UnifiedCreditNoteOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifieddealinput.ts b/src/models/components/unifieddealinput.ts new file mode 100644 index 000000000..671820481 --- /dev/null +++ b/src/models/components/unifieddealinput.ts @@ -0,0 +1,98 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedDealInputFieldMappings = {}; + +export type UnifiedDealInput = { + /** + * The name of the deal + */ + name: string; + /** + * The description of the deal + */ + description: string; + /** + * The amount of the deal + */ + amount: number; + /** + * The uuid of the user who is on the deal + */ + userId?: string | undefined; + /** + * The uuid of the stage of the deal + */ + stageId?: string | undefined; + /** + * The uuid of the company tied to the deal + */ + companyId?: string | undefined; + fieldMappings: UnifiedDealInputFieldMappings; +}; + +/** @internal */ +export namespace UnifiedDealInputFieldMappings$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedDealInput$ { + export const inboundSchema: z.ZodType = z + .object({ + name: z.string(), + description: z.string(), + amount: z.number(), + user_id: z.string().optional(), + stage_id: z.string().optional(), + company_id: z.string().optional(), + field_mappings: z.lazy(() => UnifiedDealInputFieldMappings$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + user_id: "userId", + stage_id: "stageId", + company_id: "companyId", + field_mappings: "fieldMappings", + }); + }); + + export type Outbound = { + name: string; + description: string; + amount: number; + user_id?: string | undefined; + stage_id?: string | undefined; + company_id?: string | undefined; + field_mappings: UnifiedDealInputFieldMappings$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + name: z.string(), + description: z.string(), + amount: z.number(), + userId: z.string().optional(), + stageId: z.string().optional(), + companyId: z.string().optional(), + fieldMappings: z.lazy(() => UnifiedDealInputFieldMappings$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + userId: "user_id", + stageId: "stage_id", + companyId: "company_id", + fieldMappings: "field_mappings", + }); + }); +} diff --git a/src/models/components/unifieddealoutput.ts b/src/models/components/unifieddealoutput.ts new file mode 100644 index 000000000..00dcb735a --- /dev/null +++ b/src/models/components/unifieddealoutput.ts @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedDealOutputFieldMappings = {}; + +export type UnifiedDealOutputRemoteData = {}; + +export type UnifiedDealOutput = { + /** + * The name of the deal + */ + name: string; + /** + * The description of the deal + */ + description: string; + /** + * The amount of the deal + */ + amount: number; + /** + * The uuid of the user who is on the deal + */ + userId?: string | undefined; + /** + * The uuid of the stage of the deal + */ + stageId?: string | undefined; + /** + * The uuid of the company tied to the deal + */ + companyId?: string | undefined; + fieldMappings: UnifiedDealOutputFieldMappings; + /** + * The uuid of the deal + */ + id?: string | undefined; + /** + * The id of the deal in the context of the Crm 3rd Party + */ + remoteId?: string | undefined; + remoteData: UnifiedDealOutputRemoteData; +}; + +/** @internal */ +export namespace UnifiedDealOutputFieldMappings$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedDealOutputRemoteData$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedDealOutput$ { + export const inboundSchema: z.ZodType = z + .object({ + name: z.string(), + description: z.string(), + amount: z.number(), + user_id: z.string().optional(), + stage_id: z.string().optional(), + company_id: z.string().optional(), + field_mappings: z.lazy(() => UnifiedDealOutputFieldMappings$.inboundSchema), + id: z.string().optional(), + remote_id: z.string().optional(), + remote_data: z.lazy(() => UnifiedDealOutputRemoteData$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + user_id: "userId", + stage_id: "stageId", + company_id: "companyId", + field_mappings: "fieldMappings", + remote_id: "remoteId", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + name: string; + description: string; + amount: number; + user_id?: string | undefined; + stage_id?: string | undefined; + company_id?: string | undefined; + field_mappings: UnifiedDealOutputFieldMappings$.Outbound; + id?: string | undefined; + remote_id?: string | undefined; + remote_data: UnifiedDealOutputRemoteData$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + name: z.string(), + description: z.string(), + amount: z.number(), + userId: z.string().optional(), + stageId: z.string().optional(), + companyId: z.string().optional(), + fieldMappings: z.lazy(() => UnifiedDealOutputFieldMappings$.outboundSchema), + id: z.string().optional(), + remoteId: z.string().optional(), + remoteData: z.lazy(() => UnifiedDealOutputRemoteData$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + userId: "user_id", + stageId: "stage_id", + companyId: "company_id", + fieldMappings: "field_mappings", + remoteId: "remote_id", + remoteData: "remote_data", + }); + }); +} diff --git a/src/models/components/unifieddepartmentinput.ts b/src/models/components/unifieddepartmentinput.ts new file mode 100644 index 000000000..1c7764558 --- /dev/null +++ b/src/models/components/unifieddepartmentinput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedDepartmentInput = {}; + +/** @internal */ +export namespace UnifiedDepartmentInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifieddepartmentoutput.ts b/src/models/components/unifieddepartmentoutput.ts new file mode 100644 index 000000000..5792e8b6e --- /dev/null +++ b/src/models/components/unifieddepartmentoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedDepartmentOutput = {}; + +/** @internal */ +export namespace UnifiedDepartmentOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifieddependentinput.ts b/src/models/components/unifieddependentinput.ts new file mode 100644 index 000000000..b6c8ddb9b --- /dev/null +++ b/src/models/components/unifieddependentinput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedDependentInput = {}; + +/** @internal */ +export namespace UnifiedDependentInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifieddependentoutput.ts b/src/models/components/unifieddependentoutput.ts new file mode 100644 index 000000000..e864b0cea --- /dev/null +++ b/src/models/components/unifieddependentoutput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedDependentOutput = {}; + +/** @internal */ +export namespace UnifiedDependentOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifieddriveinput.ts b/src/models/components/unifieddriveinput.ts new file mode 100644 index 000000000..e7d4f8a6c --- /dev/null +++ b/src/models/components/unifieddriveinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedDriveInput = {}; + +/** @internal */ +export namespace UnifiedDriveInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifieddriveoutput.ts b/src/models/components/unifieddriveoutput.ts new file mode 100644 index 000000000..80a42c40d --- /dev/null +++ b/src/models/components/unifieddriveoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedDriveOutput = {}; + +/** @internal */ +export namespace UnifiedDriveOutput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedeeocsinput.ts b/src/models/components/unifiedeeocsinput.ts new file mode 100644 index 000000000..7f3205cd3 --- /dev/null +++ b/src/models/components/unifiedeeocsinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEeocsInput = {}; + +/** @internal */ +export namespace UnifiedEeocsInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedeeocsoutput.ts b/src/models/components/unifiedeeocsoutput.ts new file mode 100644 index 000000000..01a93438e --- /dev/null +++ b/src/models/components/unifiedeeocsoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEeocsOutput = {}; + +/** @internal */ +export namespace UnifiedEeocsOutput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedemailinput.ts b/src/models/components/unifiedemailinput.ts new file mode 100644 index 000000000..603bfe77c --- /dev/null +++ b/src/models/components/unifiedemailinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEmailInput = {}; + +/** @internal */ +export namespace UnifiedEmailInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedemailoutput.ts b/src/models/components/unifiedemailoutput.ts new file mode 100644 index 000000000..a134dc540 --- /dev/null +++ b/src/models/components/unifiedemailoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEmailOutput = {}; + +/** @internal */ +export namespace UnifiedEmailOutput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedemployeeinput.ts b/src/models/components/unifiedemployeeinput.ts new file mode 100644 index 000000000..031964cbc --- /dev/null +++ b/src/models/components/unifiedemployeeinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEmployeeInput = {}; + +/** @internal */ +export namespace UnifiedEmployeeInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedemployeeoutput.ts b/src/models/components/unifiedemployeeoutput.ts new file mode 100644 index 000000000..d0bddd411 --- /dev/null +++ b/src/models/components/unifiedemployeeoutput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEmployeeOutput = {}; + +/** @internal */ +export namespace UnifiedEmployeeOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedemployeepayrollruninput.ts b/src/models/components/unifiedemployeepayrollruninput.ts new file mode 100644 index 000000000..0be19997e --- /dev/null +++ b/src/models/components/unifiedemployeepayrollruninput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEmployeePayrollRunInput = {}; + +/** @internal */ +export namespace UnifiedEmployeePayrollRunInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedemployeepayrollrunoutput.ts b/src/models/components/unifiedemployeepayrollrunoutput.ts new file mode 100644 index 000000000..4648486c3 --- /dev/null +++ b/src/models/components/unifiedemployeepayrollrunoutput.ts @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEmployeePayrollRunOutput = {}; + +/** @internal */ +export namespace UnifiedEmployeePayrollRunOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UnifiedEmployeePayrollRunOutput + > = z.object({}); +} diff --git a/src/models/components/unifiedemployerbenefitinput.ts b/src/models/components/unifiedemployerbenefitinput.ts new file mode 100644 index 000000000..823764259 --- /dev/null +++ b/src/models/components/unifiedemployerbenefitinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEmployerBenefitInput = {}; + +/** @internal */ +export namespace UnifiedEmployerBenefitInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedemployerbenefitoutput.ts b/src/models/components/unifiedemployerbenefitoutput.ts new file mode 100644 index 000000000..80101f71f --- /dev/null +++ b/src/models/components/unifiedemployerbenefitoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEmployerBenefitOutput = {}; + +/** @internal */ +export namespace UnifiedEmployerBenefitOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedemploymentinput.ts b/src/models/components/unifiedemploymentinput.ts new file mode 100644 index 000000000..974614cbb --- /dev/null +++ b/src/models/components/unifiedemploymentinput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEmploymentInput = {}; + +/** @internal */ +export namespace UnifiedEmploymentInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedemploymentoutput.ts b/src/models/components/unifiedemploymentoutput.ts new file mode 100644 index 000000000..eac82acec --- /dev/null +++ b/src/models/components/unifiedemploymentoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEmploymentOutput = {}; + +/** @internal */ +export namespace UnifiedEmploymentOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedengagementinput.ts b/src/models/components/unifiedengagementinput.ts new file mode 100644 index 000000000..8e8610c71 --- /dev/null +++ b/src/models/components/unifiedengagementinput.ts @@ -0,0 +1,141 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedEngagementInputFieldMappings = {}; + +export type UnifiedEngagementInput = { + /** + * The content of the engagement + */ + content?: string | undefined; + /** + * The direction of the engagement. Authorized values are INBOUND or OUTBOUND + */ + direction?: string | undefined; + /** + * The subject of the engagement + */ + subject?: string | undefined; + /** + * The start time of the engagement + */ + startAt?: Date | undefined; + /** + * The end time of the engagement + */ + endTime?: Date | undefined; + /** + * The type of the engagement. Authorized values are EMAIL, CALL or MEETING + */ + type: string; + /** + * The uuid of the user tied to the engagement + */ + userId?: string | undefined; + /** + * The uuid of the company tied to the engagement + */ + companyId?: string | undefined; + /** + * The uuids of contacts tied to the engagement object + */ + contacts?: Array | undefined; + fieldMappings: UnifiedEngagementInputFieldMappings; +}; + +/** @internal */ +export namespace UnifiedEngagementInputFieldMappings$ { + export const inboundSchema: z.ZodType< + UnifiedEngagementInputFieldMappings, + z.ZodTypeDef, + unknown + > = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UnifiedEngagementInputFieldMappings + > = z.object({}); +} + +/** @internal */ +export namespace UnifiedEngagementInput$ { + export const inboundSchema: z.ZodType = z + .object({ + content: z.string().optional(), + direction: z.string().optional(), + subject: z.string().optional(), + start_at: z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + .optional(), + end_time: z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + .optional(), + type: z.string(), + user_id: z.string().optional(), + company_id: z.string().optional(), + contacts: z.array(z.string()).optional(), + field_mappings: z.lazy(() => UnifiedEngagementInputFieldMappings$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + start_at: "startAt", + end_time: "endTime", + user_id: "userId", + company_id: "companyId", + field_mappings: "fieldMappings", + }); + }); + + export type Outbound = { + content?: string | undefined; + direction?: string | undefined; + subject?: string | undefined; + start_at?: string | undefined; + end_time?: string | undefined; + type: string; + user_id?: string | undefined; + company_id?: string | undefined; + contacts?: Array | undefined; + field_mappings: UnifiedEngagementInputFieldMappings$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + content: z.string().optional(), + direction: z.string().optional(), + subject: z.string().optional(), + startAt: z + .date() + .transform((v) => v.toISOString()) + .optional(), + endTime: z + .date() + .transform((v) => v.toISOString()) + .optional(), + type: z.string(), + userId: z.string().optional(), + companyId: z.string().optional(), + contacts: z.array(z.string()).optional(), + fieldMappings: z.lazy(() => UnifiedEngagementInputFieldMappings$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + startAt: "start_at", + endTime: "end_time", + userId: "user_id", + companyId: "company_id", + fieldMappings: "field_mappings", + }); + }); +} diff --git a/src/models/components/unifiedengagementoutput.ts b/src/models/components/unifiedengagementoutput.ts new file mode 100644 index 000000000..272d73e63 --- /dev/null +++ b/src/models/components/unifiedengagementoutput.ts @@ -0,0 +1,182 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedEngagementOutputFieldMappings = {}; + +export type UnifiedEngagementOutputRemoteData = {}; + +export type UnifiedEngagementOutput = { + /** + * The content of the engagement + */ + content?: string | undefined; + /** + * The direction of the engagement. Authorized values are INBOUND or OUTBOUND + */ + direction?: string | undefined; + /** + * The subject of the engagement + */ + subject?: string | undefined; + /** + * The start time of the engagement + */ + startAt?: Date | undefined; + /** + * The end time of the engagement + */ + endTime?: Date | undefined; + /** + * The type of the engagement. Authorized values are EMAIL, CALL or MEETING + */ + type: string; + /** + * The uuid of the user tied to the engagement + */ + userId?: string | undefined; + /** + * The uuid of the company tied to the engagement + */ + companyId?: string | undefined; + /** + * The uuids of contacts tied to the engagement object + */ + contacts?: Array | undefined; + fieldMappings: UnifiedEngagementOutputFieldMappings; + /** + * The uuid of the engagement + */ + id?: string | undefined; + /** + * The id of the engagement in the context of the Crm 3rd Party + */ + remoteId?: string | undefined; + remoteData: UnifiedEngagementOutputRemoteData; +}; + +/** @internal */ +export namespace UnifiedEngagementOutputFieldMappings$ { + export const inboundSchema: z.ZodType< + UnifiedEngagementOutputFieldMappings, + z.ZodTypeDef, + unknown + > = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UnifiedEngagementOutputFieldMappings + > = z.object({}); +} + +/** @internal */ +export namespace UnifiedEngagementOutputRemoteData$ { + export const inboundSchema: z.ZodType< + UnifiedEngagementOutputRemoteData, + z.ZodTypeDef, + unknown + > = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UnifiedEngagementOutputRemoteData + > = z.object({}); +} + +/** @internal */ +export namespace UnifiedEngagementOutput$ { + export const inboundSchema: z.ZodType = z + .object({ + content: z.string().optional(), + direction: z.string().optional(), + subject: z.string().optional(), + start_at: z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + .optional(), + end_time: z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + .optional(), + type: z.string(), + user_id: z.string().optional(), + company_id: z.string().optional(), + contacts: z.array(z.string()).optional(), + field_mappings: z.lazy(() => UnifiedEngagementOutputFieldMappings$.inboundSchema), + id: z.string().optional(), + remote_id: z.string().optional(), + remote_data: z.lazy(() => UnifiedEngagementOutputRemoteData$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + start_at: "startAt", + end_time: "endTime", + user_id: "userId", + company_id: "companyId", + field_mappings: "fieldMappings", + remote_id: "remoteId", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + content?: string | undefined; + direction?: string | undefined; + subject?: string | undefined; + start_at?: string | undefined; + end_time?: string | undefined; + type: string; + user_id?: string | undefined; + company_id?: string | undefined; + contacts?: Array | undefined; + field_mappings: UnifiedEngagementOutputFieldMappings$.Outbound; + id?: string | undefined; + remote_id?: string | undefined; + remote_data: UnifiedEngagementOutputRemoteData$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + content: z.string().optional(), + direction: z.string().optional(), + subject: z.string().optional(), + startAt: z + .date() + .transform((v) => v.toISOString()) + .optional(), + endTime: z + .date() + .transform((v) => v.toISOString()) + .optional(), + type: z.string(), + userId: z.string().optional(), + companyId: z.string().optional(), + contacts: z.array(z.string()).optional(), + fieldMappings: z.lazy(() => UnifiedEngagementOutputFieldMappings$.outboundSchema), + id: z.string().optional(), + remoteId: z.string().optional(), + remoteData: z.lazy(() => UnifiedEngagementOutputRemoteData$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + startAt: "start_at", + endTime: "end_time", + userId: "user_id", + companyId: "company_id", + fieldMappings: "field_mappings", + remoteId: "remote_id", + remoteData: "remote_data", + }); + }); +} diff --git a/src/models/components/unifiedeventinput.ts b/src/models/components/unifiedeventinput.ts new file mode 100644 index 000000000..367fb4e6b --- /dev/null +++ b/src/models/components/unifiedeventinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEventInput = {}; + +/** @internal */ +export namespace UnifiedEventInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedeventoutput.ts b/src/models/components/unifiedeventoutput.ts new file mode 100644 index 000000000..bbeba79ba --- /dev/null +++ b/src/models/components/unifiedeventoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedEventOutput = {}; + +/** @internal */ +export namespace UnifiedEventOutput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedexpenseinput.ts b/src/models/components/unifiedexpenseinput.ts new file mode 100644 index 000000000..c9c6afe06 --- /dev/null +++ b/src/models/components/unifiedexpenseinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedExpenseInput = {}; + +/** @internal */ +export namespace UnifiedExpenseInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedexpenseoutput.ts b/src/models/components/unifiedexpenseoutput.ts new file mode 100644 index 000000000..c75170d02 --- /dev/null +++ b/src/models/components/unifiedexpenseoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedExpenseOutput = {}; + +/** @internal */ +export namespace UnifiedExpenseOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedfileinput.ts b/src/models/components/unifiedfileinput.ts new file mode 100644 index 000000000..2147e7746 --- /dev/null +++ b/src/models/components/unifiedfileinput.ts @@ -0,0 +1,16 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedFileInput = {}; + +/** @internal */ +export namespace UnifiedFileInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} diff --git a/src/models/components/unifiedfileoutput.ts b/src/models/components/unifiedfileoutput.ts new file mode 100644 index 000000000..ac45061a5 --- /dev/null +++ b/src/models/components/unifiedfileoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedFileOutput = {}; + +/** @internal */ +export namespace UnifiedFileOutput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedfolderinput.ts b/src/models/components/unifiedfolderinput.ts new file mode 100644 index 000000000..c1f9e7bf6 --- /dev/null +++ b/src/models/components/unifiedfolderinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedFolderInput = {}; + +/** @internal */ +export namespace UnifiedFolderInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedfolderoutput.ts b/src/models/components/unifiedfolderoutput.ts new file mode 100644 index 000000000..1130f8774 --- /dev/null +++ b/src/models/components/unifiedfolderoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedFolderOutput = {}; + +/** @internal */ +export namespace UnifiedFolderOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedgroupinput.ts b/src/models/components/unifiedgroupinput.ts new file mode 100644 index 000000000..4af8dec0a --- /dev/null +++ b/src/models/components/unifiedgroupinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedGroupInput = {}; + +/** @internal */ +export namespace UnifiedGroupInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedgroupoutput.ts b/src/models/components/unifiedgroupoutput.ts new file mode 100644 index 000000000..ed8163216 --- /dev/null +++ b/src/models/components/unifiedgroupoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedGroupOutput = {}; + +/** @internal */ +export namespace UnifiedGroupOutput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedincomestatementinput.ts b/src/models/components/unifiedincomestatementinput.ts new file mode 100644 index 000000000..a42f844ca --- /dev/null +++ b/src/models/components/unifiedincomestatementinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedIncomeStatementInput = {}; + +/** @internal */ +export namespace UnifiedIncomeStatementInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedincomestatementoutput.ts b/src/models/components/unifiedincomestatementoutput.ts new file mode 100644 index 000000000..5302f7f28 --- /dev/null +++ b/src/models/components/unifiedincomestatementoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedIncomeStatementOutput = {}; + +/** @internal */ +export namespace UnifiedIncomeStatementOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedinterviewinput.ts b/src/models/components/unifiedinterviewinput.ts new file mode 100644 index 000000000..d461d9fa5 --- /dev/null +++ b/src/models/components/unifiedinterviewinput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedInterviewInput = {}; + +/** @internal */ +export namespace UnifiedInterviewInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedinterviewoutput.ts b/src/models/components/unifiedinterviewoutput.ts new file mode 100644 index 000000000..e62bc6be4 --- /dev/null +++ b/src/models/components/unifiedinterviewoutput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedInterviewOutput = {}; + +/** @internal */ +export namespace UnifiedInterviewOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedinvoiceinput.ts b/src/models/components/unifiedinvoiceinput.ts new file mode 100644 index 000000000..6378b23dd --- /dev/null +++ b/src/models/components/unifiedinvoiceinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedInvoiceInput = {}; + +/** @internal */ +export namespace UnifiedInvoiceInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedinvoiceoutput.ts b/src/models/components/unifiedinvoiceoutput.ts new file mode 100644 index 000000000..9476682f4 --- /dev/null +++ b/src/models/components/unifiedinvoiceoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedInvoiceOutput = {}; + +/** @internal */ +export namespace UnifiedInvoiceOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiediteminput.ts b/src/models/components/unifiediteminput.ts new file mode 100644 index 000000000..9be463252 --- /dev/null +++ b/src/models/components/unifiediteminput.ts @@ -0,0 +1,16 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedItemInput = {}; + +/** @internal */ +export namespace UnifiedItemInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} diff --git a/src/models/components/unifieditemoutput.ts b/src/models/components/unifieditemoutput.ts new file mode 100644 index 000000000..350c70489 --- /dev/null +++ b/src/models/components/unifieditemoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedItemOutput = {}; + +/** @internal */ +export namespace UnifiedItemOutput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedjobinput.ts b/src/models/components/unifiedjobinput.ts new file mode 100644 index 000000000..c352b3f14 --- /dev/null +++ b/src/models/components/unifiedjobinput.ts @@ -0,0 +1,16 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedJobInput = {}; + +/** @internal */ +export namespace UnifiedJobInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} diff --git a/src/models/components/unifiedjobinterviewstageinput.ts b/src/models/components/unifiedjobinterviewstageinput.ts new file mode 100644 index 000000000..14ae6c3e1 --- /dev/null +++ b/src/models/components/unifiedjobinterviewstageinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedJobInterviewStageInput = {}; + +/** @internal */ +export namespace UnifiedJobInterviewStageInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedjobinterviewstageoutput.ts b/src/models/components/unifiedjobinterviewstageoutput.ts new file mode 100644 index 000000000..52db509ca --- /dev/null +++ b/src/models/components/unifiedjobinterviewstageoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedJobInterviewStageOutput = {}; + +/** @internal */ +export namespace UnifiedJobInterviewStageOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedjoboutput.ts b/src/models/components/unifiedjoboutput.ts new file mode 100644 index 000000000..987d30aa5 --- /dev/null +++ b/src/models/components/unifiedjoboutput.ts @@ -0,0 +1,16 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedJobOutput = {}; + +/** @internal */ +export namespace UnifiedJobOutput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} diff --git a/src/models/components/unifiedjournalentryinput.ts b/src/models/components/unifiedjournalentryinput.ts new file mode 100644 index 000000000..5db66e4d4 --- /dev/null +++ b/src/models/components/unifiedjournalentryinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedJournalEntryInput = {}; + +/** @internal */ +export namespace UnifiedJournalEntryInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedjournalentryoutput.ts b/src/models/components/unifiedjournalentryoutput.ts new file mode 100644 index 000000000..005daa644 --- /dev/null +++ b/src/models/components/unifiedjournalentryoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedJournalEntryOutput = {}; + +/** @internal */ +export namespace UnifiedJournalEntryOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedlistinput.ts b/src/models/components/unifiedlistinput.ts new file mode 100644 index 000000000..97686093e --- /dev/null +++ b/src/models/components/unifiedlistinput.ts @@ -0,0 +1,16 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedListInput = {}; + +/** @internal */ +export namespace UnifiedListInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} diff --git a/src/models/components/unifiedlistoutput.ts b/src/models/components/unifiedlistoutput.ts new file mode 100644 index 000000000..05008e927 --- /dev/null +++ b/src/models/components/unifiedlistoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedListOutput = {}; + +/** @internal */ +export namespace UnifiedListOutput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedlocationinput.ts b/src/models/components/unifiedlocationinput.ts new file mode 100644 index 000000000..ba62cfe85 --- /dev/null +++ b/src/models/components/unifiedlocationinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedLocationInput = {}; + +/** @internal */ +export namespace UnifiedLocationInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedlocationoutput.ts b/src/models/components/unifiedlocationoutput.ts new file mode 100644 index 000000000..25d689c7d --- /dev/null +++ b/src/models/components/unifiedlocationoutput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedLocationOutput = {}; + +/** @internal */ +export namespace UnifiedLocationOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedmessageinput.ts b/src/models/components/unifiedmessageinput.ts new file mode 100644 index 000000000..051ee550b --- /dev/null +++ b/src/models/components/unifiedmessageinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedMessageInput = {}; + +/** @internal */ +export namespace UnifiedMessageInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedmessageoutput.ts b/src/models/components/unifiedmessageoutput.ts new file mode 100644 index 000000000..7236df304 --- /dev/null +++ b/src/models/components/unifiedmessageoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedMessageOutput = {}; + +/** @internal */ +export namespace UnifiedMessageOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiednoteinput.ts b/src/models/components/unifiednoteinput.ts new file mode 100644 index 000000000..87f16f296 --- /dev/null +++ b/src/models/components/unifiednoteinput.ts @@ -0,0 +1,93 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedNoteInputFieldMappings = {}; + +export type UnifiedNoteInput = { + /** + * The content of the note + */ + content: string; + /** + * The uuid of the user tied the note + */ + userId?: string | undefined; + /** + * The uuid of the company tied to the note + */ + companyId?: string | undefined; + /** + * The uuid fo the contact tied to the note + */ + contactId?: string | undefined; + /** + * The uuid of the deal tied to the note + */ + dealId?: string | undefined; + fieldMappings: UnifiedNoteInputFieldMappings; +}; + +/** @internal */ +export namespace UnifiedNoteInputFieldMappings$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedNoteInput$ { + export const inboundSchema: z.ZodType = z + .object({ + content: z.string(), + user_id: z.string().optional(), + company_id: z.string().optional(), + contact_id: z.string().optional(), + deal_id: z.string().optional(), + field_mappings: z.lazy(() => UnifiedNoteInputFieldMappings$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + user_id: "userId", + company_id: "companyId", + contact_id: "contactId", + deal_id: "dealId", + field_mappings: "fieldMappings", + }); + }); + + export type Outbound = { + content: string; + user_id?: string | undefined; + company_id?: string | undefined; + contact_id?: string | undefined; + deal_id?: string | undefined; + field_mappings: UnifiedNoteInputFieldMappings$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + content: z.string(), + userId: z.string().optional(), + companyId: z.string().optional(), + contactId: z.string().optional(), + dealId: z.string().optional(), + fieldMappings: z.lazy(() => UnifiedNoteInputFieldMappings$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + userId: "user_id", + companyId: "company_id", + contactId: "contact_id", + dealId: "deal_id", + fieldMappings: "field_mappings", + }); + }); +} diff --git a/src/models/components/unifiednoteoutput.ts b/src/models/components/unifiednoteoutput.ts new file mode 100644 index 000000000..1a57fe80d --- /dev/null +++ b/src/models/components/unifiednoteoutput.ts @@ -0,0 +1,128 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedNoteOutputFieldMappings = {}; + +export type UnifiedNoteOutputRemoteData = {}; + +export type UnifiedNoteOutput = { + /** + * The content of the note + */ + content: string; + /** + * The uuid of the user tied the note + */ + userId?: string | undefined; + /** + * The uuid of the company tied to the note + */ + companyId?: string | undefined; + /** + * The uuid fo the contact tied to the note + */ + contactId?: string | undefined; + /** + * The uuid of the deal tied to the note + */ + dealId?: string | undefined; + fieldMappings: UnifiedNoteOutputFieldMappings; + /** + * The uuid of the note + */ + id?: string | undefined; + /** + * The id of the note in the context of the Crm 3rd Party + */ + remoteId?: string | undefined; + remoteData: UnifiedNoteOutputRemoteData; +}; + +/** @internal */ +export namespace UnifiedNoteOutputFieldMappings$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedNoteOutputRemoteData$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedNoteOutput$ { + export const inboundSchema: z.ZodType = z + .object({ + content: z.string(), + user_id: z.string().optional(), + company_id: z.string().optional(), + contact_id: z.string().optional(), + deal_id: z.string().optional(), + field_mappings: z.lazy(() => UnifiedNoteOutputFieldMappings$.inboundSchema), + id: z.string().optional(), + remote_id: z.string().optional(), + remote_data: z.lazy(() => UnifiedNoteOutputRemoteData$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + user_id: "userId", + company_id: "companyId", + contact_id: "contactId", + deal_id: "dealId", + field_mappings: "fieldMappings", + remote_id: "remoteId", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + content: string; + user_id?: string | undefined; + company_id?: string | undefined; + contact_id?: string | undefined; + deal_id?: string | undefined; + field_mappings: UnifiedNoteOutputFieldMappings$.Outbound; + id?: string | undefined; + remote_id?: string | undefined; + remote_data: UnifiedNoteOutputRemoteData$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + content: z.string(), + userId: z.string().optional(), + companyId: z.string().optional(), + contactId: z.string().optional(), + dealId: z.string().optional(), + fieldMappings: z.lazy(() => UnifiedNoteOutputFieldMappings$.outboundSchema), + id: z.string().optional(), + remoteId: z.string().optional(), + remoteData: z.lazy(() => UnifiedNoteOutputRemoteData$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + userId: "user_id", + companyId: "company_id", + contactId: "contact_id", + dealId: "deal_id", + fieldMappings: "field_mappings", + remoteId: "remote_id", + remoteData: "remote_data", + }); + }); +} diff --git a/src/models/components/unifiedofferinput.ts b/src/models/components/unifiedofferinput.ts new file mode 100644 index 000000000..4baa7a9c0 --- /dev/null +++ b/src/models/components/unifiedofferinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedOfferInput = {}; + +/** @internal */ +export namespace UnifiedOfferInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedofferoutput.ts b/src/models/components/unifiedofferoutput.ts new file mode 100644 index 000000000..b6e1c3153 --- /dev/null +++ b/src/models/components/unifiedofferoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedOfferOutput = {}; + +/** @internal */ +export namespace UnifiedOfferOutput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedofficeinput.ts b/src/models/components/unifiedofficeinput.ts new file mode 100644 index 000000000..ead486b45 --- /dev/null +++ b/src/models/components/unifiedofficeinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedOfficeInput = {}; + +/** @internal */ +export namespace UnifiedOfficeInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedofficeoutput.ts b/src/models/components/unifiedofficeoutput.ts new file mode 100644 index 000000000..47c3f7a20 --- /dev/null +++ b/src/models/components/unifiedofficeoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedOfficeOutput = {}; + +/** @internal */ +export namespace UnifiedOfficeOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedpaygroupinput.ts b/src/models/components/unifiedpaygroupinput.ts new file mode 100644 index 000000000..0769a5e3f --- /dev/null +++ b/src/models/components/unifiedpaygroupinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedPayGroupInput = {}; + +/** @internal */ +export namespace UnifiedPayGroupInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedpaygroupoutput.ts b/src/models/components/unifiedpaygroupoutput.ts new file mode 100644 index 000000000..6f7810405 --- /dev/null +++ b/src/models/components/unifiedpaygroupoutput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedPayGroupOutput = {}; + +/** @internal */ +export namespace UnifiedPayGroupOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedpaymentinput.ts b/src/models/components/unifiedpaymentinput.ts new file mode 100644 index 000000000..3705a511e --- /dev/null +++ b/src/models/components/unifiedpaymentinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedPaymentInput = {}; + +/** @internal */ +export namespace UnifiedPaymentInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedpaymentoutput.ts b/src/models/components/unifiedpaymentoutput.ts new file mode 100644 index 000000000..7d9cbc890 --- /dev/null +++ b/src/models/components/unifiedpaymentoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedPaymentOutput = {}; + +/** @internal */ +export namespace UnifiedPaymentOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedpayrollruninput.ts b/src/models/components/unifiedpayrollruninput.ts new file mode 100644 index 000000000..5ddb82823 --- /dev/null +++ b/src/models/components/unifiedpayrollruninput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedPayrollRunInput = {}; + +/** @internal */ +export namespace UnifiedPayrollRunInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedpayrollrunoutput.ts b/src/models/components/unifiedpayrollrunoutput.ts new file mode 100644 index 000000000..536eb4abf --- /dev/null +++ b/src/models/components/unifiedpayrollrunoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedPayrollRunOutput = {}; + +/** @internal */ +export namespace UnifiedPayrollRunOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedpermissioninput.ts b/src/models/components/unifiedpermissioninput.ts new file mode 100644 index 000000000..d644620f4 --- /dev/null +++ b/src/models/components/unifiedpermissioninput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedPermissionInput = {}; + +/** @internal */ +export namespace UnifiedPermissionInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedpermissionoutput.ts b/src/models/components/unifiedpermissionoutput.ts new file mode 100644 index 000000000..9f7918715 --- /dev/null +++ b/src/models/components/unifiedpermissionoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedPermissionOutput = {}; + +/** @internal */ +export namespace UnifiedPermissionOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedphonenumberinput.ts b/src/models/components/unifiedphonenumberinput.ts new file mode 100644 index 000000000..6511f4772 --- /dev/null +++ b/src/models/components/unifiedphonenumberinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedPhoneNumberInput = {}; + +/** @internal */ +export namespace UnifiedPhoneNumberInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedphonenumberoutput.ts b/src/models/components/unifiedphonenumberoutput.ts new file mode 100644 index 000000000..d0a0a4d2b --- /dev/null +++ b/src/models/components/unifiedphonenumberoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedPhoneNumberOutput = {}; + +/** @internal */ +export namespace UnifiedPhoneNumberOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedpurchaseorderinput.ts b/src/models/components/unifiedpurchaseorderinput.ts new file mode 100644 index 000000000..31a4e145c --- /dev/null +++ b/src/models/components/unifiedpurchaseorderinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedPurchaseOrderInput = {}; + +/** @internal */ +export namespace UnifiedPurchaseOrderInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedpurchaseorderoutput.ts b/src/models/components/unifiedpurchaseorderoutput.ts new file mode 100644 index 000000000..c87f8e107 --- /dev/null +++ b/src/models/components/unifiedpurchaseorderoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedPurchaseOrderOutput = {}; + +/** @internal */ +export namespace UnifiedPurchaseOrderOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedrejectreasoninput.ts b/src/models/components/unifiedrejectreasoninput.ts new file mode 100644 index 000000000..3c770c4a5 --- /dev/null +++ b/src/models/components/unifiedrejectreasoninput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedRejectReasonInput = {}; + +/** @internal */ +export namespace UnifiedRejectReasonInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedrejectreasonoutput.ts b/src/models/components/unifiedrejectreasonoutput.ts new file mode 100644 index 000000000..fc7a6e0be --- /dev/null +++ b/src/models/components/unifiedrejectreasonoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedRejectReasonOutput = {}; + +/** @internal */ +export namespace UnifiedRejectReasonOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedscorecardinput.ts b/src/models/components/unifiedscorecardinput.ts new file mode 100644 index 000000000..66288a016 --- /dev/null +++ b/src/models/components/unifiedscorecardinput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedScoreCardInput = {}; + +/** @internal */ +export namespace UnifiedScoreCardInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedscorecardoutput.ts b/src/models/components/unifiedscorecardoutput.ts new file mode 100644 index 000000000..5aba23cd1 --- /dev/null +++ b/src/models/components/unifiedscorecardoutput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedScoreCardOutput = {}; + +/** @internal */ +export namespace UnifiedScoreCardOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedscreeningquestioninput.ts b/src/models/components/unifiedscreeningquestioninput.ts new file mode 100644 index 000000000..47df1de85 --- /dev/null +++ b/src/models/components/unifiedscreeningquestioninput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedScreeningQuestionInput = {}; + +/** @internal */ +export namespace UnifiedScreeningQuestionInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedscreeningquestionoutput.ts b/src/models/components/unifiedscreeningquestionoutput.ts new file mode 100644 index 000000000..272128f6f --- /dev/null +++ b/src/models/components/unifiedscreeningquestionoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedScreeningQuestionOutput = {}; + +/** @internal */ +export namespace UnifiedScreeningQuestionOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedsharedlinkinput.ts b/src/models/components/unifiedsharedlinkinput.ts new file mode 100644 index 000000000..3792591fa --- /dev/null +++ b/src/models/components/unifiedsharedlinkinput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedSharedLinkInput = {}; + +/** @internal */ +export namespace UnifiedSharedLinkInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedsharedlinkoutput.ts b/src/models/components/unifiedsharedlinkoutput.ts new file mode 100644 index 000000000..b991f44b3 --- /dev/null +++ b/src/models/components/unifiedsharedlinkoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedSharedLinkOutput = {}; + +/** @internal */ +export namespace UnifiedSharedLinkOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedstageoutput.ts b/src/models/components/unifiedstageoutput.ts new file mode 100644 index 000000000..9055815f9 --- /dev/null +++ b/src/models/components/unifiedstageoutput.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedStageOutputFieldMappings = {}; + +export type UnifiedStageOutputRemoteData = {}; + +export type UnifiedStageOutput = { + /** + * The name of the stage + */ + stageName: string; + fieldMappings: UnifiedStageOutputFieldMappings; + /** + * The uuid of the stage + */ + id?: string | undefined; + /** + * The id of the stage in the context of the Crm 3rd Party + */ + remoteId?: string | undefined; + remoteData: UnifiedStageOutputRemoteData; +}; + +/** @internal */ +export namespace UnifiedStageOutputFieldMappings$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UnifiedStageOutputFieldMappings + > = z.object({}); +} + +/** @internal */ +export namespace UnifiedStageOutputRemoteData$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedStageOutput$ { + export const inboundSchema: z.ZodType = z + .object({ + stage_name: z.string(), + field_mappings: z.lazy(() => UnifiedStageOutputFieldMappings$.inboundSchema), + id: z.string().optional(), + remote_id: z.string().optional(), + remote_data: z.lazy(() => UnifiedStageOutputRemoteData$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + stage_name: "stageName", + field_mappings: "fieldMappings", + remote_id: "remoteId", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + stage_name: string; + field_mappings: UnifiedStageOutputFieldMappings$.Outbound; + id?: string | undefined; + remote_id?: string | undefined; + remote_data: UnifiedStageOutputRemoteData$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + stageName: z.string(), + fieldMappings: z.lazy(() => UnifiedStageOutputFieldMappings$.outboundSchema), + id: z.string().optional(), + remoteId: z.string().optional(), + remoteData: z.lazy(() => UnifiedStageOutputRemoteData$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + stageName: "stage_name", + fieldMappings: "field_mappings", + remoteId: "remote_id", + remoteData: "remote_data", + }); + }); +} diff --git a/src/models/components/unifiedtaginput.ts b/src/models/components/unifiedtaginput.ts new file mode 100644 index 000000000..940aae8e5 --- /dev/null +++ b/src/models/components/unifiedtaginput.ts @@ -0,0 +1,16 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTagInput = {}; + +/** @internal */ +export namespace UnifiedTagInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} diff --git a/src/models/components/unifiedtagoutput.ts b/src/models/components/unifiedtagoutput.ts new file mode 100644 index 000000000..1aaeba66d --- /dev/null +++ b/src/models/components/unifiedtagoutput.ts @@ -0,0 +1,16 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTagOutput = {}; + +/** @internal */ +export namespace UnifiedTagOutput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} diff --git a/src/models/components/unifiedtaskinput.ts b/src/models/components/unifiedtaskinput.ts new file mode 100644 index 000000000..f5a751ec3 --- /dev/null +++ b/src/models/components/unifiedtaskinput.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedTaskInputFieldMappings = {}; + +export type UnifiedTaskInput = { + /** + * The subject of the task + */ + subject: string; + /** + * The content of the task + */ + content: string; + /** + * The status of the task. Authorized values are PENDING, COMPLETED. + */ + status: string; + /** + * The due date of the task + */ + dueDate?: Date | undefined; + /** + * The finished date of the task + */ + finishedDate?: Date | undefined; + /** + * The uuid of the user tied to the task + */ + userId?: string | undefined; + /** + * The uuid fo the company tied to the task + */ + companyId?: string | undefined; + /** + * The uuid of the deal tied to the task + */ + dealId?: string | undefined; + fieldMappings: UnifiedTaskInputFieldMappings; +}; + +/** @internal */ +export namespace UnifiedTaskInputFieldMappings$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedTaskInput$ { + export const inboundSchema: z.ZodType = z + .object({ + subject: z.string(), + content: z.string(), + status: z.string(), + due_date: z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + .optional(), + finished_date: z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + .optional(), + user_id: z.string().optional(), + company_id: z.string().optional(), + deal_id: z.string().optional(), + field_mappings: z.lazy(() => UnifiedTaskInputFieldMappings$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + due_date: "dueDate", + finished_date: "finishedDate", + user_id: "userId", + company_id: "companyId", + deal_id: "dealId", + field_mappings: "fieldMappings", + }); + }); + + export type Outbound = { + subject: string; + content: string; + status: string; + due_date?: string | undefined; + finished_date?: string | undefined; + user_id?: string | undefined; + company_id?: string | undefined; + deal_id?: string | undefined; + field_mappings: UnifiedTaskInputFieldMappings$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + subject: z.string(), + content: z.string(), + status: z.string(), + dueDate: z + .date() + .transform((v) => v.toISOString()) + .optional(), + finishedDate: z + .date() + .transform((v) => v.toISOString()) + .optional(), + userId: z.string().optional(), + companyId: z.string().optional(), + dealId: z.string().optional(), + fieldMappings: z.lazy(() => UnifiedTaskInputFieldMappings$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + dueDate: "due_date", + finishedDate: "finished_date", + userId: "user_id", + companyId: "company_id", + dealId: "deal_id", + fieldMappings: "field_mappings", + }); + }); +} diff --git a/src/models/components/unifiedtaskoutput.ts b/src/models/components/unifiedtaskoutput.ts new file mode 100644 index 000000000..07fac1ae0 --- /dev/null +++ b/src/models/components/unifiedtaskoutput.ts @@ -0,0 +1,165 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedTaskOutputFieldMappings = {}; + +export type UnifiedTaskOutputRemoteData = {}; + +export type UnifiedTaskOutput = { + /** + * The subject of the task + */ + subject: string; + /** + * The content of the task + */ + content: string; + /** + * The status of the task. Authorized values are PENDING, COMPLETED. + */ + status: string; + /** + * The due date of the task + */ + dueDate?: Date | undefined; + /** + * The finished date of the task + */ + finishedDate?: Date | undefined; + /** + * The uuid of the user tied to the task + */ + userId?: string | undefined; + /** + * The uuid fo the company tied to the task + */ + companyId?: string | undefined; + /** + * The uuid of the deal tied to the task + */ + dealId?: string | undefined; + fieldMappings: UnifiedTaskOutputFieldMappings; + /** + * The uuid of the task + */ + id?: string | undefined; + /** + * The id of the task in the context of the Crm 3rd Party + */ + remoteId?: string | undefined; + remoteData: UnifiedTaskOutputRemoteData; +}; + +/** @internal */ +export namespace UnifiedTaskOutputFieldMappings$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedTaskOutputRemoteData$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedTaskOutput$ { + export const inboundSchema: z.ZodType = z + .object({ + subject: z.string(), + content: z.string(), + status: z.string(), + due_date: z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + .optional(), + finished_date: z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + .optional(), + user_id: z.string().optional(), + company_id: z.string().optional(), + deal_id: z.string().optional(), + field_mappings: z.lazy(() => UnifiedTaskOutputFieldMappings$.inboundSchema), + id: z.string().optional(), + remote_id: z.string().optional(), + remote_data: z.lazy(() => UnifiedTaskOutputRemoteData$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + due_date: "dueDate", + finished_date: "finishedDate", + user_id: "userId", + company_id: "companyId", + deal_id: "dealId", + field_mappings: "fieldMappings", + remote_id: "remoteId", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + subject: string; + content: string; + status: string; + due_date?: string | undefined; + finished_date?: string | undefined; + user_id?: string | undefined; + company_id?: string | undefined; + deal_id?: string | undefined; + field_mappings: UnifiedTaskOutputFieldMappings$.Outbound; + id?: string | undefined; + remote_id?: string | undefined; + remote_data: UnifiedTaskOutputRemoteData$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + subject: z.string(), + content: z.string(), + status: z.string(), + dueDate: z + .date() + .transform((v) => v.toISOString()) + .optional(), + finishedDate: z + .date() + .transform((v) => v.toISOString()) + .optional(), + userId: z.string().optional(), + companyId: z.string().optional(), + dealId: z.string().optional(), + fieldMappings: z.lazy(() => UnifiedTaskOutputFieldMappings$.outboundSchema), + id: z.string().optional(), + remoteId: z.string().optional(), + remoteData: z.lazy(() => UnifiedTaskOutputRemoteData$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + dueDate: "due_date", + finishedDate: "finished_date", + userId: "user_id", + companyId: "company_id", + dealId: "deal_id", + fieldMappings: "field_mappings", + remoteId: "remote_id", + remoteData: "remote_data", + }); + }); +} diff --git a/src/models/components/unifiedtaxrateinput.ts b/src/models/components/unifiedtaxrateinput.ts new file mode 100644 index 000000000..df71ca930 --- /dev/null +++ b/src/models/components/unifiedtaxrateinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTaxRateInput = {}; + +/** @internal */ +export namespace UnifiedTaxRateInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedtaxrateoutput.ts b/src/models/components/unifiedtaxrateoutput.ts new file mode 100644 index 000000000..660c04239 --- /dev/null +++ b/src/models/components/unifiedtaxrateoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTaxRateOutput = {}; + +/** @internal */ +export namespace UnifiedTaxRateOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedteamoutput.ts b/src/models/components/unifiedteamoutput.ts new file mode 100644 index 000000000..ba2ea364c --- /dev/null +++ b/src/models/components/unifiedteamoutput.ts @@ -0,0 +1,99 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UnifiedTeamOutputFieldMappings = {}; + +export type UnifiedTeamOutputRemoteData = {}; + +export type UnifiedTeamOutput = { + /** + * The name of the team + */ + name: string; + /** + * The description of the team + */ + description?: string | undefined; + fieldMappings: UnifiedTeamOutputFieldMappings; + /** + * The uuid of the team + */ + id?: string | undefined; + /** + * The id of the team in the context of the 3rd Party + */ + remoteId?: string | undefined; + remoteData: UnifiedTeamOutputRemoteData; +}; + +/** @internal */ +export namespace UnifiedTeamOutputFieldMappings$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedTeamOutputRemoteData$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} + +/** @internal */ +export namespace UnifiedTeamOutput$ { + export const inboundSchema: z.ZodType = z + .object({ + name: z.string(), + description: z.string().optional(), + field_mappings: z.lazy(() => UnifiedTeamOutputFieldMappings$.inboundSchema), + id: z.string().optional(), + remote_id: z.string().optional(), + remote_data: z.lazy(() => UnifiedTeamOutputRemoteData$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + field_mappings: "fieldMappings", + remote_id: "remoteId", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + name: string; + description?: string | undefined; + field_mappings: UnifiedTeamOutputFieldMappings$.Outbound; + id?: string | undefined; + remote_id?: string | undefined; + remote_data: UnifiedTeamOutputRemoteData$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + name: z.string(), + description: z.string().optional(), + fieldMappings: z.lazy(() => UnifiedTeamOutputFieldMappings$.outboundSchema), + id: z.string().optional(), + remoteId: z.string().optional(), + remoteData: z.lazy(() => UnifiedTeamOutputRemoteData$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + fieldMappings: "field_mappings", + remoteId: "remote_id", + remoteData: "remote_data", + }); + }); +} diff --git a/src/models/components/unifiedtemplateinput.ts b/src/models/components/unifiedtemplateinput.ts new file mode 100644 index 000000000..098fcf26f --- /dev/null +++ b/src/models/components/unifiedtemplateinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTemplateInput = {}; + +/** @internal */ +export namespace UnifiedTemplateInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedtemplateoutput.ts b/src/models/components/unifiedtemplateoutput.ts new file mode 100644 index 000000000..50b28c386 --- /dev/null +++ b/src/models/components/unifiedtemplateoutput.ts @@ -0,0 +1,19 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTemplateOutput = {}; + +/** @internal */ +export namespace UnifiedTemplateOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedticketinput.ts b/src/models/components/unifiedticketinput.ts new file mode 100644 index 000000000..bc5e092f0 --- /dev/null +++ b/src/models/components/unifiedticketinput.ts @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import { UnifiedCommentInput, UnifiedCommentInput$ } from "./unifiedcommentinput"; +import * as z from "zod"; + +export type UnifiedTicketInputFieldMappings = {}; + +export type UnifiedTicketInput = { + /** + * The name of the ticket + */ + name: string; + /** + * The status of the ticket. Authorized values are OPEN or CLOSED. + */ + status?: string | undefined; + /** + * The description of the ticket + */ + description: string; + /** + * The date the ticket is due + */ + dueDate?: Date | undefined; + /** + * The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK + */ + type?: string | undefined; + /** + * The uuid of the parent ticket + */ + parentTicket?: string | undefined; + /** + * The uuid of the collection (project) the ticket belongs to + */ + projectId?: string | undefined; + /** + * The tags names of the ticket + */ + tags?: Array | undefined; + /** + * The date the ticket has been completed + */ + completedAt?: Date | undefined; + /** + * The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. + */ + priority?: string | undefined; + /** + * The users uuids the ticket is assigned to + */ + assignedTo?: Array | undefined; + /** + * The comment of the ticket + */ + comment?: UnifiedCommentInput | undefined; + /** + * The uuid of the account which the ticket belongs to + */ + accountId?: string | undefined; + /** + * The uuid of the contact which the ticket belongs to + */ + contactId?: string | undefined; + fieldMappings: UnifiedTicketInputFieldMappings; +}; + +/** @internal */ +export namespace UnifiedTicketInputFieldMappings$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UnifiedTicketInputFieldMappings + > = z.object({}); +} + +/** @internal */ +export namespace UnifiedTicketInput$ { + export const inboundSchema: z.ZodType = z + .object({ + name: z.string(), + status: z.string().optional(), + description: z.string(), + due_date: z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + .optional(), + type: z.string().optional(), + parent_ticket: z.string().optional(), + project_id: z.string().optional(), + tags: z.array(z.string()).optional(), + completed_at: z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + .optional(), + priority: z.string().optional(), + assigned_to: z.array(z.string()).optional(), + comment: UnifiedCommentInput$.inboundSchema.optional(), + account_id: z.string().optional(), + contact_id: z.string().optional(), + field_mappings: z.lazy(() => UnifiedTicketInputFieldMappings$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + due_date: "dueDate", + parent_ticket: "parentTicket", + project_id: "projectId", + completed_at: "completedAt", + assigned_to: "assignedTo", + account_id: "accountId", + contact_id: "contactId", + field_mappings: "fieldMappings", + }); + }); + + export type Outbound = { + name: string; + status?: string | undefined; + description: string; + due_date?: string | undefined; + type?: string | undefined; + parent_ticket?: string | undefined; + project_id?: string | undefined; + tags?: Array | undefined; + completed_at?: string | undefined; + priority?: string | undefined; + assigned_to?: Array | undefined; + comment?: UnifiedCommentInput$.Outbound | undefined; + account_id?: string | undefined; + contact_id?: string | undefined; + field_mappings: UnifiedTicketInputFieldMappings$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + name: z.string(), + status: z.string().optional(), + description: z.string(), + dueDate: z + .date() + .transform((v) => v.toISOString()) + .optional(), + type: z.string().optional(), + parentTicket: z.string().optional(), + projectId: z.string().optional(), + tags: z.array(z.string()).optional(), + completedAt: z + .date() + .transform((v) => v.toISOString()) + .optional(), + priority: z.string().optional(), + assignedTo: z.array(z.string()).optional(), + comment: UnifiedCommentInput$.outboundSchema.optional(), + accountId: z.string().optional(), + contactId: z.string().optional(), + fieldMappings: z.lazy(() => UnifiedTicketInputFieldMappings$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + dueDate: "due_date", + parentTicket: "parent_ticket", + projectId: "project_id", + completedAt: "completed_at", + assignedTo: "assigned_to", + accountId: "account_id", + contactId: "contact_id", + fieldMappings: "field_mappings", + }); + }); +} diff --git a/src/models/components/unifiedticketoutput.ts b/src/models/components/unifiedticketoutput.ts new file mode 100644 index 000000000..fcf2e14ba --- /dev/null +++ b/src/models/components/unifiedticketoutput.ts @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import { UnifiedCommentInput, UnifiedCommentInput$ } from "./unifiedcommentinput"; +import * as z from "zod"; + +export type FieldMappings = {}; + +export type RemoteData = {}; + +export type UnifiedTicketOutput = { + /** + * The name of the ticket + */ + name: string; + /** + * The status of the ticket. Authorized values are OPEN or CLOSED. + */ + status?: string | undefined; + /** + * The description of the ticket + */ + description: string; + /** + * The date the ticket is due + */ + dueDate?: Date | undefined; + /** + * The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK + */ + type?: string | undefined; + /** + * The uuid of the parent ticket + */ + parentTicket?: string | undefined; + /** + * The uuid of the collection (project) the ticket belongs to + */ + projectId?: string | undefined; + /** + * The tags names of the ticket + */ + tags?: Array | undefined; + /** + * The date the ticket has been completed + */ + completedAt?: Date | undefined; + /** + * The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. + */ + priority?: string | undefined; + /** + * The users uuids the ticket is assigned to + */ + assignedTo?: Array | undefined; + /** + * The comment of the ticket + */ + comment?: UnifiedCommentInput | undefined; + /** + * The uuid of the account which the ticket belongs to + */ + accountId?: string | undefined; + /** + * The uuid of the contact which the ticket belongs to + */ + contactId?: string | undefined; + fieldMappings: FieldMappings; + /** + * The uuid of the ticket + */ + id?: string | undefined; + /** + * The id of the ticket in the context of the 3rd Party + */ + remoteId?: string | undefined; + remoteData: RemoteData; +}; + +/** @internal */ +export namespace FieldMappings$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} + +/** @internal */ +export namespace RemoteData$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} + +/** @internal */ +export namespace UnifiedTicketOutput$ { + export const inboundSchema: z.ZodType = z + .object({ + name: z.string(), + status: z.string().optional(), + description: z.string(), + due_date: z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + .optional(), + type: z.string().optional(), + parent_ticket: z.string().optional(), + project_id: z.string().optional(), + tags: z.array(z.string()).optional(), + completed_at: z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + .optional(), + priority: z.string().optional(), + assigned_to: z.array(z.string()).optional(), + comment: UnifiedCommentInput$.inboundSchema.optional(), + account_id: z.string().optional(), + contact_id: z.string().optional(), + field_mappings: z.lazy(() => FieldMappings$.inboundSchema), + id: z.string().optional(), + remote_id: z.string().optional(), + remote_data: z.lazy(() => RemoteData$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + due_date: "dueDate", + parent_ticket: "parentTicket", + project_id: "projectId", + completed_at: "completedAt", + assigned_to: "assignedTo", + account_id: "accountId", + contact_id: "contactId", + field_mappings: "fieldMappings", + remote_id: "remoteId", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + name: string; + status?: string | undefined; + description: string; + due_date?: string | undefined; + type?: string | undefined; + parent_ticket?: string | undefined; + project_id?: string | undefined; + tags?: Array | undefined; + completed_at?: string | undefined; + priority?: string | undefined; + assigned_to?: Array | undefined; + comment?: UnifiedCommentInput$.Outbound | undefined; + account_id?: string | undefined; + contact_id?: string | undefined; + field_mappings: FieldMappings$.Outbound; + id?: string | undefined; + remote_id?: string | undefined; + remote_data: RemoteData$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + name: z.string(), + status: z.string().optional(), + description: z.string(), + dueDate: z + .date() + .transform((v) => v.toISOString()) + .optional(), + type: z.string().optional(), + parentTicket: z.string().optional(), + projectId: z.string().optional(), + tags: z.array(z.string()).optional(), + completedAt: z + .date() + .transform((v) => v.toISOString()) + .optional(), + priority: z.string().optional(), + assignedTo: z.array(z.string()).optional(), + comment: UnifiedCommentInput$.outboundSchema.optional(), + accountId: z.string().optional(), + contactId: z.string().optional(), + fieldMappings: z.lazy(() => FieldMappings$.outboundSchema), + id: z.string().optional(), + remoteId: z.string().optional(), + remoteData: z.lazy(() => RemoteData$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + dueDate: "due_date", + parentTicket: "parent_ticket", + projectId: "project_id", + completedAt: "completed_at", + assignedTo: "assigned_to", + accountId: "account_id", + contactId: "contact_id", + fieldMappings: "field_mappings", + remoteId: "remote_id", + remoteData: "remote_data", + }); + }); +} diff --git a/src/models/components/unifiedtimeoffbalanceinput.ts b/src/models/components/unifiedtimeoffbalanceinput.ts new file mode 100644 index 000000000..38b8a0299 --- /dev/null +++ b/src/models/components/unifiedtimeoffbalanceinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTimeoffBalanceInput = {}; + +/** @internal */ +export namespace UnifiedTimeoffBalanceInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedtimeoffbalanceoutput.ts b/src/models/components/unifiedtimeoffbalanceoutput.ts new file mode 100644 index 000000000..70154b112 --- /dev/null +++ b/src/models/components/unifiedtimeoffbalanceoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTimeoffBalanceOutput = {}; + +/** @internal */ +export namespace UnifiedTimeoffBalanceOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedtimeoffinput.ts b/src/models/components/unifiedtimeoffinput.ts new file mode 100644 index 000000000..1ad0d6681 --- /dev/null +++ b/src/models/components/unifiedtimeoffinput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTimeoffInput = {}; + +/** @internal */ +export namespace UnifiedTimeoffInput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedtimeoffoutput.ts b/src/models/components/unifiedtimeoffoutput.ts new file mode 100644 index 000000000..02a5a9e12 --- /dev/null +++ b/src/models/components/unifiedtimeoffoutput.ts @@ -0,0 +1,20 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTimeoffOutput = {}; + +/** @internal */ +export namespace UnifiedTimeoffOutput$ { + export const inboundSchema: z.ZodType = z.object( + {} + ); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedtrackingcategoryinput.ts b/src/models/components/unifiedtrackingcategoryinput.ts new file mode 100644 index 000000000..7237c7671 --- /dev/null +++ b/src/models/components/unifiedtrackingcategoryinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTrackingCategoryInput = {}; + +/** @internal */ +export namespace UnifiedTrackingCategoryInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedtrackingcategoryoutput.ts b/src/models/components/unifiedtrackingcategoryoutput.ts new file mode 100644 index 000000000..0a04994f4 --- /dev/null +++ b/src/models/components/unifiedtrackingcategoryoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTrackingCategoryOutput = {}; + +/** @internal */ +export namespace UnifiedTrackingCategoryOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedtransactioninput.ts b/src/models/components/unifiedtransactioninput.ts new file mode 100644 index 000000000..c554530fd --- /dev/null +++ b/src/models/components/unifiedtransactioninput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTransactionInput = {}; + +/** @internal */ +export namespace UnifiedTransactionInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedtransactionoutput.ts b/src/models/components/unifiedtransactionoutput.ts new file mode 100644 index 000000000..a93dda213 --- /dev/null +++ b/src/models/components/unifiedtransactionoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedTransactionOutput = {}; + +/** @internal */ +export namespace UnifiedTransactionOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifieduserinput.ts b/src/models/components/unifieduserinput.ts new file mode 100644 index 000000000..179275a64 --- /dev/null +++ b/src/models/components/unifieduserinput.ts @@ -0,0 +1,16 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedUserInput = {}; + +/** @internal */ +export namespace UnifiedUserInput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object({}); +} diff --git a/src/models/components/unifieduseroutput.ts b/src/models/components/unifieduseroutput.ts new file mode 100644 index 000000000..7dd728163 --- /dev/null +++ b/src/models/components/unifieduseroutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedUserOutput = {}; + +/** @internal */ +export namespace UnifiedUserOutput$ { + export const inboundSchema: z.ZodType = z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = z.object( + {} + ); +} diff --git a/src/models/components/unifiedvendorcreditinput.ts b/src/models/components/unifiedvendorcreditinput.ts new file mode 100644 index 000000000..7ea787afc --- /dev/null +++ b/src/models/components/unifiedvendorcreditinput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedVendorCreditInput = {}; + +/** @internal */ +export namespace UnifiedVendorCreditInput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/unifiedvendorcreditoutput.ts b/src/models/components/unifiedvendorcreditoutput.ts new file mode 100644 index 000000000..9a7027eea --- /dev/null +++ b/src/models/components/unifiedvendorcreditoutput.ts @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UnifiedVendorCreditOutput = {}; + +/** @internal */ +export namespace UnifiedVendorCreditOutput$ { + export const inboundSchema: z.ZodType = + z.object({}); + + export type Outbound = {}; + + export const outboundSchema: z.ZodType = + z.object({}); +} diff --git a/src/models/components/updatecsdto.ts b/src/models/components/updatecsdto.ts new file mode 100644 index 000000000..055ffe1be --- /dev/null +++ b/src/models/components/updatecsdto.ts @@ -0,0 +1,49 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type UpdateCSDto = { + idCs: string; + status: boolean; + attributes: Array; + values: Array; +}; + +/** @internal */ +export namespace UpdateCSDto$ { + export const inboundSchema: z.ZodType = z + .object({ + id_cs: z.string(), + status: z.boolean(), + attributes: z.array(z.string()), + values: z.array(z.string()), + }) + .transform((v) => { + return remap$(v, { + id_cs: "idCs", + }); + }); + + export type Outbound = { + id_cs: string; + status: boolean; + attributes: Array; + values: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + idCs: z.string(), + status: z.boolean(), + attributes: z.array(z.string()), + values: z.array(z.string()), + }) + .transform((v) => { + return remap$(v, { + idCs: "id_cs", + }); + }); +} diff --git a/src/models/components/verifyuserdto.ts b/src/models/components/verifyuserdto.ts new file mode 100644 index 000000000..4cc52b617 --- /dev/null +++ b/src/models/components/verifyuserdto.ts @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type VerifyUserDto = { + idUser: string; + email: string; + firstName: string; + lastName: string; +}; + +/** @internal */ +export namespace VerifyUserDto$ { + export const inboundSchema: z.ZodType = z + .object({ + id_user: z.string(), + email: z.string(), + first_name: z.string(), + last_name: z.string(), + }) + .transform((v) => { + return remap$(v, { + id_user: "idUser", + first_name: "firstName", + last_name: "lastName", + }); + }); + + export type Outbound = { + id_user: string; + email: string; + first_name: string; + last_name: string; + }; + + export const outboundSchema: z.ZodType = z + .object({ + idUser: z.string(), + email: z.string(), + firstName: z.string(), + lastName: z.string(), + }) + .transform((v) => { + return remap$(v, { + idUser: "id_user", + firstName: "first_name", + lastName: "last_name", + }); + }); +} diff --git a/src/models/components/webhookdto.ts b/src/models/components/webhookdto.ts new file mode 100644 index 000000000..508053a4a --- /dev/null +++ b/src/models/components/webhookdto.ts @@ -0,0 +1,49 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as z from "zod"; + +export type WebhookDto = { + url: string; + description?: string | undefined; + idProject: string; + scope: Array; +}; + +/** @internal */ +export namespace WebhookDto$ { + export const inboundSchema: z.ZodType = z + .object({ + url: z.string(), + description: z.string().optional(), + id_project: z.string(), + scope: z.array(z.string()), + }) + .transform((v) => { + return remap$(v, { + id_project: "idProject", + }); + }); + + export type Outbound = { + url: string; + description?: string | undefined; + id_project: string; + scope: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + url: z.string(), + description: z.string().optional(), + idProject: z.string(), + scope: z.array(z.string()), + }) + .transform((v) => { + return remap$(v, { + idProject: "id_project", + }); + }); +} diff --git a/src/models/errors/index.ts b/src/models/errors/index.ts new file mode 100644 index 000000000..87f62af9a --- /dev/null +++ b/src/models/errors/index.ts @@ -0,0 +1,6 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export * from "./sdkerror"; +export * from "./sdkvalidationerror"; diff --git a/src/models/errors/sdkerror.ts b/src/models/errors/sdkerror.ts new file mode 100644 index 000000000..b72613726 --- /dev/null +++ b/src/models/errors/sdkerror.ts @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export class SDKError extends Error { + constructor( + message: string, + public readonly httpMeta: { + response: Response; + request: Request; + } + ) { + super( + `${message}: Status ${httpMeta.response.status} Content-Type ${ + httpMeta.response.headers.get("content-type") || "" + }` + ); + + this.name = "SDKError"; + } +} diff --git a/src/models/errors/sdkvalidationerror.ts b/src/models/errors/sdkvalidationerror.ts new file mode 100644 index 000000000..5eb921820 --- /dev/null +++ b/src/models/errors/sdkvalidationerror.ts @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export class SDKValidationError extends Error { + /** + * The raw value that failed validation. + */ + public readonly rawValue: unknown; + + constructor(message: string, cause: unknown, rawValue: unknown) { + super(message); + this.name = "SDKValidationError"; + this.cause = cause; + this.rawValue = rawValue; + } + + public override toString(): string { + return `${this.message}: ${this.cause}`; + } + + /** + * Return a pretty-formatted error message if the underlying validation error + * is a ZodError or some other recognized error type, otherwise return the + * default error message. + */ + public pretty(): string { + if (this.cause instanceof z.ZodError) { + return `${this.message}\n${formatZodError(this.cause)}`; + } else { + return this.toString(); + } + } +} + +export function formatZodError(err: z.ZodError, level = 0): string { + let pre = " ".repeat(level); + pre = level > 0 ? `│${pre}` : pre; + pre += " ".repeat(level); + + let message = ""; + const append = (str: string) => (message += `\n${pre}${str}`); + + const len = err.issues.length; + const headline = len === 1 ? `${len} issue found` : `${len} issues found`; + + if (len) { + append(`┌ ${headline}:`); + } + + for (const issue of err.issues) { + let path = issue.path.join("."); + path = path ? `.${path}` : ""; + append(`│ • [${path}]: ${issue.message} (${issue.code})`); + switch (issue.code) { + case "invalid_literal": + case "invalid_type": { + append(`│ Want: ${issue.expected}`); + append(`│ Got: ${issue.received}`); + break; + } + case "unrecognized_keys": { + append(`│ Keys: ${issue.keys.join(", ")}`); + break; + } + case "invalid_enum_value": { + append(`│ Allowed: ${issue.options.join(", ")}`); + append(`│ Got: ${issue.received}`); + break; + } + case "invalid_union_discriminator": { + append(`│ Allowed: ${issue.options.join(", ")}`); + break; + } + case "invalid_union": { + const len = issue.unionErrors.length; + append( + `│ ✖︎ Attemped to deserialize into one of ${len} union members:`, + ); + issue.unionErrors.forEach((err, i) => { + append(`│ ✖︎ Member ${i + 1} of ${len}`); + append(`${formatZodError(err, level + 1)}`); + }); + } + } + } + + if (err.issues.length) { + append(`└─*`); + } + + return message.slice(1); +} diff --git a/src/models/operations/addaccount.ts b/src/models/operations/addaccount.ts new file mode 100644 index 000000000..71a7162f4 --- /dev/null +++ b/src/models/operations/addaccount.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAccountRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedAccountInput: components.UnifiedAccountInput; +}; + +export type AddAccountResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAccountOutput | undefined; +}; + +export type AddAccountResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAccountResponseBody | undefined; + unifiedAccountOutput?: components.UnifiedAccountOutput | undefined; +}; + +/** @internal */ +export namespace AddAccountRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedAccountInput: components.UnifiedAccountInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedAccountInput: "unifiedAccountInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedAccountInput: components.UnifiedAccountInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedAccountInput: components.UnifiedAccountInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedAccountInput: "UnifiedAccountInput", + }); + }); +} + +/** @internal */ +export namespace AddAccountResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAccountOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAccountOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAccountOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAccountResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAccountResponseBody$.inboundSchema).optional(), + UnifiedAccountOutput: components.UnifiedAccountOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedAccountOutput: "unifiedAccountOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAccountResponseBody$.Outbound | undefined; + UnifiedAccountOutput?: components.UnifiedAccountOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAccountResponseBody$.outboundSchema).optional(), + unifiedAccountOutput: components.UnifiedAccountOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedAccountOutput: "UnifiedAccountOutput", + }); + }); +} diff --git a/src/models/operations/addaccountingattachment.ts b/src/models/operations/addaccountingattachment.ts new file mode 100644 index 000000000..0da733802 --- /dev/null +++ b/src/models/operations/addaccountingattachment.ts @@ -0,0 +1,143 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAccountingAttachmentRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedAttachmentInput: components.UnifiedAttachmentInput; +}; + +export type AddAccountingAttachmentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type AddAccountingAttachmentResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAccountingAttachmentResponseBody | undefined; + unifiedAttachmentOutput?: components.UnifiedAttachmentOutput | undefined; +}; + +/** @internal */ +export namespace AddAccountingAttachmentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedAttachmentInput: components.UnifiedAttachmentInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedAttachmentInput: "unifiedAttachmentInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedAttachmentInput: components.UnifiedAttachmentInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedAttachmentInput: components.UnifiedAttachmentInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedAttachmentInput: "UnifiedAttachmentInput", + }); + }); +} + +/** @internal */ +export namespace AddAccountingAttachmentResponseBody$ { + export const inboundSchema: z.ZodType< + AddAccountingAttachmentResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddAccountingAttachmentResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAccountingAttachmentResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAccountingAttachmentResponseBody$.inboundSchema).optional(), + UnifiedAttachmentOutput: + components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedAttachmentOutput: "unifiedAttachmentOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAccountingAttachmentResponseBody$.Outbound | undefined; + UnifiedAttachmentOutput?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddAccountingAttachmentResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAccountingAttachmentResponseBody$.outboundSchema).optional(), + unifiedAttachmentOutput: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedAttachmentOutput: "UnifiedAttachmentOutput", + }); + }); +} diff --git a/src/models/operations/addaccountingattachments.ts b/src/models/operations/addaccountingattachments.ts new file mode 100644 index 000000000..7d5017984 --- /dev/null +++ b/src/models/operations/addaccountingattachments.ts @@ -0,0 +1,158 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAccountingAttachmentsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddAccountingAttachmentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type AddAccountingAttachmentsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAccountingAttachmentsResponseBody | undefined; + unifiedAttachmentOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddAccountingAttachmentsRequest$ { + export const inboundSchema: z.ZodType = + z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedAttachmentInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddAccountingAttachmentsRequest + > = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedAttachmentInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddAccountingAttachmentsResponseBody$ { + export const inboundSchema: z.ZodType< + AddAccountingAttachmentsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddAccountingAttachmentsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAccountingAttachmentsResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z + .lazy(() => AddAccountingAttachmentsResponseBody$.inboundSchema) + .optional(), + UnifiedAttachmentOutputs: z + .array(components.UnifiedAttachmentOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedAttachmentOutputs: "unifiedAttachmentOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAccountingAttachmentsResponseBody$.Outbound | undefined; + UnifiedAttachmentOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddAccountingAttachmentsResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAccountingAttachmentsResponseBody$.outboundSchema).optional(), + unifiedAttachmentOutputs: z + .array(components.UnifiedAttachmentOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedAttachmentOutputs: "UnifiedAttachmentOutputs", + }); + }); +} diff --git a/src/models/operations/addaccountingcontact.ts b/src/models/operations/addaccountingcontact.ts new file mode 100644 index 000000000..27339cf21 --- /dev/null +++ b/src/models/operations/addaccountingcontact.ts @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAccountingContactRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedContactInput: components.UnifiedContactInput; +}; + +export type AddAccountingContactResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type AddAccountingContactResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAccountingContactResponseBody | undefined; + unifiedContactOutput?: components.UnifiedContactOutput | undefined; +}; + +/** @internal */ +export namespace AddAccountingContactRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedContactInput: components.UnifiedContactInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedContactInput: "unifiedContactInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedContactInput: components.UnifiedContactInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedContactInput: components.UnifiedContactInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedContactInput: "UnifiedContactInput", + }); + }); +} + +/** @internal */ +export namespace AddAccountingContactResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddAccountingContactResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAccountingContactResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAccountingContactResponseBody$.inboundSchema).optional(), + UnifiedContactOutput: components.UnifiedContactOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedContactOutput: "unifiedContactOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAccountingContactResponseBody$.Outbound | undefined; + UnifiedContactOutput?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAccountingContactResponseBody$.outboundSchema).optional(), + unifiedContactOutput: components.UnifiedContactOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedContactOutput: "UnifiedContactOutput", + }); + }); +} diff --git a/src/models/operations/addaccountingcontacts.ts b/src/models/operations/addaccountingcontacts.ts new file mode 100644 index 000000000..ef81978d6 --- /dev/null +++ b/src/models/operations/addaccountingcontacts.ts @@ -0,0 +1,147 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAccountingContactsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddAccountingContactsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type AddAccountingContactsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAccountingContactsResponseBody | undefined; + unifiedContactOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddAccountingContactsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedContactInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedContactInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddAccountingContactsResponseBody$ { + export const inboundSchema: z.ZodType< + AddAccountingContactsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddAccountingContactsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAccountingContactsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAccountingContactsResponseBody$.inboundSchema).optional(), + UnifiedContactOutputs: z + .array(components.UnifiedContactOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedContactOutputs: "unifiedContactOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAccountingContactsResponseBody$.Outbound | undefined; + UnifiedContactOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAccountingContactsResponseBody$.outboundSchema).optional(), + unifiedContactOutputs: z + .array(components.UnifiedContactOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedContactOutputs: "UnifiedContactOutputs", + }); + }); +} diff --git a/src/models/operations/addaccounts.ts b/src/models/operations/addaccounts.ts new file mode 100644 index 000000000..87aa949d2 --- /dev/null +++ b/src/models/operations/addaccounts.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAccountsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddAccountsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAccountOutput | undefined; +}; + +export type AddAccountsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAccountsResponseBody | undefined; + unifiedAccountOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddAccountsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedAccountInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedAccountInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddAccountsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAccountOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAccountOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAccountOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAccountsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAccountsResponseBody$.inboundSchema).optional(), + UnifiedAccountOutputs: z + .array(components.UnifiedAccountOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedAccountOutputs: "unifiedAccountOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAccountsResponseBody$.Outbound | undefined; + UnifiedAccountOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAccountsResponseBody$.outboundSchema).optional(), + unifiedAccountOutputs: z + .array(components.UnifiedAccountOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedAccountOutputs: "UnifiedAccountOutputs", + }); + }); +} diff --git a/src/models/operations/addaction.ts b/src/models/operations/addaction.ts new file mode 100644 index 000000000..ea25790e9 --- /dev/null +++ b/src/models/operations/addaction.ts @@ -0,0 +1,129 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddActionRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + unifiedActionInput: components.UnifiedActionInput; +}; + +export type AddActionResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActionOutput | undefined; +}; + +export type AddActionResponse = { + httpMeta: components.HTTPMetadata; + object?: AddActionResponseBody | undefined; + unifiedActionOutput?: components.UnifiedActionOutput | undefined; +}; + +/** @internal */ +export namespace AddActionRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedActionInput: components.UnifiedActionInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedActionInput: "unifiedActionInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedActionInput: components.UnifiedActionInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedActionInput: components.UnifiedActionInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedActionInput: "UnifiedActionInput", + }); + }); +} + +/** @internal */ +export namespace AddActionResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddActionResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddActionResponseBody$.inboundSchema).optional(), + UnifiedActionOutput: components.UnifiedActionOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedActionOutput: "unifiedActionOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddActionResponseBody$.Outbound | undefined; + UnifiedActionOutput?: components.UnifiedActionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddActionResponseBody$.outboundSchema).optional(), + unifiedActionOutput: components.UnifiedActionOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedActionOutput: "UnifiedActionOutput", + }); + }); +} diff --git a/src/models/operations/addactions.ts b/src/models/operations/addactions.ts new file mode 100644 index 000000000..0e4e8b341 --- /dev/null +++ b/src/models/operations/addactions.ts @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddActionsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddActionsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActionOutput | undefined; +}; + +export type AddActionsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddActionsResponseBody | undefined; + unifiedActionOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddActionsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedActionInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedActionInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddActionsResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActionOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddActionsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddActionsResponseBody$.inboundSchema).optional(), + UnifiedActionOutputs: z.array(components.UnifiedActionOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedActionOutputs: "unifiedActionOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddActionsResponseBody$.Outbound | undefined; + UnifiedActionOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddActionsResponseBody$.outboundSchema).optional(), + unifiedActionOutputs: z + .array(components.UnifiedActionOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedActionOutputs: "UnifiedActionOutputs", + }); + }); +} diff --git a/src/models/operations/addactivity.ts b/src/models/operations/addactivity.ts new file mode 100644 index 000000000..79dacf439 --- /dev/null +++ b/src/models/operations/addactivity.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddActivityRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedActivityInput: components.UnifiedActivityInput; +}; + +export type AddActivityResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActivityOutput | undefined; +}; + +export type AddActivityResponse = { + httpMeta: components.HTTPMetadata; + object?: AddActivityResponseBody | undefined; + unifiedActivityOutput?: components.UnifiedActivityOutput | undefined; +}; + +/** @internal */ +export namespace AddActivityRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedActivityInput: components.UnifiedActivityInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedActivityInput: "unifiedActivityInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedActivityInput: components.UnifiedActivityInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedActivityInput: components.UnifiedActivityInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedActivityInput: "UnifiedActivityInput", + }); + }); +} + +/** @internal */ +export namespace AddActivityResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActivityOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActivityOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActivityOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddActivityResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddActivityResponseBody$.inboundSchema).optional(), + UnifiedActivityOutput: components.UnifiedActivityOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedActivityOutput: "unifiedActivityOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddActivityResponseBody$.Outbound | undefined; + UnifiedActivityOutput?: components.UnifiedActivityOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddActivityResponseBody$.outboundSchema).optional(), + unifiedActivityOutput: components.UnifiedActivityOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedActivityOutput: "UnifiedActivityOutput", + }); + }); +} diff --git a/src/models/operations/addactivitys.ts b/src/models/operations/addactivitys.ts new file mode 100644 index 000000000..cebf7727c --- /dev/null +++ b/src/models/operations/addactivitys.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddActivitysRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddActivitysResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActivityOutput | undefined; +}; + +export type AddActivitysResponse = { + httpMeta: components.HTTPMetadata; + object?: AddActivitysResponseBody | undefined; + unifiedActivityOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddActivitysRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedActivityInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedActivityInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddActivitysResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActivityOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActivityOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActivityOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddActivitysResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddActivitysResponseBody$.inboundSchema).optional(), + UnifiedActivityOutputs: z + .array(components.UnifiedActivityOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedActivityOutputs: "unifiedActivityOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddActivitysResponseBody$.Outbound | undefined; + UnifiedActivityOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddActivitysResponseBody$.outboundSchema).optional(), + unifiedActivityOutputs: z + .array(components.UnifiedActivityOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedActivityOutputs: "UnifiedActivityOutputs", + }); + }); +} diff --git a/src/models/operations/addaddress.ts b/src/models/operations/addaddress.ts new file mode 100644 index 000000000..a3a223bae --- /dev/null +++ b/src/models/operations/addaddress.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAddressRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedAddressInput: components.UnifiedAddressInput; +}; + +export type AddAddressResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAddressOutput | undefined; +}; + +export type AddAddressResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAddressResponseBody | undefined; + unifiedAddressOutput?: components.UnifiedAddressOutput | undefined; +}; + +/** @internal */ +export namespace AddAddressRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedAddressInput: components.UnifiedAddressInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedAddressInput: "unifiedAddressInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedAddressInput: components.UnifiedAddressInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedAddressInput: components.UnifiedAddressInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedAddressInput: "UnifiedAddressInput", + }); + }); +} + +/** @internal */ +export namespace AddAddressResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAddressOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAddressOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAddressOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAddressResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAddressResponseBody$.inboundSchema).optional(), + UnifiedAddressOutput: components.UnifiedAddressOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedAddressOutput: "unifiedAddressOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAddressResponseBody$.Outbound | undefined; + UnifiedAddressOutput?: components.UnifiedAddressOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAddressResponseBody$.outboundSchema).optional(), + unifiedAddressOutput: components.UnifiedAddressOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedAddressOutput: "UnifiedAddressOutput", + }); + }); +} diff --git a/src/models/operations/addaddresss.ts b/src/models/operations/addaddresss.ts new file mode 100644 index 000000000..7fea5b61c --- /dev/null +++ b/src/models/operations/addaddresss.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAddresssRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddAddresssResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAddressOutput | undefined; +}; + +export type AddAddresssResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAddresssResponseBody | undefined; + unifiedAddressOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddAddresssRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedAddressInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedAddressInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddAddresssResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAddressOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAddressOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAddressOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAddresssResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAddresssResponseBody$.inboundSchema).optional(), + UnifiedAddressOutputs: z + .array(components.UnifiedAddressOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedAddressOutputs: "unifiedAddressOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAddresssResponseBody$.Outbound | undefined; + UnifiedAddressOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAddresssResponseBody$.outboundSchema).optional(), + unifiedAddressOutputs: z + .array(components.UnifiedAddressOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedAddressOutputs: "UnifiedAddressOutputs", + }); + }); +} diff --git a/src/models/operations/addapplication.ts b/src/models/operations/addapplication.ts new file mode 100644 index 000000000..7dbd95542 --- /dev/null +++ b/src/models/operations/addapplication.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddApplicationRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedApplicationInput: components.UnifiedApplicationInput; +}; + +export type AddApplicationResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedApplicationOutput | undefined; +}; + +export type AddApplicationResponse = { + httpMeta: components.HTTPMetadata; + object?: AddApplicationResponseBody | undefined; + unifiedApplicationOutput?: components.UnifiedApplicationOutput | undefined; +}; + +/** @internal */ +export namespace AddApplicationRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedApplicationInput: components.UnifiedApplicationInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedApplicationInput: "unifiedApplicationInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedApplicationInput: components.UnifiedApplicationInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedApplicationInput: components.UnifiedApplicationInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedApplicationInput: "UnifiedApplicationInput", + }); + }); +} + +/** @internal */ +export namespace AddApplicationResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedApplicationOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedApplicationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedApplicationOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddApplicationResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddApplicationResponseBody$.inboundSchema).optional(), + UnifiedApplicationOutput: components.UnifiedApplicationOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedApplicationOutput: "unifiedApplicationOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddApplicationResponseBody$.Outbound | undefined; + UnifiedApplicationOutput?: components.UnifiedApplicationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddApplicationResponseBody$.outboundSchema).optional(), + unifiedApplicationOutput: + components.UnifiedApplicationOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedApplicationOutput: "UnifiedApplicationOutput", + }); + }); +} diff --git a/src/models/operations/addapplications.ts b/src/models/operations/addapplications.ts new file mode 100644 index 000000000..610bf81b3 --- /dev/null +++ b/src/models/operations/addapplications.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddApplicationsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddApplicationsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedApplicationOutput | undefined; +}; + +export type AddApplicationsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddApplicationsResponseBody | undefined; + unifiedApplicationOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddApplicationsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedApplicationInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedApplicationInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddApplicationsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedApplicationOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedApplicationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedApplicationOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddApplicationsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddApplicationsResponseBody$.inboundSchema).optional(), + UnifiedApplicationOutputs: z + .array(components.UnifiedApplicationOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedApplicationOutputs: "unifiedApplicationOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddApplicationsResponseBody$.Outbound | undefined; + UnifiedApplicationOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddApplicationsResponseBody$.outboundSchema).optional(), + unifiedApplicationOutputs: z + .array(components.UnifiedApplicationOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedApplicationOutputs: "UnifiedApplicationOutputs", + }); + }); +} diff --git a/src/models/operations/addatsattachment.ts b/src/models/operations/addatsattachment.ts new file mode 100644 index 000000000..678c175df --- /dev/null +++ b/src/models/operations/addatsattachment.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAtsAttachmentRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedAttachmentInput: components.UnifiedAttachmentInput; +}; + +export type AddAtsAttachmentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type AddAtsAttachmentResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAtsAttachmentResponseBody | undefined; + unifiedAttachmentOutput?: components.UnifiedAttachmentOutput | undefined; +}; + +/** @internal */ +export namespace AddAtsAttachmentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedAttachmentInput: components.UnifiedAttachmentInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedAttachmentInput: "unifiedAttachmentInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedAttachmentInput: components.UnifiedAttachmentInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedAttachmentInput: components.UnifiedAttachmentInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedAttachmentInput: "UnifiedAttachmentInput", + }); + }); +} + +/** @internal */ +export namespace AddAtsAttachmentResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAtsAttachmentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAtsAttachmentResponseBody$.inboundSchema).optional(), + UnifiedAttachmentOutput: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedAttachmentOutput: "unifiedAttachmentOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAtsAttachmentResponseBody$.Outbound | undefined; + UnifiedAttachmentOutput?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAtsAttachmentResponseBody$.outboundSchema).optional(), + unifiedAttachmentOutput: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedAttachmentOutput: "UnifiedAttachmentOutput", + }); + }); +} diff --git a/src/models/operations/addatsattachments.ts b/src/models/operations/addatsattachments.ts new file mode 100644 index 000000000..27422d4f1 --- /dev/null +++ b/src/models/operations/addatsattachments.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAtsAttachmentsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddAtsAttachmentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type AddAtsAttachmentsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAtsAttachmentsResponseBody | undefined; + unifiedAttachmentOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddAtsAttachmentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedAttachmentInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedAttachmentInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddAtsAttachmentsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAtsAttachmentsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAtsAttachmentsResponseBody$.inboundSchema).optional(), + UnifiedAttachmentOutputs: z + .array(components.UnifiedAttachmentOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedAttachmentOutputs: "unifiedAttachmentOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAtsAttachmentsResponseBody$.Outbound | undefined; + UnifiedAttachmentOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAtsAttachmentsResponseBody$.outboundSchema).optional(), + unifiedAttachmentOutputs: z + .array(components.UnifiedAttachmentOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedAttachmentOutputs: "UnifiedAttachmentOutputs", + }); + }); +} diff --git a/src/models/operations/addatsuser.ts b/src/models/operations/addatsuser.ts new file mode 100644 index 000000000..7afd37a41 --- /dev/null +++ b/src/models/operations/addatsuser.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAtsUserRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedUserInput: components.UnifiedUserInput; +}; + +export type AddAtsUserResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput | undefined; +}; + +export type AddAtsUserResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAtsUserResponseBody | undefined; + unifiedUserOutput?: components.UnifiedUserOutput | undefined; +}; + +/** @internal */ +export namespace AddAtsUserRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedUserInput: components.UnifiedUserInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedUserInput: "unifiedUserInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedUserInput: components.UnifiedUserInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedUserInput: components.UnifiedUserInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedUserInput: "UnifiedUserInput", + }); + }); +} + +/** @internal */ +export namespace AddAtsUserResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAtsUserResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAtsUserResponseBody$.inboundSchema).optional(), + UnifiedUserOutput: components.UnifiedUserOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedUserOutput: "unifiedUserOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAtsUserResponseBody$.Outbound | undefined; + UnifiedUserOutput?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAtsUserResponseBody$.outboundSchema).optional(), + unifiedUserOutput: components.UnifiedUserOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedUserOutput: "UnifiedUserOutput", + }); + }); +} diff --git a/src/models/operations/addatsusers.ts b/src/models/operations/addatsusers.ts new file mode 100644 index 000000000..491cfd190 --- /dev/null +++ b/src/models/operations/addatsusers.ts @@ -0,0 +1,136 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAtsUsersRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddAtsUsersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput | undefined; +}; + +export type AddAtsUsersResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAtsUsersResponseBody | undefined; + unifiedUserOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddAtsUsersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedUserInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedUserInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddAtsUsersResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAtsUsersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAtsUsersResponseBody$.inboundSchema).optional(), + UnifiedUserOutputs: z.array(components.UnifiedUserOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedUserOutputs: "unifiedUserOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAtsUsersResponseBody$.Outbound | undefined; + UnifiedUserOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAtsUsersResponseBody$.outboundSchema).optional(), + unifiedUserOutputs: z.array(components.UnifiedUserOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedUserOutputs: "UnifiedUserOutputs", + }); + }); +} diff --git a/src/models/operations/addautomation.ts b/src/models/operations/addautomation.ts new file mode 100644 index 000000000..c8248e7de --- /dev/null +++ b/src/models/operations/addautomation.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAutomationRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + unifiedAutomationInput: components.UnifiedAutomationInput; +}; + +export type AddAutomationResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAutomationOutput | undefined; +}; + +export type AddAutomationResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAutomationResponseBody | undefined; + unifiedAutomationOutput?: components.UnifiedAutomationOutput | undefined; +}; + +/** @internal */ +export namespace AddAutomationRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedAutomationInput: components.UnifiedAutomationInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedAutomationInput: "unifiedAutomationInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedAutomationInput: components.UnifiedAutomationInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedAutomationInput: components.UnifiedAutomationInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedAutomationInput: "UnifiedAutomationInput", + }); + }); +} + +/** @internal */ +export namespace AddAutomationResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAutomationOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAutomationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAutomationOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAutomationResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAutomationResponseBody$.inboundSchema).optional(), + UnifiedAutomationOutput: components.UnifiedAutomationOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedAutomationOutput: "unifiedAutomationOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAutomationResponseBody$.Outbound | undefined; + UnifiedAutomationOutput?: components.UnifiedAutomationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAutomationResponseBody$.outboundSchema).optional(), + unifiedAutomationOutput: components.UnifiedAutomationOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedAutomationOutput: "UnifiedAutomationOutput", + }); + }); +} diff --git a/src/models/operations/addautomations.ts b/src/models/operations/addautomations.ts new file mode 100644 index 000000000..a7e8b4602 --- /dev/null +++ b/src/models/operations/addautomations.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddAutomationsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddAutomationsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAutomationOutput | undefined; +}; + +export type AddAutomationsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddAutomationsResponseBody | undefined; + unifiedAutomationOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddAutomationsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedAutomationInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedAutomationInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddAutomationsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAutomationOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAutomationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAutomationOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddAutomationsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddAutomationsResponseBody$.inboundSchema).optional(), + UnifiedAutomationOutputs: z + .array(components.UnifiedAutomationOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedAutomationOutputs: "unifiedAutomationOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddAutomationsResponseBody$.Outbound | undefined; + UnifiedAutomationOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddAutomationsResponseBody$.outboundSchema).optional(), + unifiedAutomationOutputs: z + .array(components.UnifiedAutomationOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedAutomationOutputs: "UnifiedAutomationOutputs", + }); + }); +} diff --git a/src/models/operations/addbalancesheet.ts b/src/models/operations/addbalancesheet.ts new file mode 100644 index 000000000..dbea00d4d --- /dev/null +++ b/src/models/operations/addbalancesheet.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddBalanceSheetRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedBalanceSheetInput: components.UnifiedBalanceSheetInput; +}; + +export type AddBalanceSheetResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBalanceSheetOutput | undefined; +}; + +export type AddBalanceSheetResponse = { + httpMeta: components.HTTPMetadata; + object?: AddBalanceSheetResponseBody | undefined; + unifiedBalanceSheetOutput?: components.UnifiedBalanceSheetOutput | undefined; +}; + +/** @internal */ +export namespace AddBalanceSheetRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedBalanceSheetInput: components.UnifiedBalanceSheetInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedBalanceSheetInput: "unifiedBalanceSheetInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedBalanceSheetInput: components.UnifiedBalanceSheetInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedBalanceSheetInput: components.UnifiedBalanceSheetInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedBalanceSheetInput: "UnifiedBalanceSheetInput", + }); + }); +} + +/** @internal */ +export namespace AddBalanceSheetResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBalanceSheetOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBalanceSheetOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBalanceSheetOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddBalanceSheetResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddBalanceSheetResponseBody$.inboundSchema).optional(), + UnifiedBalanceSheetOutput: + components.UnifiedBalanceSheetOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedBalanceSheetOutput: "unifiedBalanceSheetOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddBalanceSheetResponseBody$.Outbound | undefined; + UnifiedBalanceSheetOutput?: components.UnifiedBalanceSheetOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddBalanceSheetResponseBody$.outboundSchema).optional(), + unifiedBalanceSheetOutput: + components.UnifiedBalanceSheetOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedBalanceSheetOutput: "UnifiedBalanceSheetOutput", + }); + }); +} diff --git a/src/models/operations/addbalancesheets.ts b/src/models/operations/addbalancesheets.ts new file mode 100644 index 000000000..80fc59ec3 --- /dev/null +++ b/src/models/operations/addbalancesheets.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddBalanceSheetsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddBalanceSheetsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBalanceSheetOutput | undefined; +}; + +export type AddBalanceSheetsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddBalanceSheetsResponseBody | undefined; + unifiedBalanceSheetOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddBalanceSheetsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedBalanceSheetInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedBalanceSheetInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddBalanceSheetsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBalanceSheetOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBalanceSheetOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBalanceSheetOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddBalanceSheetsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddBalanceSheetsResponseBody$.inboundSchema).optional(), + UnifiedBalanceSheetOutputs: z + .array(components.UnifiedBalanceSheetOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedBalanceSheetOutputs: "unifiedBalanceSheetOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddBalanceSheetsResponseBody$.Outbound | undefined; + UnifiedBalanceSheetOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddBalanceSheetsResponseBody$.outboundSchema).optional(), + unifiedBalanceSheetOutputs: z + .array(components.UnifiedBalanceSheetOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedBalanceSheetOutputs: "UnifiedBalanceSheetOutputs", + }); + }); +} diff --git a/src/models/operations/addbankinfo.ts b/src/models/operations/addbankinfo.ts new file mode 100644 index 000000000..b09e54a7a --- /dev/null +++ b/src/models/operations/addbankinfo.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddBankinfoRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedBankInfoInput: components.UnifiedBankInfoInput; +}; + +export type AddBankinfoResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBankInfoOutput | undefined; +}; + +export type AddBankinfoResponse = { + httpMeta: components.HTTPMetadata; + object?: AddBankinfoResponseBody | undefined; + unifiedBankInfoOutput?: components.UnifiedBankInfoOutput | undefined; +}; + +/** @internal */ +export namespace AddBankinfoRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedBankInfoInput: components.UnifiedBankInfoInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedBankInfoInput: "unifiedBankInfoInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedBankInfoInput: components.UnifiedBankInfoInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedBankInfoInput: components.UnifiedBankInfoInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedBankInfoInput: "UnifiedBankInfoInput", + }); + }); +} + +/** @internal */ +export namespace AddBankinfoResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBankInfoOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBankInfoOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBankInfoOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddBankinfoResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddBankinfoResponseBody$.inboundSchema).optional(), + UnifiedBankInfoOutput: components.UnifiedBankInfoOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedBankInfoOutput: "unifiedBankInfoOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddBankinfoResponseBody$.Outbound | undefined; + UnifiedBankInfoOutput?: components.UnifiedBankInfoOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddBankinfoResponseBody$.outboundSchema).optional(), + unifiedBankInfoOutput: components.UnifiedBankInfoOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedBankInfoOutput: "UnifiedBankInfoOutput", + }); + }); +} diff --git a/src/models/operations/addbankinfos.ts b/src/models/operations/addbankinfos.ts new file mode 100644 index 000000000..f7fb51fb6 --- /dev/null +++ b/src/models/operations/addbankinfos.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddBankinfosRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddBankinfosResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBankInfoOutput | undefined; +}; + +export type AddBankinfosResponse = { + httpMeta: components.HTTPMetadata; + object?: AddBankinfosResponseBody | undefined; + unifiedBankInfoOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddBankinfosRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedBankInfoInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedBankInfoInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddBankinfosResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBankInfoOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBankInfoOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBankInfoOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddBankinfosResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddBankinfosResponseBody$.inboundSchema).optional(), + UnifiedBankInfoOutputs: z + .array(components.UnifiedBankInfoOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedBankInfoOutputs: "unifiedBankInfoOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddBankinfosResponseBody$.Outbound | undefined; + UnifiedBankInfoOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddBankinfosResponseBody$.outboundSchema).optional(), + unifiedBankInfoOutputs: z + .array(components.UnifiedBankInfoOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedBankInfoOutputs: "UnifiedBankInfoOutputs", + }); + }); +} diff --git a/src/models/operations/addbatchlinkedusers.ts b/src/models/operations/addbatchlinkedusers.ts new file mode 100644 index 000000000..55b069486 --- /dev/null +++ b/src/models/operations/addbatchlinkedusers.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddBatchLinkedUsersResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace AddBatchLinkedUsersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/addbenefit.ts b/src/models/operations/addbenefit.ts new file mode 100644 index 000000000..01ae0c3c2 --- /dev/null +++ b/src/models/operations/addbenefit.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddBenefitRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedBenefitInput: components.UnifiedBenefitInput; +}; + +export type AddBenefitResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBenefitOutput | undefined; +}; + +export type AddBenefitResponse = { + httpMeta: components.HTTPMetadata; + object?: AddBenefitResponseBody | undefined; + unifiedBenefitOutput?: components.UnifiedBenefitOutput | undefined; +}; + +/** @internal */ +export namespace AddBenefitRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedBenefitInput: components.UnifiedBenefitInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedBenefitInput: "unifiedBenefitInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedBenefitInput: components.UnifiedBenefitInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedBenefitInput: components.UnifiedBenefitInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedBenefitInput: "UnifiedBenefitInput", + }); + }); +} + +/** @internal */ +export namespace AddBenefitResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBenefitOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBenefitOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBenefitOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddBenefitResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddBenefitResponseBody$.inboundSchema).optional(), + UnifiedBenefitOutput: components.UnifiedBenefitOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedBenefitOutput: "unifiedBenefitOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddBenefitResponseBody$.Outbound | undefined; + UnifiedBenefitOutput?: components.UnifiedBenefitOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddBenefitResponseBody$.outboundSchema).optional(), + unifiedBenefitOutput: components.UnifiedBenefitOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedBenefitOutput: "UnifiedBenefitOutput", + }); + }); +} diff --git a/src/models/operations/addbenefits.ts b/src/models/operations/addbenefits.ts new file mode 100644 index 000000000..72281cc8a --- /dev/null +++ b/src/models/operations/addbenefits.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddBenefitsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddBenefitsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBenefitOutput | undefined; +}; + +export type AddBenefitsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddBenefitsResponseBody | undefined; + unifiedBenefitOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddBenefitsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedBenefitInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedBenefitInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddBenefitsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBenefitOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBenefitOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBenefitOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddBenefitsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddBenefitsResponseBody$.inboundSchema).optional(), + UnifiedBenefitOutputs: z + .array(components.UnifiedBenefitOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedBenefitOutputs: "unifiedBenefitOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddBenefitsResponseBody$.Outbound | undefined; + UnifiedBenefitOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddBenefitsResponseBody$.outboundSchema).optional(), + unifiedBenefitOutputs: z + .array(components.UnifiedBenefitOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedBenefitOutputs: "UnifiedBenefitOutputs", + }); + }); +} diff --git a/src/models/operations/addcampaign.ts b/src/models/operations/addcampaign.ts new file mode 100644 index 000000000..08e86f249 --- /dev/null +++ b/src/models/operations/addcampaign.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCampaignRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + unifiedCampaignInput: components.UnifiedCampaignInput; +}; + +export type AddCampaignResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCampaignOutput | undefined; +}; + +export type AddCampaignResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCampaignResponseBody | undefined; + unifiedCampaignOutput?: components.UnifiedCampaignOutput | undefined; +}; + +/** @internal */ +export namespace AddCampaignRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedCampaignInput: components.UnifiedCampaignInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedCampaignInput: "unifiedCampaignInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedCampaignInput: components.UnifiedCampaignInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedCampaignInput: components.UnifiedCampaignInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedCampaignInput: "UnifiedCampaignInput", + }); + }); +} + +/** @internal */ +export namespace AddCampaignResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCampaignOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCampaignOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCampaignOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCampaignResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCampaignResponseBody$.inboundSchema).optional(), + UnifiedCampaignOutput: components.UnifiedCampaignOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCampaignOutput: "unifiedCampaignOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCampaignResponseBody$.Outbound | undefined; + UnifiedCampaignOutput?: components.UnifiedCampaignOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCampaignResponseBody$.outboundSchema).optional(), + unifiedCampaignOutput: components.UnifiedCampaignOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCampaignOutput: "UnifiedCampaignOutput", + }); + }); +} diff --git a/src/models/operations/addcampaigns.ts b/src/models/operations/addcampaigns.ts new file mode 100644 index 000000000..ead0e9f4d --- /dev/null +++ b/src/models/operations/addcampaigns.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCampaignsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddCampaignsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCampaignOutput | undefined; +}; + +export type AddCampaignsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCampaignsResponseBody | undefined; + unifiedCampaignOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddCampaignsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedCampaignInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedCampaignInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddCampaignsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCampaignOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCampaignOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCampaignOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCampaignsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCampaignsResponseBody$.inboundSchema).optional(), + UnifiedCampaignOutputs: z + .array(components.UnifiedCampaignOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCampaignOutputs: "unifiedCampaignOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCampaignsResponseBody$.Outbound | undefined; + UnifiedCampaignOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCampaignsResponseBody$.outboundSchema).optional(), + unifiedCampaignOutputs: z + .array(components.UnifiedCampaignOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCampaignOutputs: "UnifiedCampaignOutputs", + }); + }); +} diff --git a/src/models/operations/addcandidate.ts b/src/models/operations/addcandidate.ts new file mode 100644 index 000000000..17acb8f5f --- /dev/null +++ b/src/models/operations/addcandidate.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCandidateRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedCandidateInput: components.UnifiedCandidateInput; +}; + +export type AddCandidateResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCandidateOutput | undefined; +}; + +export type AddCandidateResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCandidateResponseBody | undefined; + unifiedCandidateOutput?: components.UnifiedCandidateOutput | undefined; +}; + +/** @internal */ +export namespace AddCandidateRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedCandidateInput: components.UnifiedCandidateInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedCandidateInput: "unifiedCandidateInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedCandidateInput: components.UnifiedCandidateInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedCandidateInput: components.UnifiedCandidateInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedCandidateInput: "UnifiedCandidateInput", + }); + }); +} + +/** @internal */ +export namespace AddCandidateResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCandidateOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCandidateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCandidateOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCandidateResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCandidateResponseBody$.inboundSchema).optional(), + UnifiedCandidateOutput: components.UnifiedCandidateOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCandidateOutput: "unifiedCandidateOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCandidateResponseBody$.Outbound | undefined; + UnifiedCandidateOutput?: components.UnifiedCandidateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCandidateResponseBody$.outboundSchema).optional(), + unifiedCandidateOutput: components.UnifiedCandidateOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCandidateOutput: "UnifiedCandidateOutput", + }); + }); +} diff --git a/src/models/operations/addcandidates.ts b/src/models/operations/addcandidates.ts new file mode 100644 index 000000000..3244562e6 --- /dev/null +++ b/src/models/operations/addcandidates.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCandidatesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddCandidatesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCandidateOutput | undefined; +}; + +export type AddCandidatesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCandidatesResponseBody | undefined; + unifiedCandidateOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddCandidatesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedCandidateInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedCandidateInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddCandidatesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCandidateOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCandidateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCandidateOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCandidatesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCandidatesResponseBody$.inboundSchema).optional(), + UnifiedCandidateOutputs: z + .array(components.UnifiedCandidateOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCandidateOutputs: "unifiedCandidateOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCandidatesResponseBody$.Outbound | undefined; + UnifiedCandidateOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCandidatesResponseBody$.outboundSchema).optional(), + unifiedCandidateOutputs: z + .array(components.UnifiedCandidateOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCandidateOutputs: "UnifiedCandidateOutputs", + }); + }); +} diff --git a/src/models/operations/addcashflowstatement.ts b/src/models/operations/addcashflowstatement.ts new file mode 100644 index 000000000..b87ac68ca --- /dev/null +++ b/src/models/operations/addcashflowstatement.ts @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCashflowStatementRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedCashflowStatementInput: components.UnifiedCashflowStatementInput; +}; + +export type AddCashflowStatementResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCashflowStatementOutput | undefined; +}; + +export type AddCashflowStatementResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCashflowStatementResponseBody | undefined; + unifiedCashflowStatementOutput?: components.UnifiedCashflowStatementOutput | undefined; +}; + +/** @internal */ +export namespace AddCashflowStatementRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedCashflowStatementInput: components.UnifiedCashflowStatementInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedCashflowStatementInput: "unifiedCashflowStatementInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedCashflowStatementInput: components.UnifiedCashflowStatementInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedCashflowStatementInput: components.UnifiedCashflowStatementInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedCashflowStatementInput: "UnifiedCashflowStatementInput", + }); + }); +} + +/** @internal */ +export namespace AddCashflowStatementResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCashflowStatementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCashflowStatementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddCashflowStatementResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCashflowStatementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCashflowStatementResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCashflowStatementResponseBody$.inboundSchema).optional(), + UnifiedCashflowStatementOutput: + components.UnifiedCashflowStatementOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCashflowStatementOutput: "unifiedCashflowStatementOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCashflowStatementResponseBody$.Outbound | undefined; + UnifiedCashflowStatementOutput?: + | components.UnifiedCashflowStatementOutput$.Outbound + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCashflowStatementResponseBody$.outboundSchema).optional(), + unifiedCashflowStatementOutput: + components.UnifiedCashflowStatementOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCashflowStatementOutput: "UnifiedCashflowStatementOutput", + }); + }); +} diff --git a/src/models/operations/addcashflowstatements.ts b/src/models/operations/addcashflowstatements.ts new file mode 100644 index 000000000..3c343cd3d --- /dev/null +++ b/src/models/operations/addcashflowstatements.ts @@ -0,0 +1,149 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCashflowStatementsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddCashflowStatementsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCashflowStatementOutput | undefined; +}; + +export type AddCashflowStatementsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCashflowStatementsResponseBody | undefined; + unifiedCashflowStatementOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddCashflowStatementsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedCashflowStatementInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedCashflowStatementInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddCashflowStatementsResponseBody$ { + export const inboundSchema: z.ZodType< + AddCashflowStatementsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCashflowStatementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCashflowStatementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddCashflowStatementsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCashflowStatementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCashflowStatementsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCashflowStatementsResponseBody$.inboundSchema).optional(), + UnifiedCashflowStatementOutputs: z + .array(components.UnifiedCashflowStatementOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCashflowStatementOutputs: "unifiedCashflowStatementOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCashflowStatementsResponseBody$.Outbound | undefined; + UnifiedCashflowStatementOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCashflowStatementsResponseBody$.outboundSchema).optional(), + unifiedCashflowStatementOutputs: z + .array(components.UnifiedCashflowStatementOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCashflowStatementOutputs: "UnifiedCashflowStatementOutputs", + }); + }); +} diff --git a/src/models/operations/addcomment.ts b/src/models/operations/addcomment.ts new file mode 100644 index 000000000..99a5a83d6 --- /dev/null +++ b/src/models/operations/addcomment.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCommentRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; + unifiedCommentInput: components.UnifiedCommentInput; +}; + +export type AddCommentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCommentOutput | undefined; +}; + +export type AddCommentResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCommentResponseBody | undefined; + unifiedCommentOutput?: components.UnifiedCommentOutput | undefined; +}; + +/** @internal */ +export namespace AddCommentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedCommentInput: components.UnifiedCommentInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedCommentInput: "unifiedCommentInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedCommentInput: components.UnifiedCommentInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedCommentInput: components.UnifiedCommentInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedCommentInput: "UnifiedCommentInput", + }); + }); +} + +/** @internal */ +export namespace AddCommentResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCommentOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCommentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCommentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCommentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCommentResponseBody$.inboundSchema).optional(), + UnifiedCommentOutput: components.UnifiedCommentOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCommentOutput: "unifiedCommentOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCommentResponseBody$.Outbound | undefined; + UnifiedCommentOutput?: components.UnifiedCommentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCommentResponseBody$.outboundSchema).optional(), + unifiedCommentOutput: components.UnifiedCommentOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCommentOutput: "UnifiedCommentOutput", + }); + }); +} diff --git a/src/models/operations/addcomments.ts b/src/models/operations/addcomments.ts new file mode 100644 index 000000000..b57a50fd0 --- /dev/null +++ b/src/models/operations/addcomments.ts @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCommentsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; + requestBody: Array; +}; + +export type AddCommentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCommentOutput | undefined; +}; + +export type AddCommentsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCommentsResponseBody | undefined; + unifiedCommentOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddCommentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + RequestBody: z.array(components.UnifiedCommentInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + requestBody: z.array(components.UnifiedCommentInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddCommentsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCommentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCommentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCommentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCommentsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCommentsResponseBody$.inboundSchema).optional(), + UnifiedCommentOutputs: z + .array(components.UnifiedCommentOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCommentOutputs: "unifiedCommentOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCommentsResponseBody$.Outbound | undefined; + UnifiedCommentOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCommentsResponseBody$.outboundSchema).optional(), + unifiedCommentOutputs: z + .array(components.UnifiedCommentOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCommentOutputs: "UnifiedCommentOutputs", + }); + }); +} diff --git a/src/models/operations/addcompanies.ts b/src/models/operations/addcompanies.ts new file mode 100644 index 000000000..315401f17 --- /dev/null +++ b/src/models/operations/addcompanies.ts @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCompaniesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; + requestBody: Array; +}; + +export type AddCompaniesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput | undefined; +}; + +export type AddCompaniesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCompaniesResponseBody | undefined; + unifiedCompanyOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddCompaniesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + RequestBody: z.array(components.UnifiedCompanyInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + requestBody: z.array(components.UnifiedCompanyInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddCompaniesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCompaniesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCompaniesResponseBody$.inboundSchema).optional(), + UnifiedCompanyOutputs: z + .array(components.UnifiedCompanyOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCompanyOutputs: "unifiedCompanyOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCompaniesResponseBody$.Outbound | undefined; + UnifiedCompanyOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCompaniesResponseBody$.outboundSchema).optional(), + unifiedCompanyOutputs: z + .array(components.UnifiedCompanyOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCompanyOutputs: "UnifiedCompanyOutputs", + }); + }); +} diff --git a/src/models/operations/addcompanyinfo.ts b/src/models/operations/addcompanyinfo.ts new file mode 100644 index 000000000..8c4235bde --- /dev/null +++ b/src/models/operations/addcompanyinfo.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCompanyInfoRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedCompanyInfoInput: components.UnifiedCompanyInfoInput; +}; + +export type AddCompanyInfoResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyInfoOutput | undefined; +}; + +export type AddCompanyInfoResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCompanyInfoResponseBody | undefined; + unifiedCompanyInfoOutput?: components.UnifiedCompanyInfoOutput | undefined; +}; + +/** @internal */ +export namespace AddCompanyInfoRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedCompanyInfoInput: components.UnifiedCompanyInfoInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedCompanyInfoInput: "unifiedCompanyInfoInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedCompanyInfoInput: components.UnifiedCompanyInfoInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedCompanyInfoInput: components.UnifiedCompanyInfoInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedCompanyInfoInput: "UnifiedCompanyInfoInput", + }); + }); +} + +/** @internal */ +export namespace AddCompanyInfoResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyInfoOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyInfoOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyInfoOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCompanyInfoResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCompanyInfoResponseBody$.inboundSchema).optional(), + UnifiedCompanyInfoOutput: components.UnifiedCompanyInfoOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCompanyInfoOutput: "unifiedCompanyInfoOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCompanyInfoResponseBody$.Outbound | undefined; + UnifiedCompanyInfoOutput?: components.UnifiedCompanyInfoOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCompanyInfoResponseBody$.outboundSchema).optional(), + unifiedCompanyInfoOutput: + components.UnifiedCompanyInfoOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCompanyInfoOutput: "UnifiedCompanyInfoOutput", + }); + }); +} diff --git a/src/models/operations/addcompanyinfos.ts b/src/models/operations/addcompanyinfos.ts new file mode 100644 index 000000000..810d55773 --- /dev/null +++ b/src/models/operations/addcompanyinfos.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCompanyInfosRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddCompanyInfosResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyInfoOutput | undefined; +}; + +export type AddCompanyInfosResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCompanyInfosResponseBody | undefined; + unifiedCompanyInfoOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddCompanyInfosRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedCompanyInfoInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedCompanyInfoInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddCompanyInfosResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyInfoOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyInfoOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyInfoOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCompanyInfosResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCompanyInfosResponseBody$.inboundSchema).optional(), + UnifiedCompanyInfoOutputs: z + .array(components.UnifiedCompanyInfoOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCompanyInfoOutputs: "unifiedCompanyInfoOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCompanyInfosResponseBody$.Outbound | undefined; + UnifiedCompanyInfoOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCompanyInfosResponseBody$.outboundSchema).optional(), + unifiedCompanyInfoOutputs: z + .array(components.UnifiedCompanyInfoOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCompanyInfoOutputs: "UnifiedCompanyInfoOutputs", + }); + }); +} diff --git a/src/models/operations/addcompanys.ts b/src/models/operations/addcompanys.ts new file mode 100644 index 000000000..5440f5bc3 --- /dev/null +++ b/src/models/operations/addcompanys.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCompanysRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddCompanysResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput | undefined; +}; + +export type AddCompanysResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCompanysResponseBody | undefined; + unifiedCompanyOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddCompanysRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedCompanyInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedCompanyInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddCompanysResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCompanysResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCompanysResponseBody$.inboundSchema).optional(), + UnifiedCompanyOutputs: z + .array(components.UnifiedCompanyOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCompanyOutputs: "unifiedCompanyOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCompanysResponseBody$.Outbound | undefined; + UnifiedCompanyOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCompanysResponseBody$.outboundSchema).optional(), + unifiedCompanyOutputs: z + .array(components.UnifiedCompanyOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCompanyOutputs: "UnifiedCompanyOutputs", + }); + }); +} diff --git a/src/models/operations/addcreditnote.ts b/src/models/operations/addcreditnote.ts new file mode 100644 index 000000000..0e57ed38c --- /dev/null +++ b/src/models/operations/addcreditnote.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCreditNoteRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedCreditNoteInput: components.UnifiedCreditNoteInput; +}; + +export type AddCreditNoteResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCreditNoteOutput | undefined; +}; + +export type AddCreditNoteResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCreditNoteResponseBody | undefined; + unifiedCreditNoteOutput?: components.UnifiedCreditNoteOutput | undefined; +}; + +/** @internal */ +export namespace AddCreditNoteRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedCreditNoteInput: components.UnifiedCreditNoteInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedCreditNoteInput: "unifiedCreditNoteInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedCreditNoteInput: components.UnifiedCreditNoteInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedCreditNoteInput: components.UnifiedCreditNoteInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedCreditNoteInput: "UnifiedCreditNoteInput", + }); + }); +} + +/** @internal */ +export namespace AddCreditNoteResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCreditNoteOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCreditNoteOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCreditNoteOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCreditNoteResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCreditNoteResponseBody$.inboundSchema).optional(), + UnifiedCreditNoteOutput: components.UnifiedCreditNoteOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCreditNoteOutput: "unifiedCreditNoteOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCreditNoteResponseBody$.Outbound | undefined; + UnifiedCreditNoteOutput?: components.UnifiedCreditNoteOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCreditNoteResponseBody$.outboundSchema).optional(), + unifiedCreditNoteOutput: components.UnifiedCreditNoteOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCreditNoteOutput: "UnifiedCreditNoteOutput", + }); + }); +} diff --git a/src/models/operations/addcreditnotes.ts b/src/models/operations/addcreditnotes.ts new file mode 100644 index 000000000..9cd32ef87 --- /dev/null +++ b/src/models/operations/addcreditnotes.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCreditNotesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddCreditNotesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCreditNoteOutput | undefined; +}; + +export type AddCreditNotesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCreditNotesResponseBody | undefined; + unifiedCreditNoteOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddCreditNotesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedCreditNoteInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedCreditNoteInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddCreditNotesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCreditNoteOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCreditNoteOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCreditNoteOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCreditNotesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCreditNotesResponseBody$.inboundSchema).optional(), + UnifiedCreditNoteOutputs: z + .array(components.UnifiedCreditNoteOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCreditNoteOutputs: "unifiedCreditNoteOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCreditNotesResponseBody$.Outbound | undefined; + UnifiedCreditNoteOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCreditNotesResponseBody$.outboundSchema).optional(), + unifiedCreditNoteOutputs: z + .array(components.UnifiedCreditNoteOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCreditNoteOutputs: "UnifiedCreditNoteOutputs", + }); + }); +} diff --git a/src/models/operations/addcrmcompany.ts b/src/models/operations/addcrmcompany.ts new file mode 100644 index 000000000..c7df73ed9 --- /dev/null +++ b/src/models/operations/addcrmcompany.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCrmCompanyRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; + unifiedCompanyInput: components.UnifiedCompanyInput; +}; + +export type AddCrmCompanyResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput | undefined; +}; + +export type AddCrmCompanyResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCrmCompanyResponseBody | undefined; + unifiedCompanyOutput?: components.UnifiedCompanyOutput | undefined; +}; + +/** @internal */ +export namespace AddCrmCompanyRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedCompanyInput: components.UnifiedCompanyInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedCompanyInput: "unifiedCompanyInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedCompanyInput: components.UnifiedCompanyInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedCompanyInput: components.UnifiedCompanyInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedCompanyInput: "UnifiedCompanyInput", + }); + }); +} + +/** @internal */ +export namespace AddCrmCompanyResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCrmCompanyResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCrmCompanyResponseBody$.inboundSchema).optional(), + UnifiedCompanyOutput: components.UnifiedCompanyOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCompanyOutput: "unifiedCompanyOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCrmCompanyResponseBody$.Outbound | undefined; + UnifiedCompanyOutput?: components.UnifiedCompanyOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCrmCompanyResponseBody$.outboundSchema).optional(), + unifiedCompanyOutput: components.UnifiedCompanyOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCompanyOutput: "UnifiedCompanyOutput", + }); + }); +} diff --git a/src/models/operations/addcrmcontact.ts b/src/models/operations/addcrmcontact.ts new file mode 100644 index 000000000..707502815 --- /dev/null +++ b/src/models/operations/addcrmcontact.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCrmContactRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original CRM software. + */ + remoteData?: boolean | undefined; + unifiedContactInput: components.UnifiedContactInput; +}; + +export type AddCrmContactResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type AddCrmContactResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCrmContactResponseBody | undefined; + unifiedContactOutput?: components.UnifiedContactOutput | undefined; +}; + +/** @internal */ +export namespace AddCrmContactRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedContactInput: components.UnifiedContactInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedContactInput: "unifiedContactInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedContactInput: components.UnifiedContactInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedContactInput: components.UnifiedContactInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedContactInput: "UnifiedContactInput", + }); + }); +} + +/** @internal */ +export namespace AddCrmContactResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCrmContactResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCrmContactResponseBody$.inboundSchema).optional(), + UnifiedContactOutput: components.UnifiedContactOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedContactOutput: "unifiedContactOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCrmContactResponseBody$.Outbound | undefined; + UnifiedContactOutput?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCrmContactResponseBody$.outboundSchema).optional(), + unifiedContactOutput: components.UnifiedContactOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedContactOutput: "UnifiedContactOutput", + }); + }); +} diff --git a/src/models/operations/addcrmcontacts.ts b/src/models/operations/addcrmcontacts.ts new file mode 100644 index 000000000..7b4d353b3 --- /dev/null +++ b/src/models/operations/addcrmcontacts.ts @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddCrmContactsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original CRM software. + */ + remoteData?: boolean | undefined; + requestBody: Array; +}; + +export type AddCrmContactsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type AddCrmContactsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddCrmContactsResponseBody | undefined; + unifiedContactOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddCrmContactsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + RequestBody: z.array(components.UnifiedContactInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + requestBody: z.array(components.UnifiedContactInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddCrmContactsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddCrmContactsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddCrmContactsResponseBody$.inboundSchema).optional(), + UnifiedContactOutputs: z + .array(components.UnifiedContactOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedContactOutputs: "unifiedContactOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddCrmContactsResponseBody$.Outbound | undefined; + UnifiedContactOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddCrmContactsResponseBody$.outboundSchema).optional(), + unifiedContactOutputs: z + .array(components.UnifiedContactOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedContactOutputs: "UnifiedContactOutputs", + }); + }); +} diff --git a/src/models/operations/adddeal.ts b/src/models/operations/adddeal.ts new file mode 100644 index 000000000..7c7f91d2a --- /dev/null +++ b/src/models/operations/adddeal.ts @@ -0,0 +1,128 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddDealRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; + unifiedDealInput: components.UnifiedDealInput; +}; + +export type AddDealResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDealOutput | undefined; +}; + +export type AddDealResponse = { + httpMeta: components.HTTPMetadata; + object?: AddDealResponseBody | undefined; + unifiedDealOutput?: components.UnifiedDealOutput | undefined; +}; + +/** @internal */ +export namespace AddDealRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedDealInput: components.UnifiedDealInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedDealInput: "unifiedDealInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedDealInput: components.UnifiedDealInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedDealInput: components.UnifiedDealInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedDealInput: "UnifiedDealInput", + }); + }); +} + +/** @internal */ +export namespace AddDealResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDealOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDealOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDealOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddDealResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddDealResponseBody$.inboundSchema).optional(), + UnifiedDealOutput: components.UnifiedDealOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedDealOutput: "unifiedDealOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddDealResponseBody$.Outbound | undefined; + UnifiedDealOutput?: components.UnifiedDealOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddDealResponseBody$.outboundSchema).optional(), + unifiedDealOutput: components.UnifiedDealOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedDealOutput: "UnifiedDealOutput", + }); + }); +} diff --git a/src/models/operations/adddeals.ts b/src/models/operations/adddeals.ts new file mode 100644 index 000000000..17cbf9390 --- /dev/null +++ b/src/models/operations/adddeals.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddDealsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; + requestBody: Array; +}; + +export type AddDealsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDealOutput | undefined; +}; + +export type AddDealsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddDealsResponseBody | undefined; + unifiedDealOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddDealsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + RequestBody: z.array(components.UnifiedDealInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + requestBody: z.array(components.UnifiedDealInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddDealsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDealOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDealOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDealOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace AddDealsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddDealsResponseBody$.inboundSchema).optional(), + UnifiedDealOutputs: z.array(components.UnifiedDealOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedDealOutputs: "unifiedDealOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddDealsResponseBody$.Outbound | undefined; + UnifiedDealOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddDealsResponseBody$.outboundSchema).optional(), + unifiedDealOutputs: z.array(components.UnifiedDealOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedDealOutputs: "UnifiedDealOutputs", + }); + }); +} diff --git a/src/models/operations/adddepartment.ts b/src/models/operations/adddepartment.ts new file mode 100644 index 000000000..7dfec5a89 --- /dev/null +++ b/src/models/operations/adddepartment.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddDepartmentRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedDepartmentInput: components.UnifiedDepartmentInput; +}; + +export type AddDepartmentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDepartmentOutput | undefined; +}; + +export type AddDepartmentResponse = { + httpMeta: components.HTTPMetadata; + object?: AddDepartmentResponseBody | undefined; + unifiedDepartmentOutput?: components.UnifiedDepartmentOutput | undefined; +}; + +/** @internal */ +export namespace AddDepartmentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedDepartmentInput: components.UnifiedDepartmentInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedDepartmentInput: "unifiedDepartmentInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedDepartmentInput: components.UnifiedDepartmentInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedDepartmentInput: components.UnifiedDepartmentInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedDepartmentInput: "UnifiedDepartmentInput", + }); + }); +} + +/** @internal */ +export namespace AddDepartmentResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDepartmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDepartmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDepartmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddDepartmentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddDepartmentResponseBody$.inboundSchema).optional(), + UnifiedDepartmentOutput: components.UnifiedDepartmentOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedDepartmentOutput: "unifiedDepartmentOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddDepartmentResponseBody$.Outbound | undefined; + UnifiedDepartmentOutput?: components.UnifiedDepartmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddDepartmentResponseBody$.outboundSchema).optional(), + unifiedDepartmentOutput: components.UnifiedDepartmentOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedDepartmentOutput: "UnifiedDepartmentOutput", + }); + }); +} diff --git a/src/models/operations/adddepartments.ts b/src/models/operations/adddepartments.ts new file mode 100644 index 000000000..5bd9be595 --- /dev/null +++ b/src/models/operations/adddepartments.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddDepartmentsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddDepartmentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDepartmentOutput | undefined; +}; + +export type AddDepartmentsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddDepartmentsResponseBody | undefined; + unifiedDepartmentOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddDepartmentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedDepartmentInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedDepartmentInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddDepartmentsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDepartmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDepartmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDepartmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddDepartmentsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddDepartmentsResponseBody$.inboundSchema).optional(), + UnifiedDepartmentOutputs: z + .array(components.UnifiedDepartmentOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedDepartmentOutputs: "unifiedDepartmentOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddDepartmentsResponseBody$.Outbound | undefined; + UnifiedDepartmentOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddDepartmentsResponseBody$.outboundSchema).optional(), + unifiedDepartmentOutputs: z + .array(components.UnifiedDepartmentOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedDepartmentOutputs: "UnifiedDepartmentOutputs", + }); + }); +} diff --git a/src/models/operations/adddependent.ts b/src/models/operations/adddependent.ts new file mode 100644 index 000000000..23afaf21a --- /dev/null +++ b/src/models/operations/adddependent.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddDependentRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedDependentInput: components.UnifiedDependentInput; +}; + +export type AddDependentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDependentOutput | undefined; +}; + +export type AddDependentResponse = { + httpMeta: components.HTTPMetadata; + object?: AddDependentResponseBody | undefined; + unifiedDependentOutput?: components.UnifiedDependentOutput | undefined; +}; + +/** @internal */ +export namespace AddDependentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedDependentInput: components.UnifiedDependentInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedDependentInput: "unifiedDependentInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedDependentInput: components.UnifiedDependentInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedDependentInput: components.UnifiedDependentInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedDependentInput: "UnifiedDependentInput", + }); + }); +} + +/** @internal */ +export namespace AddDependentResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDependentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDependentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDependentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddDependentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddDependentResponseBody$.inboundSchema).optional(), + UnifiedDependentOutput: components.UnifiedDependentOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedDependentOutput: "unifiedDependentOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddDependentResponseBody$.Outbound | undefined; + UnifiedDependentOutput?: components.UnifiedDependentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddDependentResponseBody$.outboundSchema).optional(), + unifiedDependentOutput: components.UnifiedDependentOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedDependentOutput: "UnifiedDependentOutput", + }); + }); +} diff --git a/src/models/operations/adddependents.ts b/src/models/operations/adddependents.ts new file mode 100644 index 000000000..6ddeda932 --- /dev/null +++ b/src/models/operations/adddependents.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddDependentsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddDependentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDependentOutput | undefined; +}; + +export type AddDependentsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddDependentsResponseBody | undefined; + unifiedDependentOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddDependentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedDependentInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedDependentInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddDependentsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDependentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDependentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDependentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddDependentsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddDependentsResponseBody$.inboundSchema).optional(), + UnifiedDependentOutputs: z + .array(components.UnifiedDependentOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedDependentOutputs: "unifiedDependentOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddDependentsResponseBody$.Outbound | undefined; + UnifiedDependentOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddDependentsResponseBody$.outboundSchema).optional(), + unifiedDependentOutputs: z + .array(components.UnifiedDependentOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedDependentOutputs: "UnifiedDependentOutputs", + }); + }); +} diff --git a/src/models/operations/adddrive.ts b/src/models/operations/adddrive.ts new file mode 100644 index 000000000..add51753d --- /dev/null +++ b/src/models/operations/adddrive.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddDriveRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; + unifiedDriveInput: components.UnifiedDriveInput; +}; + +export type AddDriveResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDriveOutput | undefined; +}; + +export type AddDriveResponse = { + httpMeta: components.HTTPMetadata; + object?: AddDriveResponseBody | undefined; + unifiedDriveOutput?: components.UnifiedDriveOutput | undefined; +}; + +/** @internal */ +export namespace AddDriveRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedDriveInput: components.UnifiedDriveInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedDriveInput: "unifiedDriveInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedDriveInput: components.UnifiedDriveInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedDriveInput: components.UnifiedDriveInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedDriveInput: "UnifiedDriveInput", + }); + }); +} + +/** @internal */ +export namespace AddDriveResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDriveOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDriveOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDriveOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace AddDriveResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddDriveResponseBody$.inboundSchema).optional(), + UnifiedDriveOutput: components.UnifiedDriveOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedDriveOutput: "unifiedDriveOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddDriveResponseBody$.Outbound | undefined; + UnifiedDriveOutput?: components.UnifiedDriveOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddDriveResponseBody$.outboundSchema).optional(), + unifiedDriveOutput: components.UnifiedDriveOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedDriveOutput: "UnifiedDriveOutput", + }); + }); +} diff --git a/src/models/operations/adddrives.ts b/src/models/operations/adddrives.ts new file mode 100644 index 000000000..323c09bb8 --- /dev/null +++ b/src/models/operations/adddrives.ts @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddDrivesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddDrivesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDriveOutput | undefined; +}; + +export type AddDrivesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddDrivesResponseBody | undefined; + unifiedDriveOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddDrivesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedDriveInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedDriveInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddDrivesResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDriveOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDriveOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDriveOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddDrivesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddDrivesResponseBody$.inboundSchema).optional(), + UnifiedDriveOutputs: z.array(components.UnifiedDriveOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedDriveOutputs: "unifiedDriveOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddDrivesResponseBody$.Outbound | undefined; + UnifiedDriveOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddDrivesResponseBody$.outboundSchema).optional(), + unifiedDriveOutputs: z.array(components.UnifiedDriveOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedDriveOutputs: "UnifiedDriveOutputs", + }); + }); +} diff --git a/src/models/operations/addeeocs.ts b/src/models/operations/addeeocs.ts new file mode 100644 index 000000000..fed2458a5 --- /dev/null +++ b/src/models/operations/addeeocs.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEeocsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedEeocsInput: components.UnifiedEeocsInput; +}; + +export type AddEeocsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEeocsOutput | undefined; +}; + +export type AddEeocsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEeocsResponseBody | undefined; + unifiedEeocsOutput?: components.UnifiedEeocsOutput | undefined; +}; + +/** @internal */ +export namespace AddEeocsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedEeocsInput: components.UnifiedEeocsInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedEeocsInput: "unifiedEeocsInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedEeocsInput: components.UnifiedEeocsInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedEeocsInput: components.UnifiedEeocsInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedEeocsInput: "UnifiedEeocsInput", + }); + }); +} + +/** @internal */ +export namespace AddEeocsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEeocsOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEeocsOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEeocsOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace AddEeocsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEeocsResponseBody$.inboundSchema).optional(), + UnifiedEeocsOutput: components.UnifiedEeocsOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEeocsOutput: "unifiedEeocsOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEeocsResponseBody$.Outbound | undefined; + UnifiedEeocsOutput?: components.UnifiedEeocsOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEeocsResponseBody$.outboundSchema).optional(), + unifiedEeocsOutput: components.UnifiedEeocsOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEeocsOutput: "UnifiedEeocsOutput", + }); + }); +} diff --git a/src/models/operations/addeeocss.ts b/src/models/operations/addeeocss.ts new file mode 100644 index 000000000..a76c248d4 --- /dev/null +++ b/src/models/operations/addeeocss.ts @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEeocssRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddEeocssResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEeocsOutput | undefined; +}; + +export type AddEeocssResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEeocssResponseBody | undefined; + unifiedEeocsOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddEeocssRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedEeocsInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedEeocsInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddEeocssResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEeocsOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEeocsOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEeocsOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEeocssResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEeocssResponseBody$.inboundSchema).optional(), + UnifiedEeocsOutputs: z.array(components.UnifiedEeocsOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEeocsOutputs: "unifiedEeocsOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEeocssResponseBody$.Outbound | undefined; + UnifiedEeocsOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEeocssResponseBody$.outboundSchema).optional(), + unifiedEeocsOutputs: z.array(components.UnifiedEeocsOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEeocsOutputs: "UnifiedEeocsOutputs", + }); + }); +} diff --git a/src/models/operations/addemail.ts b/src/models/operations/addemail.ts new file mode 100644 index 000000000..c7bed22dd --- /dev/null +++ b/src/models/operations/addemail.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEmailRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + unifiedEmailInput: components.UnifiedEmailInput; +}; + +export type AddEmailResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmailOutput | undefined; +}; + +export type AddEmailResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEmailResponseBody | undefined; + unifiedEmailOutput?: components.UnifiedEmailOutput | undefined; +}; + +/** @internal */ +export namespace AddEmailRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedEmailInput: components.UnifiedEmailInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedEmailInput: "unifiedEmailInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedEmailInput: components.UnifiedEmailInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedEmailInput: components.UnifiedEmailInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedEmailInput: "UnifiedEmailInput", + }); + }); +} + +/** @internal */ +export namespace AddEmailResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmailOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmailOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmailOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace AddEmailResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEmailResponseBody$.inboundSchema).optional(), + UnifiedEmailOutput: components.UnifiedEmailOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEmailOutput: "unifiedEmailOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEmailResponseBody$.Outbound | undefined; + UnifiedEmailOutput?: components.UnifiedEmailOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEmailResponseBody$.outboundSchema).optional(), + unifiedEmailOutput: components.UnifiedEmailOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEmailOutput: "UnifiedEmailOutput", + }); + }); +} diff --git a/src/models/operations/addemails.ts b/src/models/operations/addemails.ts new file mode 100644 index 000000000..1268a9f6b --- /dev/null +++ b/src/models/operations/addemails.ts @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEmailsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddEmailsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmailOutput | undefined; +}; + +export type AddEmailsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEmailsResponseBody | undefined; + unifiedEmailOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddEmailsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedEmailInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedEmailInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddEmailsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmailOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmailOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmailOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEmailsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEmailsResponseBody$.inboundSchema).optional(), + UnifiedEmailOutputs: z.array(components.UnifiedEmailOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEmailOutputs: "unifiedEmailOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEmailsResponseBody$.Outbound | undefined; + UnifiedEmailOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEmailsResponseBody$.outboundSchema).optional(), + unifiedEmailOutputs: z.array(components.UnifiedEmailOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEmailOutputs: "UnifiedEmailOutputs", + }); + }); +} diff --git a/src/models/operations/addemployee.ts b/src/models/operations/addemployee.ts new file mode 100644 index 000000000..9ef366d31 --- /dev/null +++ b/src/models/operations/addemployee.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEmployeeRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedEmployeeInput: components.UnifiedEmployeeInput; +}; + +export type AddEmployeeResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeeOutput | undefined; +}; + +export type AddEmployeeResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEmployeeResponseBody | undefined; + unifiedEmployeeOutput?: components.UnifiedEmployeeOutput | undefined; +}; + +/** @internal */ +export namespace AddEmployeeRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedEmployeeInput: components.UnifiedEmployeeInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedEmployeeInput: "unifiedEmployeeInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedEmployeeInput: components.UnifiedEmployeeInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedEmployeeInput: components.UnifiedEmployeeInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedEmployeeInput: "UnifiedEmployeeInput", + }); + }); +} + +/** @internal */ +export namespace AddEmployeeResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeeOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeeOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeeOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEmployeeResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEmployeeResponseBody$.inboundSchema).optional(), + UnifiedEmployeeOutput: components.UnifiedEmployeeOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEmployeeOutput: "unifiedEmployeeOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEmployeeResponseBody$.Outbound | undefined; + UnifiedEmployeeOutput?: components.UnifiedEmployeeOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEmployeeResponseBody$.outboundSchema).optional(), + unifiedEmployeeOutput: components.UnifiedEmployeeOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEmployeeOutput: "UnifiedEmployeeOutput", + }); + }); +} diff --git a/src/models/operations/addemployeepayrollrun.ts b/src/models/operations/addemployeepayrollrun.ts new file mode 100644 index 000000000..bebf244f6 --- /dev/null +++ b/src/models/operations/addemployeepayrollrun.ts @@ -0,0 +1,143 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEmployeePayrollRunRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedEmployeePayrollRunInput: components.UnifiedEmployeePayrollRunInput; +}; + +export type AddEmployeePayrollRunResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeePayrollRunOutput | undefined; +}; + +export type AddEmployeePayrollRunResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEmployeePayrollRunResponseBody | undefined; + unifiedEmployeePayrollRunOutput?: components.UnifiedEmployeePayrollRunOutput | undefined; +}; + +/** @internal */ +export namespace AddEmployeePayrollRunRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedEmployeePayrollRunInput: + components.UnifiedEmployeePayrollRunInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedEmployeePayrollRunInput: "unifiedEmployeePayrollRunInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedEmployeePayrollRunInput: components.UnifiedEmployeePayrollRunInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedEmployeePayrollRunInput: + components.UnifiedEmployeePayrollRunInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedEmployeePayrollRunInput: "UnifiedEmployeePayrollRunInput", + }); + }); +} + +/** @internal */ +export namespace AddEmployeePayrollRunResponseBody$ { + export const inboundSchema: z.ZodType< + AddEmployeePayrollRunResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeePayrollRunOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeePayrollRunOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddEmployeePayrollRunResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeePayrollRunOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEmployeePayrollRunResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEmployeePayrollRunResponseBody$.inboundSchema).optional(), + UnifiedEmployeePayrollRunOutput: + components.UnifiedEmployeePayrollRunOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEmployeePayrollRunOutput: "unifiedEmployeePayrollRunOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEmployeePayrollRunResponseBody$.Outbound | undefined; + UnifiedEmployeePayrollRunOutput?: + | components.UnifiedEmployeePayrollRunOutput$.Outbound + | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEmployeePayrollRunResponseBody$.outboundSchema).optional(), + unifiedEmployeePayrollRunOutput: + components.UnifiedEmployeePayrollRunOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEmployeePayrollRunOutput: "UnifiedEmployeePayrollRunOutput", + }); + }); +} diff --git a/src/models/operations/addemployeepayrollruns.ts b/src/models/operations/addemployeepayrollruns.ts new file mode 100644 index 000000000..cbe9e3833 --- /dev/null +++ b/src/models/operations/addemployeepayrollruns.ts @@ -0,0 +1,152 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEmployeePayrollRunsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddEmployeePayrollRunsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeePayrollRunOutput | undefined; +}; + +export type AddEmployeePayrollRunsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEmployeePayrollRunsResponseBody | undefined; + unifiedEmployeePayrollRunOutputs?: + | Array + | undefined; +}; + +/** @internal */ +export namespace AddEmployeePayrollRunsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedEmployeePayrollRunInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedEmployeePayrollRunInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddEmployeePayrollRunsResponseBody$ { + export const inboundSchema: z.ZodType< + AddEmployeePayrollRunsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeePayrollRunOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeePayrollRunOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddEmployeePayrollRunsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeePayrollRunOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEmployeePayrollRunsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEmployeePayrollRunsResponseBody$.inboundSchema).optional(), + UnifiedEmployeePayrollRunOutputs: z + .array(components.UnifiedEmployeePayrollRunOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEmployeePayrollRunOutputs: "unifiedEmployeePayrollRunOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEmployeePayrollRunsResponseBody$.Outbound | undefined; + UnifiedEmployeePayrollRunOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEmployeePayrollRunsResponseBody$.outboundSchema).optional(), + unifiedEmployeePayrollRunOutputs: z + .array(components.UnifiedEmployeePayrollRunOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEmployeePayrollRunOutputs: "UnifiedEmployeePayrollRunOutputs", + }); + }); +} diff --git a/src/models/operations/addemployees.ts b/src/models/operations/addemployees.ts new file mode 100644 index 000000000..72d6899b1 --- /dev/null +++ b/src/models/operations/addemployees.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEmployeesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddEmployeesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeeOutput | undefined; +}; + +export type AddEmployeesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEmployeesResponseBody | undefined; + unifiedEmployeeOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddEmployeesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedEmployeeInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedEmployeeInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddEmployeesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeeOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeeOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeeOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEmployeesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEmployeesResponseBody$.inboundSchema).optional(), + UnifiedEmployeeOutputs: z + .array(components.UnifiedEmployeeOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEmployeeOutputs: "unifiedEmployeeOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEmployeesResponseBody$.Outbound | undefined; + UnifiedEmployeeOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEmployeesResponseBody$.outboundSchema).optional(), + unifiedEmployeeOutputs: z + .array(components.UnifiedEmployeeOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEmployeeOutputs: "UnifiedEmployeeOutputs", + }); + }); +} diff --git a/src/models/operations/addemployerbenefit.ts b/src/models/operations/addemployerbenefit.ts new file mode 100644 index 000000000..f4daa0bd5 --- /dev/null +++ b/src/models/operations/addemployerbenefit.ts @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEmployerBenefitRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedEmployerBenefitInput: components.UnifiedEmployerBenefitInput; +}; + +export type AddEmployerBenefitResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployerBenefitOutput | undefined; +}; + +export type AddEmployerBenefitResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEmployerBenefitResponseBody | undefined; + unifiedEmployerBenefitOutput?: components.UnifiedEmployerBenefitOutput | undefined; +}; + +/** @internal */ +export namespace AddEmployerBenefitRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedEmployerBenefitInput: components.UnifiedEmployerBenefitInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedEmployerBenefitInput: "unifiedEmployerBenefitInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedEmployerBenefitInput: components.UnifiedEmployerBenefitInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedEmployerBenefitInput: components.UnifiedEmployerBenefitInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedEmployerBenefitInput: "UnifiedEmployerBenefitInput", + }); + }); +} + +/** @internal */ +export namespace AddEmployerBenefitResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployerBenefitOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployerBenefitOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployerBenefitOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEmployerBenefitResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEmployerBenefitResponseBody$.inboundSchema).optional(), + UnifiedEmployerBenefitOutput: + components.UnifiedEmployerBenefitOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEmployerBenefitOutput: "unifiedEmployerBenefitOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEmployerBenefitResponseBody$.Outbound | undefined; + UnifiedEmployerBenefitOutput?: + | components.UnifiedEmployerBenefitOutput$.Outbound + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEmployerBenefitResponseBody$.outboundSchema).optional(), + unifiedEmployerBenefitOutput: + components.UnifiedEmployerBenefitOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEmployerBenefitOutput: "UnifiedEmployerBenefitOutput", + }); + }); +} diff --git a/src/models/operations/addemployerbenefits.ts b/src/models/operations/addemployerbenefits.ts new file mode 100644 index 000000000..e6690ae65 --- /dev/null +++ b/src/models/operations/addemployerbenefits.ts @@ -0,0 +1,145 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEmployerBenefitsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddEmployerBenefitsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployerBenefitOutput | undefined; +}; + +export type AddEmployerBenefitsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEmployerBenefitsResponseBody | undefined; + unifiedEmployerBenefitOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddEmployerBenefitsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedEmployerBenefitInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedEmployerBenefitInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddEmployerBenefitsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployerBenefitOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployerBenefitOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddEmployerBenefitsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployerBenefitOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEmployerBenefitsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEmployerBenefitsResponseBody$.inboundSchema).optional(), + UnifiedEmployerBenefitOutputs: z + .array(components.UnifiedEmployerBenefitOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEmployerBenefitOutputs: "unifiedEmployerBenefitOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEmployerBenefitsResponseBody$.Outbound | undefined; + UnifiedEmployerBenefitOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEmployerBenefitsResponseBody$.outboundSchema).optional(), + unifiedEmployerBenefitOutputs: z + .array(components.UnifiedEmployerBenefitOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEmployerBenefitOutputs: "UnifiedEmployerBenefitOutputs", + }); + }); +} diff --git a/src/models/operations/addemployment.ts b/src/models/operations/addemployment.ts new file mode 100644 index 000000000..91b6be68a --- /dev/null +++ b/src/models/operations/addemployment.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEmploymentRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedEmploymentInput: components.UnifiedEmploymentInput; +}; + +export type AddEmploymentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmploymentOutput | undefined; +}; + +export type AddEmploymentResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEmploymentResponseBody | undefined; + unifiedEmploymentOutput?: components.UnifiedEmploymentOutput | undefined; +}; + +/** @internal */ +export namespace AddEmploymentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedEmploymentInput: components.UnifiedEmploymentInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedEmploymentInput: "unifiedEmploymentInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedEmploymentInput: components.UnifiedEmploymentInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedEmploymentInput: components.UnifiedEmploymentInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedEmploymentInput: "UnifiedEmploymentInput", + }); + }); +} + +/** @internal */ +export namespace AddEmploymentResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmploymentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmploymentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmploymentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEmploymentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEmploymentResponseBody$.inboundSchema).optional(), + UnifiedEmploymentOutput: components.UnifiedEmploymentOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEmploymentOutput: "unifiedEmploymentOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEmploymentResponseBody$.Outbound | undefined; + UnifiedEmploymentOutput?: components.UnifiedEmploymentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEmploymentResponseBody$.outboundSchema).optional(), + unifiedEmploymentOutput: components.UnifiedEmploymentOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEmploymentOutput: "UnifiedEmploymentOutput", + }); + }); +} diff --git a/src/models/operations/addemployments.ts b/src/models/operations/addemployments.ts new file mode 100644 index 000000000..c5357bf3d --- /dev/null +++ b/src/models/operations/addemployments.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEmploymentsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddEmploymentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmploymentOutput | undefined; +}; + +export type AddEmploymentsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEmploymentsResponseBody | undefined; + unifiedEmploymentOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddEmploymentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedEmploymentInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedEmploymentInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddEmploymentsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmploymentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmploymentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmploymentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEmploymentsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEmploymentsResponseBody$.inboundSchema).optional(), + UnifiedEmploymentOutputs: z + .array(components.UnifiedEmploymentOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEmploymentOutputs: "unifiedEmploymentOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEmploymentsResponseBody$.Outbound | undefined; + UnifiedEmploymentOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEmploymentsResponseBody$.outboundSchema).optional(), + unifiedEmploymentOutputs: z + .array(components.UnifiedEmploymentOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEmploymentOutputs: "UnifiedEmploymentOutputs", + }); + }); +} diff --git a/src/models/operations/addengagement.ts b/src/models/operations/addengagement.ts new file mode 100644 index 000000000..a7fce9092 --- /dev/null +++ b/src/models/operations/addengagement.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEngagementRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; + unifiedEngagementInput: components.UnifiedEngagementInput; +}; + +export type AddEngagementResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEngagementOutput | undefined; +}; + +export type AddEngagementResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEngagementResponseBody | undefined; + unifiedEngagementOutput?: components.UnifiedEngagementOutput | undefined; +}; + +/** @internal */ +export namespace AddEngagementRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedEngagementInput: components.UnifiedEngagementInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedEngagementInput: "unifiedEngagementInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedEngagementInput: components.UnifiedEngagementInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedEngagementInput: components.UnifiedEngagementInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedEngagementInput: "UnifiedEngagementInput", + }); + }); +} + +/** @internal */ +export namespace AddEngagementResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEngagementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEngagementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEngagementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEngagementResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEngagementResponseBody$.inboundSchema).optional(), + UnifiedEngagementOutput: components.UnifiedEngagementOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEngagementOutput: "unifiedEngagementOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEngagementResponseBody$.Outbound | undefined; + UnifiedEngagementOutput?: components.UnifiedEngagementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEngagementResponseBody$.outboundSchema).optional(), + unifiedEngagementOutput: components.UnifiedEngagementOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEngagementOutput: "UnifiedEngagementOutput", + }); + }); +} diff --git a/src/models/operations/addengagements.ts b/src/models/operations/addengagements.ts new file mode 100644 index 000000000..61b0079d5 --- /dev/null +++ b/src/models/operations/addengagements.ts @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEngagementsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; + requestBody: Array; +}; + +export type AddEngagementsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEngagementOutput | undefined; +}; + +export type AddEngagementsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEngagementsResponseBody | undefined; + unifiedEngagementOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddEngagementsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + RequestBody: z.array(components.UnifiedEngagementInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + requestBody: z.array(components.UnifiedEngagementInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddEngagementsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEngagementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEngagementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEngagementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEngagementsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEngagementsResponseBody$.inboundSchema).optional(), + UnifiedEngagementOutputs: z + .array(components.UnifiedEngagementOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEngagementOutputs: "unifiedEngagementOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEngagementsResponseBody$.Outbound | undefined; + UnifiedEngagementOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEngagementsResponseBody$.outboundSchema).optional(), + unifiedEngagementOutputs: z + .array(components.UnifiedEngagementOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEngagementOutputs: "UnifiedEngagementOutputs", + }); + }); +} diff --git a/src/models/operations/addevent.ts b/src/models/operations/addevent.ts new file mode 100644 index 000000000..97b0fbd4c --- /dev/null +++ b/src/models/operations/addevent.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEventRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + unifiedEventInput: components.UnifiedEventInput; +}; + +export type AddEventResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEventOutput | undefined; +}; + +export type AddEventResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEventResponseBody | undefined; + unifiedEventOutput?: components.UnifiedEventOutput | undefined; +}; + +/** @internal */ +export namespace AddEventRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedEventInput: components.UnifiedEventInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedEventInput: "unifiedEventInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedEventInput: components.UnifiedEventInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedEventInput: components.UnifiedEventInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedEventInput: "UnifiedEventInput", + }); + }); +} + +/** @internal */ +export namespace AddEventResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEventOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEventOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEventOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace AddEventResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEventResponseBody$.inboundSchema).optional(), + UnifiedEventOutput: components.UnifiedEventOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEventOutput: "unifiedEventOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEventResponseBody$.Outbound | undefined; + UnifiedEventOutput?: components.UnifiedEventOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEventResponseBody$.outboundSchema).optional(), + unifiedEventOutput: components.UnifiedEventOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEventOutput: "UnifiedEventOutput", + }); + }); +} diff --git a/src/models/operations/addevents.ts b/src/models/operations/addevents.ts new file mode 100644 index 000000000..4e539f793 --- /dev/null +++ b/src/models/operations/addevents.ts @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddEventsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddEventsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEventOutput | undefined; +}; + +export type AddEventsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddEventsResponseBody | undefined; + unifiedEventOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddEventsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedEventInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedEventInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddEventsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEventOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEventOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEventOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddEventsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddEventsResponseBody$.inboundSchema).optional(), + UnifiedEventOutputs: z.array(components.UnifiedEventOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedEventOutputs: "unifiedEventOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddEventsResponseBody$.Outbound | undefined; + UnifiedEventOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddEventsResponseBody$.outboundSchema).optional(), + unifiedEventOutputs: z.array(components.UnifiedEventOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedEventOutputs: "UnifiedEventOutputs", + }); + }); +} diff --git a/src/models/operations/addexpense.ts b/src/models/operations/addexpense.ts new file mode 100644 index 000000000..76eb887e9 --- /dev/null +++ b/src/models/operations/addexpense.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddExpenseRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedExpenseInput: components.UnifiedExpenseInput; +}; + +export type AddExpenseResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedExpenseOutput | undefined; +}; + +export type AddExpenseResponse = { + httpMeta: components.HTTPMetadata; + object?: AddExpenseResponseBody | undefined; + unifiedExpenseOutput?: components.UnifiedExpenseOutput | undefined; +}; + +/** @internal */ +export namespace AddExpenseRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedExpenseInput: components.UnifiedExpenseInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedExpenseInput: "unifiedExpenseInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedExpenseInput: components.UnifiedExpenseInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedExpenseInput: components.UnifiedExpenseInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedExpenseInput: "UnifiedExpenseInput", + }); + }); +} + +/** @internal */ +export namespace AddExpenseResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedExpenseOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedExpenseOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedExpenseOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddExpenseResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddExpenseResponseBody$.inboundSchema).optional(), + UnifiedExpenseOutput: components.UnifiedExpenseOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedExpenseOutput: "unifiedExpenseOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddExpenseResponseBody$.Outbound | undefined; + UnifiedExpenseOutput?: components.UnifiedExpenseOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddExpenseResponseBody$.outboundSchema).optional(), + unifiedExpenseOutput: components.UnifiedExpenseOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedExpenseOutput: "UnifiedExpenseOutput", + }); + }); +} diff --git a/src/models/operations/addexpenses.ts b/src/models/operations/addexpenses.ts new file mode 100644 index 000000000..4fd195050 --- /dev/null +++ b/src/models/operations/addexpenses.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddExpensesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddExpensesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedExpenseOutput | undefined; +}; + +export type AddExpensesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddExpensesResponseBody | undefined; + unifiedExpenseOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddExpensesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedExpenseInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedExpenseInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddExpensesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedExpenseOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedExpenseOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedExpenseOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddExpensesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddExpensesResponseBody$.inboundSchema).optional(), + UnifiedExpenseOutputs: z + .array(components.UnifiedExpenseOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedExpenseOutputs: "unifiedExpenseOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddExpensesResponseBody$.Outbound | undefined; + UnifiedExpenseOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddExpensesResponseBody$.outboundSchema).optional(), + unifiedExpenseOutputs: z + .array(components.UnifiedExpenseOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedExpenseOutputs: "UnifiedExpenseOutputs", + }); + }); +} diff --git a/src/models/operations/addfile.ts b/src/models/operations/addfile.ts new file mode 100644 index 000000000..f48fb5dbb --- /dev/null +++ b/src/models/operations/addfile.ts @@ -0,0 +1,128 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddFileRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; + unifiedFileInput: components.UnifiedFileInput; +}; + +export type AddFileResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFileOutput | undefined; +}; + +export type AddFileResponse = { + httpMeta: components.HTTPMetadata; + object?: AddFileResponseBody | undefined; + unifiedFileOutput?: components.UnifiedFileOutput | undefined; +}; + +/** @internal */ +export namespace AddFileRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedFileInput: components.UnifiedFileInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedFileInput: "unifiedFileInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedFileInput: components.UnifiedFileInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedFileInput: components.UnifiedFileInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedFileInput: "UnifiedFileInput", + }); + }); +} + +/** @internal */ +export namespace AddFileResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFileOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFileOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFileOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddFileResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddFileResponseBody$.inboundSchema).optional(), + UnifiedFileOutput: components.UnifiedFileOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedFileOutput: "unifiedFileOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddFileResponseBody$.Outbound | undefined; + UnifiedFileOutput?: components.UnifiedFileOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddFileResponseBody$.outboundSchema).optional(), + unifiedFileOutput: components.UnifiedFileOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedFileOutput: "UnifiedFileOutput", + }); + }); +} diff --git a/src/models/operations/addfiles.ts b/src/models/operations/addfiles.ts new file mode 100644 index 000000000..131044be1 --- /dev/null +++ b/src/models/operations/addfiles.ts @@ -0,0 +1,136 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddFilesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddFilesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFileOutput | undefined; +}; + +export type AddFilesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddFilesResponseBody | undefined; + unifiedFileOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddFilesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedFileInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedFileInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddFilesResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFileOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFileOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFileOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace AddFilesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddFilesResponseBody$.inboundSchema).optional(), + UnifiedFileOutputs: z.array(components.UnifiedFileOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedFileOutputs: "unifiedFileOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddFilesResponseBody$.Outbound | undefined; + UnifiedFileOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddFilesResponseBody$.outboundSchema).optional(), + unifiedFileOutputs: z.array(components.UnifiedFileOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedFileOutputs: "UnifiedFileOutputs", + }); + }); +} diff --git a/src/models/operations/addfolder.ts b/src/models/operations/addfolder.ts new file mode 100644 index 000000000..58837f135 --- /dev/null +++ b/src/models/operations/addfolder.ts @@ -0,0 +1,129 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddFolderRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; + unifiedFolderInput: components.UnifiedFolderInput; +}; + +export type AddFolderResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFolderOutput | undefined; +}; + +export type AddFolderResponse = { + httpMeta: components.HTTPMetadata; + object?: AddFolderResponseBody | undefined; + unifiedFolderOutput?: components.UnifiedFolderOutput | undefined; +}; + +/** @internal */ +export namespace AddFolderRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedFolderInput: components.UnifiedFolderInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedFolderInput: "unifiedFolderInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedFolderInput: components.UnifiedFolderInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedFolderInput: components.UnifiedFolderInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedFolderInput: "UnifiedFolderInput", + }); + }); +} + +/** @internal */ +export namespace AddFolderResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFolderOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFolderOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFolderOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddFolderResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddFolderResponseBody$.inboundSchema).optional(), + UnifiedFolderOutput: components.UnifiedFolderOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedFolderOutput: "unifiedFolderOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddFolderResponseBody$.Outbound | undefined; + UnifiedFolderOutput?: components.UnifiedFolderOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddFolderResponseBody$.outboundSchema).optional(), + unifiedFolderOutput: components.UnifiedFolderOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedFolderOutput: "UnifiedFolderOutput", + }); + }); +} diff --git a/src/models/operations/addfolders.ts b/src/models/operations/addfolders.ts new file mode 100644 index 000000000..386c5ea8c --- /dev/null +++ b/src/models/operations/addfolders.ts @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddFoldersRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddFoldersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFolderOutput | undefined; +}; + +export type AddFoldersResponse = { + httpMeta: components.HTTPMetadata; + object?: AddFoldersResponseBody | undefined; + unifiedFolderOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddFoldersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedFolderInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedFolderInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddFoldersResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFolderOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFolderOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFolderOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddFoldersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddFoldersResponseBody$.inboundSchema).optional(), + UnifiedFolderOutputs: z.array(components.UnifiedFolderOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedFolderOutputs: "unifiedFolderOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddFoldersResponseBody$.Outbound | undefined; + UnifiedFolderOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddFoldersResponseBody$.outboundSchema).optional(), + unifiedFolderOutputs: z + .array(components.UnifiedFolderOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedFolderOutputs: "UnifiedFolderOutputs", + }); + }); +} diff --git a/src/models/operations/addgroup.ts b/src/models/operations/addgroup.ts new file mode 100644 index 000000000..8f0d7d1c3 --- /dev/null +++ b/src/models/operations/addgroup.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddGroupRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedGroupInput: components.UnifiedGroupInput; +}; + +export type AddGroupResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedGroupOutput | undefined; +}; + +export type AddGroupResponse = { + httpMeta: components.HTTPMetadata; + object?: AddGroupResponseBody | undefined; + unifiedGroupOutput?: components.UnifiedGroupOutput | undefined; +}; + +/** @internal */ +export namespace AddGroupRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedGroupInput: components.UnifiedGroupInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedGroupInput: "unifiedGroupInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedGroupInput: components.UnifiedGroupInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedGroupInput: components.UnifiedGroupInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedGroupInput: "UnifiedGroupInput", + }); + }); +} + +/** @internal */ +export namespace AddGroupResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedGroupOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedGroupOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedGroupOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace AddGroupResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddGroupResponseBody$.inboundSchema).optional(), + UnifiedGroupOutput: components.UnifiedGroupOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedGroupOutput: "unifiedGroupOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddGroupResponseBody$.Outbound | undefined; + UnifiedGroupOutput?: components.UnifiedGroupOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddGroupResponseBody$.outboundSchema).optional(), + unifiedGroupOutput: components.UnifiedGroupOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedGroupOutput: "UnifiedGroupOutput", + }); + }); +} diff --git a/src/models/operations/addgroups.ts b/src/models/operations/addgroups.ts new file mode 100644 index 000000000..3b288c83d --- /dev/null +++ b/src/models/operations/addgroups.ts @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddGroupsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddGroupsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedGroupOutput | undefined; +}; + +export type AddGroupsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddGroupsResponseBody | undefined; + unifiedGroupOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddGroupsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedGroupInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedGroupInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddGroupsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedGroupOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedGroupOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedGroupOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddGroupsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddGroupsResponseBody$.inboundSchema).optional(), + UnifiedGroupOutputs: z.array(components.UnifiedGroupOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedGroupOutputs: "unifiedGroupOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddGroupsResponseBody$.Outbound | undefined; + UnifiedGroupOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddGroupsResponseBody$.outboundSchema).optional(), + unifiedGroupOutputs: z.array(components.UnifiedGroupOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedGroupOutputs: "UnifiedGroupOutputs", + }); + }); +} diff --git a/src/models/operations/addhriscompany.ts b/src/models/operations/addhriscompany.ts new file mode 100644 index 000000000..460487dbb --- /dev/null +++ b/src/models/operations/addhriscompany.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddHrisCompanyRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedCompanyInput: components.UnifiedCompanyInput; +}; + +export type AddHrisCompanyResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput | undefined; +}; + +export type AddHrisCompanyResponse = { + httpMeta: components.HTTPMetadata; + object?: AddHrisCompanyResponseBody | undefined; + unifiedCompanyOutput?: components.UnifiedCompanyOutput | undefined; +}; + +/** @internal */ +export namespace AddHrisCompanyRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedCompanyInput: components.UnifiedCompanyInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedCompanyInput: "unifiedCompanyInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedCompanyInput: components.UnifiedCompanyInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedCompanyInput: components.UnifiedCompanyInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedCompanyInput: "UnifiedCompanyInput", + }); + }); +} + +/** @internal */ +export namespace AddHrisCompanyResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddHrisCompanyResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddHrisCompanyResponseBody$.inboundSchema).optional(), + UnifiedCompanyOutput: components.UnifiedCompanyOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedCompanyOutput: "unifiedCompanyOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddHrisCompanyResponseBody$.Outbound | undefined; + UnifiedCompanyOutput?: components.UnifiedCompanyOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddHrisCompanyResponseBody$.outboundSchema).optional(), + unifiedCompanyOutput: components.UnifiedCompanyOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedCompanyOutput: "UnifiedCompanyOutput", + }); + }); +} diff --git a/src/models/operations/addincomestatement.ts b/src/models/operations/addincomestatement.ts new file mode 100644 index 000000000..968f8db71 --- /dev/null +++ b/src/models/operations/addincomestatement.ts @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddIncomeStatementRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedIncomeStatementInput: components.UnifiedIncomeStatementInput; +}; + +export type AddIncomeStatementResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedIncomeStatementOutput | undefined; +}; + +export type AddIncomeStatementResponse = { + httpMeta: components.HTTPMetadata; + object?: AddIncomeStatementResponseBody | undefined; + unifiedIncomeStatementOutput?: components.UnifiedIncomeStatementOutput | undefined; +}; + +/** @internal */ +export namespace AddIncomeStatementRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedIncomeStatementInput: components.UnifiedIncomeStatementInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedIncomeStatementInput: "unifiedIncomeStatementInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedIncomeStatementInput: components.UnifiedIncomeStatementInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedIncomeStatementInput: components.UnifiedIncomeStatementInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedIncomeStatementInput: "UnifiedIncomeStatementInput", + }); + }); +} + +/** @internal */ +export namespace AddIncomeStatementResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedIncomeStatementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedIncomeStatementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedIncomeStatementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddIncomeStatementResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddIncomeStatementResponseBody$.inboundSchema).optional(), + UnifiedIncomeStatementOutput: + components.UnifiedIncomeStatementOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedIncomeStatementOutput: "unifiedIncomeStatementOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddIncomeStatementResponseBody$.Outbound | undefined; + UnifiedIncomeStatementOutput?: + | components.UnifiedIncomeStatementOutput$.Outbound + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddIncomeStatementResponseBody$.outboundSchema).optional(), + unifiedIncomeStatementOutput: + components.UnifiedIncomeStatementOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedIncomeStatementOutput: "UnifiedIncomeStatementOutput", + }); + }); +} diff --git a/src/models/operations/addincomestatements.ts b/src/models/operations/addincomestatements.ts new file mode 100644 index 000000000..7d33a1914 --- /dev/null +++ b/src/models/operations/addincomestatements.ts @@ -0,0 +1,145 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddIncomeStatementsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddIncomeStatementsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedIncomeStatementOutput | undefined; +}; + +export type AddIncomeStatementsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddIncomeStatementsResponseBody | undefined; + unifiedIncomeStatementOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddIncomeStatementsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedIncomeStatementInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedIncomeStatementInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddIncomeStatementsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedIncomeStatementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedIncomeStatementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddIncomeStatementsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedIncomeStatementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddIncomeStatementsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddIncomeStatementsResponseBody$.inboundSchema).optional(), + UnifiedIncomeStatementOutputs: z + .array(components.UnifiedIncomeStatementOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedIncomeStatementOutputs: "unifiedIncomeStatementOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddIncomeStatementsResponseBody$.Outbound | undefined; + UnifiedIncomeStatementOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddIncomeStatementsResponseBody$.outboundSchema).optional(), + unifiedIncomeStatementOutputs: z + .array(components.UnifiedIncomeStatementOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedIncomeStatementOutputs: "UnifiedIncomeStatementOutputs", + }); + }); +} diff --git a/src/models/operations/addinterview.ts b/src/models/operations/addinterview.ts new file mode 100644 index 000000000..19e269e34 --- /dev/null +++ b/src/models/operations/addinterview.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddInterviewRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedInterviewInput: components.UnifiedInterviewInput; +}; + +export type AddInterviewResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInterviewOutput | undefined; +}; + +export type AddInterviewResponse = { + httpMeta: components.HTTPMetadata; + object?: AddInterviewResponseBody | undefined; + unifiedInterviewOutput?: components.UnifiedInterviewOutput | undefined; +}; + +/** @internal */ +export namespace AddInterviewRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedInterviewInput: components.UnifiedInterviewInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedInterviewInput: "unifiedInterviewInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedInterviewInput: components.UnifiedInterviewInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedInterviewInput: components.UnifiedInterviewInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedInterviewInput: "UnifiedInterviewInput", + }); + }); +} + +/** @internal */ +export namespace AddInterviewResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInterviewOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInterviewOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInterviewOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddInterviewResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddInterviewResponseBody$.inboundSchema).optional(), + UnifiedInterviewOutput: components.UnifiedInterviewOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedInterviewOutput: "unifiedInterviewOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddInterviewResponseBody$.Outbound | undefined; + UnifiedInterviewOutput?: components.UnifiedInterviewOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddInterviewResponseBody$.outboundSchema).optional(), + unifiedInterviewOutput: components.UnifiedInterviewOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedInterviewOutput: "UnifiedInterviewOutput", + }); + }); +} diff --git a/src/models/operations/addinterviews.ts b/src/models/operations/addinterviews.ts new file mode 100644 index 000000000..85bec6076 --- /dev/null +++ b/src/models/operations/addinterviews.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddInterviewsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddInterviewsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInterviewOutput | undefined; +}; + +export type AddInterviewsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddInterviewsResponseBody | undefined; + unifiedInterviewOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddInterviewsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedInterviewInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedInterviewInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddInterviewsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInterviewOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInterviewOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInterviewOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddInterviewsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddInterviewsResponseBody$.inboundSchema).optional(), + UnifiedInterviewOutputs: z + .array(components.UnifiedInterviewOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedInterviewOutputs: "unifiedInterviewOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddInterviewsResponseBody$.Outbound | undefined; + UnifiedInterviewOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddInterviewsResponseBody$.outboundSchema).optional(), + unifiedInterviewOutputs: z + .array(components.UnifiedInterviewOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedInterviewOutputs: "UnifiedInterviewOutputs", + }); + }); +} diff --git a/src/models/operations/addinvoice.ts b/src/models/operations/addinvoice.ts new file mode 100644 index 000000000..201659397 --- /dev/null +++ b/src/models/operations/addinvoice.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddInvoiceRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedInvoiceInput: components.UnifiedInvoiceInput; +}; + +export type AddInvoiceResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInvoiceOutput | undefined; +}; + +export type AddInvoiceResponse = { + httpMeta: components.HTTPMetadata; + object?: AddInvoiceResponseBody | undefined; + unifiedInvoiceOutput?: components.UnifiedInvoiceOutput | undefined; +}; + +/** @internal */ +export namespace AddInvoiceRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedInvoiceInput: components.UnifiedInvoiceInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedInvoiceInput: "unifiedInvoiceInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedInvoiceInput: components.UnifiedInvoiceInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedInvoiceInput: components.UnifiedInvoiceInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedInvoiceInput: "UnifiedInvoiceInput", + }); + }); +} + +/** @internal */ +export namespace AddInvoiceResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInvoiceOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInvoiceOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInvoiceOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddInvoiceResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddInvoiceResponseBody$.inboundSchema).optional(), + UnifiedInvoiceOutput: components.UnifiedInvoiceOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedInvoiceOutput: "unifiedInvoiceOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddInvoiceResponseBody$.Outbound | undefined; + UnifiedInvoiceOutput?: components.UnifiedInvoiceOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddInvoiceResponseBody$.outboundSchema).optional(), + unifiedInvoiceOutput: components.UnifiedInvoiceOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedInvoiceOutput: "UnifiedInvoiceOutput", + }); + }); +} diff --git a/src/models/operations/addinvoices.ts b/src/models/operations/addinvoices.ts new file mode 100644 index 000000000..930e74736 --- /dev/null +++ b/src/models/operations/addinvoices.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddInvoicesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddInvoicesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInvoiceOutput | undefined; +}; + +export type AddInvoicesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddInvoicesResponseBody | undefined; + unifiedInvoiceOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddInvoicesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedInvoiceInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedInvoiceInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddInvoicesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInvoiceOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInvoiceOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInvoiceOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddInvoicesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddInvoicesResponseBody$.inboundSchema).optional(), + UnifiedInvoiceOutputs: z + .array(components.UnifiedInvoiceOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedInvoiceOutputs: "unifiedInvoiceOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddInvoicesResponseBody$.Outbound | undefined; + UnifiedInvoiceOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddInvoicesResponseBody$.outboundSchema).optional(), + unifiedInvoiceOutputs: z + .array(components.UnifiedInvoiceOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedInvoiceOutputs: "UnifiedInvoiceOutputs", + }); + }); +} diff --git a/src/models/operations/additem.ts b/src/models/operations/additem.ts new file mode 100644 index 000000000..6cd876805 --- /dev/null +++ b/src/models/operations/additem.ts @@ -0,0 +1,128 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddItemRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedItemInput: components.UnifiedItemInput; +}; + +export type AddItemResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedItemOutput | undefined; +}; + +export type AddItemResponse = { + httpMeta: components.HTTPMetadata; + object?: AddItemResponseBody | undefined; + unifiedItemOutput?: components.UnifiedItemOutput | undefined; +}; + +/** @internal */ +export namespace AddItemRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedItemInput: components.UnifiedItemInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedItemInput: "unifiedItemInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedItemInput: components.UnifiedItemInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedItemInput: components.UnifiedItemInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedItemInput: "UnifiedItemInput", + }); + }); +} + +/** @internal */ +export namespace AddItemResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedItemOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedItemOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedItemOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddItemResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddItemResponseBody$.inboundSchema).optional(), + UnifiedItemOutput: components.UnifiedItemOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedItemOutput: "unifiedItemOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddItemResponseBody$.Outbound | undefined; + UnifiedItemOutput?: components.UnifiedItemOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddItemResponseBody$.outboundSchema).optional(), + unifiedItemOutput: components.UnifiedItemOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedItemOutput: "UnifiedItemOutput", + }); + }); +} diff --git a/src/models/operations/additems.ts b/src/models/operations/additems.ts new file mode 100644 index 000000000..2a1aa89c9 --- /dev/null +++ b/src/models/operations/additems.ts @@ -0,0 +1,136 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddItemsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddItemsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedItemOutput | undefined; +}; + +export type AddItemsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddItemsResponseBody | undefined; + unifiedItemOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddItemsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedItemInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedItemInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddItemsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedItemOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedItemOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedItemOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace AddItemsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddItemsResponseBody$.inboundSchema).optional(), + UnifiedItemOutputs: z.array(components.UnifiedItemOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedItemOutputs: "unifiedItemOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddItemsResponseBody$.Outbound | undefined; + UnifiedItemOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddItemsResponseBody$.outboundSchema).optional(), + unifiedItemOutputs: z.array(components.UnifiedItemOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedItemOutputs: "UnifiedItemOutputs", + }); + }); +} diff --git a/src/models/operations/addjob.ts b/src/models/operations/addjob.ts new file mode 100644 index 000000000..40cd5cd00 --- /dev/null +++ b/src/models/operations/addjob.ts @@ -0,0 +1,128 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddJobRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedJobInput: components.UnifiedJobInput; +}; + +export type AddJobResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobOutput | undefined; +}; + +export type AddJobResponse = { + httpMeta: components.HTTPMetadata; + object?: AddJobResponseBody | undefined; + unifiedJobOutput?: components.UnifiedJobOutput | undefined; +}; + +/** @internal */ +export namespace AddJobRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedJobInput: components.UnifiedJobInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedJobInput: "unifiedJobInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedJobInput: components.UnifiedJobInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedJobInput: components.UnifiedJobInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedJobInput: "UnifiedJobInput", + }); + }); +} + +/** @internal */ +export namespace AddJobResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddJobResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddJobResponseBody$.inboundSchema).optional(), + UnifiedJobOutput: components.UnifiedJobOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedJobOutput: "unifiedJobOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddJobResponseBody$.Outbound | undefined; + UnifiedJobOutput?: components.UnifiedJobOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddJobResponseBody$.outboundSchema).optional(), + unifiedJobOutput: components.UnifiedJobOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedJobOutput: "UnifiedJobOutput", + }); + }); +} diff --git a/src/models/operations/addjobinterviewstage.ts b/src/models/operations/addjobinterviewstage.ts new file mode 100644 index 000000000..556517c11 --- /dev/null +++ b/src/models/operations/addjobinterviewstage.ts @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddJobInterviewStageRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedJobInterviewStageInput: components.UnifiedJobInterviewStageInput; +}; + +export type AddJobInterviewStageResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobInterviewStageOutput | undefined; +}; + +export type AddJobInterviewStageResponse = { + httpMeta: components.HTTPMetadata; + object?: AddJobInterviewStageResponseBody | undefined; + unifiedJobInterviewStageOutput?: components.UnifiedJobInterviewStageOutput | undefined; +}; + +/** @internal */ +export namespace AddJobInterviewStageRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedJobInterviewStageInput: components.UnifiedJobInterviewStageInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedJobInterviewStageInput: "unifiedJobInterviewStageInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedJobInterviewStageInput: components.UnifiedJobInterviewStageInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedJobInterviewStageInput: components.UnifiedJobInterviewStageInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedJobInterviewStageInput: "UnifiedJobInterviewStageInput", + }); + }); +} + +/** @internal */ +export namespace AddJobInterviewStageResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobInterviewStageOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobInterviewStageOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddJobInterviewStageResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobInterviewStageOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddJobInterviewStageResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddJobInterviewStageResponseBody$.inboundSchema).optional(), + UnifiedJobInterviewStageOutput: + components.UnifiedJobInterviewStageOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedJobInterviewStageOutput: "unifiedJobInterviewStageOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddJobInterviewStageResponseBody$.Outbound | undefined; + UnifiedJobInterviewStageOutput?: + | components.UnifiedJobInterviewStageOutput$.Outbound + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddJobInterviewStageResponseBody$.outboundSchema).optional(), + unifiedJobInterviewStageOutput: + components.UnifiedJobInterviewStageOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedJobInterviewStageOutput: "UnifiedJobInterviewStageOutput", + }); + }); +} diff --git a/src/models/operations/addjobinterviewstages.ts b/src/models/operations/addjobinterviewstages.ts new file mode 100644 index 000000000..59eaa4b90 --- /dev/null +++ b/src/models/operations/addjobinterviewstages.ts @@ -0,0 +1,149 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddJobInterviewStagesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddJobInterviewStagesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobInterviewStageOutput | undefined; +}; + +export type AddJobInterviewStagesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddJobInterviewStagesResponseBody | undefined; + unifiedJobInterviewStageOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddJobInterviewStagesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedJobInterviewStageInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedJobInterviewStageInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddJobInterviewStagesResponseBody$ { + export const inboundSchema: z.ZodType< + AddJobInterviewStagesResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobInterviewStageOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobInterviewStageOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddJobInterviewStagesResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobInterviewStageOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddJobInterviewStagesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddJobInterviewStagesResponseBody$.inboundSchema).optional(), + UnifiedJobInterviewStageOutputs: z + .array(components.UnifiedJobInterviewStageOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedJobInterviewStageOutputs: "unifiedJobInterviewStageOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddJobInterviewStagesResponseBody$.Outbound | undefined; + UnifiedJobInterviewStageOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddJobInterviewStagesResponseBody$.outboundSchema).optional(), + unifiedJobInterviewStageOutputs: z + .array(components.UnifiedJobInterviewStageOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedJobInterviewStageOutputs: "UnifiedJobInterviewStageOutputs", + }); + }); +} diff --git a/src/models/operations/addjobs.ts b/src/models/operations/addjobs.ts new file mode 100644 index 000000000..374ba1e18 --- /dev/null +++ b/src/models/operations/addjobs.ts @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddJobsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddJobsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobOutput | undefined; +}; + +export type AddJobsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddJobsResponseBody | undefined; + unifiedJobOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddJobsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedJobInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedJobInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddJobsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddJobsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddJobsResponseBody$.inboundSchema).optional(), + UnifiedJobOutputs: z.array(components.UnifiedJobOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedJobOutputs: "unifiedJobOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddJobsResponseBody$.Outbound | undefined; + UnifiedJobOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddJobsResponseBody$.outboundSchema).optional(), + unifiedJobOutputs: z.array(components.UnifiedJobOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedJobOutputs: "UnifiedJobOutputs", + }); + }); +} diff --git a/src/models/operations/addjournalentry.ts b/src/models/operations/addjournalentry.ts new file mode 100644 index 000000000..e930d9c20 --- /dev/null +++ b/src/models/operations/addjournalentry.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddJournalEntryRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedJournalEntryInput: components.UnifiedJournalEntryInput; +}; + +export type AddJournalEntryResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJournalEntryOutput | undefined; +}; + +export type AddJournalEntryResponse = { + httpMeta: components.HTTPMetadata; + object?: AddJournalEntryResponseBody | undefined; + unifiedJournalEntryOutput?: components.UnifiedJournalEntryOutput | undefined; +}; + +/** @internal */ +export namespace AddJournalEntryRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedJournalEntryInput: components.UnifiedJournalEntryInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedJournalEntryInput: "unifiedJournalEntryInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedJournalEntryInput: components.UnifiedJournalEntryInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedJournalEntryInput: components.UnifiedJournalEntryInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedJournalEntryInput: "UnifiedJournalEntryInput", + }); + }); +} + +/** @internal */ +export namespace AddJournalEntryResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJournalEntryOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJournalEntryOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJournalEntryOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddJournalEntryResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddJournalEntryResponseBody$.inboundSchema).optional(), + UnifiedJournalEntryOutput: + components.UnifiedJournalEntryOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedJournalEntryOutput: "unifiedJournalEntryOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddJournalEntryResponseBody$.Outbound | undefined; + UnifiedJournalEntryOutput?: components.UnifiedJournalEntryOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddJournalEntryResponseBody$.outboundSchema).optional(), + unifiedJournalEntryOutput: + components.UnifiedJournalEntryOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedJournalEntryOutput: "UnifiedJournalEntryOutput", + }); + }); +} diff --git a/src/models/operations/addjournalentrys.ts b/src/models/operations/addjournalentrys.ts new file mode 100644 index 000000000..a78bc5998 --- /dev/null +++ b/src/models/operations/addjournalentrys.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddJournalEntrysRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddJournalEntrysResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJournalEntryOutput | undefined; +}; + +export type AddJournalEntrysResponse = { + httpMeta: components.HTTPMetadata; + object?: AddJournalEntrysResponseBody | undefined; + unifiedJournalEntryOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddJournalEntrysRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedJournalEntryInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedJournalEntryInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddJournalEntrysResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJournalEntryOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJournalEntryOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJournalEntryOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddJournalEntrysResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddJournalEntrysResponseBody$.inboundSchema).optional(), + UnifiedJournalEntryOutputs: z + .array(components.UnifiedJournalEntryOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedJournalEntryOutputs: "unifiedJournalEntryOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddJournalEntrysResponseBody$.Outbound | undefined; + UnifiedJournalEntryOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddJournalEntrysResponseBody$.outboundSchema).optional(), + unifiedJournalEntryOutputs: z + .array(components.UnifiedJournalEntryOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedJournalEntryOutputs: "UnifiedJournalEntryOutputs", + }); + }); +} diff --git a/src/models/operations/addlinkeduser.ts b/src/models/operations/addlinkeduser.ts new file mode 100644 index 000000000..59ab8ed02 --- /dev/null +++ b/src/models/operations/addlinkeduser.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddLinkedUserResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace AddLinkedUserResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/addlist.ts b/src/models/operations/addlist.ts new file mode 100644 index 000000000..b34f7f62f --- /dev/null +++ b/src/models/operations/addlist.ts @@ -0,0 +1,128 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddListRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + unifiedListInput: components.UnifiedListInput; +}; + +export type AddListResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedListOutput | undefined; +}; + +export type AddListResponse = { + httpMeta: components.HTTPMetadata; + object?: AddListResponseBody | undefined; + unifiedListOutput?: components.UnifiedListOutput | undefined; +}; + +/** @internal */ +export namespace AddListRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedListInput: components.UnifiedListInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedListInput: "unifiedListInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedListInput: components.UnifiedListInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedListInput: components.UnifiedListInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedListInput: "UnifiedListInput", + }); + }); +} + +/** @internal */ +export namespace AddListResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedListOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedListOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedListOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddListResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddListResponseBody$.inboundSchema).optional(), + UnifiedListOutput: components.UnifiedListOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedListOutput: "unifiedListOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddListResponseBody$.Outbound | undefined; + UnifiedListOutput?: components.UnifiedListOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddListResponseBody$.outboundSchema).optional(), + unifiedListOutput: components.UnifiedListOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedListOutput: "UnifiedListOutput", + }); + }); +} diff --git a/src/models/operations/addlists.ts b/src/models/operations/addlists.ts new file mode 100644 index 000000000..924233417 --- /dev/null +++ b/src/models/operations/addlists.ts @@ -0,0 +1,136 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddListsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddListsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedListOutput | undefined; +}; + +export type AddListsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddListsResponseBody | undefined; + unifiedListOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddListsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedListInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedListInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddListsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedListOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedListOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedListOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace AddListsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddListsResponseBody$.inboundSchema).optional(), + UnifiedListOutputs: z.array(components.UnifiedListOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedListOutputs: "unifiedListOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddListsResponseBody$.Outbound | undefined; + UnifiedListOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddListsResponseBody$.outboundSchema).optional(), + unifiedListOutputs: z.array(components.UnifiedListOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedListOutputs: "UnifiedListOutputs", + }); + }); +} diff --git a/src/models/operations/addlocation.ts b/src/models/operations/addlocation.ts new file mode 100644 index 000000000..98ed2f5cd --- /dev/null +++ b/src/models/operations/addlocation.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddLocationRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedLocationInput: components.UnifiedLocationInput; +}; + +export type AddLocationResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedLocationOutput | undefined; +}; + +export type AddLocationResponse = { + httpMeta: components.HTTPMetadata; + object?: AddLocationResponseBody | undefined; + unifiedLocationOutput?: components.UnifiedLocationOutput | undefined; +}; + +/** @internal */ +export namespace AddLocationRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedLocationInput: components.UnifiedLocationInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedLocationInput: "unifiedLocationInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedLocationInput: components.UnifiedLocationInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedLocationInput: components.UnifiedLocationInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedLocationInput: "UnifiedLocationInput", + }); + }); +} + +/** @internal */ +export namespace AddLocationResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedLocationOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedLocationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedLocationOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddLocationResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddLocationResponseBody$.inboundSchema).optional(), + UnifiedLocationOutput: components.UnifiedLocationOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedLocationOutput: "unifiedLocationOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddLocationResponseBody$.Outbound | undefined; + UnifiedLocationOutput?: components.UnifiedLocationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddLocationResponseBody$.outboundSchema).optional(), + unifiedLocationOutput: components.UnifiedLocationOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedLocationOutput: "UnifiedLocationOutput", + }); + }); +} diff --git a/src/models/operations/addlocations.ts b/src/models/operations/addlocations.ts new file mode 100644 index 000000000..f3e54e4b5 --- /dev/null +++ b/src/models/operations/addlocations.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddLocationsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddLocationsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedLocationOutput | undefined; +}; + +export type AddLocationsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddLocationsResponseBody | undefined; + unifiedLocationOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddLocationsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedLocationInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedLocationInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddLocationsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedLocationOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedLocationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedLocationOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddLocationsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddLocationsResponseBody$.inboundSchema).optional(), + UnifiedLocationOutputs: z + .array(components.UnifiedLocationOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedLocationOutputs: "unifiedLocationOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddLocationsResponseBody$.Outbound | undefined; + UnifiedLocationOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddLocationsResponseBody$.outboundSchema).optional(), + unifiedLocationOutputs: z + .array(components.UnifiedLocationOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedLocationOutputs: "UnifiedLocationOutputs", + }); + }); +} diff --git a/src/models/operations/addmarketingautomationcontact.ts b/src/models/operations/addmarketingautomationcontact.ts new file mode 100644 index 000000000..62c088d35 --- /dev/null +++ b/src/models/operations/addmarketingautomationcontact.ts @@ -0,0 +1,156 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddMarketingAutomationContactRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + unifiedContactInput: components.UnifiedContactInput; +}; + +export type AddMarketingAutomationContactResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type AddMarketingAutomationContactResponse = { + httpMeta: components.HTTPMetadata; + object?: AddMarketingAutomationContactResponseBody | undefined; + unifiedContactOutput?: components.UnifiedContactOutput | undefined; +}; + +/** @internal */ +export namespace AddMarketingAutomationContactRequest$ { + export const inboundSchema: z.ZodType< + AddMarketingAutomationContactRequest, + z.ZodTypeDef, + unknown + > = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedContactInput: components.UnifiedContactInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedContactInput: "unifiedContactInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedContactInput: components.UnifiedContactInput$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationContactRequest + > = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedContactInput: components.UnifiedContactInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedContactInput: "UnifiedContactInput", + }); + }); +} + +/** @internal */ +export namespace AddMarketingAutomationContactResponseBody$ { + export const inboundSchema: z.ZodType< + AddMarketingAutomationContactResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationContactResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddMarketingAutomationContactResponse$ { + export const inboundSchema: z.ZodType< + AddMarketingAutomationContactResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z + .lazy(() => AddMarketingAutomationContactResponseBody$.inboundSchema) + .optional(), + UnifiedContactOutput: components.UnifiedContactOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedContactOutput: "unifiedContactOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddMarketingAutomationContactResponseBody$.Outbound | undefined; + UnifiedContactOutput?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationContactResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z + .lazy(() => AddMarketingAutomationContactResponseBody$.outboundSchema) + .optional(), + unifiedContactOutput: components.UnifiedContactOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedContactOutput: "UnifiedContactOutput", + }); + }); +} diff --git a/src/models/operations/addmarketingautomationcontacts.ts b/src/models/operations/addmarketingautomationcontacts.ts new file mode 100644 index 000000000..db2f00529 --- /dev/null +++ b/src/models/operations/addmarketingautomationcontacts.ts @@ -0,0 +1,166 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddMarketingAutomationContactsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddMarketingAutomationContactsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type AddMarketingAutomationContactsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddMarketingAutomationContactsResponseBody | undefined; + unifiedContactOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddMarketingAutomationContactsRequest$ { + export const inboundSchema: z.ZodType< + AddMarketingAutomationContactsRequest, + z.ZodTypeDef, + unknown + > = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedContactInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationContactsRequest + > = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedContactInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddMarketingAutomationContactsResponseBody$ { + export const inboundSchema: z.ZodType< + AddMarketingAutomationContactsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationContactsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddMarketingAutomationContactsResponse$ { + export const inboundSchema: z.ZodType< + AddMarketingAutomationContactsResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z + .lazy(() => AddMarketingAutomationContactsResponseBody$.inboundSchema) + .optional(), + UnifiedContactOutputs: z + .array(components.UnifiedContactOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedContactOutputs: "unifiedContactOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddMarketingAutomationContactsResponseBody$.Outbound | undefined; + UnifiedContactOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationContactsResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z + .lazy(() => AddMarketingAutomationContactsResponseBody$.outboundSchema) + .optional(), + unifiedContactOutputs: z + .array(components.UnifiedContactOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedContactOutputs: "UnifiedContactOutputs", + }); + }); +} diff --git a/src/models/operations/addmarketingautomationuser.ts b/src/models/operations/addmarketingautomationuser.ts new file mode 100644 index 000000000..43c23af82 --- /dev/null +++ b/src/models/operations/addmarketingautomationuser.ts @@ -0,0 +1,152 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddMarketingAutomationUserRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + unifiedUserInput: components.UnifiedUserInput; +}; + +export type AddMarketingAutomationUserResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput | undefined; +}; + +export type AddMarketingAutomationUserResponse = { + httpMeta: components.HTTPMetadata; + object?: AddMarketingAutomationUserResponseBody | undefined; + unifiedUserOutput?: components.UnifiedUserOutput | undefined; +}; + +/** @internal */ +export namespace AddMarketingAutomationUserRequest$ { + export const inboundSchema: z.ZodType< + AddMarketingAutomationUserRequest, + z.ZodTypeDef, + unknown + > = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedUserInput: components.UnifiedUserInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedUserInput: "unifiedUserInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedUserInput: components.UnifiedUserInput$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationUserRequest + > = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedUserInput: components.UnifiedUserInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedUserInput: "UnifiedUserInput", + }); + }); +} + +/** @internal */ +export namespace AddMarketingAutomationUserResponseBody$ { + export const inboundSchema: z.ZodType< + AddMarketingAutomationUserResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationUserResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddMarketingAutomationUserResponse$ { + export const inboundSchema: z.ZodType< + AddMarketingAutomationUserResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddMarketingAutomationUserResponseBody$.inboundSchema).optional(), + UnifiedUserOutput: components.UnifiedUserOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedUserOutput: "unifiedUserOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddMarketingAutomationUserResponseBody$.Outbound | undefined; + UnifiedUserOutput?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationUserResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddMarketingAutomationUserResponseBody$.outboundSchema).optional(), + unifiedUserOutput: components.UnifiedUserOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedUserOutput: "UnifiedUserOutput", + }); + }); +} diff --git a/src/models/operations/addmarketingautomationusers.ts b/src/models/operations/addmarketingautomationusers.ts new file mode 100644 index 000000000..4ad3af1ac --- /dev/null +++ b/src/models/operations/addmarketingautomationusers.ts @@ -0,0 +1,160 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddMarketingAutomationUsersRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddMarketingAutomationUsersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput | undefined; +}; + +export type AddMarketingAutomationUsersResponse = { + httpMeta: components.HTTPMetadata; + object?: AddMarketingAutomationUsersResponseBody | undefined; + unifiedUserOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddMarketingAutomationUsersRequest$ { + export const inboundSchema: z.ZodType< + AddMarketingAutomationUsersRequest, + z.ZodTypeDef, + unknown + > = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedUserInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationUsersRequest + > = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedUserInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddMarketingAutomationUsersResponseBody$ { + export const inboundSchema: z.ZodType< + AddMarketingAutomationUsersResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationUsersResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddMarketingAutomationUsersResponse$ { + export const inboundSchema: z.ZodType< + AddMarketingAutomationUsersResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddMarketingAutomationUsersResponseBody$.inboundSchema).optional(), + UnifiedUserOutputs: z.array(components.UnifiedUserOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedUserOutputs: "unifiedUserOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddMarketingAutomationUsersResponseBody$.Outbound | undefined; + UnifiedUserOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationUsersResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z + .lazy(() => AddMarketingAutomationUsersResponseBody$.outboundSchema) + .optional(), + unifiedUserOutputs: z.array(components.UnifiedUserOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedUserOutputs: "UnifiedUserOutputs", + }); + }); +} diff --git a/src/models/operations/addmessage.ts b/src/models/operations/addmessage.ts new file mode 100644 index 000000000..85eb8d464 --- /dev/null +++ b/src/models/operations/addmessage.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddMessageRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + unifiedMessageInput: components.UnifiedMessageInput; +}; + +export type AddMessageResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedMessageOutput | undefined; +}; + +export type AddMessageResponse = { + httpMeta: components.HTTPMetadata; + object?: AddMessageResponseBody | undefined; + unifiedMessageOutput?: components.UnifiedMessageOutput | undefined; +}; + +/** @internal */ +export namespace AddMessageRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedMessageInput: components.UnifiedMessageInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedMessageInput: "unifiedMessageInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedMessageInput: components.UnifiedMessageInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedMessageInput: components.UnifiedMessageInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedMessageInput: "UnifiedMessageInput", + }); + }); +} + +/** @internal */ +export namespace AddMessageResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedMessageOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedMessageOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedMessageOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddMessageResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddMessageResponseBody$.inboundSchema).optional(), + UnifiedMessageOutput: components.UnifiedMessageOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedMessageOutput: "unifiedMessageOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddMessageResponseBody$.Outbound | undefined; + UnifiedMessageOutput?: components.UnifiedMessageOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddMessageResponseBody$.outboundSchema).optional(), + unifiedMessageOutput: components.UnifiedMessageOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedMessageOutput: "UnifiedMessageOutput", + }); + }); +} diff --git a/src/models/operations/addmessages.ts b/src/models/operations/addmessages.ts new file mode 100644 index 000000000..b87689e95 --- /dev/null +++ b/src/models/operations/addmessages.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddMessagesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddMessagesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedMessageOutput | undefined; +}; + +export type AddMessagesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddMessagesResponseBody | undefined; + unifiedMessageOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddMessagesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedMessageInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedMessageInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddMessagesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedMessageOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedMessageOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedMessageOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddMessagesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddMessagesResponseBody$.inboundSchema).optional(), + UnifiedMessageOutputs: z + .array(components.UnifiedMessageOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedMessageOutputs: "unifiedMessageOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddMessagesResponseBody$.Outbound | undefined; + UnifiedMessageOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddMessagesResponseBody$.outboundSchema).optional(), + unifiedMessageOutputs: z + .array(components.UnifiedMessageOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedMessageOutputs: "UnifiedMessageOutputs", + }); + }); +} diff --git a/src/models/operations/addnote.ts b/src/models/operations/addnote.ts new file mode 100644 index 000000000..2d4e32f5a --- /dev/null +++ b/src/models/operations/addnote.ts @@ -0,0 +1,128 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddNoteRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; + unifiedNoteInput: components.UnifiedNoteInput; +}; + +export type AddNoteResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedNoteOutput | undefined; +}; + +export type AddNoteResponse = { + httpMeta: components.HTTPMetadata; + object?: AddNoteResponseBody | undefined; + unifiedNoteOutput?: components.UnifiedNoteOutput | undefined; +}; + +/** @internal */ +export namespace AddNoteRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedNoteInput: components.UnifiedNoteInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedNoteInput: "unifiedNoteInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedNoteInput: components.UnifiedNoteInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedNoteInput: components.UnifiedNoteInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedNoteInput: "UnifiedNoteInput", + }); + }); +} + +/** @internal */ +export namespace AddNoteResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedNoteOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedNoteOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedNoteOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddNoteResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddNoteResponseBody$.inboundSchema).optional(), + UnifiedNoteOutput: components.UnifiedNoteOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedNoteOutput: "unifiedNoteOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddNoteResponseBody$.Outbound | undefined; + UnifiedNoteOutput?: components.UnifiedNoteOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddNoteResponseBody$.outboundSchema).optional(), + unifiedNoteOutput: components.UnifiedNoteOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedNoteOutput: "UnifiedNoteOutput", + }); + }); +} diff --git a/src/models/operations/addnotes.ts b/src/models/operations/addnotes.ts new file mode 100644 index 000000000..390c92b17 --- /dev/null +++ b/src/models/operations/addnotes.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddNotesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; + requestBody: Array; +}; + +export type AddNotesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedNoteOutput | undefined; +}; + +export type AddNotesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddNotesResponseBody | undefined; + unifiedNoteOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddNotesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + RequestBody: z.array(components.UnifiedNoteInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + requestBody: z.array(components.UnifiedNoteInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddNotesResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedNoteOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedNoteOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedNoteOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace AddNotesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddNotesResponseBody$.inboundSchema).optional(), + UnifiedNoteOutputs: z.array(components.UnifiedNoteOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedNoteOutputs: "unifiedNoteOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddNotesResponseBody$.Outbound | undefined; + UnifiedNoteOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddNotesResponseBody$.outboundSchema).optional(), + unifiedNoteOutputs: z.array(components.UnifiedNoteOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedNoteOutputs: "UnifiedNoteOutputs", + }); + }); +} diff --git a/src/models/operations/addoffer.ts b/src/models/operations/addoffer.ts new file mode 100644 index 000000000..bd4db2228 --- /dev/null +++ b/src/models/operations/addoffer.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddOfferRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedOfferInput: components.UnifiedOfferInput; +}; + +export type AddOfferResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfferOutput | undefined; +}; + +export type AddOfferResponse = { + httpMeta: components.HTTPMetadata; + object?: AddOfferResponseBody | undefined; + unifiedOfferOutput?: components.UnifiedOfferOutput | undefined; +}; + +/** @internal */ +export namespace AddOfferRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedOfferInput: components.UnifiedOfferInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedOfferInput: "unifiedOfferInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedOfferInput: components.UnifiedOfferInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedOfferInput: components.UnifiedOfferInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedOfferInput: "UnifiedOfferInput", + }); + }); +} + +/** @internal */ +export namespace AddOfferResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfferOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfferOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfferOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace AddOfferResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddOfferResponseBody$.inboundSchema).optional(), + UnifiedOfferOutput: components.UnifiedOfferOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedOfferOutput: "unifiedOfferOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddOfferResponseBody$.Outbound | undefined; + UnifiedOfferOutput?: components.UnifiedOfferOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddOfferResponseBody$.outboundSchema).optional(), + unifiedOfferOutput: components.UnifiedOfferOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedOfferOutput: "UnifiedOfferOutput", + }); + }); +} diff --git a/src/models/operations/addoffers.ts b/src/models/operations/addoffers.ts new file mode 100644 index 000000000..8e5b1898c --- /dev/null +++ b/src/models/operations/addoffers.ts @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddOffersRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddOffersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfferOutput | undefined; +}; + +export type AddOffersResponse = { + httpMeta: components.HTTPMetadata; + object?: AddOffersResponseBody | undefined; + unifiedOfferOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddOffersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedOfferInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedOfferInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddOffersResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfferOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfferOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfferOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddOffersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddOffersResponseBody$.inboundSchema).optional(), + UnifiedOfferOutputs: z.array(components.UnifiedOfferOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedOfferOutputs: "unifiedOfferOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddOffersResponseBody$.Outbound | undefined; + UnifiedOfferOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddOffersResponseBody$.outboundSchema).optional(), + unifiedOfferOutputs: z.array(components.UnifiedOfferOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedOfferOutputs: "UnifiedOfferOutputs", + }); + }); +} diff --git a/src/models/operations/addoffice.ts b/src/models/operations/addoffice.ts new file mode 100644 index 000000000..8ce32fa23 --- /dev/null +++ b/src/models/operations/addoffice.ts @@ -0,0 +1,129 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddOfficeRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedOfficeInput: components.UnifiedOfficeInput; +}; + +export type AddOfficeResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfficeOutput | undefined; +}; + +export type AddOfficeResponse = { + httpMeta: components.HTTPMetadata; + object?: AddOfficeResponseBody | undefined; + unifiedOfficeOutput?: components.UnifiedOfficeOutput | undefined; +}; + +/** @internal */ +export namespace AddOfficeRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedOfficeInput: components.UnifiedOfficeInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedOfficeInput: "unifiedOfficeInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedOfficeInput: components.UnifiedOfficeInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedOfficeInput: components.UnifiedOfficeInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedOfficeInput: "UnifiedOfficeInput", + }); + }); +} + +/** @internal */ +export namespace AddOfficeResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfficeOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfficeOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfficeOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddOfficeResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddOfficeResponseBody$.inboundSchema).optional(), + UnifiedOfficeOutput: components.UnifiedOfficeOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedOfficeOutput: "unifiedOfficeOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddOfficeResponseBody$.Outbound | undefined; + UnifiedOfficeOutput?: components.UnifiedOfficeOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddOfficeResponseBody$.outboundSchema).optional(), + unifiedOfficeOutput: components.UnifiedOfficeOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedOfficeOutput: "UnifiedOfficeOutput", + }); + }); +} diff --git a/src/models/operations/addoffices.ts b/src/models/operations/addoffices.ts new file mode 100644 index 000000000..487d16d46 --- /dev/null +++ b/src/models/operations/addoffices.ts @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddOfficesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddOfficesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfficeOutput | undefined; +}; + +export type AddOfficesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddOfficesResponseBody | undefined; + unifiedOfficeOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddOfficesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedOfficeInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedOfficeInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddOfficesResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfficeOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfficeOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfficeOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddOfficesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddOfficesResponseBody$.inboundSchema).optional(), + UnifiedOfficeOutputs: z.array(components.UnifiedOfficeOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedOfficeOutputs: "unifiedOfficeOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddOfficesResponseBody$.Outbound | undefined; + UnifiedOfficeOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddOfficesResponseBody$.outboundSchema).optional(), + unifiedOfficeOutputs: z + .array(components.UnifiedOfficeOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedOfficeOutputs: "UnifiedOfficeOutputs", + }); + }); +} diff --git a/src/models/operations/addpaygroup.ts b/src/models/operations/addpaygroup.ts new file mode 100644 index 000000000..3d10e8301 --- /dev/null +++ b/src/models/operations/addpaygroup.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddPayGroupRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedPayGroupInput: components.UnifiedPayGroupInput; +}; + +export type AddPayGroupResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayGroupOutput | undefined; +}; + +export type AddPayGroupResponse = { + httpMeta: components.HTTPMetadata; + object?: AddPayGroupResponseBody | undefined; + unifiedPayGroupOutput?: components.UnifiedPayGroupOutput | undefined; +}; + +/** @internal */ +export namespace AddPayGroupRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedPayGroupInput: components.UnifiedPayGroupInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedPayGroupInput: "unifiedPayGroupInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedPayGroupInput: components.UnifiedPayGroupInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedPayGroupInput: components.UnifiedPayGroupInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedPayGroupInput: "UnifiedPayGroupInput", + }); + }); +} + +/** @internal */ +export namespace AddPayGroupResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayGroupOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayGroupOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayGroupOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddPayGroupResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddPayGroupResponseBody$.inboundSchema).optional(), + UnifiedPayGroupOutput: components.UnifiedPayGroupOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedPayGroupOutput: "unifiedPayGroupOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddPayGroupResponseBody$.Outbound | undefined; + UnifiedPayGroupOutput?: components.UnifiedPayGroupOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddPayGroupResponseBody$.outboundSchema).optional(), + unifiedPayGroupOutput: components.UnifiedPayGroupOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedPayGroupOutput: "UnifiedPayGroupOutput", + }); + }); +} diff --git a/src/models/operations/addpaygroups.ts b/src/models/operations/addpaygroups.ts new file mode 100644 index 000000000..a77bd7ef6 --- /dev/null +++ b/src/models/operations/addpaygroups.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddPayGroupsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddPayGroupsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayGroupOutput | undefined; +}; + +export type AddPayGroupsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddPayGroupsResponseBody | undefined; + unifiedPayGroupOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddPayGroupsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedPayGroupInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedPayGroupInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddPayGroupsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayGroupOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayGroupOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayGroupOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddPayGroupsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddPayGroupsResponseBody$.inboundSchema).optional(), + UnifiedPayGroupOutputs: z + .array(components.UnifiedPayGroupOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedPayGroupOutputs: "unifiedPayGroupOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddPayGroupsResponseBody$.Outbound | undefined; + UnifiedPayGroupOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddPayGroupsResponseBody$.outboundSchema).optional(), + unifiedPayGroupOutputs: z + .array(components.UnifiedPayGroupOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedPayGroupOutputs: "UnifiedPayGroupOutputs", + }); + }); +} diff --git a/src/models/operations/addpayment.ts b/src/models/operations/addpayment.ts new file mode 100644 index 000000000..78cc4899d --- /dev/null +++ b/src/models/operations/addpayment.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddPaymentRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedPaymentInput: components.UnifiedPaymentInput; +}; + +export type AddPaymentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPaymentOutput | undefined; +}; + +export type AddPaymentResponse = { + httpMeta: components.HTTPMetadata; + object?: AddPaymentResponseBody | undefined; + unifiedPaymentOutput?: components.UnifiedPaymentOutput | undefined; +}; + +/** @internal */ +export namespace AddPaymentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedPaymentInput: components.UnifiedPaymentInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedPaymentInput: "unifiedPaymentInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedPaymentInput: components.UnifiedPaymentInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedPaymentInput: components.UnifiedPaymentInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedPaymentInput: "UnifiedPaymentInput", + }); + }); +} + +/** @internal */ +export namespace AddPaymentResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPaymentOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPaymentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPaymentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddPaymentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddPaymentResponseBody$.inboundSchema).optional(), + UnifiedPaymentOutput: components.UnifiedPaymentOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedPaymentOutput: "unifiedPaymentOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddPaymentResponseBody$.Outbound | undefined; + UnifiedPaymentOutput?: components.UnifiedPaymentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddPaymentResponseBody$.outboundSchema).optional(), + unifiedPaymentOutput: components.UnifiedPaymentOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedPaymentOutput: "UnifiedPaymentOutput", + }); + }); +} diff --git a/src/models/operations/addpayments.ts b/src/models/operations/addpayments.ts new file mode 100644 index 000000000..1a267758c --- /dev/null +++ b/src/models/operations/addpayments.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddPaymentsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddPaymentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPaymentOutput | undefined; +}; + +export type AddPaymentsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddPaymentsResponseBody | undefined; + unifiedPaymentOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddPaymentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedPaymentInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedPaymentInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddPaymentsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPaymentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPaymentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPaymentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddPaymentsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddPaymentsResponseBody$.inboundSchema).optional(), + UnifiedPaymentOutputs: z + .array(components.UnifiedPaymentOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedPaymentOutputs: "unifiedPaymentOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddPaymentsResponseBody$.Outbound | undefined; + UnifiedPaymentOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddPaymentsResponseBody$.outboundSchema).optional(), + unifiedPaymentOutputs: z + .array(components.UnifiedPaymentOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedPaymentOutputs: "UnifiedPaymentOutputs", + }); + }); +} diff --git a/src/models/operations/addpayrollrun.ts b/src/models/operations/addpayrollrun.ts new file mode 100644 index 000000000..21e2a2254 --- /dev/null +++ b/src/models/operations/addpayrollrun.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddPayrollRunRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedPayrollRunInput: components.UnifiedPayrollRunInput; +}; + +export type AddPayrollRunResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayrollRunOutput | undefined; +}; + +export type AddPayrollRunResponse = { + httpMeta: components.HTTPMetadata; + object?: AddPayrollRunResponseBody | undefined; + unifiedPayrollRunOutput?: components.UnifiedPayrollRunOutput | undefined; +}; + +/** @internal */ +export namespace AddPayrollRunRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedPayrollRunInput: components.UnifiedPayrollRunInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedPayrollRunInput: "unifiedPayrollRunInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedPayrollRunInput: components.UnifiedPayrollRunInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedPayrollRunInput: components.UnifiedPayrollRunInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedPayrollRunInput: "UnifiedPayrollRunInput", + }); + }); +} + +/** @internal */ +export namespace AddPayrollRunResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayrollRunOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayrollRunOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayrollRunOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddPayrollRunResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddPayrollRunResponseBody$.inboundSchema).optional(), + UnifiedPayrollRunOutput: components.UnifiedPayrollRunOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedPayrollRunOutput: "unifiedPayrollRunOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddPayrollRunResponseBody$.Outbound | undefined; + UnifiedPayrollRunOutput?: components.UnifiedPayrollRunOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddPayrollRunResponseBody$.outboundSchema).optional(), + unifiedPayrollRunOutput: components.UnifiedPayrollRunOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedPayrollRunOutput: "UnifiedPayrollRunOutput", + }); + }); +} diff --git a/src/models/operations/addpayrollruns.ts b/src/models/operations/addpayrollruns.ts new file mode 100644 index 000000000..08dd9e3a7 --- /dev/null +++ b/src/models/operations/addpayrollruns.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddPayrollRunsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddPayrollRunsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayrollRunOutput | undefined; +}; + +export type AddPayrollRunsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddPayrollRunsResponseBody | undefined; + unifiedPayrollRunOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddPayrollRunsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedPayrollRunInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedPayrollRunInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddPayrollRunsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayrollRunOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayrollRunOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayrollRunOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddPayrollRunsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddPayrollRunsResponseBody$.inboundSchema).optional(), + UnifiedPayrollRunOutputs: z + .array(components.UnifiedPayrollRunOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedPayrollRunOutputs: "unifiedPayrollRunOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddPayrollRunsResponseBody$.Outbound | undefined; + UnifiedPayrollRunOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddPayrollRunsResponseBody$.outboundSchema).optional(), + unifiedPayrollRunOutputs: z + .array(components.UnifiedPayrollRunOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedPayrollRunOutputs: "UnifiedPayrollRunOutputs", + }); + }); +} diff --git a/src/models/operations/addpermission.ts b/src/models/operations/addpermission.ts new file mode 100644 index 000000000..328460218 --- /dev/null +++ b/src/models/operations/addpermission.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddPermissionRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; + unifiedPermissionInput: components.UnifiedPermissionInput; +}; + +export type AddPermissionResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPermissionOutput | undefined; +}; + +export type AddPermissionResponse = { + httpMeta: components.HTTPMetadata; + object?: AddPermissionResponseBody | undefined; + unifiedPermissionOutput?: components.UnifiedPermissionOutput | undefined; +}; + +/** @internal */ +export namespace AddPermissionRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedPermissionInput: components.UnifiedPermissionInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedPermissionInput: "unifiedPermissionInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedPermissionInput: components.UnifiedPermissionInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedPermissionInput: components.UnifiedPermissionInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedPermissionInput: "UnifiedPermissionInput", + }); + }); +} + +/** @internal */ +export namespace AddPermissionResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPermissionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPermissionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPermissionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddPermissionResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddPermissionResponseBody$.inboundSchema).optional(), + UnifiedPermissionOutput: components.UnifiedPermissionOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedPermissionOutput: "unifiedPermissionOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddPermissionResponseBody$.Outbound | undefined; + UnifiedPermissionOutput?: components.UnifiedPermissionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddPermissionResponseBody$.outboundSchema).optional(), + unifiedPermissionOutput: components.UnifiedPermissionOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedPermissionOutput: "UnifiedPermissionOutput", + }); + }); +} diff --git a/src/models/operations/addpermissions.ts b/src/models/operations/addpermissions.ts new file mode 100644 index 000000000..10acfdc21 --- /dev/null +++ b/src/models/operations/addpermissions.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddPermissionsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddPermissionsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPermissionOutput | undefined; +}; + +export type AddPermissionsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddPermissionsResponseBody | undefined; + unifiedPermissionOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddPermissionsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedPermissionInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedPermissionInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddPermissionsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPermissionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPermissionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPermissionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddPermissionsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddPermissionsResponseBody$.inboundSchema).optional(), + UnifiedPermissionOutputs: z + .array(components.UnifiedPermissionOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedPermissionOutputs: "unifiedPermissionOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddPermissionsResponseBody$.Outbound | undefined; + UnifiedPermissionOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddPermissionsResponseBody$.outboundSchema).optional(), + unifiedPermissionOutputs: z + .array(components.UnifiedPermissionOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedPermissionOutputs: "UnifiedPermissionOutputs", + }); + }); +} diff --git a/src/models/operations/addphonenumber.ts b/src/models/operations/addphonenumber.ts new file mode 100644 index 000000000..088dbbde7 --- /dev/null +++ b/src/models/operations/addphonenumber.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddPhoneNumberRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedPhoneNumberInput: components.UnifiedPhoneNumberInput; +}; + +export type AddPhoneNumberResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPhoneNumberOutput | undefined; +}; + +export type AddPhoneNumberResponse = { + httpMeta: components.HTTPMetadata; + object?: AddPhoneNumberResponseBody | undefined; + unifiedPhoneNumberOutput?: components.UnifiedPhoneNumberOutput | undefined; +}; + +/** @internal */ +export namespace AddPhoneNumberRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedPhoneNumberInput: components.UnifiedPhoneNumberInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedPhoneNumberInput: "unifiedPhoneNumberInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedPhoneNumberInput: components.UnifiedPhoneNumberInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedPhoneNumberInput: components.UnifiedPhoneNumberInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedPhoneNumberInput: "UnifiedPhoneNumberInput", + }); + }); +} + +/** @internal */ +export namespace AddPhoneNumberResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPhoneNumberOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPhoneNumberOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPhoneNumberOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddPhoneNumberResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddPhoneNumberResponseBody$.inboundSchema).optional(), + UnifiedPhoneNumberOutput: components.UnifiedPhoneNumberOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedPhoneNumberOutput: "unifiedPhoneNumberOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddPhoneNumberResponseBody$.Outbound | undefined; + UnifiedPhoneNumberOutput?: components.UnifiedPhoneNumberOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddPhoneNumberResponseBody$.outboundSchema).optional(), + unifiedPhoneNumberOutput: + components.UnifiedPhoneNumberOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedPhoneNumberOutput: "UnifiedPhoneNumberOutput", + }); + }); +} diff --git a/src/models/operations/addphonenumbers.ts b/src/models/operations/addphonenumbers.ts new file mode 100644 index 000000000..803a0da2d --- /dev/null +++ b/src/models/operations/addphonenumbers.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddPhoneNumbersRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddPhoneNumbersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPhoneNumberOutput | undefined; +}; + +export type AddPhoneNumbersResponse = { + httpMeta: components.HTTPMetadata; + object?: AddPhoneNumbersResponseBody | undefined; + unifiedPhoneNumberOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddPhoneNumbersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedPhoneNumberInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedPhoneNumberInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddPhoneNumbersResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPhoneNumberOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPhoneNumberOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPhoneNumberOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddPhoneNumbersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddPhoneNumbersResponseBody$.inboundSchema).optional(), + UnifiedPhoneNumberOutputs: z + .array(components.UnifiedPhoneNumberOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedPhoneNumberOutputs: "unifiedPhoneNumberOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddPhoneNumbersResponseBody$.Outbound | undefined; + UnifiedPhoneNumberOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddPhoneNumbersResponseBody$.outboundSchema).optional(), + unifiedPhoneNumberOutputs: z + .array(components.UnifiedPhoneNumberOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedPhoneNumberOutputs: "UnifiedPhoneNumberOutputs", + }); + }); +} diff --git a/src/models/operations/addpurchaseorder.ts b/src/models/operations/addpurchaseorder.ts new file mode 100644 index 000000000..044294148 --- /dev/null +++ b/src/models/operations/addpurchaseorder.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddPurchaseOrderRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedPurchaseOrderInput: components.UnifiedPurchaseOrderInput; +}; + +export type AddPurchaseOrderResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPurchaseOrderOutput | undefined; +}; + +export type AddPurchaseOrderResponse = { + httpMeta: components.HTTPMetadata; + object?: AddPurchaseOrderResponseBody | undefined; + unifiedPurchaseOrderOutput?: components.UnifiedPurchaseOrderOutput | undefined; +}; + +/** @internal */ +export namespace AddPurchaseOrderRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedPurchaseOrderInput: components.UnifiedPurchaseOrderInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedPurchaseOrderInput: "unifiedPurchaseOrderInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedPurchaseOrderInput: components.UnifiedPurchaseOrderInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedPurchaseOrderInput: components.UnifiedPurchaseOrderInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedPurchaseOrderInput: "UnifiedPurchaseOrderInput", + }); + }); +} + +/** @internal */ +export namespace AddPurchaseOrderResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPurchaseOrderOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPurchaseOrderOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPurchaseOrderOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddPurchaseOrderResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddPurchaseOrderResponseBody$.inboundSchema).optional(), + UnifiedPurchaseOrderOutput: + components.UnifiedPurchaseOrderOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedPurchaseOrderOutput: "unifiedPurchaseOrderOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddPurchaseOrderResponseBody$.Outbound | undefined; + UnifiedPurchaseOrderOutput?: components.UnifiedPurchaseOrderOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddPurchaseOrderResponseBody$.outboundSchema).optional(), + unifiedPurchaseOrderOutput: + components.UnifiedPurchaseOrderOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedPurchaseOrderOutput: "UnifiedPurchaseOrderOutput", + }); + }); +} diff --git a/src/models/operations/addpurchaseorders.ts b/src/models/operations/addpurchaseorders.ts new file mode 100644 index 000000000..35335d1de --- /dev/null +++ b/src/models/operations/addpurchaseorders.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddPurchaseOrdersRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddPurchaseOrdersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPurchaseOrderOutput | undefined; +}; + +export type AddPurchaseOrdersResponse = { + httpMeta: components.HTTPMetadata; + object?: AddPurchaseOrdersResponseBody | undefined; + unifiedPurchaseOrderOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddPurchaseOrdersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedPurchaseOrderInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedPurchaseOrderInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddPurchaseOrdersResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPurchaseOrderOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPurchaseOrderOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPurchaseOrderOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddPurchaseOrdersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddPurchaseOrdersResponseBody$.inboundSchema).optional(), + UnifiedPurchaseOrderOutputs: z + .array(components.UnifiedPurchaseOrderOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedPurchaseOrderOutputs: "unifiedPurchaseOrderOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddPurchaseOrdersResponseBody$.Outbound | undefined; + UnifiedPurchaseOrderOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddPurchaseOrdersResponseBody$.outboundSchema).optional(), + unifiedPurchaseOrderOutputs: z + .array(components.UnifiedPurchaseOrderOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedPurchaseOrderOutputs: "UnifiedPurchaseOrderOutputs", + }); + }); +} diff --git a/src/models/operations/addrejectreason.ts b/src/models/operations/addrejectreason.ts new file mode 100644 index 000000000..34e8d1621 --- /dev/null +++ b/src/models/operations/addrejectreason.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddRejectReasonRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedRejectReasonInput: components.UnifiedRejectReasonInput; +}; + +export type AddRejectReasonResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedRejectReasonOutput | undefined; +}; + +export type AddRejectReasonResponse = { + httpMeta: components.HTTPMetadata; + object?: AddRejectReasonResponseBody | undefined; + unifiedRejectReasonOutput?: components.UnifiedRejectReasonOutput | undefined; +}; + +/** @internal */ +export namespace AddRejectReasonRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedRejectReasonInput: components.UnifiedRejectReasonInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedRejectReasonInput: "unifiedRejectReasonInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedRejectReasonInput: components.UnifiedRejectReasonInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedRejectReasonInput: components.UnifiedRejectReasonInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedRejectReasonInput: "UnifiedRejectReasonInput", + }); + }); +} + +/** @internal */ +export namespace AddRejectReasonResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedRejectReasonOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedRejectReasonOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedRejectReasonOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddRejectReasonResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddRejectReasonResponseBody$.inboundSchema).optional(), + UnifiedRejectReasonOutput: + components.UnifiedRejectReasonOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedRejectReasonOutput: "unifiedRejectReasonOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddRejectReasonResponseBody$.Outbound | undefined; + UnifiedRejectReasonOutput?: components.UnifiedRejectReasonOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddRejectReasonResponseBody$.outboundSchema).optional(), + unifiedRejectReasonOutput: + components.UnifiedRejectReasonOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedRejectReasonOutput: "UnifiedRejectReasonOutput", + }); + }); +} diff --git a/src/models/operations/addrejectreasons.ts b/src/models/operations/addrejectreasons.ts new file mode 100644 index 000000000..97708e81a --- /dev/null +++ b/src/models/operations/addrejectreasons.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddRejectReasonsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddRejectReasonsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedRejectReasonOutput | undefined; +}; + +export type AddRejectReasonsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddRejectReasonsResponseBody | undefined; + unifiedRejectReasonOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddRejectReasonsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedRejectReasonInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedRejectReasonInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddRejectReasonsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedRejectReasonOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedRejectReasonOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedRejectReasonOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddRejectReasonsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddRejectReasonsResponseBody$.inboundSchema).optional(), + UnifiedRejectReasonOutputs: z + .array(components.UnifiedRejectReasonOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedRejectReasonOutputs: "unifiedRejectReasonOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddRejectReasonsResponseBody$.Outbound | undefined; + UnifiedRejectReasonOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddRejectReasonsResponseBody$.outboundSchema).optional(), + unifiedRejectReasonOutputs: z + .array(components.UnifiedRejectReasonOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedRejectReasonOutputs: "UnifiedRejectReasonOutputs", + }); + }); +} diff --git a/src/models/operations/addscorecard.ts b/src/models/operations/addscorecard.ts new file mode 100644 index 000000000..ab12caba8 --- /dev/null +++ b/src/models/operations/addscorecard.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddScoreCardRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedScoreCardInput: components.UnifiedScoreCardInput; +}; + +export type AddScoreCardResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScoreCardOutput | undefined; +}; + +export type AddScoreCardResponse = { + httpMeta: components.HTTPMetadata; + object?: AddScoreCardResponseBody | undefined; + unifiedScoreCardOutput?: components.UnifiedScoreCardOutput | undefined; +}; + +/** @internal */ +export namespace AddScoreCardRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedScoreCardInput: components.UnifiedScoreCardInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedScoreCardInput: "unifiedScoreCardInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedScoreCardInput: components.UnifiedScoreCardInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedScoreCardInput: components.UnifiedScoreCardInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedScoreCardInput: "UnifiedScoreCardInput", + }); + }); +} + +/** @internal */ +export namespace AddScoreCardResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScoreCardOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScoreCardOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScoreCardOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddScoreCardResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddScoreCardResponseBody$.inboundSchema).optional(), + UnifiedScoreCardOutput: components.UnifiedScoreCardOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedScoreCardOutput: "unifiedScoreCardOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddScoreCardResponseBody$.Outbound | undefined; + UnifiedScoreCardOutput?: components.UnifiedScoreCardOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddScoreCardResponseBody$.outboundSchema).optional(), + unifiedScoreCardOutput: components.UnifiedScoreCardOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedScoreCardOutput: "UnifiedScoreCardOutput", + }); + }); +} diff --git a/src/models/operations/addscorecards.ts b/src/models/operations/addscorecards.ts new file mode 100644 index 000000000..92461f3f6 --- /dev/null +++ b/src/models/operations/addscorecards.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddScoreCardsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddScoreCardsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScoreCardOutput | undefined; +}; + +export type AddScoreCardsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddScoreCardsResponseBody | undefined; + unifiedScoreCardOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddScoreCardsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedScoreCardInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedScoreCardInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddScoreCardsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScoreCardOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScoreCardOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScoreCardOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddScoreCardsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddScoreCardsResponseBody$.inboundSchema).optional(), + UnifiedScoreCardOutputs: z + .array(components.UnifiedScoreCardOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedScoreCardOutputs: "unifiedScoreCardOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddScoreCardsResponseBody$.Outbound | undefined; + UnifiedScoreCardOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddScoreCardsResponseBody$.outboundSchema).optional(), + unifiedScoreCardOutputs: z + .array(components.UnifiedScoreCardOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedScoreCardOutputs: "UnifiedScoreCardOutputs", + }); + }); +} diff --git a/src/models/operations/addscreeningquestion.ts b/src/models/operations/addscreeningquestion.ts new file mode 100644 index 000000000..13d595546 --- /dev/null +++ b/src/models/operations/addscreeningquestion.ts @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddScreeningQuestionRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedScreeningQuestionInput: components.UnifiedScreeningQuestionInput; +}; + +export type AddScreeningQuestionResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScreeningQuestionOutput | undefined; +}; + +export type AddScreeningQuestionResponse = { + httpMeta: components.HTTPMetadata; + object?: AddScreeningQuestionResponseBody | undefined; + unifiedScreeningQuestionOutput?: components.UnifiedScreeningQuestionOutput | undefined; +}; + +/** @internal */ +export namespace AddScreeningQuestionRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedScreeningQuestionInput: components.UnifiedScreeningQuestionInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedScreeningQuestionInput: "unifiedScreeningQuestionInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedScreeningQuestionInput: components.UnifiedScreeningQuestionInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedScreeningQuestionInput: components.UnifiedScreeningQuestionInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedScreeningQuestionInput: "UnifiedScreeningQuestionInput", + }); + }); +} + +/** @internal */ +export namespace AddScreeningQuestionResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScreeningQuestionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScreeningQuestionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddScreeningQuestionResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScreeningQuestionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddScreeningQuestionResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddScreeningQuestionResponseBody$.inboundSchema).optional(), + UnifiedScreeningQuestionOutput: + components.UnifiedScreeningQuestionOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedScreeningQuestionOutput: "unifiedScreeningQuestionOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddScreeningQuestionResponseBody$.Outbound | undefined; + UnifiedScreeningQuestionOutput?: + | components.UnifiedScreeningQuestionOutput$.Outbound + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddScreeningQuestionResponseBody$.outboundSchema).optional(), + unifiedScreeningQuestionOutput: + components.UnifiedScreeningQuestionOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedScreeningQuestionOutput: "UnifiedScreeningQuestionOutput", + }); + }); +} diff --git a/src/models/operations/addscreeningquestions.ts b/src/models/operations/addscreeningquestions.ts new file mode 100644 index 000000000..652ea6114 --- /dev/null +++ b/src/models/operations/addscreeningquestions.ts @@ -0,0 +1,149 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddScreeningQuestionsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddScreeningQuestionsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScreeningQuestionOutput | undefined; +}; + +export type AddScreeningQuestionsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddScreeningQuestionsResponseBody | undefined; + unifiedScreeningQuestionOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddScreeningQuestionsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedScreeningQuestionInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedScreeningQuestionInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddScreeningQuestionsResponseBody$ { + export const inboundSchema: z.ZodType< + AddScreeningQuestionsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScreeningQuestionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScreeningQuestionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddScreeningQuestionsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScreeningQuestionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddScreeningQuestionsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddScreeningQuestionsResponseBody$.inboundSchema).optional(), + UnifiedScreeningQuestionOutputs: z + .array(components.UnifiedScreeningQuestionOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedScreeningQuestionOutputs: "unifiedScreeningQuestionOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddScreeningQuestionsResponseBody$.Outbound | undefined; + UnifiedScreeningQuestionOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddScreeningQuestionsResponseBody$.outboundSchema).optional(), + unifiedScreeningQuestionOutputs: z + .array(components.UnifiedScreeningQuestionOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedScreeningQuestionOutputs: "UnifiedScreeningQuestionOutputs", + }); + }); +} diff --git a/src/models/operations/addsharedlink.ts b/src/models/operations/addsharedlink.ts new file mode 100644 index 000000000..d37042d36 --- /dev/null +++ b/src/models/operations/addsharedlink.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddSharedlinkRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; + unifiedSharedLinkInput: components.UnifiedSharedLinkInput; +}; + +export type AddSharedlinkResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedSharedLinkOutput | undefined; +}; + +export type AddSharedlinkResponse = { + httpMeta: components.HTTPMetadata; + object?: AddSharedlinkResponseBody | undefined; + unifiedSharedLinkOutput?: components.UnifiedSharedLinkOutput | undefined; +}; + +/** @internal */ +export namespace AddSharedlinkRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedSharedLinkInput: components.UnifiedSharedLinkInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedSharedLinkInput: "unifiedSharedLinkInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedSharedLinkInput: components.UnifiedSharedLinkInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedSharedLinkInput: components.UnifiedSharedLinkInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedSharedLinkInput: "UnifiedSharedLinkInput", + }); + }); +} + +/** @internal */ +export namespace AddSharedlinkResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedSharedLinkOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedSharedLinkOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedSharedLinkOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddSharedlinkResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddSharedlinkResponseBody$.inboundSchema).optional(), + UnifiedSharedLinkOutput: components.UnifiedSharedLinkOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedSharedLinkOutput: "unifiedSharedLinkOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddSharedlinkResponseBody$.Outbound | undefined; + UnifiedSharedLinkOutput?: components.UnifiedSharedLinkOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddSharedlinkResponseBody$.outboundSchema).optional(), + unifiedSharedLinkOutput: components.UnifiedSharedLinkOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedSharedLinkOutput: "UnifiedSharedLinkOutput", + }); + }); +} diff --git a/src/models/operations/addsharedlinks.ts b/src/models/operations/addsharedlinks.ts new file mode 100644 index 000000000..24534b8b0 --- /dev/null +++ b/src/models/operations/addsharedlinks.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddSharedlinksRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddSharedlinksResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedSharedLinkOutput | undefined; +}; + +export type AddSharedlinksResponse = { + httpMeta: components.HTTPMetadata; + object?: AddSharedlinksResponseBody | undefined; + unifiedSharedLinkOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddSharedlinksRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedSharedLinkInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedSharedLinkInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddSharedlinksResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedSharedLinkOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedSharedLinkOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedSharedLinkOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddSharedlinksResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddSharedlinksResponseBody$.inboundSchema).optional(), + UnifiedSharedLinkOutputs: z + .array(components.UnifiedSharedLinkOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedSharedLinkOutputs: "unifiedSharedLinkOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddSharedlinksResponseBody$.Outbound | undefined; + UnifiedSharedLinkOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddSharedlinksResponseBody$.outboundSchema).optional(), + unifiedSharedLinkOutputs: z + .array(components.UnifiedSharedLinkOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedSharedLinkOutputs: "UnifiedSharedLinkOutputs", + }); + }); +} diff --git a/src/models/operations/addtag.ts b/src/models/operations/addtag.ts new file mode 100644 index 000000000..7a01384ff --- /dev/null +++ b/src/models/operations/addtag.ts @@ -0,0 +1,128 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTagRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + unifiedTagInput: components.UnifiedTagInput; +}; + +export type AddTagResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTagOutput | undefined; +}; + +export type AddTagResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTagResponseBody | undefined; + unifiedTagOutput?: components.UnifiedTagOutput | undefined; +}; + +/** @internal */ +export namespace AddTagRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedTagInput: components.UnifiedTagInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedTagInput: "unifiedTagInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedTagInput: components.UnifiedTagInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedTagInput: components.UnifiedTagInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedTagInput: "UnifiedTagInput", + }); + }); +} + +/** @internal */ +export namespace AddTagResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTagOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTagOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTagOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTagResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTagResponseBody$.inboundSchema).optional(), + UnifiedTagOutput: components.UnifiedTagOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTagOutput: "unifiedTagOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTagResponseBody$.Outbound | undefined; + UnifiedTagOutput?: components.UnifiedTagOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTagResponseBody$.outboundSchema).optional(), + unifiedTagOutput: components.UnifiedTagOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTagOutput: "UnifiedTagOutput", + }); + }); +} diff --git a/src/models/operations/addtags.ts b/src/models/operations/addtags.ts new file mode 100644 index 000000000..7f56bb97a --- /dev/null +++ b/src/models/operations/addtags.ts @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTagsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddTagsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTagOutput | undefined; +}; + +export type AddTagsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTagsResponseBody | undefined; + unifiedTagOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddTagsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedTagInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedTagInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddTagsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTagOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTagOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTagOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTagsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTagsResponseBody$.inboundSchema).optional(), + UnifiedTagOutputs: z.array(components.UnifiedTagOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTagOutputs: "unifiedTagOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTagsResponseBody$.Outbound | undefined; + UnifiedTagOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTagsResponseBody$.outboundSchema).optional(), + unifiedTagOutputs: z.array(components.UnifiedTagOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTagOutputs: "UnifiedTagOutputs", + }); + }); +} diff --git a/src/models/operations/addtask.ts b/src/models/operations/addtask.ts new file mode 100644 index 000000000..fe65cf164 --- /dev/null +++ b/src/models/operations/addtask.ts @@ -0,0 +1,128 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTaskRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; + unifiedTaskInput: components.UnifiedTaskInput; +}; + +export type AddTaskResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaskOutput | undefined; +}; + +export type AddTaskResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTaskResponseBody | undefined; + unifiedTaskOutput?: components.UnifiedTaskOutput | undefined; +}; + +/** @internal */ +export namespace AddTaskRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedTaskInput: components.UnifiedTaskInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedTaskInput: "unifiedTaskInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedTaskInput: components.UnifiedTaskInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedTaskInput: components.UnifiedTaskInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedTaskInput: "UnifiedTaskInput", + }); + }); +} + +/** @internal */ +export namespace AddTaskResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaskOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaskOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaskOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTaskResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTaskResponseBody$.inboundSchema).optional(), + UnifiedTaskOutput: components.UnifiedTaskOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTaskOutput: "unifiedTaskOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTaskResponseBody$.Outbound | undefined; + UnifiedTaskOutput?: components.UnifiedTaskOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTaskResponseBody$.outboundSchema).optional(), + unifiedTaskOutput: components.UnifiedTaskOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTaskOutput: "UnifiedTaskOutput", + }); + }); +} diff --git a/src/models/operations/addtasks.ts b/src/models/operations/addtasks.ts new file mode 100644 index 000000000..06d122281 --- /dev/null +++ b/src/models/operations/addtasks.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTasksRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; + requestBody: Array; +}; + +export type AddTasksResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaskOutput | undefined; +}; + +export type AddTasksResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTasksResponseBody | undefined; + unifiedTaskOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddTasksRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + RequestBody: z.array(components.UnifiedTaskInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + requestBody: z.array(components.UnifiedTaskInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddTasksResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaskOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaskOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaskOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace AddTasksResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTasksResponseBody$.inboundSchema).optional(), + UnifiedTaskOutputs: z.array(components.UnifiedTaskOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTaskOutputs: "unifiedTaskOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTasksResponseBody$.Outbound | undefined; + UnifiedTaskOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTasksResponseBody$.outboundSchema).optional(), + unifiedTaskOutputs: z.array(components.UnifiedTaskOutput$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTaskOutputs: "UnifiedTaskOutputs", + }); + }); +} diff --git a/src/models/operations/addtaxrate.ts b/src/models/operations/addtaxrate.ts new file mode 100644 index 000000000..13b6dcd7a --- /dev/null +++ b/src/models/operations/addtaxrate.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTaxRateRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedTaxRateInput: components.UnifiedTaxRateInput; +}; + +export type AddTaxRateResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaxRateOutput | undefined; +}; + +export type AddTaxRateResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTaxRateResponseBody | undefined; + unifiedTaxRateOutput?: components.UnifiedTaxRateOutput | undefined; +}; + +/** @internal */ +export namespace AddTaxRateRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedTaxRateInput: components.UnifiedTaxRateInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedTaxRateInput: "unifiedTaxRateInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedTaxRateInput: components.UnifiedTaxRateInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedTaxRateInput: components.UnifiedTaxRateInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedTaxRateInput: "UnifiedTaxRateInput", + }); + }); +} + +/** @internal */ +export namespace AddTaxRateResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaxRateOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaxRateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaxRateOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTaxRateResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTaxRateResponseBody$.inboundSchema).optional(), + UnifiedTaxRateOutput: components.UnifiedTaxRateOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTaxRateOutput: "unifiedTaxRateOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTaxRateResponseBody$.Outbound | undefined; + UnifiedTaxRateOutput?: components.UnifiedTaxRateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTaxRateResponseBody$.outboundSchema).optional(), + unifiedTaxRateOutput: components.UnifiedTaxRateOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTaxRateOutput: "UnifiedTaxRateOutput", + }); + }); +} diff --git a/src/models/operations/addtaxrates.ts b/src/models/operations/addtaxrates.ts new file mode 100644 index 000000000..945f8f08d --- /dev/null +++ b/src/models/operations/addtaxrates.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTaxRatesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddTaxRatesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaxRateOutput | undefined; +}; + +export type AddTaxRatesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTaxRatesResponseBody | undefined; + unifiedTaxRateOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddTaxRatesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedTaxRateInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedTaxRateInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddTaxRatesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaxRateOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaxRateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaxRateOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTaxRatesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTaxRatesResponseBody$.inboundSchema).optional(), + UnifiedTaxRateOutputs: z + .array(components.UnifiedTaxRateOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTaxRateOutputs: "unifiedTaxRateOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTaxRatesResponseBody$.Outbound | undefined; + UnifiedTaxRateOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTaxRatesResponseBody$.outboundSchema).optional(), + unifiedTaxRateOutputs: z + .array(components.UnifiedTaxRateOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTaxRateOutputs: "UnifiedTaxRateOutputs", + }); + }); +} diff --git a/src/models/operations/addtemplate.ts b/src/models/operations/addtemplate.ts new file mode 100644 index 000000000..83eb6f886 --- /dev/null +++ b/src/models/operations/addtemplate.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTemplateRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + unifiedTemplateInput: components.UnifiedTemplateInput; +}; + +export type AddTemplateResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTemplateOutput | undefined; +}; + +export type AddTemplateResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTemplateResponseBody | undefined; + unifiedTemplateOutput?: components.UnifiedTemplateOutput | undefined; +}; + +/** @internal */ +export namespace AddTemplateRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedTemplateInput: components.UnifiedTemplateInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedTemplateInput: "unifiedTemplateInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedTemplateInput: components.UnifiedTemplateInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedTemplateInput: components.UnifiedTemplateInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedTemplateInput: "UnifiedTemplateInput", + }); + }); +} + +/** @internal */ +export namespace AddTemplateResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTemplateOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTemplateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTemplateOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTemplateResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTemplateResponseBody$.inboundSchema).optional(), + UnifiedTemplateOutput: components.UnifiedTemplateOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTemplateOutput: "unifiedTemplateOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTemplateResponseBody$.Outbound | undefined; + UnifiedTemplateOutput?: components.UnifiedTemplateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTemplateResponseBody$.outboundSchema).optional(), + unifiedTemplateOutput: components.UnifiedTemplateOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTemplateOutput: "UnifiedTemplateOutput", + }); + }); +} diff --git a/src/models/operations/addtemplates.ts b/src/models/operations/addtemplates.ts new file mode 100644 index 000000000..cd62f5c80 --- /dev/null +++ b/src/models/operations/addtemplates.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTemplatesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddTemplatesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTemplateOutput | undefined; +}; + +export type AddTemplatesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTemplatesResponseBody | undefined; + unifiedTemplateOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddTemplatesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedTemplateInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedTemplateInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddTemplatesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTemplateOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTemplateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTemplateOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTemplatesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTemplatesResponseBody$.inboundSchema).optional(), + UnifiedTemplateOutputs: z + .array(components.UnifiedTemplateOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTemplateOutputs: "unifiedTemplateOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTemplatesResponseBody$.Outbound | undefined; + UnifiedTemplateOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTemplatesResponseBody$.outboundSchema).optional(), + unifiedTemplateOutputs: z + .array(components.UnifiedTemplateOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTemplateOutputs: "UnifiedTemplateOutputs", + }); + }); +} diff --git a/src/models/operations/addticket.ts b/src/models/operations/addticket.ts new file mode 100644 index 000000000..376c5727f --- /dev/null +++ b/src/models/operations/addticket.ts @@ -0,0 +1,129 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTicketRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; + unifiedTicketInput: components.UnifiedTicketInput; +}; + +export type AddTicketResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTicketOutput | undefined; +}; + +export type AddTicketResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTicketResponseBody | undefined; + unifiedTicketOutput?: components.UnifiedTicketOutput | undefined; +}; + +/** @internal */ +export namespace AddTicketRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedTicketInput: components.UnifiedTicketInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedTicketInput: "unifiedTicketInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedTicketInput: components.UnifiedTicketInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedTicketInput: components.UnifiedTicketInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedTicketInput: "UnifiedTicketInput", + }); + }); +} + +/** @internal */ +export namespace AddTicketResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTicketOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTicketOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTicketOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTicketResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTicketResponseBody$.inboundSchema).optional(), + UnifiedTicketOutput: components.UnifiedTicketOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTicketOutput: "unifiedTicketOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTicketResponseBody$.Outbound | undefined; + UnifiedTicketOutput?: components.UnifiedTicketOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTicketResponseBody$.outboundSchema).optional(), + unifiedTicketOutput: components.UnifiedTicketOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTicketOutput: "UnifiedTicketOutput", + }); + }); +} diff --git a/src/models/operations/addticketingattachment.ts b/src/models/operations/addticketingattachment.ts new file mode 100644 index 000000000..79d17819e --- /dev/null +++ b/src/models/operations/addticketingattachment.ts @@ -0,0 +1,139 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTicketingAttachmentRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; + unifiedAttachmentInput: components.UnifiedAttachmentInput; +}; + +export type AddTicketingAttachmentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type AddTicketingAttachmentResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTicketingAttachmentResponseBody | undefined; + unifiedAttachmentOutput?: components.UnifiedAttachmentOutput | undefined; +}; + +/** @internal */ +export namespace AddTicketingAttachmentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedAttachmentInput: components.UnifiedAttachmentInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedAttachmentInput: "unifiedAttachmentInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedAttachmentInput: components.UnifiedAttachmentInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedAttachmentInput: components.UnifiedAttachmentInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedAttachmentInput: "UnifiedAttachmentInput", + }); + }); +} + +/** @internal */ +export namespace AddTicketingAttachmentResponseBody$ { + export const inboundSchema: z.ZodType< + AddTicketingAttachmentResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddTicketingAttachmentResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTicketingAttachmentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTicketingAttachmentResponseBody$.inboundSchema).optional(), + UnifiedAttachmentOutput: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedAttachmentOutput: "unifiedAttachmentOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTicketingAttachmentResponseBody$.Outbound | undefined; + UnifiedAttachmentOutput?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTicketingAttachmentResponseBody$.outboundSchema).optional(), + unifiedAttachmentOutput: + components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedAttachmentOutput: "UnifiedAttachmentOutput", + }); + }); +} diff --git a/src/models/operations/addticketingattachments.ts b/src/models/operations/addticketingattachments.ts new file mode 100644 index 000000000..976686ff7 --- /dev/null +++ b/src/models/operations/addticketingattachments.ts @@ -0,0 +1,146 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTicketingAttachmentsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; + requestBody: Array; +}; + +export type AddTicketingAttachmentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type AddTicketingAttachmentsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTicketingAttachmentsResponseBody | undefined; + unifiedAttachmentOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddTicketingAttachmentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + RequestBody: z.array(components.UnifiedAttachmentInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + requestBody: z.array(components.UnifiedAttachmentInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddTicketingAttachmentsResponseBody$ { + export const inboundSchema: z.ZodType< + AddTicketingAttachmentsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddTicketingAttachmentsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTicketingAttachmentsResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTicketingAttachmentsResponseBody$.inboundSchema).optional(), + UnifiedAttachmentOutputs: z + .array(components.UnifiedAttachmentOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedAttachmentOutputs: "unifiedAttachmentOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTicketingAttachmentsResponseBody$.Outbound | undefined; + UnifiedAttachmentOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddTicketingAttachmentsResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTicketingAttachmentsResponseBody$.outboundSchema).optional(), + unifiedAttachmentOutputs: z + .array(components.UnifiedAttachmentOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedAttachmentOutputs: "UnifiedAttachmentOutputs", + }); + }); +} diff --git a/src/models/operations/addtickets.ts b/src/models/operations/addtickets.ts new file mode 100644 index 000000000..2cf78f186 --- /dev/null +++ b/src/models/operations/addtickets.ts @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTicketsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; + requestBody: Array; +}; + +export type AddTicketsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTicketOutput | undefined; +}; + +export type AddTicketsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTicketsResponseBody | undefined; + unifiedTicketOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddTicketsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + RequestBody: z.array(components.UnifiedTicketInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + requestBody: z.array(components.UnifiedTicketInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddTicketsResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTicketOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTicketOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTicketOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTicketsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTicketsResponseBody$.inboundSchema).optional(), + UnifiedTicketOutputs: z.array(components.UnifiedTicketOutput$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTicketOutputs: "unifiedTicketOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTicketsResponseBody$.Outbound | undefined; + UnifiedTicketOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTicketsResponseBody$.outboundSchema).optional(), + unifiedTicketOutputs: z + .array(components.UnifiedTicketOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTicketOutputs: "UnifiedTicketOutputs", + }); + }); +} diff --git a/src/models/operations/addtimeoff.ts b/src/models/operations/addtimeoff.ts new file mode 100644 index 000000000..74a0a3c6d --- /dev/null +++ b/src/models/operations/addtimeoff.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTimeoffRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedTimeoffInput: components.UnifiedTimeoffInput; +}; + +export type AddTimeoffResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffOutput | undefined; +}; + +export type AddTimeoffResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTimeoffResponseBody | undefined; + unifiedTimeoffOutput?: components.UnifiedTimeoffOutput | undefined; +}; + +/** @internal */ +export namespace AddTimeoffRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedTimeoffInput: components.UnifiedTimeoffInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedTimeoffInput: "unifiedTimeoffInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedTimeoffInput: components.UnifiedTimeoffInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedTimeoffInput: components.UnifiedTimeoffInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedTimeoffInput: "UnifiedTimeoffInput", + }); + }); +} + +/** @internal */ +export namespace AddTimeoffResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTimeoffResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTimeoffResponseBody$.inboundSchema).optional(), + UnifiedTimeoffOutput: components.UnifiedTimeoffOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTimeoffOutput: "unifiedTimeoffOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTimeoffResponseBody$.Outbound | undefined; + UnifiedTimeoffOutput?: components.UnifiedTimeoffOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTimeoffResponseBody$.outboundSchema).optional(), + unifiedTimeoffOutput: components.UnifiedTimeoffOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTimeoffOutput: "UnifiedTimeoffOutput", + }); + }); +} diff --git a/src/models/operations/addtimeoffbalance.ts b/src/models/operations/addtimeoffbalance.ts new file mode 100644 index 000000000..00965fa21 --- /dev/null +++ b/src/models/operations/addtimeoffbalance.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTimeoffBalanceRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + unifiedTimeoffBalanceInput: components.UnifiedTimeoffBalanceInput; +}; + +export type AddTimeoffBalanceResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffBalanceOutput | undefined; +}; + +export type AddTimeoffBalanceResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTimeoffBalanceResponseBody | undefined; + unifiedTimeoffBalanceOutput?: components.UnifiedTimeoffBalanceOutput | undefined; +}; + +/** @internal */ +export namespace AddTimeoffBalanceRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedTimeoffBalanceInput: components.UnifiedTimeoffBalanceInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedTimeoffBalanceInput: "unifiedTimeoffBalanceInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedTimeoffBalanceInput: components.UnifiedTimeoffBalanceInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedTimeoffBalanceInput: components.UnifiedTimeoffBalanceInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedTimeoffBalanceInput: "UnifiedTimeoffBalanceInput", + }); + }); +} + +/** @internal */ +export namespace AddTimeoffBalanceResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffBalanceOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffBalanceOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffBalanceOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTimeoffBalanceResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTimeoffBalanceResponseBody$.inboundSchema).optional(), + UnifiedTimeoffBalanceOutput: + components.UnifiedTimeoffBalanceOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTimeoffBalanceOutput: "unifiedTimeoffBalanceOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTimeoffBalanceResponseBody$.Outbound | undefined; + UnifiedTimeoffBalanceOutput?: components.UnifiedTimeoffBalanceOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTimeoffBalanceResponseBody$.outboundSchema).optional(), + unifiedTimeoffBalanceOutput: + components.UnifiedTimeoffBalanceOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTimeoffBalanceOutput: "UnifiedTimeoffBalanceOutput", + }); + }); +} diff --git a/src/models/operations/addtimeoffbalances.ts b/src/models/operations/addtimeoffbalances.ts new file mode 100644 index 000000000..1f23a24d7 --- /dev/null +++ b/src/models/operations/addtimeoffbalances.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTimeoffBalancesRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddTimeoffBalancesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffBalanceOutput | undefined; +}; + +export type AddTimeoffBalancesResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTimeoffBalancesResponseBody | undefined; + unifiedTimeoffBalanceOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddTimeoffBalancesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedTimeoffBalanceInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedTimeoffBalanceInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddTimeoffBalancesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffBalanceOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffBalanceOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffBalanceOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTimeoffBalancesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTimeoffBalancesResponseBody$.inboundSchema).optional(), + UnifiedTimeoffBalanceOutputs: z + .array(components.UnifiedTimeoffBalanceOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTimeoffBalanceOutputs: "unifiedTimeoffBalanceOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTimeoffBalancesResponseBody$.Outbound | undefined; + UnifiedTimeoffBalanceOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTimeoffBalancesResponseBody$.outboundSchema).optional(), + unifiedTimeoffBalanceOutputs: z + .array(components.UnifiedTimeoffBalanceOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTimeoffBalanceOutputs: "UnifiedTimeoffBalanceOutputs", + }); + }); +} diff --git a/src/models/operations/addtimeoffs.ts b/src/models/operations/addtimeoffs.ts new file mode 100644 index 000000000..c37deec3d --- /dev/null +++ b/src/models/operations/addtimeoffs.ts @@ -0,0 +1,140 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTimeoffsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddTimeoffsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffOutput | undefined; +}; + +export type AddTimeoffsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTimeoffsResponseBody | undefined; + unifiedTimeoffOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddTimeoffsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedTimeoffInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedTimeoffInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddTimeoffsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTimeoffsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTimeoffsResponseBody$.inboundSchema).optional(), + UnifiedTimeoffOutputs: z + .array(components.UnifiedTimeoffOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTimeoffOutputs: "unifiedTimeoffOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTimeoffsResponseBody$.Outbound | undefined; + UnifiedTimeoffOutputs?: Array | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTimeoffsResponseBody$.outboundSchema).optional(), + unifiedTimeoffOutputs: z + .array(components.UnifiedTimeoffOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTimeoffOutputs: "UnifiedTimeoffOutputs", + }); + }); +} diff --git a/src/models/operations/addtrackingcategory.ts b/src/models/operations/addtrackingcategory.ts new file mode 100644 index 000000000..e48882123 --- /dev/null +++ b/src/models/operations/addtrackingcategory.ts @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTrackingCategoryRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedTrackingCategoryInput: components.UnifiedTrackingCategoryInput; +}; + +export type AddTrackingCategoryResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTrackingCategoryOutput | undefined; +}; + +export type AddTrackingCategoryResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTrackingCategoryResponseBody | undefined; + unifiedTrackingCategoryOutput?: components.UnifiedTrackingCategoryOutput | undefined; +}; + +/** @internal */ +export namespace AddTrackingCategoryRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedTrackingCategoryInput: components.UnifiedTrackingCategoryInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedTrackingCategoryInput: "unifiedTrackingCategoryInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedTrackingCategoryInput: components.UnifiedTrackingCategoryInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedTrackingCategoryInput: components.UnifiedTrackingCategoryInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedTrackingCategoryInput: "UnifiedTrackingCategoryInput", + }); + }); +} + +/** @internal */ +export namespace AddTrackingCategoryResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTrackingCategoryOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTrackingCategoryOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddTrackingCategoryResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTrackingCategoryOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTrackingCategoryResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTrackingCategoryResponseBody$.inboundSchema).optional(), + UnifiedTrackingCategoryOutput: + components.UnifiedTrackingCategoryOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTrackingCategoryOutput: "unifiedTrackingCategoryOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTrackingCategoryResponseBody$.Outbound | undefined; + UnifiedTrackingCategoryOutput?: + | components.UnifiedTrackingCategoryOutput$.Outbound + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTrackingCategoryResponseBody$.outboundSchema).optional(), + unifiedTrackingCategoryOutput: + components.UnifiedTrackingCategoryOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTrackingCategoryOutput: "UnifiedTrackingCategoryOutput", + }); + }); +} diff --git a/src/models/operations/addtrackingcategorys.ts b/src/models/operations/addtrackingcategorys.ts new file mode 100644 index 000000000..da568caa1 --- /dev/null +++ b/src/models/operations/addtrackingcategorys.ts @@ -0,0 +1,145 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTrackingCategorysRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddTrackingCategorysResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTrackingCategoryOutput | undefined; +}; + +export type AddTrackingCategorysResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTrackingCategorysResponseBody | undefined; + unifiedTrackingCategoryOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddTrackingCategorysRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedTrackingCategoryInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedTrackingCategoryInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddTrackingCategorysResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTrackingCategoryOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTrackingCategoryOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddTrackingCategorysResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTrackingCategoryOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTrackingCategorysResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTrackingCategorysResponseBody$.inboundSchema).optional(), + UnifiedTrackingCategoryOutputs: z + .array(components.UnifiedTrackingCategoryOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTrackingCategoryOutputs: "unifiedTrackingCategoryOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTrackingCategorysResponseBody$.Outbound | undefined; + UnifiedTrackingCategoryOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTrackingCategorysResponseBody$.outboundSchema).optional(), + unifiedTrackingCategoryOutputs: z + .array(components.UnifiedTrackingCategoryOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTrackingCategoryOutputs: "UnifiedTrackingCategoryOutputs", + }); + }); +} diff --git a/src/models/operations/addtransaction.ts b/src/models/operations/addtransaction.ts new file mode 100644 index 000000000..dc57f5b6c --- /dev/null +++ b/src/models/operations/addtransaction.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTransactionRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedTransactionInput: components.UnifiedTransactionInput; +}; + +export type AddTransactionResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTransactionOutput | undefined; +}; + +export type AddTransactionResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTransactionResponseBody | undefined; + unifiedTransactionOutput?: components.UnifiedTransactionOutput | undefined; +}; + +/** @internal */ +export namespace AddTransactionRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedTransactionInput: components.UnifiedTransactionInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedTransactionInput: "unifiedTransactionInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedTransactionInput: components.UnifiedTransactionInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedTransactionInput: components.UnifiedTransactionInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedTransactionInput: "UnifiedTransactionInput", + }); + }); +} + +/** @internal */ +export namespace AddTransactionResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTransactionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTransactionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTransactionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTransactionResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTransactionResponseBody$.inboundSchema).optional(), + UnifiedTransactionOutput: components.UnifiedTransactionOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTransactionOutput: "unifiedTransactionOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTransactionResponseBody$.Outbound | undefined; + UnifiedTransactionOutput?: components.UnifiedTransactionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTransactionResponseBody$.outboundSchema).optional(), + unifiedTransactionOutput: + components.UnifiedTransactionOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTransactionOutput: "UnifiedTransactionOutput", + }); + }); +} diff --git a/src/models/operations/addtransactions.ts b/src/models/operations/addtransactions.ts new file mode 100644 index 000000000..0b8a066b1 --- /dev/null +++ b/src/models/operations/addtransactions.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddTransactionsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddTransactionsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTransactionOutput | undefined; +}; + +export type AddTransactionsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddTransactionsResponseBody | undefined; + unifiedTransactionOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddTransactionsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedTransactionInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedTransactionInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddTransactionsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTransactionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTransactionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTransactionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddTransactionsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddTransactionsResponseBody$.inboundSchema).optional(), + UnifiedTransactionOutputs: z + .array(components.UnifiedTransactionOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTransactionOutputs: "unifiedTransactionOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddTransactionsResponseBody$.Outbound | undefined; + UnifiedTransactionOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddTransactionsResponseBody$.outboundSchema).optional(), + unifiedTransactionOutputs: z + .array(components.UnifiedTransactionOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTransactionOutputs: "UnifiedTransactionOutputs", + }); + }); +} diff --git a/src/models/operations/addvendorcredit.ts b/src/models/operations/addvendorcredit.ts new file mode 100644 index 000000000..b642ccaae --- /dev/null +++ b/src/models/operations/addvendorcredit.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddVendorCreditRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + unifiedVendorCreditInput: components.UnifiedVendorCreditInput; +}; + +export type AddVendorCreditResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedVendorCreditOutput | undefined; +}; + +export type AddVendorCreditResponse = { + httpMeta: components.HTTPMetadata; + object?: AddVendorCreditResponseBody | undefined; + unifiedVendorCreditOutput?: components.UnifiedVendorCreditOutput | undefined; +}; + +/** @internal */ +export namespace AddVendorCreditRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + UnifiedVendorCreditInput: components.UnifiedVendorCreditInput$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + UnifiedVendorCreditInput: "unifiedVendorCreditInput", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + UnifiedVendorCreditInput: components.UnifiedVendorCreditInput$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + unifiedVendorCreditInput: components.UnifiedVendorCreditInput$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + unifiedVendorCreditInput: "UnifiedVendorCreditInput", + }); + }); +} + +/** @internal */ +export namespace AddVendorCreditResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedVendorCreditOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedVendorCreditOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedVendorCreditOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddVendorCreditResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddVendorCreditResponseBody$.inboundSchema).optional(), + UnifiedVendorCreditOutput: + components.UnifiedVendorCreditOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedVendorCreditOutput: "unifiedVendorCreditOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddVendorCreditResponseBody$.Outbound | undefined; + UnifiedVendorCreditOutput?: components.UnifiedVendorCreditOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddVendorCreditResponseBody$.outboundSchema).optional(), + unifiedVendorCreditOutput: + components.UnifiedVendorCreditOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedVendorCreditOutput: "UnifiedVendorCreditOutput", + }); + }); +} diff --git a/src/models/operations/addvendorcredits.ts b/src/models/operations/addvendorcredits.ts new file mode 100644 index 000000000..6189f19ef --- /dev/null +++ b/src/models/operations/addvendorcredits.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AddVendorCreditsRequest = { + connectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; + /** + * The connection token + */ + xConnectionToken: string; + requestBody: Array; +}; + +export type AddVendorCreditsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedVendorCreditOutput | undefined; +}; + +export type AddVendorCreditsResponse = { + httpMeta: components.HTTPMetadata; + object?: AddVendorCreditsResponseBody | undefined; + unifiedVendorCreditOutputs?: Array | undefined; +}; + +/** @internal */ +export namespace AddVendorCreditsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + connection_token: z.string(), + remote_data: z.boolean().optional(), + "x-connection-token": z.string(), + RequestBody: z.array(components.UnifiedVendorCreditInput$.inboundSchema), + }) + .transform((v) => { + return remap$(v, { + connection_token: "connectionToken", + remote_data: "remoteData", + "x-connection-token": "xConnectionToken", + RequestBody: "requestBody", + }); + }); + + export type Outbound = { + connection_token: string; + remote_data?: boolean | undefined; + "x-connection-token": string; + RequestBody: Array; + }; + + export const outboundSchema: z.ZodType = z + .object({ + connectionToken: z.string(), + remoteData: z.boolean().optional(), + xConnectionToken: z.string(), + requestBody: z.array(components.UnifiedVendorCreditInput$.outboundSchema), + }) + .transform((v) => { + return remap$(v, { + connectionToken: "connection_token", + remoteData: "remote_data", + xConnectionToken: "x-connection-token", + requestBody: "RequestBody", + }); + }); +} + +/** @internal */ +export namespace AddVendorCreditsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedVendorCreditOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedVendorCreditOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedVendorCreditOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace AddVendorCreditsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => AddVendorCreditsResponseBody$.inboundSchema).optional(), + UnifiedVendorCreditOutputs: z + .array(components.UnifiedVendorCreditOutput$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedVendorCreditOutputs: "unifiedVendorCreditOutputs", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: AddVendorCreditsResponseBody$.Outbound | undefined; + UnifiedVendorCreditOutputs?: + | Array + | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => AddVendorCreditsResponseBody$.outboundSchema).optional(), + unifiedVendorCreditOutputs: z + .array(components.UnifiedVendorCreditOutput$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedVendorCreditOutputs: "UnifiedVendorCreditOutputs", + }); + }); +} diff --git a/src/models/operations/authcontrollergetprofile.ts b/src/models/operations/authcontrollergetprofile.ts new file mode 100644 index 000000000..7c323ad61 --- /dev/null +++ b/src/models/operations/authcontrollergetprofile.ts @@ -0,0 +1,49 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type AuthControllerGetProfileResponse = { + httpMeta: components.HTTPMetadata; + verifyUserDto?: components.VerifyUserDto | undefined; +}; + +/** @internal */ +export namespace AuthControllerGetProfileResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + VerifyUserDto: components.VerifyUserDto$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + VerifyUserDto: "verifyUserDto", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + VerifyUserDto?: components.VerifyUserDto$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AuthControllerGetProfileResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + verifyUserDto: components.VerifyUserDto$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + verifyUserDto: "VerifyUserDto", + }); + }); +} diff --git a/src/models/operations/connectionscontrollerhandlegorgiasauthurl.ts b/src/models/operations/connectionscontrollerhandlegorgiasauthurl.ts new file mode 100644 index 000000000..ee06e682d --- /dev/null +++ b/src/models/operations/connectionscontrollerhandlegorgiasauthurl.ts @@ -0,0 +1,113 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type ConnectionsControllerHandleGorgiasAuthUrlRequest = { + account: string; + responseType: string; + nonce: string; + scope: string; + clientId: string; + redirectUri: string; + state: string; +}; + +export type ConnectionsControllerHandleGorgiasAuthUrlResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace ConnectionsControllerHandleGorgiasAuthUrlRequest$ { + export const inboundSchema: z.ZodType< + ConnectionsControllerHandleGorgiasAuthUrlRequest, + z.ZodTypeDef, + unknown + > = z + .object({ + account: z.string(), + response_type: z.string(), + nonce: z.string(), + scope: z.string(), + client_id: z.string(), + redirect_uri: z.string(), + state: z.string(), + }) + .transform((v) => { + return remap$(v, { + response_type: "responseType", + client_id: "clientId", + redirect_uri: "redirectUri", + }); + }); + + export type Outbound = { + account: string; + response_type: string; + nonce: string; + scope: string; + client_id: string; + redirect_uri: string; + state: string; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + ConnectionsControllerHandleGorgiasAuthUrlRequest + > = z + .object({ + account: z.string(), + responseType: z.string(), + nonce: z.string(), + scope: z.string(), + clientId: z.string(), + redirectUri: z.string(), + state: z.string(), + }) + .transform((v) => { + return remap$(v, { + responseType: "response_type", + clientId: "client_id", + redirectUri: "redirect_uri", + }); + }); +} + +/** @internal */ +export namespace ConnectionsControllerHandleGorgiasAuthUrlResponse$ { + export const inboundSchema: z.ZodType< + ConnectionsControllerHandleGorgiasAuthUrlResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + ConnectionsControllerHandleGorgiasAuthUrlResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/createconnectionstrategy.ts b/src/models/operations/createconnectionstrategy.ts new file mode 100644 index 000000000..8b945dcf0 --- /dev/null +++ b/src/models/operations/createconnectionstrategy.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type CreateConnectionStrategyResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace CreateConnectionStrategyResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + CreateConnectionStrategyResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/createcustomfield.ts b/src/models/operations/createcustomfield.ts new file mode 100644 index 000000000..05697bf65 --- /dev/null +++ b/src/models/operations/createcustomfield.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type CreateCustomFieldResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace CreateCustomFieldResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/createmagiclink.ts b/src/models/operations/createmagiclink.ts new file mode 100644 index 000000000..3e95a7a85 --- /dev/null +++ b/src/models/operations/createmagiclink.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type CreateMagicLinkResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace CreateMagicLinkResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/createmanagedwebhook.ts b/src/models/operations/createmanagedwebhook.ts new file mode 100644 index 000000000..986c65277 --- /dev/null +++ b/src/models/operations/createmanagedwebhook.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type CreateManagedWebhookResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace CreateManagedWebhookResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/createorganisation.ts b/src/models/operations/createorganisation.ts new file mode 100644 index 000000000..435433eaa --- /dev/null +++ b/src/models/operations/createorganisation.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type CreateOrganisationResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace CreateOrganisationResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/createproject.ts b/src/models/operations/createproject.ts new file mode 100644 index 000000000..b006df3b7 --- /dev/null +++ b/src/models/operations/createproject.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type CreateProjectResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace CreateProjectResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/createremotethirdpartywebhook.ts b/src/models/operations/createremotethirdpartywebhook.ts new file mode 100644 index 000000000..08d048b5b --- /dev/null +++ b/src/models/operations/createremotethirdpartywebhook.ts @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type CreateRemoteThirdPartyWebhookResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace CreateRemoteThirdPartyWebhookResponse$ { + export const inboundSchema: z.ZodType< + CreateRemoteThirdPartyWebhookResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + CreateRemoteThirdPartyWebhookResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/createwebhookmetadata.ts b/src/models/operations/createwebhookmetadata.ts new file mode 100644 index 000000000..0a1fd2282 --- /dev/null +++ b/src/models/operations/createwebhookmetadata.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type CreateWebhookMetadataResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace CreateWebhookMetadataResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/definetargetfield.ts b/src/models/operations/definetargetfield.ts new file mode 100644 index 000000000..d182a0fe3 --- /dev/null +++ b/src/models/operations/definetargetfield.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type DefineTargetFieldResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace DefineTargetFieldResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/deleteapikey.ts b/src/models/operations/deleteapikey.ts new file mode 100644 index 000000000..2c47dd2a2 --- /dev/null +++ b/src/models/operations/deleteapikey.ts @@ -0,0 +1,57 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type DeleteApiKeyRequest = { + id: string; +}; + +export type DeleteApiKeyResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace DeleteApiKeyRequest$ { + export const inboundSchema: z.ZodType = z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = z.object({ + id: z.string(), + }); +} + +/** @internal */ +export namespace DeleteApiKeyResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/deleteconnectionstrategy.ts b/src/models/operations/deleteconnectionstrategy.ts new file mode 100644 index 000000000..3b4352e90 --- /dev/null +++ b/src/models/operations/deleteconnectionstrategy.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type DeleteConnectionStrategyResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace DeleteConnectionStrategyResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + DeleteConnectionStrategyResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/deletewebhook.ts b/src/models/operations/deletewebhook.ts new file mode 100644 index 000000000..aeb8150fa --- /dev/null +++ b/src/models/operations/deletewebhook.ts @@ -0,0 +1,59 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type DeleteWebhookRequest = { + id: string; +}; + +export type DeleteWebhookResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace DeleteWebhookRequest$ { + export const inboundSchema: z.ZodType = z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = z.object( + { + id: z.string(), + } + ); +} + +/** @internal */ +export namespace DeleteWebhookResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/downloadattachment.ts b/src/models/operations/downloadattachment.ts new file mode 100644 index 000000000..365f5606a --- /dev/null +++ b/src/models/operations/downloadattachment.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type DownloadAttachmentRequest = { + /** + * id of the attachment you want to retrive. + */ + id: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; +}; + +export type DownloadAttachmentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type DownloadAttachmentResponse = { + httpMeta: components.HTTPMetadata; + object?: DownloadAttachmentResponseBody | undefined; +}; + +/** @internal */ +export namespace DownloadAttachmentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace DownloadAttachmentResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace DownloadAttachmentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => DownloadAttachmentResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: DownloadAttachmentResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => DownloadAttachmentResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/fetchlinkedusers.ts b/src/models/operations/fetchlinkedusers.ts new file mode 100644 index 000000000..340a6c1d5 --- /dev/null +++ b/src/models/operations/fetchlinkedusers.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type FetchLinkedUsersResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace FetchLinkedUsersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/generateapikey.ts b/src/models/operations/generateapikey.ts new file mode 100644 index 000000000..ab57edf04 --- /dev/null +++ b/src/models/operations/generateapikey.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GenerateApiKeyResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GenerateApiKeyResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getaccountingaccount.ts b/src/models/operations/getaccountingaccount.ts new file mode 100644 index 000000000..f216164f2 --- /dev/null +++ b/src/models/operations/getaccountingaccount.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAccountingAccountRequest = { + /** + * id of the account you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAccountingAccountResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAccountOutput | undefined; +}; + +export type GetAccountingAccountResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAccountingAccountResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAccountingAccountRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAccountingAccountResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAccountOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAccountOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetAccountingAccountResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAccountOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAccountingAccountResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAccountingAccountResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAccountingAccountResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAccountingAccountResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getaccountingaccounts.ts b/src/models/operations/getaccountingaccounts.ts new file mode 100644 index 000000000..2efbf119c --- /dev/null +++ b/src/models/operations/getaccountingaccounts.ts @@ -0,0 +1,125 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAccountingAccountsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAccountingAccountsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAccountOutput | undefined; +}; + +export type GetAccountingAccountsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAccountingAccountsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAccountingAccountsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAccountingAccountsResponseBody$ { + export const inboundSchema: z.ZodType< + GetAccountingAccountsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAccountOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAccountOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetAccountingAccountsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAccountOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAccountingAccountsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAccountingAccountsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAccountingAccountsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAccountingAccountsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getaccountingattachment.ts b/src/models/operations/getaccountingattachment.ts new file mode 100644 index 000000000..0087c7bd3 --- /dev/null +++ b/src/models/operations/getaccountingattachment.ts @@ -0,0 +1,128 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAccountingAttachmentRequest = { + /** + * id of the attachment you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAccountingAttachmentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type GetAccountingAttachmentResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAccountingAttachmentResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAccountingAttachmentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAccountingAttachmentResponseBody$ { + export const inboundSchema: z.ZodType< + GetAccountingAttachmentResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetAccountingAttachmentResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAccountingAttachmentResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAccountingAttachmentResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAccountingAttachmentResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetAccountingAttachmentResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAccountingAttachmentResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getaccountingattachments.ts b/src/models/operations/getaccountingattachments.ts new file mode 100644 index 000000000..e2bb171d9 --- /dev/null +++ b/src/models/operations/getaccountingattachments.ts @@ -0,0 +1,136 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAccountingAttachmentsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAccountingAttachmentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type GetAccountingAttachmentsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAccountingAttachmentsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAccountingAttachmentsRequest$ { + export const inboundSchema: z.ZodType = + z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetAccountingAttachmentsRequest + > = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAccountingAttachmentsResponseBody$ { + export const inboundSchema: z.ZodType< + GetAccountingAttachmentsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetAccountingAttachmentsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAccountingAttachmentsResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z + .lazy(() => GetAccountingAttachmentsResponseBody$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAccountingAttachmentsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetAccountingAttachmentsResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAccountingAttachmentsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getaccountingcontact.ts b/src/models/operations/getaccountingcontact.ts new file mode 100644 index 000000000..3cd59783c --- /dev/null +++ b/src/models/operations/getaccountingcontact.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAccountingContactRequest = { + /** + * id of the contact you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAccountingContactResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type GetAccountingContactResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAccountingContactResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAccountingContactRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAccountingContactResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetAccountingContactResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAccountingContactResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAccountingContactResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAccountingContactResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAccountingContactResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getaccountingcontacts.ts b/src/models/operations/getaccountingcontacts.ts new file mode 100644 index 000000000..be31790a8 --- /dev/null +++ b/src/models/operations/getaccountingcontacts.ts @@ -0,0 +1,125 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAccountingContactsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAccountingContactsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type GetAccountingContactsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAccountingContactsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAccountingContactsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAccountingContactsResponseBody$ { + export const inboundSchema: z.ZodType< + GetAccountingContactsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetAccountingContactsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAccountingContactsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAccountingContactsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAccountingContactsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAccountingContactsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getaction.ts b/src/models/operations/getaction.ts new file mode 100644 index 000000000..84076c245 --- /dev/null +++ b/src/models/operations/getaction.ts @@ -0,0 +1,115 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetActionRequest = { + /** + * id of the action you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetActionResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActionOutput | undefined; +}; + +export type GetActionResponse = { + httpMeta: components.HTTPMetadata; + object?: GetActionResponseBody | undefined; +}; + +/** @internal */ +export namespace GetActionRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetActionResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetActionResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetActionResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetActionResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetActionResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getactions.ts b/src/models/operations/getactions.ts new file mode 100644 index 000000000..06091cf94 --- /dev/null +++ b/src/models/operations/getactions.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetActionsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetActionsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActionOutput | undefined; +}; + +export type GetActionsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetActionsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetActionsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetActionsResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActionOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetActionsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetActionsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetActionsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetActionsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getactivity.ts b/src/models/operations/getactivity.ts new file mode 100644 index 000000000..05bccf7cc --- /dev/null +++ b/src/models/operations/getactivity.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetActivityRequest = { + /** + * id of the activity you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetActivityResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActivityOutput | undefined; +}; + +export type GetActivityResponse = { + httpMeta: components.HTTPMetadata; + object?: GetActivityResponseBody | undefined; +}; + +/** @internal */ +export namespace GetActivityRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetActivityResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActivityOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActivityOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActivityOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetActivityResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetActivityResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetActivityResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetActivityResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getactivitys.ts b/src/models/operations/getactivitys.ts new file mode 100644 index 000000000..0f8e8dfe3 --- /dev/null +++ b/src/models/operations/getactivitys.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetActivitysRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetActivitysResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActivityOutput | undefined; +}; + +export type GetActivitysResponse = { + httpMeta: components.HTTPMetadata; + object?: GetActivitysResponseBody | undefined; +}; + +/** @internal */ +export namespace GetActivitysRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetActivitysResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActivityOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedActivityOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedActivityOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetActivitysResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetActivitysResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetActivitysResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetActivitysResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getaddress.ts b/src/models/operations/getaddress.ts new file mode 100644 index 000000000..ef57b5f61 --- /dev/null +++ b/src/models/operations/getaddress.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAddressRequest = { + /** + * id of the address you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAddressResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAddressOutput | undefined; +}; + +export type GetAddressResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAddressResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAddressRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAddressResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAddressOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAddressOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAddressOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAddressResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAddressResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAddressResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAddressResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getaddresss.ts b/src/models/operations/getaddresss.ts new file mode 100644 index 000000000..c543956fb --- /dev/null +++ b/src/models/operations/getaddresss.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAddresssRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAddresssResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAddressOutput | undefined; +}; + +export type GetAddresssResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAddresssResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAddresssRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAddresssResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAddressOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAddressOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAddressOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAddresssResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAddresssResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAddresssResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAddresssResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getapikeys.ts b/src/models/operations/getapikeys.ts new file mode 100644 index 000000000..c229539c0 --- /dev/null +++ b/src/models/operations/getapikeys.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetApiKeysResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetApiKeysResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getapplication.ts b/src/models/operations/getapplication.ts new file mode 100644 index 000000000..389415c19 --- /dev/null +++ b/src/models/operations/getapplication.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetApplicationRequest = { + /** + * id of the application you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetApplicationResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedApplicationOutput | undefined; +}; + +export type GetApplicationResponse = { + httpMeta: components.HTTPMetadata; + object?: GetApplicationResponseBody | undefined; +}; + +/** @internal */ +export namespace GetApplicationRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetApplicationResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedApplicationOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedApplicationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedApplicationOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetApplicationResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetApplicationResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetApplicationResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetApplicationResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getapplications.ts b/src/models/operations/getapplications.ts new file mode 100644 index 000000000..331e392eb --- /dev/null +++ b/src/models/operations/getapplications.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetApplicationsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetApplicationsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedApplicationOutput | undefined; +}; + +export type GetApplicationsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetApplicationsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetApplicationsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetApplicationsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedApplicationOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedApplicationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedApplicationOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetApplicationsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetApplicationsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetApplicationsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetApplicationsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getatsattachment.ts b/src/models/operations/getatsattachment.ts new file mode 100644 index 000000000..4cbb41215 --- /dev/null +++ b/src/models/operations/getatsattachment.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAtsAttachmentRequest = { + /** + * id of the attachment you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAtsAttachmentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type GetAtsAttachmentResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAtsAttachmentResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAtsAttachmentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAtsAttachmentResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAtsAttachmentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAtsAttachmentResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAtsAttachmentResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAtsAttachmentResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getatsattachments.ts b/src/models/operations/getatsattachments.ts new file mode 100644 index 000000000..70747576e --- /dev/null +++ b/src/models/operations/getatsattachments.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAtsAttachmentsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAtsAttachmentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type GetAtsAttachmentsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAtsAttachmentsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAtsAttachmentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAtsAttachmentsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAtsAttachmentsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAtsAttachmentsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAtsAttachmentsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAtsAttachmentsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getatstag.ts b/src/models/operations/getatstag.ts new file mode 100644 index 000000000..3c10a2f84 --- /dev/null +++ b/src/models/operations/getatstag.ts @@ -0,0 +1,115 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAtsTagRequest = { + /** + * id of the tag you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAtsTagResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTagOutput | undefined; +}; + +export type GetAtsTagResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAtsTagResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAtsTagRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAtsTagResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTagOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTagOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTagOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAtsTagResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAtsTagResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAtsTagResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAtsTagResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getatstags.ts b/src/models/operations/getatstags.ts new file mode 100644 index 000000000..211374833 --- /dev/null +++ b/src/models/operations/getatstags.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAtsTagsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAtsTagsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTagOutput | undefined; +}; + +export type GetAtsTagsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAtsTagsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAtsTagsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAtsTagsResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTagOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTagOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTagOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAtsTagsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAtsTagsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAtsTagsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAtsTagsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getatsuser.ts b/src/models/operations/getatsuser.ts new file mode 100644 index 000000000..456fc1ce7 --- /dev/null +++ b/src/models/operations/getatsuser.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAtsUserRequest = { + /** + * id of the user you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAtsUserResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput | undefined; +}; + +export type GetAtsUserResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAtsUserResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAtsUserRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAtsUserResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAtsUserResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAtsUserResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAtsUserResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAtsUserResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getatsusers.ts b/src/models/operations/getatsusers.ts new file mode 100644 index 000000000..4d0fefae3 --- /dev/null +++ b/src/models/operations/getatsusers.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAtsUsersRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAtsUsersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput | undefined; +}; + +export type GetAtsUsersResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAtsUsersResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAtsUsersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAtsUsersResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAtsUsersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAtsUsersResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAtsUsersResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAtsUsersResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getautomation.ts b/src/models/operations/getautomation.ts new file mode 100644 index 000000000..2c604f177 --- /dev/null +++ b/src/models/operations/getautomation.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAutomationRequest = { + /** + * id of the automation you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAutomationResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAutomationOutput | undefined; +}; + +export type GetAutomationResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAutomationResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAutomationRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAutomationResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAutomationOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAutomationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAutomationOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAutomationResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAutomationResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAutomationResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAutomationResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getautomations.ts b/src/models/operations/getautomations.ts new file mode 100644 index 000000000..b73804bb1 --- /dev/null +++ b/src/models/operations/getautomations.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetAutomationsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetAutomationsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAutomationOutput | undefined; +}; + +export type GetAutomationsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetAutomationsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetAutomationsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetAutomationsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAutomationOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAutomationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAutomationOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetAutomationsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetAutomationsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetAutomationsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetAutomationsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getbalancesheet.ts b/src/models/operations/getbalancesheet.ts new file mode 100644 index 000000000..a521a814e --- /dev/null +++ b/src/models/operations/getbalancesheet.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetBalanceSheetRequest = { + /** + * id of the balancesheet you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetBalanceSheetResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBalanceSheetOutput | undefined; +}; + +export type GetBalanceSheetResponse = { + httpMeta: components.HTTPMetadata; + object?: GetBalanceSheetResponseBody | undefined; +}; + +/** @internal */ +export namespace GetBalanceSheetRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetBalanceSheetResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBalanceSheetOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBalanceSheetOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBalanceSheetOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetBalanceSheetResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetBalanceSheetResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetBalanceSheetResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetBalanceSheetResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getbalancesheets.ts b/src/models/operations/getbalancesheets.ts new file mode 100644 index 000000000..b3a967f91 --- /dev/null +++ b/src/models/operations/getbalancesheets.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetBalanceSheetsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetBalanceSheetsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBalanceSheetOutput | undefined; +}; + +export type GetBalanceSheetsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetBalanceSheetsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetBalanceSheetsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetBalanceSheetsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBalanceSheetOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBalanceSheetOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBalanceSheetOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetBalanceSheetsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetBalanceSheetsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetBalanceSheetsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetBalanceSheetsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getbankinfo.ts b/src/models/operations/getbankinfo.ts new file mode 100644 index 000000000..83da21e64 --- /dev/null +++ b/src/models/operations/getbankinfo.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetBankinfoRequest = { + /** + * id of the bankinfo you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetBankinfoResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBankInfoOutput | undefined; +}; + +export type GetBankinfoResponse = { + httpMeta: components.HTTPMetadata; + object?: GetBankinfoResponseBody | undefined; +}; + +/** @internal */ +export namespace GetBankinfoRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetBankinfoResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBankInfoOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBankInfoOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBankInfoOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetBankinfoResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetBankinfoResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetBankinfoResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetBankinfoResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getbankinfos.ts b/src/models/operations/getbankinfos.ts new file mode 100644 index 000000000..36f67cfca --- /dev/null +++ b/src/models/operations/getbankinfos.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetBankinfosRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetBankinfosResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBankInfoOutput | undefined; +}; + +export type GetBankinfosResponse = { + httpMeta: components.HTTPMetadata; + object?: GetBankinfosResponseBody | undefined; +}; + +/** @internal */ +export namespace GetBankinfosRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetBankinfosResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBankInfoOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBankInfoOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBankInfoOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetBankinfosResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetBankinfosResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetBankinfosResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetBankinfosResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getbenefit.ts b/src/models/operations/getbenefit.ts new file mode 100644 index 000000000..4ae305fd8 --- /dev/null +++ b/src/models/operations/getbenefit.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetBenefitRequest = { + /** + * id of the benefit you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetBenefitResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBenefitOutput | undefined; +}; + +export type GetBenefitResponse = { + httpMeta: components.HTTPMetadata; + object?: GetBenefitResponseBody | undefined; +}; + +/** @internal */ +export namespace GetBenefitRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetBenefitResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBenefitOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBenefitOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBenefitOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetBenefitResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetBenefitResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetBenefitResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetBenefitResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getbenefits.ts b/src/models/operations/getbenefits.ts new file mode 100644 index 000000000..e616c6b72 --- /dev/null +++ b/src/models/operations/getbenefits.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetBenefitsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetBenefitsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBenefitOutput | undefined; +}; + +export type GetBenefitsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetBenefitsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetBenefitsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetBenefitsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBenefitOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedBenefitOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedBenefitOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetBenefitsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetBenefitsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetBenefitsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetBenefitsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcampaign.ts b/src/models/operations/getcampaign.ts new file mode 100644 index 000000000..abee8a28c --- /dev/null +++ b/src/models/operations/getcampaign.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCampaignRequest = { + /** + * id of the campaign you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCampaignResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCampaignOutput | undefined; +}; + +export type GetCampaignResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCampaignResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCampaignRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCampaignResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCampaignOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCampaignOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCampaignOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCampaignResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCampaignResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCampaignResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCampaignResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcampaigns.ts b/src/models/operations/getcampaigns.ts new file mode 100644 index 000000000..c058403a9 --- /dev/null +++ b/src/models/operations/getcampaigns.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCampaignsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCampaignsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCampaignOutput | undefined; +}; + +export type GetCampaignsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCampaignsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCampaignsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCampaignsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCampaignOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCampaignOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCampaignOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCampaignsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCampaignsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCampaignsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCampaignsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcandidate.ts b/src/models/operations/getcandidate.ts new file mode 100644 index 000000000..27c31dc20 --- /dev/null +++ b/src/models/operations/getcandidate.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCandidateRequest = { + /** + * id of the candidate you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCandidateResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCandidateOutput | undefined; +}; + +export type GetCandidateResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCandidateResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCandidateRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCandidateResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCandidateOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCandidateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCandidateOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCandidateResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCandidateResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCandidateResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCandidateResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcandidates.ts b/src/models/operations/getcandidates.ts new file mode 100644 index 000000000..50899faa3 --- /dev/null +++ b/src/models/operations/getcandidates.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCandidatesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCandidatesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCandidateOutput | undefined; +}; + +export type GetCandidatesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCandidatesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCandidatesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCandidatesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCandidateOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCandidateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCandidateOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCandidatesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCandidatesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCandidatesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCandidatesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcashflowstatement.ts b/src/models/operations/getcashflowstatement.ts new file mode 100644 index 000000000..e0aca17bb --- /dev/null +++ b/src/models/operations/getcashflowstatement.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCashflowStatementRequest = { + /** + * id of the cashflowstatement you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCashflowStatementResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCashflowStatementOutput | undefined; +}; + +export type GetCashflowStatementResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCashflowStatementResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCashflowStatementRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCashflowStatementResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCashflowStatementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCashflowStatementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetCashflowStatementResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCashflowStatementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCashflowStatementResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCashflowStatementResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCashflowStatementResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCashflowStatementResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcashflowstatements.ts b/src/models/operations/getcashflowstatements.ts new file mode 100644 index 000000000..d76fa9e32 --- /dev/null +++ b/src/models/operations/getcashflowstatements.ts @@ -0,0 +1,125 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCashflowStatementsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCashflowStatementsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCashflowStatementOutput | undefined; +}; + +export type GetCashflowStatementsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCashflowStatementsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCashflowStatementsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCashflowStatementsResponseBody$ { + export const inboundSchema: z.ZodType< + GetCashflowStatementsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCashflowStatementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCashflowStatementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetCashflowStatementsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCashflowStatementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCashflowStatementsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCashflowStatementsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCashflowStatementsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCashflowStatementsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcollection.ts b/src/models/operations/getcollection.ts new file mode 100644 index 000000000..278ff7cb7 --- /dev/null +++ b/src/models/operations/getcollection.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCollectionRequest = { + /** + * id of the collection you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCollectionResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCollectionOutput | undefined; +}; + +export type GetCollectionResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCollectionResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCollectionRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCollectionResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCollectionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCollectionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCollectionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCollectionResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCollectionResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCollectionResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCollectionResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcollections.ts b/src/models/operations/getcollections.ts new file mode 100644 index 000000000..539614fa9 --- /dev/null +++ b/src/models/operations/getcollections.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCollectionsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetCollectionsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCollectionOutput | undefined; +}; + +export type GetCollectionsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCollectionsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCollectionsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCollectionsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCollectionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCollectionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCollectionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCollectionsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCollectionsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCollectionsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCollectionsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcomment.ts b/src/models/operations/getcomment.ts new file mode 100644 index 000000000..0b69b12ad --- /dev/null +++ b/src/models/operations/getcomment.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCommentRequest = { + /** + * id of the `comment` you want to retrive. + */ + id: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCommentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCommentOutput | undefined; +}; + +export type GetCommentResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCommentResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCommentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCommentResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCommentOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCommentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCommentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCommentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCommentResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCommentResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCommentResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcomments.ts b/src/models/operations/getcomments.ts new file mode 100644 index 000000000..07e761476 --- /dev/null +++ b/src/models/operations/getcomments.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCommentsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetCommentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCommentOutput | undefined; +}; + +export type GetCommentsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCommentsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCommentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCommentsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCommentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCommentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCommentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCommentsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCommentsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCommentsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCommentsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcompanies.ts b/src/models/operations/getcompanies.ts new file mode 100644 index 000000000..e866969d8 --- /dev/null +++ b/src/models/operations/getcompanies.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCompaniesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetCompaniesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput | undefined; +}; + +export type GetCompaniesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCompaniesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCompaniesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCompaniesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCompaniesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCompaniesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCompaniesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCompaniesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcompanyinfo.ts b/src/models/operations/getcompanyinfo.ts new file mode 100644 index 000000000..01ead1c6f --- /dev/null +++ b/src/models/operations/getcompanyinfo.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCompanyInfoRequest = { + /** + * id of the companyinfo you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCompanyInfoResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyInfoOutput | undefined; +}; + +export type GetCompanyInfoResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCompanyInfoResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCompanyInfoRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCompanyInfoResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyInfoOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyInfoOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyInfoOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCompanyInfoResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCompanyInfoResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCompanyInfoResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCompanyInfoResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcompanyinfos.ts b/src/models/operations/getcompanyinfos.ts new file mode 100644 index 000000000..8e0b1eb4b --- /dev/null +++ b/src/models/operations/getcompanyinfos.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCompanyInfosRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCompanyInfosResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyInfoOutput | undefined; +}; + +export type GetCompanyInfosResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCompanyInfosResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCompanyInfosRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCompanyInfosResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyInfoOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyInfoOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyInfoOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCompanyInfosResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCompanyInfosResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCompanyInfosResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCompanyInfosResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcompanys.ts b/src/models/operations/getcompanys.ts new file mode 100644 index 000000000..b45b55e1f --- /dev/null +++ b/src/models/operations/getcompanys.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCompanysRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCompanysResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput | undefined; +}; + +export type GetCompanysResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCompanysResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCompanysRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCompanysResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCompanysResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCompanysResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCompanysResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCompanysResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getconnections.ts b/src/models/operations/getconnections.ts new file mode 100644 index 000000000..24990c66e --- /dev/null +++ b/src/models/operations/getconnections.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetConnectionsResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetConnectionsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getconnectionstrategiesforproject.ts b/src/models/operations/getconnectionstrategiesforproject.ts new file mode 100644 index 000000000..d82b8471f --- /dev/null +++ b/src/models/operations/getconnectionstrategiesforproject.ts @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetConnectionStrategiesForProjectResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetConnectionStrategiesForProjectResponse$ { + export const inboundSchema: z.ZodType< + GetConnectionStrategiesForProjectResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetConnectionStrategiesForProjectResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getconnectionstrategycredentials.ts b/src/models/operations/getconnectionstrategycredentials.ts new file mode 100644 index 000000000..29d1f98c5 --- /dev/null +++ b/src/models/operations/getconnectionstrategycredentials.ts @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetConnectionStrategyCredentialsResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetConnectionStrategyCredentialsResponse$ { + export const inboundSchema: z.ZodType< + GetConnectionStrategyCredentialsResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetConnectionStrategyCredentialsResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getconnectorsfromproject.ts b/src/models/operations/getconnectorsfromproject.ts new file mode 100644 index 000000000..5d9e2957e --- /dev/null +++ b/src/models/operations/getconnectorsfromproject.ts @@ -0,0 +1,71 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetConnectorsFromProjectRequest = { + projectId: string; + getConnectorsFromProject: string; +}; + +export type GetConnectorsFromProjectResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetConnectorsFromProjectRequest$ { + export const inboundSchema: z.ZodType = + z.object({ + projectId: z.string(), + getConnectorsFromProject: z.string(), + }); + + export type Outbound = { + projectId: string; + getConnectorsFromProject: string; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetConnectorsFromProjectRequest + > = z.object({ + projectId: z.string(), + getConnectorsFromProject: z.string(), + }); +} + +/** @internal */ +export namespace GetConnectorsFromProjectResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetConnectorsFromProjectResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcredentials.ts b/src/models/operations/getcredentials.ts new file mode 100644 index 000000000..7d58b7a94 --- /dev/null +++ b/src/models/operations/getcredentials.ts @@ -0,0 +1,62 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCredentialsRequest = { + projectId: string; + type: string; +}; + +export type GetCredentialsResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetCredentialsRequest$ { + export const inboundSchema: z.ZodType = z.object({ + projectId: z.string(), + type: z.string(), + }); + + export type Outbound = { + projectId: string; + type: string; + }; + + export const outboundSchema: z.ZodType = + z.object({ + projectId: z.string(), + type: z.string(), + }); +} + +/** @internal */ +export namespace GetCredentialsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcreditnote.ts b/src/models/operations/getcreditnote.ts new file mode 100644 index 000000000..5835cfe5b --- /dev/null +++ b/src/models/operations/getcreditnote.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCreditNoteRequest = { + /** + * id of the creditnote you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCreditNoteResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCreditNoteOutput | undefined; +}; + +export type GetCreditNoteResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCreditNoteResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCreditNoteRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCreditNoteResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCreditNoteOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCreditNoteOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCreditNoteOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCreditNoteResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCreditNoteResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCreditNoteResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCreditNoteResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcreditnotes.ts b/src/models/operations/getcreditnotes.ts new file mode 100644 index 000000000..1a3b6dd1b --- /dev/null +++ b/src/models/operations/getcreditnotes.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCreditNotesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCreditNotesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCreditNoteOutput | undefined; +}; + +export type GetCreditNotesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCreditNotesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCreditNotesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCreditNotesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCreditNoteOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCreditNoteOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCreditNoteOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCreditNotesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCreditNotesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCreditNotesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCreditNotesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcrmcompany.ts b/src/models/operations/getcrmcompany.ts new file mode 100644 index 000000000..03daf7dcd --- /dev/null +++ b/src/models/operations/getcrmcompany.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCrmCompanyRequest = { + /** + * id of the company you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCrmCompanyResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput | undefined; +}; + +export type GetCrmCompanyResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCrmCompanyResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCrmCompanyRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCrmCompanyResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCrmCompanyResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCrmCompanyResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCrmCompanyResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCrmCompanyResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcrmcontact.ts b/src/models/operations/getcrmcontact.ts new file mode 100644 index 000000000..19a33cb13 --- /dev/null +++ b/src/models/operations/getcrmcontact.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCrmContactRequest = { + /** + * id of the `contact` you want to retrive. + */ + id: string; + /** + * Set to true to include data from the original CRM software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCrmContactResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type GetCrmContactResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCrmContactResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCrmContactRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCrmContactResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCrmContactResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCrmContactResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCrmContactResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCrmContactResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcrmcontacts.ts b/src/models/operations/getcrmcontacts.ts new file mode 100644 index 000000000..05af1fbb9 --- /dev/null +++ b/src/models/operations/getcrmcontacts.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCrmContactsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetCrmContactsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type GetCrmContactsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCrmContactsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCrmContactsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCrmContactsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCrmContactsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCrmContactsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCrmContactsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCrmContactsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcrmuser.ts b/src/models/operations/getcrmuser.ts new file mode 100644 index 000000000..de9f0bd26 --- /dev/null +++ b/src/models/operations/getcrmuser.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCrmUserRequest = { + /** + * id of the user you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; +}; + +export type GetCrmUserResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput | undefined; +}; + +export type GetCrmUserResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCrmUserResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCrmUserRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCrmUserResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCrmUserResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCrmUserResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCrmUserResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCrmUserResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcrmusers.ts b/src/models/operations/getcrmusers.ts new file mode 100644 index 000000000..bc698388a --- /dev/null +++ b/src/models/operations/getcrmusers.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCrmUsersRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetCrmUsersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput | undefined; +}; + +export type GetCrmUsersResponse = { + httpMeta: components.HTTPMetadata; + object?: GetCrmUsersResponseBody | undefined; +}; + +/** @internal */ +export namespace GetCrmUsersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetCrmUsersResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetCrmUsersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetCrmUsersResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetCrmUsersResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetCrmUsersResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getcustomproviderproperties.ts b/src/models/operations/getcustomproviderproperties.ts new file mode 100644 index 000000000..161cd919b --- /dev/null +++ b/src/models/operations/getcustomproviderproperties.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetCustomProviderPropertiesRequest = { + linkedUserId: string; + providerId: string; + vertical: string; +}; + +export type GetCustomProviderPropertiesResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetCustomProviderPropertiesRequest$ { + export const inboundSchema: z.ZodType< + GetCustomProviderPropertiesRequest, + z.ZodTypeDef, + unknown + > = z.object({ + linkedUserId: z.string(), + providerId: z.string(), + vertical: z.string(), + }); + + export type Outbound = { + linkedUserId: string; + providerId: string; + vertical: string; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetCustomProviderPropertiesRequest + > = z.object({ + linkedUserId: z.string(), + providerId: z.string(), + vertical: z.string(), + }); +} + +/** @internal */ +export namespace GetCustomProviderPropertiesResponse$ { + export const inboundSchema: z.ZodType< + GetCustomProviderPropertiesResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetCustomProviderPropertiesResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getdeal.ts b/src/models/operations/getdeal.ts new file mode 100644 index 000000000..fe435bf9f --- /dev/null +++ b/src/models/operations/getdeal.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetDealRequest = { + /** + * id of the deal you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; +}; + +export type GetDealResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDealOutput | undefined; +}; + +export type GetDealResponse = { + httpMeta: components.HTTPMetadata; + object?: GetDealResponseBody | undefined; +}; + +/** @internal */ +export namespace GetDealRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetDealResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDealOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDealOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDealOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetDealResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetDealResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetDealResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetDealResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getdeals.ts b/src/models/operations/getdeals.ts new file mode 100644 index 000000000..0139d971a --- /dev/null +++ b/src/models/operations/getdeals.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetDealsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetDealsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDealOutput | undefined; +}; + +export type GetDealsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetDealsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetDealsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetDealsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDealOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDealOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDealOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetDealsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetDealsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetDealsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetDealsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getdepartment.ts b/src/models/operations/getdepartment.ts new file mode 100644 index 000000000..38de82ab3 --- /dev/null +++ b/src/models/operations/getdepartment.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetDepartmentRequest = { + /** + * id of the department you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetDepartmentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDepartmentOutput | undefined; +}; + +export type GetDepartmentResponse = { + httpMeta: components.HTTPMetadata; + object?: GetDepartmentResponseBody | undefined; +}; + +/** @internal */ +export namespace GetDepartmentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetDepartmentResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDepartmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDepartmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDepartmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetDepartmentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetDepartmentResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetDepartmentResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetDepartmentResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getdepartments.ts b/src/models/operations/getdepartments.ts new file mode 100644 index 000000000..5fdb06f1a --- /dev/null +++ b/src/models/operations/getdepartments.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetDepartmentsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetDepartmentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDepartmentOutput | undefined; +}; + +export type GetDepartmentsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetDepartmentsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetDepartmentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetDepartmentsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDepartmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDepartmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDepartmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetDepartmentsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetDepartmentsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetDepartmentsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetDepartmentsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getdependent.ts b/src/models/operations/getdependent.ts new file mode 100644 index 000000000..08cab5bc3 --- /dev/null +++ b/src/models/operations/getdependent.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetDependentRequest = { + /** + * id of the dependent you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetDependentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDependentOutput | undefined; +}; + +export type GetDependentResponse = { + httpMeta: components.HTTPMetadata; + object?: GetDependentResponseBody | undefined; +}; + +/** @internal */ +export namespace GetDependentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetDependentResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDependentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDependentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDependentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetDependentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetDependentResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetDependentResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetDependentResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getdependents.ts b/src/models/operations/getdependents.ts new file mode 100644 index 000000000..46cf2a0b4 --- /dev/null +++ b/src/models/operations/getdependents.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetDependentsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetDependentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDependentOutput | undefined; +}; + +export type GetDependentsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetDependentsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetDependentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetDependentsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDependentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDependentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDependentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetDependentsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetDependentsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetDependentsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetDependentsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getdrive.ts b/src/models/operations/getdrive.ts new file mode 100644 index 000000000..89d254f89 --- /dev/null +++ b/src/models/operations/getdrive.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetDriveRequest = { + /** + * id of the drive you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; +}; + +export type GetDriveResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDriveOutput | undefined; +}; + +export type GetDriveResponse = { + httpMeta: components.HTTPMetadata; + object?: GetDriveResponseBody | undefined; +}; + +/** @internal */ +export namespace GetDriveRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetDriveResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDriveOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDriveOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDriveOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetDriveResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetDriveResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetDriveResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetDriveResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getdrives.ts b/src/models/operations/getdrives.ts new file mode 100644 index 000000000..70cdb9347 --- /dev/null +++ b/src/models/operations/getdrives.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetDrivesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; +}; + +export type GetDrivesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDriveOutput | undefined; +}; + +export type GetDrivesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetDrivesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetDrivesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetDrivesResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDriveOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDriveOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDriveOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetDrivesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetDrivesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetDrivesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetDrivesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/geteeocs.ts b/src/models/operations/geteeocs.ts new file mode 100644 index 000000000..ef7b650a7 --- /dev/null +++ b/src/models/operations/geteeocs.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEeocsRequest = { + /** + * id of the eeocs you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEeocsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEeocsOutput | undefined; +}; + +export type GetEeocsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEeocsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEeocsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEeocsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEeocsOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEeocsOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEeocsOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetEeocsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEeocsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEeocsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEeocsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/geteeocss.ts b/src/models/operations/geteeocss.ts new file mode 100644 index 000000000..2e21b9d12 --- /dev/null +++ b/src/models/operations/geteeocss.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEeocssRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEeocssResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEeocsOutput | undefined; +}; + +export type GetEeocssResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEeocssResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEeocssRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEeocssResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEeocsOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEeocsOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEeocsOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetEeocssResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEeocssResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEeocssResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEeocssResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getemail.ts b/src/models/operations/getemail.ts new file mode 100644 index 000000000..bbee787ef --- /dev/null +++ b/src/models/operations/getemail.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEmailRequest = { + /** + * id of the email you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEmailResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmailOutput | undefined; +}; + +export type GetEmailResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEmailResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEmailRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEmailResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmailOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmailOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmailOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetEmailResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEmailResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEmailResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEmailResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getemails.ts b/src/models/operations/getemails.ts new file mode 100644 index 000000000..5b6800794 --- /dev/null +++ b/src/models/operations/getemails.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEmailsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEmailsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmailOutput | undefined; +}; + +export type GetEmailsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEmailsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEmailsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEmailsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmailOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmailOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmailOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetEmailsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEmailsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEmailsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEmailsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getemployee.ts b/src/models/operations/getemployee.ts new file mode 100644 index 000000000..f13e55ece --- /dev/null +++ b/src/models/operations/getemployee.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEmployeeRequest = { + /** + * id of the employee you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEmployeeResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeeOutput | undefined; +}; + +export type GetEmployeeResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEmployeeResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEmployeeRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEmployeeResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeeOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeeOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeeOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetEmployeeResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEmployeeResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEmployeeResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEmployeeResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getemployeepayrollrun.ts b/src/models/operations/getemployeepayrollrun.ts new file mode 100644 index 000000000..d18de43c1 --- /dev/null +++ b/src/models/operations/getemployeepayrollrun.ts @@ -0,0 +1,123 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEmployeePayrollRunRequest = { + /** + * id of the employeepayrollrun you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEmployeePayrollRunResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeePayrollRunOutput | undefined; +}; + +export type GetEmployeePayrollRunResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEmployeePayrollRunResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEmployeePayrollRunRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEmployeePayrollRunResponseBody$ { + export const inboundSchema: z.ZodType< + GetEmployeePayrollRunResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeePayrollRunOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeePayrollRunOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetEmployeePayrollRunResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeePayrollRunOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetEmployeePayrollRunResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEmployeePayrollRunResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEmployeePayrollRunResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEmployeePayrollRunResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getemployeepayrollruns.ts b/src/models/operations/getemployeepayrollruns.ts new file mode 100644 index 000000000..448478fd0 --- /dev/null +++ b/src/models/operations/getemployeepayrollruns.ts @@ -0,0 +1,126 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEmployeePayrollRunsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEmployeePayrollRunsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeePayrollRunOutput | undefined; +}; + +export type GetEmployeePayrollRunsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEmployeePayrollRunsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEmployeePayrollRunsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEmployeePayrollRunsResponseBody$ { + export const inboundSchema: z.ZodType< + GetEmployeePayrollRunsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeePayrollRunOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeePayrollRunOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetEmployeePayrollRunsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeePayrollRunOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetEmployeePayrollRunsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEmployeePayrollRunsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEmployeePayrollRunsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEmployeePayrollRunsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getemployees.ts b/src/models/operations/getemployees.ts new file mode 100644 index 000000000..ca6d52916 --- /dev/null +++ b/src/models/operations/getemployees.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEmployeesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEmployeesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeeOutput | undefined; +}; + +export type GetEmployeesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEmployeesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEmployeesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEmployeesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeeOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployeeOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployeeOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetEmployeesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEmployeesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEmployeesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEmployeesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getemployerbenefit.ts b/src/models/operations/getemployerbenefit.ts new file mode 100644 index 000000000..20465be13 --- /dev/null +++ b/src/models/operations/getemployerbenefit.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEmployerBenefitRequest = { + /** + * id of the employerbenefit you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEmployerBenefitResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployerBenefitOutput | undefined; +}; + +export type GetEmployerBenefitResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEmployerBenefitResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEmployerBenefitRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEmployerBenefitResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployerBenefitOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployerBenefitOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployerBenefitOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetEmployerBenefitResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEmployerBenefitResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEmployerBenefitResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEmployerBenefitResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getemployerbenefits.ts b/src/models/operations/getemployerbenefits.ts new file mode 100644 index 000000000..450a10f2f --- /dev/null +++ b/src/models/operations/getemployerbenefits.ts @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEmployerBenefitsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEmployerBenefitsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployerBenefitOutput | undefined; +}; + +export type GetEmployerBenefitsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEmployerBenefitsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEmployerBenefitsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEmployerBenefitsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployerBenefitOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmployerBenefitOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetEmployerBenefitsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmployerBenefitOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetEmployerBenefitsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEmployerBenefitsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEmployerBenefitsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEmployerBenefitsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getemployment.ts b/src/models/operations/getemployment.ts new file mode 100644 index 000000000..5b657c241 --- /dev/null +++ b/src/models/operations/getemployment.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEmploymentRequest = { + /** + * id of the employment you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEmploymentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmploymentOutput | undefined; +}; + +export type GetEmploymentResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEmploymentResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEmploymentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEmploymentResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmploymentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmploymentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmploymentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetEmploymentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEmploymentResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEmploymentResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEmploymentResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getemployments.ts b/src/models/operations/getemployments.ts new file mode 100644 index 000000000..f4b8198d8 --- /dev/null +++ b/src/models/operations/getemployments.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEmploymentsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEmploymentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmploymentOutput | undefined; +}; + +export type GetEmploymentsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEmploymentsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEmploymentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEmploymentsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmploymentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEmploymentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEmploymentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetEmploymentsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEmploymentsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEmploymentsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEmploymentsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getengagement.ts b/src/models/operations/getengagement.ts new file mode 100644 index 000000000..af3a00b45 --- /dev/null +++ b/src/models/operations/getengagement.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEngagementRequest = { + /** + * id of the engagement you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEngagementResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEngagementOutput | undefined; +}; + +export type GetEngagementResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEngagementResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEngagementRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEngagementResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEngagementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEngagementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEngagementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetEngagementResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEngagementResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEngagementResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEngagementResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getengagements.ts b/src/models/operations/getengagements.ts new file mode 100644 index 000000000..3ddb32f6a --- /dev/null +++ b/src/models/operations/getengagements.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEngagementsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetEngagementsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEngagementOutput | undefined; +}; + +export type GetEngagementsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEngagementsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEngagementsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEngagementsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEngagementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEngagementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEngagementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetEngagementsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEngagementsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEngagementsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEngagementsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getevent.ts b/src/models/operations/getevent.ts new file mode 100644 index 000000000..c9e6438b7 --- /dev/null +++ b/src/models/operations/getevent.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEventRequest = { + /** + * id of the event you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetEventResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEventOutput | undefined; +}; + +export type GetEventResponse = { + httpMeta: components.HTTPMetadata; + object?: GetEventResponseBody | undefined; +}; + +/** @internal */ +export namespace GetEventRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetEventResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEventOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEventOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEventOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetEventResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetEventResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetEventResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetEventResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/geteventscount.ts b/src/models/operations/geteventscount.ts new file mode 100644 index 000000000..e00dc8c4b --- /dev/null +++ b/src/models/operations/geteventscount.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetEventsCountResponse = { + httpMeta: components.HTTPMetadata; + number?: number | undefined; +}; + +/** @internal */ +export namespace GetEventsCountResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + number: z.number().optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + number?: number | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + number: z.number().optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getexpense.ts b/src/models/operations/getexpense.ts new file mode 100644 index 000000000..d431a7d45 --- /dev/null +++ b/src/models/operations/getexpense.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetExpenseRequest = { + /** + * id of the expense you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetExpenseResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedExpenseOutput | undefined; +}; + +export type GetExpenseResponse = { + httpMeta: components.HTTPMetadata; + object?: GetExpenseResponseBody | undefined; +}; + +/** @internal */ +export namespace GetExpenseRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetExpenseResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedExpenseOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedExpenseOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedExpenseOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetExpenseResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetExpenseResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetExpenseResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetExpenseResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getexpenses.ts b/src/models/operations/getexpenses.ts new file mode 100644 index 000000000..f71177255 --- /dev/null +++ b/src/models/operations/getexpenses.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetExpensesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetExpensesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedExpenseOutput | undefined; +}; + +export type GetExpensesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetExpensesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetExpensesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetExpensesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedExpenseOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedExpenseOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedExpenseOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetExpensesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetExpensesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetExpensesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetExpensesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getfieldmappings.ts b/src/models/operations/getfieldmappings.ts new file mode 100644 index 000000000..f4584409e --- /dev/null +++ b/src/models/operations/getfieldmappings.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetFieldMappingsResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetFieldMappingsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getfieldmappingsentities.ts b/src/models/operations/getfieldmappingsentities.ts new file mode 100644 index 000000000..237092377 --- /dev/null +++ b/src/models/operations/getfieldmappingsentities.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetFieldMappingsEntitiesResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetFieldMappingsEntitiesResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetFieldMappingsEntitiesResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getfieldmappingvalues.ts b/src/models/operations/getfieldmappingvalues.ts new file mode 100644 index 000000000..98d9b7dc7 --- /dev/null +++ b/src/models/operations/getfieldmappingvalues.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetFieldMappingValuesResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetFieldMappingValuesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getfile.ts b/src/models/operations/getfile.ts new file mode 100644 index 000000000..9eed9e991 --- /dev/null +++ b/src/models/operations/getfile.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetFileRequest = { + /** + * id of the file you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; +}; + +export type GetFileResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFileOutput | undefined; +}; + +export type GetFileResponse = { + httpMeta: components.HTTPMetadata; + object?: GetFileResponseBody | undefined; +}; + +/** @internal */ +export namespace GetFileRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetFileResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFileOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFileOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFileOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetFileResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetFileResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetFileResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetFileResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getfiles.ts b/src/models/operations/getfiles.ts new file mode 100644 index 000000000..04654a900 --- /dev/null +++ b/src/models/operations/getfiles.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetFilesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; +}; + +export type GetFilesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFileOutput | undefined; +}; + +export type GetFilesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetFilesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetFilesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetFilesResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFileOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFileOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFileOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetFilesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetFilesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetFilesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetFilesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getfolder.ts b/src/models/operations/getfolder.ts new file mode 100644 index 000000000..f51a5c8ac --- /dev/null +++ b/src/models/operations/getfolder.ts @@ -0,0 +1,115 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetFolderRequest = { + /** + * id of the folder you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; +}; + +export type GetFolderResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFolderOutput | undefined; +}; + +export type GetFolderResponse = { + httpMeta: components.HTTPMetadata; + object?: GetFolderResponseBody | undefined; +}; + +/** @internal */ +export namespace GetFolderRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetFolderResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFolderOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFolderOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFolderOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetFolderResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetFolderResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetFolderResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetFolderResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getfolders.ts b/src/models/operations/getfolders.ts new file mode 100644 index 000000000..f2a613428 --- /dev/null +++ b/src/models/operations/getfolders.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetFoldersRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; +}; + +export type GetFoldersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFolderOutput | undefined; +}; + +export type GetFoldersResponse = { + httpMeta: components.HTTPMetadata; + object?: GetFoldersResponseBody | undefined; +}; + +/** @internal */ +export namespace GetFoldersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetFoldersResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFolderOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedFolderOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedFolderOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetFoldersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetFoldersResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetFoldersResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetFoldersResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getgroup.ts b/src/models/operations/getgroup.ts new file mode 100644 index 000000000..0c5a4e226 --- /dev/null +++ b/src/models/operations/getgroup.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetGroupRequest = { + /** + * id of the group you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetGroupResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedGroupOutput | undefined; +}; + +export type GetGroupResponse = { + httpMeta: components.HTTPMetadata; + object?: GetGroupResponseBody | undefined; +}; + +/** @internal */ +export namespace GetGroupRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetGroupResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedGroupOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedGroupOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedGroupOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetGroupResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetGroupResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetGroupResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetGroupResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getgroups.ts b/src/models/operations/getgroups.ts new file mode 100644 index 000000000..e4c16e2fa --- /dev/null +++ b/src/models/operations/getgroups.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetGroupsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetGroupsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedGroupOutput | undefined; +}; + +export type GetGroupsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetGroupsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetGroupsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetGroupsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedGroupOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedGroupOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedGroupOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetGroupsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetGroupsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetGroupsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetGroupsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gethealth.ts b/src/models/operations/gethealth.ts new file mode 100644 index 000000000..652197c0e --- /dev/null +++ b/src/models/operations/gethealth.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetHealthResponse = { + httpMeta: components.HTTPMetadata; + number?: number | undefined; +}; + +/** @internal */ +export namespace GetHealthResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + number: z.number().optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + number?: number | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + number: z.number().optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gethello.ts b/src/models/operations/gethello.ts new file mode 100644 index 000000000..54e0765e5 --- /dev/null +++ b/src/models/operations/gethello.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetHelloResponse = { + httpMeta: components.HTTPMetadata; + string?: string | undefined; +}; + +/** @internal */ +export namespace GetHelloResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + string: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + string?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + string: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gethelloprotected.ts b/src/models/operations/gethelloprotected.ts new file mode 100644 index 000000000..8a0a2cb84 --- /dev/null +++ b/src/models/operations/gethelloprotected.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetHelloProtectedResponse = { + httpMeta: components.HTTPMetadata; + string?: string | undefined; +}; + +/** @internal */ +export namespace GetHelloProtectedResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + string: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + string?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + string: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gethriscompany.ts b/src/models/operations/gethriscompany.ts new file mode 100644 index 000000000..f2b5e697a --- /dev/null +++ b/src/models/operations/gethriscompany.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetHrisCompanyRequest = { + /** + * id of the company you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetHrisCompanyResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput | undefined; +}; + +export type GetHrisCompanyResponse = { + httpMeta: components.HTTPMetadata; + object?: GetHrisCompanyResponseBody | undefined; +}; + +/** @internal */ +export namespace GetHrisCompanyRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetHrisCompanyResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetHrisCompanyResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetHrisCompanyResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetHrisCompanyResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetHrisCompanyResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getincomestatement.ts b/src/models/operations/getincomestatement.ts new file mode 100644 index 000000000..8f1de0fc7 --- /dev/null +++ b/src/models/operations/getincomestatement.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetIncomeStatementRequest = { + /** + * id of the incomestatement you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetIncomeStatementResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedIncomeStatementOutput | undefined; +}; + +export type GetIncomeStatementResponse = { + httpMeta: components.HTTPMetadata; + object?: GetIncomeStatementResponseBody | undefined; +}; + +/** @internal */ +export namespace GetIncomeStatementRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetIncomeStatementResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedIncomeStatementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedIncomeStatementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedIncomeStatementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetIncomeStatementResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetIncomeStatementResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetIncomeStatementResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetIncomeStatementResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getincomestatements.ts b/src/models/operations/getincomestatements.ts new file mode 100644 index 000000000..dfbc5c18e --- /dev/null +++ b/src/models/operations/getincomestatements.ts @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetIncomeStatementsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetIncomeStatementsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedIncomeStatementOutput | undefined; +}; + +export type GetIncomeStatementsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetIncomeStatementsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetIncomeStatementsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetIncomeStatementsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedIncomeStatementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedIncomeStatementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetIncomeStatementsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedIncomeStatementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetIncomeStatementsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetIncomeStatementsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetIncomeStatementsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetIncomeStatementsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getinterview.ts b/src/models/operations/getinterview.ts new file mode 100644 index 000000000..6aa6c9f74 --- /dev/null +++ b/src/models/operations/getinterview.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetInterviewRequest = { + /** + * id of the interview you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetInterviewResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInterviewOutput | undefined; +}; + +export type GetInterviewResponse = { + httpMeta: components.HTTPMetadata; + object?: GetInterviewResponseBody | undefined; +}; + +/** @internal */ +export namespace GetInterviewRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetInterviewResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInterviewOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInterviewOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInterviewOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetInterviewResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetInterviewResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetInterviewResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetInterviewResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getinterviews.ts b/src/models/operations/getinterviews.ts new file mode 100644 index 000000000..b5572784b --- /dev/null +++ b/src/models/operations/getinterviews.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetInterviewsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetInterviewsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInterviewOutput | undefined; +}; + +export type GetInterviewsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetInterviewsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetInterviewsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetInterviewsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInterviewOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInterviewOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInterviewOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetInterviewsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetInterviewsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetInterviewsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetInterviewsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getinvoice.ts b/src/models/operations/getinvoice.ts new file mode 100644 index 000000000..d2577bcfb --- /dev/null +++ b/src/models/operations/getinvoice.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetInvoiceRequest = { + /** + * id of the invoice you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetInvoiceResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInvoiceOutput | undefined; +}; + +export type GetInvoiceResponse = { + httpMeta: components.HTTPMetadata; + object?: GetInvoiceResponseBody | undefined; +}; + +/** @internal */ +export namespace GetInvoiceRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetInvoiceResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInvoiceOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInvoiceOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInvoiceOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetInvoiceResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetInvoiceResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetInvoiceResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetInvoiceResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getinvoices.ts b/src/models/operations/getinvoices.ts new file mode 100644 index 000000000..c71fb3302 --- /dev/null +++ b/src/models/operations/getinvoices.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetInvoicesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetInvoicesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInvoiceOutput | undefined; +}; + +export type GetInvoicesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetInvoicesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetInvoicesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetInvoicesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInvoiceOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedInvoiceOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedInvoiceOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetInvoicesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetInvoicesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetInvoicesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetInvoicesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getitem.ts b/src/models/operations/getitem.ts new file mode 100644 index 000000000..4c04181b9 --- /dev/null +++ b/src/models/operations/getitem.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetItemRequest = { + /** + * id of the item you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetItemResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedItemOutput | undefined; +}; + +export type GetItemResponse = { + httpMeta: components.HTTPMetadata; + object?: GetItemResponseBody | undefined; +}; + +/** @internal */ +export namespace GetItemRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetItemResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedItemOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedItemOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedItemOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetItemResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetItemResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetItemResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetItemResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getitems.ts b/src/models/operations/getitems.ts new file mode 100644 index 000000000..d62255aab --- /dev/null +++ b/src/models/operations/getitems.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetItemsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetItemsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedItemOutput | undefined; +}; + +export type GetItemsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetItemsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetItemsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetItemsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedItemOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedItemOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedItemOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetItemsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetItemsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetItemsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetItemsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getjob.ts b/src/models/operations/getjob.ts new file mode 100644 index 000000000..9890416e2 --- /dev/null +++ b/src/models/operations/getjob.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetJobRequest = { + /** + * id of the job you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetJobResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobOutput | undefined; +}; + +export type GetJobResponse = { + httpMeta: components.HTTPMetadata; + object?: GetJobResponseBody | undefined; +}; + +/** @internal */ +export namespace GetJobRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetJobResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetJobResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetJobResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetJobResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetJobResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getjobinterviewstage.ts b/src/models/operations/getjobinterviewstage.ts new file mode 100644 index 000000000..10c8b28d8 --- /dev/null +++ b/src/models/operations/getjobinterviewstage.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetJobInterviewStageRequest = { + /** + * id of the jobinterviewstage you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetJobInterviewStageResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobInterviewStageOutput | undefined; +}; + +export type GetJobInterviewStageResponse = { + httpMeta: components.HTTPMetadata; + object?: GetJobInterviewStageResponseBody | undefined; +}; + +/** @internal */ +export namespace GetJobInterviewStageRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetJobInterviewStageResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobInterviewStageOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobInterviewStageOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetJobInterviewStageResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobInterviewStageOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetJobInterviewStageResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetJobInterviewStageResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetJobInterviewStageResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetJobInterviewStageResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getjobinterviewstages.ts b/src/models/operations/getjobinterviewstages.ts new file mode 100644 index 000000000..8b52514d6 --- /dev/null +++ b/src/models/operations/getjobinterviewstages.ts @@ -0,0 +1,125 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetJobInterviewStagesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetJobInterviewStagesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobInterviewStageOutput | undefined; +}; + +export type GetJobInterviewStagesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetJobInterviewStagesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetJobInterviewStagesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetJobInterviewStagesResponseBody$ { + export const inboundSchema: z.ZodType< + GetJobInterviewStagesResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobInterviewStageOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobInterviewStageOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetJobInterviewStagesResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobInterviewStageOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetJobInterviewStagesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetJobInterviewStagesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetJobInterviewStagesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetJobInterviewStagesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getjobs.ts b/src/models/operations/getjobs.ts new file mode 100644 index 000000000..143d2d677 --- /dev/null +++ b/src/models/operations/getjobs.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetJobsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetJobsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobOutput | undefined; +}; + +export type GetJobsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetJobsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetJobsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetJobsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJobOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJobOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetJobsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetJobsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetJobsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetJobsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getjournalentry.ts b/src/models/operations/getjournalentry.ts new file mode 100644 index 000000000..f4f2f30ba --- /dev/null +++ b/src/models/operations/getjournalentry.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetJournalEntryRequest = { + /** + * id of the journalentry you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetJournalEntryResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJournalEntryOutput | undefined; +}; + +export type GetJournalEntryResponse = { + httpMeta: components.HTTPMetadata; + object?: GetJournalEntryResponseBody | undefined; +}; + +/** @internal */ +export namespace GetJournalEntryRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetJournalEntryResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJournalEntryOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJournalEntryOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJournalEntryOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetJournalEntryResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetJournalEntryResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetJournalEntryResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetJournalEntryResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getjournalentrys.ts b/src/models/operations/getjournalentrys.ts new file mode 100644 index 000000000..16913fc42 --- /dev/null +++ b/src/models/operations/getjournalentrys.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetJournalEntrysRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetJournalEntrysResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJournalEntryOutput | undefined; +}; + +export type GetJournalEntrysResponse = { + httpMeta: components.HTTPMetadata; + object?: GetJournalEntrysResponseBody | undefined; +}; + +/** @internal */ +export namespace GetJournalEntrysRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetJournalEntrysResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJournalEntryOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedJournalEntryOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedJournalEntryOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetJournalEntrysResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetJournalEntrysResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetJournalEntrysResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetJournalEntrysResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getlinkeduser.ts b/src/models/operations/getlinkeduser.ts new file mode 100644 index 000000000..434193999 --- /dev/null +++ b/src/models/operations/getlinkeduser.ts @@ -0,0 +1,59 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetLinkedUserRequest = { + id: string; +}; + +export type GetLinkedUserResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetLinkedUserRequest$ { + export const inboundSchema: z.ZodType = z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = z.object( + { + id: z.string(), + } + ); +} + +/** @internal */ +export namespace GetLinkedUserResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getlist.ts b/src/models/operations/getlist.ts new file mode 100644 index 000000000..439b165cf --- /dev/null +++ b/src/models/operations/getlist.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetListRequest = { + /** + * id of the list you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetListResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedListOutput | undefined; +}; + +export type GetListResponse = { + httpMeta: components.HTTPMetadata; + object?: GetListResponseBody | undefined; +}; + +/** @internal */ +export namespace GetListRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetListResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedListOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedListOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedListOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetListResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetListResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetListResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetListResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getlists.ts b/src/models/operations/getlists.ts new file mode 100644 index 000000000..39dd41b85 --- /dev/null +++ b/src/models/operations/getlists.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetListsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetListsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedListOutput | undefined; +}; + +export type GetListsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetListsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetListsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetListsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedListOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedListOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedListOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetListsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetListsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetListsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetListsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getlocation.ts b/src/models/operations/getlocation.ts new file mode 100644 index 000000000..4dd804660 --- /dev/null +++ b/src/models/operations/getlocation.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetLocationRequest = { + /** + * id of the location you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetLocationResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedLocationOutput | undefined; +}; + +export type GetLocationResponse = { + httpMeta: components.HTTPMetadata; + object?: GetLocationResponseBody | undefined; +}; + +/** @internal */ +export namespace GetLocationRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetLocationResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedLocationOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedLocationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedLocationOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetLocationResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetLocationResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetLocationResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetLocationResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getlocations.ts b/src/models/operations/getlocations.ts new file mode 100644 index 000000000..bd3f81a7e --- /dev/null +++ b/src/models/operations/getlocations.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetLocationsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetLocationsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedLocationOutput | undefined; +}; + +export type GetLocationsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetLocationsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetLocationsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetLocationsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedLocationOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedLocationOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedLocationOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetLocationsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetLocationsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetLocationsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetLocationsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getmagiclink.ts b/src/models/operations/getmagiclink.ts new file mode 100644 index 000000000..9fcf7087e --- /dev/null +++ b/src/models/operations/getmagiclink.ts @@ -0,0 +1,57 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetMagicLinkRequest = { + id: string; +}; + +export type GetMagicLinkResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetMagicLinkRequest$ { + export const inboundSchema: z.ZodType = z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = z.object({ + id: z.string(), + }); +} + +/** @internal */ +export namespace GetMagicLinkResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getmagiclinks.ts b/src/models/operations/getmagiclinks.ts new file mode 100644 index 000000000..1d7c0c102 --- /dev/null +++ b/src/models/operations/getmagiclinks.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetMagicLinksResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetMagicLinksResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getmanagedwebhooks.ts b/src/models/operations/getmanagedwebhooks.ts new file mode 100644 index 000000000..829850a1d --- /dev/null +++ b/src/models/operations/getmanagedwebhooks.ts @@ -0,0 +1,69 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetManagedWebhooksRequest = { + idConnection: string; +}; + +export type GetManagedWebhooksResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetManagedWebhooksRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id_connection: z.string(), + }) + .transform((v) => { + return remap$(v, { + id_connection: "idConnection", + }); + }); + + export type Outbound = { + id_connection: string; + }; + + export const outboundSchema: z.ZodType = z + .object({ + idConnection: z.string(), + }) + .transform((v) => { + return remap$(v, { + idConnection: "id_connection", + }); + }); +} + +/** @internal */ +export namespace GetManagedWebhooksResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getmarketingautomationcontact.ts b/src/models/operations/getmarketingautomationcontact.ts new file mode 100644 index 000000000..c958ae27b --- /dev/null +++ b/src/models/operations/getmarketingautomationcontact.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetMarketingAutomationContactRequest = { + /** + * id of the contact you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetMarketingAutomationContactResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type GetMarketingAutomationContactResponse = { + httpMeta: components.HTTPMetadata; + object?: GetMarketingAutomationContactResponseBody | undefined; +}; + +/** @internal */ +export namespace GetMarketingAutomationContactRequest$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationContactRequest, + z.ZodTypeDef, + unknown + > = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationContactRequest + > = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetMarketingAutomationContactResponseBody$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationContactResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationContactResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetMarketingAutomationContactResponse$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationContactResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z + .lazy(() => GetMarketingAutomationContactResponseBody$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetMarketingAutomationContactResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationContactResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z + .lazy(() => GetMarketingAutomationContactResponseBody$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getmarketingautomationcontacts.ts b/src/models/operations/getmarketingautomationcontacts.ts new file mode 100644 index 000000000..938ba2410 --- /dev/null +++ b/src/models/operations/getmarketingautomationcontacts.ts @@ -0,0 +1,144 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetMarketingAutomationContactsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetMarketingAutomationContactsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type GetMarketingAutomationContactsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetMarketingAutomationContactsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetMarketingAutomationContactsRequest$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationContactsRequest, + z.ZodTypeDef, + unknown + > = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationContactsRequest + > = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetMarketingAutomationContactsResponseBody$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationContactsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationContactsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetMarketingAutomationContactsResponse$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationContactsResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z + .lazy(() => GetMarketingAutomationContactsResponseBody$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetMarketingAutomationContactsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationContactsResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z + .lazy(() => GetMarketingAutomationContactsResponseBody$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getmarketingautomationevents.ts b/src/models/operations/getmarketingautomationevents.ts new file mode 100644 index 000000000..9145f1039 --- /dev/null +++ b/src/models/operations/getmarketingautomationevents.ts @@ -0,0 +1,144 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetMarketingAutomationEventsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetMarketingAutomationEventsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEventOutput | undefined; +}; + +export type GetMarketingAutomationEventsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetMarketingAutomationEventsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetMarketingAutomationEventsRequest$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationEventsRequest, + z.ZodTypeDef, + unknown + > = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationEventsRequest + > = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetMarketingAutomationEventsResponseBody$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationEventsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEventOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEventOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationEventsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEventOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetMarketingAutomationEventsResponse$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationEventsResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z + .lazy(() => GetMarketingAutomationEventsResponseBody$.inboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetMarketingAutomationEventsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationEventsResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z + .lazy(() => GetMarketingAutomationEventsResponseBody$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getmarketingautomationuser.ts b/src/models/operations/getmarketingautomationuser.ts new file mode 100644 index 000000000..d5eaf95ad --- /dev/null +++ b/src/models/operations/getmarketingautomationuser.ts @@ -0,0 +1,138 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetMarketingAutomationUserRequest = { + /** + * id of the user you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetMarketingAutomationUserResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput | undefined; +}; + +export type GetMarketingAutomationUserResponse = { + httpMeta: components.HTTPMetadata; + object?: GetMarketingAutomationUserResponseBody | undefined; +}; + +/** @internal */ +export namespace GetMarketingAutomationUserRequest$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationUserRequest, + z.ZodTypeDef, + unknown + > = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationUserRequest + > = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetMarketingAutomationUserResponseBody$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationUserResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationUserResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetMarketingAutomationUserResponse$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationUserResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetMarketingAutomationUserResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetMarketingAutomationUserResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationUserResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetMarketingAutomationUserResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getmarketingautomationusers.ts b/src/models/operations/getmarketingautomationusers.ts new file mode 100644 index 000000000..824932df8 --- /dev/null +++ b/src/models/operations/getmarketingautomationusers.ts @@ -0,0 +1,142 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetMarketingAutomationUsersRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetMarketingAutomationUsersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput | undefined; +}; + +export type GetMarketingAutomationUsersResponse = { + httpMeta: components.HTTPMetadata; + object?: GetMarketingAutomationUsersResponseBody | undefined; +}; + +/** @internal */ +export namespace GetMarketingAutomationUsersRequest$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationUsersRequest, + z.ZodTypeDef, + unknown + > = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationUsersRequest + > = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetMarketingAutomationUsersResponseBody$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationUsersResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationUsersResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetMarketingAutomationUsersResponse$ { + export const inboundSchema: z.ZodType< + GetMarketingAutomationUsersResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetMarketingAutomationUsersResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetMarketingAutomationUsersResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetMarketingAutomationUsersResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z + .lazy(() => GetMarketingAutomationUsersResponseBody$.outboundSchema) + .optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getmessage.ts b/src/models/operations/getmessage.ts new file mode 100644 index 000000000..36b0141c0 --- /dev/null +++ b/src/models/operations/getmessage.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetMessageRequest = { + /** + * id of the message you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetMessageResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedMessageOutput | undefined; +}; + +export type GetMessageResponse = { + httpMeta: components.HTTPMetadata; + object?: GetMessageResponseBody | undefined; +}; + +/** @internal */ +export namespace GetMessageRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetMessageResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedMessageOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedMessageOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedMessageOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetMessageResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetMessageResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetMessageResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetMessageResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getmessages.ts b/src/models/operations/getmessages.ts new file mode 100644 index 000000000..92186d8db --- /dev/null +++ b/src/models/operations/getmessages.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetMessagesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetMessagesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedMessageOutput | undefined; +}; + +export type GetMessagesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetMessagesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetMessagesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetMessagesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedMessageOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedMessageOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedMessageOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetMessagesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetMessagesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetMessagesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetMessagesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getnote.ts b/src/models/operations/getnote.ts new file mode 100644 index 000000000..52f9cd35b --- /dev/null +++ b/src/models/operations/getnote.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetNoteRequest = { + /** + * id of the note you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; +}; + +export type GetNoteResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedNoteOutput | undefined; +}; + +export type GetNoteResponse = { + httpMeta: components.HTTPMetadata; + object?: GetNoteResponseBody | undefined; +}; + +/** @internal */ +export namespace GetNoteRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetNoteResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedNoteOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedNoteOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedNoteOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetNoteResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetNoteResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetNoteResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetNoteResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getnotes.ts b/src/models/operations/getnotes.ts new file mode 100644 index 000000000..5abc5d090 --- /dev/null +++ b/src/models/operations/getnotes.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetNotesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetNotesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedNoteOutput | undefined; +}; + +export type GetNotesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetNotesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetNotesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetNotesResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedNoteOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedNoteOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedNoteOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetNotesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetNotesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetNotesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetNotesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getoffer.ts b/src/models/operations/getoffer.ts new file mode 100644 index 000000000..8fcab2e0d --- /dev/null +++ b/src/models/operations/getoffer.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetOfferRequest = { + /** + * id of the offer you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetOfferResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfferOutput | undefined; +}; + +export type GetOfferResponse = { + httpMeta: components.HTTPMetadata; + object?: GetOfferResponseBody | undefined; +}; + +/** @internal */ +export namespace GetOfferRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetOfferResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfferOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfferOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfferOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetOfferResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetOfferResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetOfferResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetOfferResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getoffers.ts b/src/models/operations/getoffers.ts new file mode 100644 index 000000000..3a65e59b0 --- /dev/null +++ b/src/models/operations/getoffers.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetOffersRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetOffersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfferOutput | undefined; +}; + +export type GetOffersResponse = { + httpMeta: components.HTTPMetadata; + object?: GetOffersResponseBody | undefined; +}; + +/** @internal */ +export namespace GetOffersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetOffersResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfferOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfferOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfferOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetOffersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetOffersResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetOffersResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetOffersResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getoffice.ts b/src/models/operations/getoffice.ts new file mode 100644 index 000000000..7a01c0674 --- /dev/null +++ b/src/models/operations/getoffice.ts @@ -0,0 +1,115 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetOfficeRequest = { + /** + * id of the office you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetOfficeResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfficeOutput | undefined; +}; + +export type GetOfficeResponse = { + httpMeta: components.HTTPMetadata; + object?: GetOfficeResponseBody | undefined; +}; + +/** @internal */ +export namespace GetOfficeRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetOfficeResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfficeOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfficeOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfficeOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetOfficeResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetOfficeResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetOfficeResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetOfficeResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getoffices.ts b/src/models/operations/getoffices.ts new file mode 100644 index 000000000..d1a7e4658 --- /dev/null +++ b/src/models/operations/getoffices.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetOfficesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetOfficesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfficeOutput | undefined; +}; + +export type GetOfficesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetOfficesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetOfficesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetOfficesResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfficeOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedOfficeOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedOfficeOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetOfficesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetOfficesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetOfficesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetOfficesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getorganisations.ts b/src/models/operations/getorganisations.ts new file mode 100644 index 000000000..54393018b --- /dev/null +++ b/src/models/operations/getorganisations.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetOrganisationsResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetOrganisationsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getpanoracoreevents.ts b/src/models/operations/getpanoracoreevents.ts new file mode 100644 index 000000000..4387cb7c6 --- /dev/null +++ b/src/models/operations/getpanoracoreevents.ts @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPanoraCoreEventsRequest = { + page?: number | undefined; + pageSize?: number | undefined; +}; + +export type GetPanoraCoreEventsResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetPanoraCoreEventsRequest$ { + export const inboundSchema: z.ZodType = + z.object({ + page: z.number().default(1), + pageSize: z.number().default(10), + }); + + export type Outbound = { + page: number; + pageSize: number; + }; + + export const outboundSchema: z.ZodType = + z.object({ + page: z.number().default(1), + pageSize: z.number().default(10), + }); +} + +/** @internal */ +export namespace GetPanoraCoreEventsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getpanoracoreusers.ts b/src/models/operations/getpanoracoreusers.ts new file mode 100644 index 000000000..6a5cdbf9d --- /dev/null +++ b/src/models/operations/getpanoracoreusers.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPanoraCoreUsersResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetPanoraCoreUsersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getpaygroup.ts b/src/models/operations/getpaygroup.ts new file mode 100644 index 000000000..347c0c1ed --- /dev/null +++ b/src/models/operations/getpaygroup.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPayGroupRequest = { + /** + * id of the paygroup you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetPayGroupResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayGroupOutput | undefined; +}; + +export type GetPayGroupResponse = { + httpMeta: components.HTTPMetadata; + object?: GetPayGroupResponseBody | undefined; +}; + +/** @internal */ +export namespace GetPayGroupRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetPayGroupResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayGroupOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayGroupOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayGroupOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetPayGroupResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetPayGroupResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetPayGroupResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetPayGroupResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getpaygroups.ts b/src/models/operations/getpaygroups.ts new file mode 100644 index 000000000..0aaf2551d --- /dev/null +++ b/src/models/operations/getpaygroups.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPayGroupsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetPayGroupsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayGroupOutput | undefined; +}; + +export type GetPayGroupsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetPayGroupsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetPayGroupsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetPayGroupsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayGroupOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayGroupOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayGroupOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetPayGroupsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetPayGroupsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetPayGroupsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetPayGroupsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getpayment.ts b/src/models/operations/getpayment.ts new file mode 100644 index 000000000..8bffa8815 --- /dev/null +++ b/src/models/operations/getpayment.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPaymentRequest = { + /** + * id of the payment you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetPaymentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPaymentOutput | undefined; +}; + +export type GetPaymentResponse = { + httpMeta: components.HTTPMetadata; + object?: GetPaymentResponseBody | undefined; +}; + +/** @internal */ +export namespace GetPaymentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetPaymentResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPaymentOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPaymentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPaymentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetPaymentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetPaymentResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetPaymentResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetPaymentResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getpayments.ts b/src/models/operations/getpayments.ts new file mode 100644 index 000000000..2c5cf69d7 --- /dev/null +++ b/src/models/operations/getpayments.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPaymentsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetPaymentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPaymentOutput | undefined; +}; + +export type GetPaymentsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetPaymentsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetPaymentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetPaymentsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPaymentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPaymentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPaymentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetPaymentsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetPaymentsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetPaymentsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetPaymentsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getpayrollrun.ts b/src/models/operations/getpayrollrun.ts new file mode 100644 index 000000000..eeced860a --- /dev/null +++ b/src/models/operations/getpayrollrun.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPayrollRunRequest = { + /** + * id of the payrollrun you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetPayrollRunResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayrollRunOutput | undefined; +}; + +export type GetPayrollRunResponse = { + httpMeta: components.HTTPMetadata; + object?: GetPayrollRunResponseBody | undefined; +}; + +/** @internal */ +export namespace GetPayrollRunRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetPayrollRunResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayrollRunOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayrollRunOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayrollRunOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetPayrollRunResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetPayrollRunResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetPayrollRunResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetPayrollRunResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getpayrollruns.ts b/src/models/operations/getpayrollruns.ts new file mode 100644 index 000000000..5e66e7cc0 --- /dev/null +++ b/src/models/operations/getpayrollruns.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPayrollRunsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetPayrollRunsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayrollRunOutput | undefined; +}; + +export type GetPayrollRunsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetPayrollRunsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetPayrollRunsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetPayrollRunsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayrollRunOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPayrollRunOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPayrollRunOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetPayrollRunsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetPayrollRunsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetPayrollRunsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetPayrollRunsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getpermission.ts b/src/models/operations/getpermission.ts new file mode 100644 index 000000000..7868f4025 --- /dev/null +++ b/src/models/operations/getpermission.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPermissionRequest = { + /** + * id of the permission you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; +}; + +export type GetPermissionResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPermissionOutput | undefined; +}; + +export type GetPermissionResponse = { + httpMeta: components.HTTPMetadata; + object?: GetPermissionResponseBody | undefined; +}; + +/** @internal */ +export namespace GetPermissionRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetPermissionResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPermissionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPermissionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPermissionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetPermissionResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetPermissionResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetPermissionResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetPermissionResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getpermissions.ts b/src/models/operations/getpermissions.ts new file mode 100644 index 000000000..0b94704a3 --- /dev/null +++ b/src/models/operations/getpermissions.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPermissionsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; +}; + +export type GetPermissionsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPermissionOutput | undefined; +}; + +export type GetPermissionsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetPermissionsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetPermissionsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetPermissionsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPermissionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPermissionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPermissionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetPermissionsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetPermissionsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetPermissionsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetPermissionsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getphonenumber.ts b/src/models/operations/getphonenumber.ts new file mode 100644 index 000000000..6c54cffdf --- /dev/null +++ b/src/models/operations/getphonenumber.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPhoneNumberRequest = { + /** + * id of the phonenumber you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetPhoneNumberResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPhoneNumberOutput | undefined; +}; + +export type GetPhoneNumberResponse = { + httpMeta: components.HTTPMetadata; + object?: GetPhoneNumberResponseBody | undefined; +}; + +/** @internal */ +export namespace GetPhoneNumberRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetPhoneNumberResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPhoneNumberOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPhoneNumberOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPhoneNumberOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetPhoneNumberResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetPhoneNumberResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetPhoneNumberResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetPhoneNumberResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getphonenumbers.ts b/src/models/operations/getphonenumbers.ts new file mode 100644 index 000000000..77c011b3e --- /dev/null +++ b/src/models/operations/getphonenumbers.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPhoneNumbersRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetPhoneNumbersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPhoneNumberOutput | undefined; +}; + +export type GetPhoneNumbersResponse = { + httpMeta: components.HTTPMetadata; + object?: GetPhoneNumbersResponseBody | undefined; +}; + +/** @internal */ +export namespace GetPhoneNumbersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetPhoneNumbersResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPhoneNumberOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPhoneNumberOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPhoneNumberOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetPhoneNumbersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetPhoneNumbersResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetPhoneNumbersResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetPhoneNumbersResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getprojects.ts b/src/models/operations/getprojects.ts new file mode 100644 index 000000000..5e04c91bf --- /dev/null +++ b/src/models/operations/getprojects.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetProjectsResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetProjectsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getpurchaseorder.ts b/src/models/operations/getpurchaseorder.ts new file mode 100644 index 000000000..f619e2e6d --- /dev/null +++ b/src/models/operations/getpurchaseorder.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPurchaseOrderRequest = { + /** + * id of the purchaseorder you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetPurchaseOrderResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPurchaseOrderOutput | undefined; +}; + +export type GetPurchaseOrderResponse = { + httpMeta: components.HTTPMetadata; + object?: GetPurchaseOrderResponseBody | undefined; +}; + +/** @internal */ +export namespace GetPurchaseOrderRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetPurchaseOrderResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPurchaseOrderOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPurchaseOrderOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPurchaseOrderOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetPurchaseOrderResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetPurchaseOrderResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetPurchaseOrderResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetPurchaseOrderResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getpurchaseorders.ts b/src/models/operations/getpurchaseorders.ts new file mode 100644 index 000000000..f69d8b042 --- /dev/null +++ b/src/models/operations/getpurchaseorders.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetPurchaseOrdersRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetPurchaseOrdersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPurchaseOrderOutput | undefined; +}; + +export type GetPurchaseOrdersResponse = { + httpMeta: components.HTTPMetadata; + object?: GetPurchaseOrdersResponseBody | undefined; +}; + +/** @internal */ +export namespace GetPurchaseOrdersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetPurchaseOrdersResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPurchaseOrderOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPurchaseOrderOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPurchaseOrderOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetPurchaseOrdersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetPurchaseOrdersResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetPurchaseOrdersResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetPurchaseOrdersResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getrejectreason.ts b/src/models/operations/getrejectreason.ts new file mode 100644 index 000000000..3e1035548 --- /dev/null +++ b/src/models/operations/getrejectreason.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetRejectReasonRequest = { + /** + * id of the rejectreason you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetRejectReasonResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedRejectReasonOutput | undefined; +}; + +export type GetRejectReasonResponse = { + httpMeta: components.HTTPMetadata; + object?: GetRejectReasonResponseBody | undefined; +}; + +/** @internal */ +export namespace GetRejectReasonRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetRejectReasonResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedRejectReasonOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedRejectReasonOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedRejectReasonOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetRejectReasonResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetRejectReasonResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetRejectReasonResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetRejectReasonResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getrejectreasons.ts b/src/models/operations/getrejectreasons.ts new file mode 100644 index 000000000..928f6498d --- /dev/null +++ b/src/models/operations/getrejectreasons.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetRejectReasonsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetRejectReasonsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedRejectReasonOutput | undefined; +}; + +export type GetRejectReasonsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetRejectReasonsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetRejectReasonsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetRejectReasonsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedRejectReasonOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedRejectReasonOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedRejectReasonOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetRejectReasonsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetRejectReasonsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetRejectReasonsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetRejectReasonsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getscorecard.ts b/src/models/operations/getscorecard.ts new file mode 100644 index 000000000..e94ff6e66 --- /dev/null +++ b/src/models/operations/getscorecard.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetScoreCardRequest = { + /** + * id of the scorecard you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetScoreCardResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScoreCardOutput | undefined; +}; + +export type GetScoreCardResponse = { + httpMeta: components.HTTPMetadata; + object?: GetScoreCardResponseBody | undefined; +}; + +/** @internal */ +export namespace GetScoreCardRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetScoreCardResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScoreCardOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScoreCardOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScoreCardOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetScoreCardResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetScoreCardResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetScoreCardResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetScoreCardResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getscorecards.ts b/src/models/operations/getscorecards.ts new file mode 100644 index 000000000..8f002dda3 --- /dev/null +++ b/src/models/operations/getscorecards.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetScoreCardsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetScoreCardsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScoreCardOutput | undefined; +}; + +export type GetScoreCardsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetScoreCardsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetScoreCardsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetScoreCardsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScoreCardOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScoreCardOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScoreCardOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetScoreCardsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetScoreCardsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetScoreCardsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetScoreCardsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getscreeningquestion.ts b/src/models/operations/getscreeningquestion.ts new file mode 100644 index 000000000..da8e59236 --- /dev/null +++ b/src/models/operations/getscreeningquestion.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetScreeningQuestionRequest = { + /** + * id of the screeningquestion you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetScreeningQuestionResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScreeningQuestionOutput | undefined; +}; + +export type GetScreeningQuestionResponse = { + httpMeta: components.HTTPMetadata; + object?: GetScreeningQuestionResponseBody | undefined; +}; + +/** @internal */ +export namespace GetScreeningQuestionRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetScreeningQuestionResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScreeningQuestionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScreeningQuestionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetScreeningQuestionResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScreeningQuestionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetScreeningQuestionResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetScreeningQuestionResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetScreeningQuestionResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetScreeningQuestionResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getscreeningquestions.ts b/src/models/operations/getscreeningquestions.ts new file mode 100644 index 000000000..831b901e1 --- /dev/null +++ b/src/models/operations/getscreeningquestions.ts @@ -0,0 +1,125 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetScreeningQuestionsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Ats software. + */ + remoteData?: boolean | undefined; +}; + +export type GetScreeningQuestionsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScreeningQuestionOutput | undefined; +}; + +export type GetScreeningQuestionsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetScreeningQuestionsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetScreeningQuestionsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetScreeningQuestionsResponseBody$ { + export const inboundSchema: z.ZodType< + GetScreeningQuestionsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScreeningQuestionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedScreeningQuestionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetScreeningQuestionsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedScreeningQuestionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetScreeningQuestionsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetScreeningQuestionsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetScreeningQuestionsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetScreeningQuestionsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getsharedlink.ts b/src/models/operations/getsharedlink.ts new file mode 100644 index 000000000..e3c85b79d --- /dev/null +++ b/src/models/operations/getsharedlink.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetSharedlinkRequest = { + /** + * id of the sharedlink you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; +}; + +export type GetSharedlinkResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedSharedLinkOutput | undefined; +}; + +export type GetSharedlinkResponse = { + httpMeta: components.HTTPMetadata; + object?: GetSharedlinkResponseBody | undefined; +}; + +/** @internal */ +export namespace GetSharedlinkRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetSharedlinkResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedSharedLinkOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedSharedLinkOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedSharedLinkOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetSharedlinkResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetSharedlinkResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetSharedlinkResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetSharedlinkResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getsharedlinks.ts b/src/models/operations/getsharedlinks.ts new file mode 100644 index 000000000..0c95ee8b0 --- /dev/null +++ b/src/models/operations/getsharedlinks.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetSharedlinksRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Filestorage software. + */ + remoteData?: boolean | undefined; +}; + +export type GetSharedlinksResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedSharedLinkOutput | undefined; +}; + +export type GetSharedlinksResponse = { + httpMeta: components.HTTPMetadata; + object?: GetSharedlinksResponseBody | undefined; +}; + +/** @internal */ +export namespace GetSharedlinksRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetSharedlinksResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedSharedLinkOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedSharedLinkOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedSharedLinkOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetSharedlinksResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetSharedlinksResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetSharedlinksResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetSharedlinksResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getstage.ts b/src/models/operations/getstage.ts new file mode 100644 index 000000000..435113019 --- /dev/null +++ b/src/models/operations/getstage.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetStageRequest = { + /** + * id of the stage you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; +}; + +export type GetStageResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedStageOutput | undefined; +}; + +export type GetStageResponse = { + httpMeta: components.HTTPMetadata; + object?: GetStageResponseBody | undefined; +}; + +/** @internal */ +export namespace GetStageRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetStageResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedStageOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedStageOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedStageOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetStageResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetStageResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetStageResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetStageResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getstages.ts b/src/models/operations/getstages.ts new file mode 100644 index 000000000..1e6bcc9a9 --- /dev/null +++ b/src/models/operations/getstages.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetStagesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetStagesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedStageOutput | undefined; +}; + +export type GetStagesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetStagesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetStagesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetStagesResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedStageOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedStageOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedStageOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetStagesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetStagesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetStagesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetStagesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getsyncstatus.ts b/src/models/operations/getsyncstatus.ts new file mode 100644 index 000000000..c626ced94 --- /dev/null +++ b/src/models/operations/getsyncstatus.ts @@ -0,0 +1,59 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetSyncStatusRequest = { + vertical: string; +}; + +export type GetSyncStatusResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetSyncStatusRequest$ { + export const inboundSchema: z.ZodType = z.object({ + vertical: z.string(), + }); + + export type Outbound = { + vertical: string; + }; + + export const outboundSchema: z.ZodType = z.object( + { + vertical: z.string(), + } + ); +} + +/** @internal */ +export namespace GetSyncStatusResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettask.ts b/src/models/operations/gettask.ts new file mode 100644 index 000000000..5a2a255b8 --- /dev/null +++ b/src/models/operations/gettask.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTaskRequest = { + /** + * id of the task you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Crm software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTaskResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaskOutput | undefined; +}; + +export type GetTaskResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTaskResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTaskRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTaskResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaskOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaskOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaskOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTaskResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTaskResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTaskResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTaskResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettasks.ts b/src/models/operations/gettasks.ts new file mode 100644 index 000000000..2b06a9af4 --- /dev/null +++ b/src/models/operations/gettasks.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTasksRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetTasksResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaskOutput | undefined; +}; + +export type GetTasksResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTasksResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTasksRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTasksResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaskOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaskOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaskOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetTasksResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTasksResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTasksResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTasksResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettaxrate.ts b/src/models/operations/gettaxrate.ts new file mode 100644 index 000000000..4fd7c732d --- /dev/null +++ b/src/models/operations/gettaxrate.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTaxRateRequest = { + /** + * id of the taxrate you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTaxRateResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaxRateOutput | undefined; +}; + +export type GetTaxRateResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTaxRateResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTaxRateRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTaxRateResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaxRateOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaxRateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaxRateOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTaxRateResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTaxRateResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTaxRateResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTaxRateResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettaxrates.ts b/src/models/operations/gettaxrates.ts new file mode 100644 index 000000000..4e79a9a16 --- /dev/null +++ b/src/models/operations/gettaxrates.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTaxRatesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTaxRatesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaxRateOutput | undefined; +}; + +export type GetTaxRatesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTaxRatesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTaxRatesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTaxRatesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaxRateOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaxRateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaxRateOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTaxRatesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTaxRatesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTaxRatesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTaxRatesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getteam.ts b/src/models/operations/getteam.ts new file mode 100644 index 000000000..10e659b89 --- /dev/null +++ b/src/models/operations/getteam.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTeamRequest = { + /** + * id of the team you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTeamResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTeamOutput | undefined; +}; + +export type GetTeamResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTeamResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTeamRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTeamResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTeamOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTeamOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTeamOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTeamResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTeamResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTeamResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTeamResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getteams.ts b/src/models/operations/getteams.ts new file mode 100644 index 000000000..375870829 --- /dev/null +++ b/src/models/operations/getteams.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTeamsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetTeamsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTeamOutput | undefined; +}; + +export type GetTeamsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTeamsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTeamsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTeamsResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTeamOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTeamOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTeamOutput$.outboundSchema.optional(), + } + ); +} + +/** @internal */ +export namespace GetTeamsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTeamsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTeamsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTeamsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettemplate.ts b/src/models/operations/gettemplate.ts new file mode 100644 index 000000000..cb8f45697 --- /dev/null +++ b/src/models/operations/gettemplate.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTemplateRequest = { + /** + * id of the template you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTemplateResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTemplateOutput | undefined; +}; + +export type GetTemplateResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTemplateResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTemplateRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTemplateResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTemplateOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTemplateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTemplateOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTemplateResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTemplateResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTemplateResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTemplateResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettemplates.ts b/src/models/operations/gettemplates.ts new file mode 100644 index 000000000..97666cef5 --- /dev/null +++ b/src/models/operations/gettemplates.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTemplatesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Marketingautomation software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTemplatesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTemplateOutput | undefined; +}; + +export type GetTemplatesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTemplatesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTemplatesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTemplatesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTemplateOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTemplateOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTemplateOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTemplatesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTemplatesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTemplatesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTemplatesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getticket.ts b/src/models/operations/getticket.ts new file mode 100644 index 000000000..55d9e46b5 --- /dev/null +++ b/src/models/operations/getticket.ts @@ -0,0 +1,115 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTicketRequest = { + /** + * id of the `ticket` you want to retrive. + */ + id: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTicketResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTicketOutput | undefined; +}; + +export type GetTicketResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTicketResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTicketRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTicketResponseBody$ { + export const inboundSchema: z.ZodType = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTicketOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTicketOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTicketOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTicketResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTicketResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTicketResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTicketResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getticketingaccount.ts b/src/models/operations/getticketingaccount.ts new file mode 100644 index 000000000..57d56e22d --- /dev/null +++ b/src/models/operations/getticketingaccount.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTicketingAccountRequest = { + /** + * id of the account you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTicketingAccountResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAccountOutput | undefined; +}; + +export type GetTicketingAccountResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTicketingAccountResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTicketingAccountRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTicketingAccountResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAccountOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAccountOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetTicketingAccountResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAccountOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTicketingAccountResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTicketingAccountResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTicketingAccountResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTicketingAccountResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getticketingaccounts.ts b/src/models/operations/getticketingaccounts.ts new file mode 100644 index 000000000..abd608d04 --- /dev/null +++ b/src/models/operations/getticketingaccounts.ts @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTicketingAccountsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetTicketingAccountsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAccountOutput | undefined; +}; + +export type GetTicketingAccountsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTicketingAccountsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTicketingAccountsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTicketingAccountsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAccountOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAccountOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetTicketingAccountsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAccountOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTicketingAccountsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTicketingAccountsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTicketingAccountsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTicketingAccountsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getticketingattachment.ts b/src/models/operations/getticketingattachment.ts new file mode 100644 index 000000000..8730e981d --- /dev/null +++ b/src/models/operations/getticketingattachment.ts @@ -0,0 +1,124 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTicketingAttachmentRequest = { + /** + * id of the attachment you want to retrive. + */ + id: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTicketingAttachmentResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type GetTicketingAttachmentResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTicketingAttachmentResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTicketingAttachmentRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTicketingAttachmentResponseBody$ { + export const inboundSchema: z.ZodType< + GetTicketingAttachmentResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetTicketingAttachmentResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTicketingAttachmentResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTicketingAttachmentResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTicketingAttachmentResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTicketingAttachmentResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getticketingattachments.ts b/src/models/operations/getticketingattachments.ts new file mode 100644 index 000000000..ab938dea4 --- /dev/null +++ b/src/models/operations/getticketingattachments.ts @@ -0,0 +1,144 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTicketingAttachmentsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetTicketingAttachmentsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput | undefined; +}; + +export type GetTicketingAttachmentsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTicketingAttachmentsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTicketingAttachmentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTicketingAttachmentsResponseBody$ { + export const inboundSchema: z.ZodType< + GetTicketingAttachmentsResponseBody, + z.ZodTypeDef, + unknown + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedAttachmentOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetTicketingAttachmentsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedAttachmentOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTicketingAttachmentsResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTicketingAttachmentsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTicketingAttachmentsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetTicketingAttachmentsResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTicketingAttachmentsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getticketingcontact.ts b/src/models/operations/getticketingcontact.ts new file mode 100644 index 000000000..13963a084 --- /dev/null +++ b/src/models/operations/getticketingcontact.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTicketingContactRequest = { + /** + * id of the contact you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTicketingContactResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type GetTicketingContactResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTicketingContactResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTicketingContactRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTicketingContactResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetTicketingContactResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTicketingContactResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTicketingContactResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTicketingContactResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTicketingContactResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getticketingcontacts.ts b/src/models/operations/getticketingcontacts.ts new file mode 100644 index 000000000..e3e7b6392 --- /dev/null +++ b/src/models/operations/getticketingcontacts.ts @@ -0,0 +1,135 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTicketingContactsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetTicketingContactsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +export type GetTicketingContactsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTicketingContactsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTicketingContactsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTicketingContactsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetTicketingContactsResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedContactOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTicketingContactsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTicketingContactsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTicketingContactsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTicketingContactsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getticketingtag.ts b/src/models/operations/getticketingtag.ts new file mode 100644 index 000000000..977bfdd15 --- /dev/null +++ b/src/models/operations/getticketingtag.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTicketingTagRequest = { + /** + * id of the tag you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTicketingTagResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTagOutput | undefined; +}; + +export type GetTicketingTagResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTicketingTagResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTicketingTagRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTicketingTagResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTagOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTagOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTagOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTicketingTagResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTicketingTagResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTicketingTagResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTicketingTagResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getticketingtags.ts b/src/models/operations/getticketingtags.ts new file mode 100644 index 000000000..ca4b5a337 --- /dev/null +++ b/src/models/operations/getticketingtags.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTicketingTagsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetTicketingTagsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTagOutput | undefined; +}; + +export type GetTicketingTagsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTicketingTagsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTicketingTagsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTicketingTagsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTagOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTagOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTagOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTicketingTagsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTicketingTagsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTicketingTagsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTicketingTagsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getticketinguser.ts b/src/models/operations/getticketinguser.ts new file mode 100644 index 000000000..f89b91d38 --- /dev/null +++ b/src/models/operations/getticketinguser.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTicketingUserRequest = { + /** + * id of the user you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Ticketing software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTicketingUserResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput | undefined; +}; + +export type GetTicketingUserResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTicketingUserResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTicketingUserRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTicketingUserResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTicketingUserResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTicketingUserResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTicketingUserResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTicketingUserResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getticketingusers.ts b/src/models/operations/getticketingusers.ts new file mode 100644 index 000000000..bca549a42 --- /dev/null +++ b/src/models/operations/getticketingusers.ts @@ -0,0 +1,132 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTicketingUsersRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetTicketingUsersResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput | undefined; +}; + +export type GetTicketingUsersResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTicketingUsersResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTicketingUsersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTicketingUsersResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedUserOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedUserOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTicketingUsersResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTicketingUsersResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTicketingUsersResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTicketingUsersResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettickets.ts b/src/models/operations/gettickets.ts new file mode 100644 index 000000000..011a96f44 --- /dev/null +++ b/src/models/operations/gettickets.ts @@ -0,0 +1,133 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTicketsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original software. + */ + remoteData?: boolean | undefined; + /** + * Set to get the number of records. + */ + pageSize?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type GetTicketsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTicketOutput | undefined; +}; + +export type GetTicketsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTicketsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTicketsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + pageSize: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + pageSize: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTicketsResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTicketOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTicketOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTicketOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTicketsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTicketsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTicketsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTicketsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettimeoff.ts b/src/models/operations/gettimeoff.ts new file mode 100644 index 000000000..d85623703 --- /dev/null +++ b/src/models/operations/gettimeoff.ts @@ -0,0 +1,117 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTimeoffRequest = { + /** + * id of the timeoff you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTimeoffResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffOutput | undefined; +}; + +export type GetTimeoffResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTimeoffResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTimeoffRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTimeoffResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTimeoffResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTimeoffResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTimeoffResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTimeoffResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettimeoffbalance.ts b/src/models/operations/gettimeoffbalance.ts new file mode 100644 index 000000000..2a6eeca3e --- /dev/null +++ b/src/models/operations/gettimeoffbalance.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTimeoffBalanceRequest = { + /** + * id of the timeoffbalance you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTimeoffBalanceResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffBalanceOutput | undefined; +}; + +export type GetTimeoffBalanceResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTimeoffBalanceResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTimeoffBalanceRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTimeoffBalanceResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffBalanceOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffBalanceOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffBalanceOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTimeoffBalanceResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTimeoffBalanceResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTimeoffBalanceResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTimeoffBalanceResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettimeoffbalances.ts b/src/models/operations/gettimeoffbalances.ts new file mode 100644 index 000000000..0b26fd012 --- /dev/null +++ b/src/models/operations/gettimeoffbalances.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTimeoffBalancesRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTimeoffBalancesResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffBalanceOutput | undefined; +}; + +export type GetTimeoffBalancesResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTimeoffBalancesResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTimeoffBalancesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTimeoffBalancesResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffBalanceOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffBalanceOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffBalanceOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTimeoffBalancesResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTimeoffBalancesResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTimeoffBalancesResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTimeoffBalancesResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettimeoffs.ts b/src/models/operations/gettimeoffs.ts new file mode 100644 index 000000000..80806f538 --- /dev/null +++ b/src/models/operations/gettimeoffs.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTimeoffsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Hris software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTimeoffsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffOutput | undefined; +}; + +export type GetTimeoffsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTimeoffsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTimeoffsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTimeoffsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTimeoffOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTimeoffOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTimeoffsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTimeoffsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTimeoffsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTimeoffsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettrackingcategory.ts b/src/models/operations/gettrackingcategory.ts new file mode 100644 index 000000000..c39c93119 --- /dev/null +++ b/src/models/operations/gettrackingcategory.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTrackingCategoryRequest = { + /** + * id of the trackingcategory you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTrackingCategoryResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTrackingCategoryOutput | undefined; +}; + +export type GetTrackingCategoryResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTrackingCategoryResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTrackingCategoryRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTrackingCategoryResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTrackingCategoryOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTrackingCategoryOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetTrackingCategoryResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTrackingCategoryOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTrackingCategoryResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTrackingCategoryResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTrackingCategoryResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTrackingCategoryResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettrackingcategorys.ts b/src/models/operations/gettrackingcategorys.ts new file mode 100644 index 000000000..1b328db78 --- /dev/null +++ b/src/models/operations/gettrackingcategorys.ts @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTrackingCategorysRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTrackingCategorysResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTrackingCategoryOutput | undefined; +}; + +export type GetTrackingCategorysResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTrackingCategorysResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTrackingCategorysRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTrackingCategorysResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTrackingCategoryOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTrackingCategoryOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + GetTrackingCategorysResponseBody + > = z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTrackingCategoryOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTrackingCategorysResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTrackingCategorysResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTrackingCategorysResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTrackingCategorysResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettransaction.ts b/src/models/operations/gettransaction.ts new file mode 100644 index 000000000..8c5874033 --- /dev/null +++ b/src/models/operations/gettransaction.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTransactionRequest = { + /** + * id of the transaction you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTransactionResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTransactionOutput | undefined; +}; + +export type GetTransactionResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTransactionResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTransactionRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTransactionResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTransactionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTransactionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTransactionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTransactionResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTransactionResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTransactionResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTransactionResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/gettransactions.ts b/src/models/operations/gettransactions.ts new file mode 100644 index 000000000..1b77b79c1 --- /dev/null +++ b/src/models/operations/gettransactions.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetTransactionsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetTransactionsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTransactionOutput | undefined; +}; + +export type GetTransactionsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetTransactionsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetTransactionsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetTransactionsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTransactionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTransactionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTransactionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetTransactionsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetTransactionsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetTransactionsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetTransactionsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getvendorcredit.ts b/src/models/operations/getvendorcredit.ts new file mode 100644 index 000000000..e9089d80d --- /dev/null +++ b/src/models/operations/getvendorcredit.ts @@ -0,0 +1,116 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetVendorCreditRequest = { + /** + * id of the vendorcredit you want to retrieve. + */ + id: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetVendorCreditResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedVendorCreditOutput | undefined; +}; + +export type GetVendorCreditResponse = { + httpMeta: components.HTTPMetadata; + object?: GetVendorCreditResponseBody | undefined; +}; + +/** @internal */ +export namespace GetVendorCreditRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remote_data: "remoteData", + }); + }); + + export type Outbound = { + id: string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetVendorCreditResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedVendorCreditOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedVendorCreditOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedVendorCreditOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetVendorCreditResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetVendorCreditResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetVendorCreditResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetVendorCreditResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getvendorcredits.ts b/src/models/operations/getvendorcredits.ts new file mode 100644 index 000000000..92ec0adce --- /dev/null +++ b/src/models/operations/getvendorcredits.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetVendorCreditsRequest = { + /** + * The connection token + */ + xConnectionToken: string; + /** + * Set to true to include data from the original Accounting software. + */ + remoteData?: boolean | undefined; +}; + +export type GetVendorCreditsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedVendorCreditOutput | undefined; +}; + +export type GetVendorCreditsResponse = { + httpMeta: components.HTTPMetadata; + object?: GetVendorCreditsResponseBody | undefined; +}; + +/** @internal */ +export namespace GetVendorCreditsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + "x-connection-token": "xConnectionToken", + remote_data: "remoteData", + }); + }); + + export type Outbound = { + "x-connection-token": string; + remote_data?: boolean | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace GetVendorCreditsResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedVendorCreditOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedVendorCreditOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedVendorCreditOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace GetVendorCreditsResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => GetVendorCreditsResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: GetVendorCreditsResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => GetVendorCreditsResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/getwebhooksmetadata.ts b/src/models/operations/getwebhooksmetadata.ts new file mode 100644 index 000000000..719e747ac --- /dev/null +++ b/src/models/operations/getwebhooksmetadata.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type GetWebhooksMetadataResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace GetWebhooksMetadataResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/handleapikeycallback.ts b/src/models/operations/handleapikeycallback.ts new file mode 100644 index 000000000..64bafd355 --- /dev/null +++ b/src/models/operations/handleapikeycallback.ts @@ -0,0 +1,73 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type HandleApiKeyCallbackRequest = { + state: string; + bodyDataType: components.BodyDataType; +}; + +export type HandleApiKeyCallbackResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace HandleApiKeyCallbackRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + state: z.string(), + BodyDataType: components.BodyDataType$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + BodyDataType: "bodyDataType", + }); + }); + + export type Outbound = { + state: string; + BodyDataType: components.BodyDataType$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + state: z.string(), + bodyDataType: components.BodyDataType$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + bodyDataType: "BodyDataType", + }); + }); +} + +/** @internal */ +export namespace HandleApiKeyCallbackResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/handleoauthcallback.ts b/src/models/operations/handleoauthcallback.ts new file mode 100644 index 000000000..70166e93d --- /dev/null +++ b/src/models/operations/handleoauthcallback.ts @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type HandleOAuthCallbackRequest = { + code: string; + state: string; +}; + +export type HandleOAuthCallbackResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace HandleOAuthCallbackRequest$ { + export const inboundSchema: z.ZodType = + z.object({ + code: z.string(), + state: z.string(), + }); + + export type Outbound = { + code: string; + state: string; + }; + + export const outboundSchema: z.ZodType = + z.object({ + code: z.string(), + state: z.string(), + }); +} + +/** @internal */ +export namespace HandleOAuthCallbackResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/handlethirdpartywebhook.ts b/src/models/operations/handlethirdpartywebhook.ts new file mode 100644 index 000000000..03ef970ad --- /dev/null +++ b/src/models/operations/handlethirdpartywebhook.ts @@ -0,0 +1,75 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type HandleThirdPartyWebhookRequest = { + endpointUuid: string; +}; + +export type HandleThirdPartyWebhookResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace HandleThirdPartyWebhookRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + endpoint_uuid: z.string(), + }) + .transform((v) => { + return remap$(v, { + endpoint_uuid: "endpointUuid", + }); + }); + + export type Outbound = { + endpoint_uuid: string; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + endpointUuid: z.string(), + }) + .transform((v) => { + return remap$(v, { + endpointUuid: "endpoint_uuid", + }); + }); +} + +/** @internal */ +export namespace HandleThirdPartyWebhookResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + HandleThirdPartyWebhookResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/index.ts b/src/models/operations/index.ts new file mode 100644 index 000000000..6089cddd0 --- /dev/null +++ b/src/models/operations/index.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export * from "./addaccount"; +export * from "./addaccountingattachment"; +export * from "./addaccountingattachments"; +export * from "./addaccountingcontact"; +export * from "./addaccountingcontacts"; +export * from "./addaccounts"; +export * from "./addaction"; +export * from "./addactions"; +export * from "./addactivity"; +export * from "./addactivitys"; +export * from "./addaddress"; +export * from "./addaddresss"; +export * from "./addapplication"; +export * from "./addapplications"; +export * from "./addatsattachment"; +export * from "./addatsattachments"; +export * from "./addatsuser"; +export * from "./addatsusers"; +export * from "./addautomation"; +export * from "./addautomations"; +export * from "./addbalancesheet"; +export * from "./addbalancesheets"; +export * from "./addbankinfo"; +export * from "./addbankinfos"; +export * from "./addbatchlinkedusers"; +export * from "./addbenefit"; +export * from "./addbenefits"; +export * from "./addcampaign"; +export * from "./addcampaigns"; +export * from "./addcandidate"; +export * from "./addcandidates"; +export * from "./addcashflowstatement"; +export * from "./addcashflowstatements"; +export * from "./addcomment"; +export * from "./addcomments"; +export * from "./addcompanies"; +export * from "./addcompanyinfo"; +export * from "./addcompanyinfos"; +export * from "./addcompanys"; +export * from "./addcreditnote"; +export * from "./addcreditnotes"; +export * from "./addcrmcompany"; +export * from "./addcrmcontact"; +export * from "./addcrmcontacts"; +export * from "./adddeal"; +export * from "./adddeals"; +export * from "./adddepartment"; +export * from "./adddepartments"; +export * from "./adddependent"; +export * from "./adddependents"; +export * from "./adddrive"; +export * from "./adddrives"; +export * from "./addeeocs"; +export * from "./addeeocss"; +export * from "./addemail"; +export * from "./addemails"; +export * from "./addemployee"; +export * from "./addemployeepayrollrun"; +export * from "./addemployeepayrollruns"; +export * from "./addemployees"; +export * from "./addemployerbenefit"; +export * from "./addemployerbenefits"; +export * from "./addemployment"; +export * from "./addemployments"; +export * from "./addengagement"; +export * from "./addengagements"; +export * from "./addevent"; +export * from "./addevents"; +export * from "./addexpense"; +export * from "./addexpenses"; +export * from "./addfile"; +export * from "./addfiles"; +export * from "./addfolder"; +export * from "./addfolders"; +export * from "./addgroup"; +export * from "./addgroups"; +export * from "./addhriscompany"; +export * from "./addincomestatement"; +export * from "./addincomestatements"; +export * from "./addinterview"; +export * from "./addinterviews"; +export * from "./addinvoice"; +export * from "./addinvoices"; +export * from "./additem"; +export * from "./additems"; +export * from "./addjob"; +export * from "./addjobinterviewstage"; +export * from "./addjobinterviewstages"; +export * from "./addjobs"; +export * from "./addjournalentry"; +export * from "./addjournalentrys"; +export * from "./addlinkeduser"; +export * from "./addlist"; +export * from "./addlists"; +export * from "./addlocation"; +export * from "./addlocations"; +export * from "./addmarketingautomationcontact"; +export * from "./addmarketingautomationcontacts"; +export * from "./addmarketingautomationuser"; +export * from "./addmarketingautomationusers"; +export * from "./addmessage"; +export * from "./addmessages"; +export * from "./addnote"; +export * from "./addnotes"; +export * from "./addoffer"; +export * from "./addoffers"; +export * from "./addoffice"; +export * from "./addoffices"; +export * from "./addpaygroup"; +export * from "./addpaygroups"; +export * from "./addpayment"; +export * from "./addpayments"; +export * from "./addpayrollrun"; +export * from "./addpayrollruns"; +export * from "./addpermission"; +export * from "./addpermissions"; +export * from "./addphonenumber"; +export * from "./addphonenumbers"; +export * from "./addpurchaseorder"; +export * from "./addpurchaseorders"; +export * from "./addrejectreason"; +export * from "./addrejectreasons"; +export * from "./addscorecard"; +export * from "./addscorecards"; +export * from "./addscreeningquestion"; +export * from "./addscreeningquestions"; +export * from "./addsharedlink"; +export * from "./addsharedlinks"; +export * from "./addtag"; +export * from "./addtags"; +export * from "./addtask"; +export * from "./addtasks"; +export * from "./addtaxrate"; +export * from "./addtaxrates"; +export * from "./addtemplate"; +export * from "./addtemplates"; +export * from "./addticket"; +export * from "./addticketingattachment"; +export * from "./addticketingattachments"; +export * from "./addtickets"; +export * from "./addtimeoff"; +export * from "./addtimeoffbalance"; +export * from "./addtimeoffbalances"; +export * from "./addtimeoffs"; +export * from "./addtrackingcategory"; +export * from "./addtrackingcategorys"; +export * from "./addtransaction"; +export * from "./addtransactions"; +export * from "./addvendorcredit"; +export * from "./addvendorcredits"; +export * from "./authcontrollergetprofile"; +export * from "./connectionscontrollerhandlegorgiasauthurl"; +export * from "./createconnectionstrategy"; +export * from "./createcustomfield"; +export * from "./createmagiclink"; +export * from "./createmanagedwebhook"; +export * from "./createorganisation"; +export * from "./createproject"; +export * from "./createremotethirdpartywebhook"; +export * from "./createwebhookmetadata"; +export * from "./definetargetfield"; +export * from "./deleteapikey"; +export * from "./deleteconnectionstrategy"; +export * from "./deletewebhook"; +export * from "./downloadattachment"; +export * from "./fetchlinkedusers"; +export * from "./generateapikey"; +export * from "./getaccountingaccount"; +export * from "./getaccountingaccounts"; +export * from "./getaccountingattachment"; +export * from "./getaccountingattachments"; +export * from "./getaccountingcontact"; +export * from "./getaccountingcontacts"; +export * from "./getaction"; +export * from "./getactions"; +export * from "./getactivity"; +export * from "./getactivitys"; +export * from "./getaddress"; +export * from "./getaddresss"; +export * from "./getapikeys"; +export * from "./getapplication"; +export * from "./getapplications"; +export * from "./getatsattachment"; +export * from "./getatsattachments"; +export * from "./getatstag"; +export * from "./getatstags"; +export * from "./getatsuser"; +export * from "./getatsusers"; +export * from "./getautomation"; +export * from "./getautomations"; +export * from "./getbalancesheet"; +export * from "./getbalancesheets"; +export * from "./getbankinfo"; +export * from "./getbankinfos"; +export * from "./getbenefit"; +export * from "./getbenefits"; +export * from "./getcampaign"; +export * from "./getcampaigns"; +export * from "./getcandidate"; +export * from "./getcandidates"; +export * from "./getcashflowstatement"; +export * from "./getcashflowstatements"; +export * from "./getcollection"; +export * from "./getcollections"; +export * from "./getcomment"; +export * from "./getcomments"; +export * from "./getcompanies"; +export * from "./getcompanyinfo"; +export * from "./getcompanyinfos"; +export * from "./getcompanys"; +export * from "./getconnections"; +export * from "./getconnectionstrategiesforproject"; +export * from "./getconnectionstrategycredentials"; +export * from "./getconnectorsfromproject"; +export * from "./getcredentials"; +export * from "./getcreditnote"; +export * from "./getcreditnotes"; +export * from "./getcrmcompany"; +export * from "./getcrmcontact"; +export * from "./getcrmcontacts"; +export * from "./getcrmuser"; +export * from "./getcrmusers"; +export * from "./getcustomproviderproperties"; +export * from "./getdeal"; +export * from "./getdeals"; +export * from "./getdepartment"; +export * from "./getdepartments"; +export * from "./getdependent"; +export * from "./getdependents"; +export * from "./getdrive"; +export * from "./getdrives"; +export * from "./geteeocs"; +export * from "./geteeocss"; +export * from "./getemail"; +export * from "./getemails"; +export * from "./getemployee"; +export * from "./getemployeepayrollrun"; +export * from "./getemployeepayrollruns"; +export * from "./getemployees"; +export * from "./getemployerbenefit"; +export * from "./getemployerbenefits"; +export * from "./getemployment"; +export * from "./getemployments"; +export * from "./getengagement"; +export * from "./getengagements"; +export * from "./getevent"; +export * from "./geteventscount"; +export * from "./getexpense"; +export * from "./getexpenses"; +export * from "./getfieldmappings"; +export * from "./getfieldmappingsentities"; +export * from "./getfieldmappingvalues"; +export * from "./getfile"; +export * from "./getfiles"; +export * from "./getfolder"; +export * from "./getfolders"; +export * from "./getgroup"; +export * from "./getgroups"; +export * from "./gethealth"; +export * from "./gethello"; +export * from "./gethelloprotected"; +export * from "./gethriscompany"; +export * from "./getincomestatement"; +export * from "./getincomestatements"; +export * from "./getinterview"; +export * from "./getinterviews"; +export * from "./getinvoice"; +export * from "./getinvoices"; +export * from "./getitem"; +export * from "./getitems"; +export * from "./getjob"; +export * from "./getjobinterviewstage"; +export * from "./getjobinterviewstages"; +export * from "./getjobs"; +export * from "./getjournalentry"; +export * from "./getjournalentrys"; +export * from "./getlinkeduser"; +export * from "./getlist"; +export * from "./getlists"; +export * from "./getlocation"; +export * from "./getlocations"; +export * from "./getmagiclink"; +export * from "./getmagiclinks"; +export * from "./getmanagedwebhooks"; +export * from "./getmarketingautomationcontact"; +export * from "./getmarketingautomationcontacts"; +export * from "./getmarketingautomationevents"; +export * from "./getmarketingautomationuser"; +export * from "./getmarketingautomationusers"; +export * from "./getmessage"; +export * from "./getmessages"; +export * from "./getnote"; +export * from "./getnotes"; +export * from "./getoffer"; +export * from "./getoffers"; +export * from "./getoffice"; +export * from "./getoffices"; +export * from "./getorganisations"; +export * from "./getpanoracoreevents"; +export * from "./getpanoracoreusers"; +export * from "./getpaygroup"; +export * from "./getpaygroups"; +export * from "./getpayment"; +export * from "./getpayments"; +export * from "./getpayrollrun"; +export * from "./getpayrollruns"; +export * from "./getpermission"; +export * from "./getpermissions"; +export * from "./getphonenumber"; +export * from "./getphonenumbers"; +export * from "./getprojects"; +export * from "./getpurchaseorder"; +export * from "./getpurchaseorders"; +export * from "./getrejectreason"; +export * from "./getrejectreasons"; +export * from "./getscorecard"; +export * from "./getscorecards"; +export * from "./getscreeningquestion"; +export * from "./getscreeningquestions"; +export * from "./getsharedlink"; +export * from "./getsharedlinks"; +export * from "./getstage"; +export * from "./getstages"; +export * from "./getsyncstatus"; +export * from "./gettask"; +export * from "./gettasks"; +export * from "./gettaxrate"; +export * from "./gettaxrates"; +export * from "./getteam"; +export * from "./getteams"; +export * from "./gettemplate"; +export * from "./gettemplates"; +export * from "./getticket"; +export * from "./getticketingaccount"; +export * from "./getticketingaccounts"; +export * from "./getticketingattachment"; +export * from "./getticketingattachments"; +export * from "./getticketingcontact"; +export * from "./getticketingcontacts"; +export * from "./getticketingtag"; +export * from "./getticketingtags"; +export * from "./getticketinguser"; +export * from "./getticketingusers"; +export * from "./gettickets"; +export * from "./gettimeoff"; +export * from "./gettimeoffbalance"; +export * from "./gettimeoffbalances"; +export * from "./gettimeoffs"; +export * from "./gettrackingcategory"; +export * from "./gettrackingcategorys"; +export * from "./gettransaction"; +export * from "./gettransactions"; +export * from "./getvendorcredit"; +export * from "./getvendorcredits"; +export * from "./getwebhooksmetadata"; +export * from "./handleapikeycallback"; +export * from "./handleoauthcallback"; +export * from "./handlethirdpartywebhook"; +export * from "./linkeduserfromremoteid"; +export * from "./mapfield"; +export * from "./passthroughrequest"; +export * from "./refreshaccesstoken"; +export * from "./resync"; +export * from "./signin"; +export * from "./signup"; +export * from "./toggleconnectionstrategy"; +export * from "./updatecompany"; +export * from "./updateconnectionstrategy"; +export * from "./updateconnectorstoproject"; +export * from "./updatecontact"; +export * from "./updatedeal"; +export * from "./updateengagement"; +export * from "./updatemanagedwebhooksstatus"; +export * from "./updatepermission"; +export * from "./updatetask"; +export * from "./updateticket"; +export * from "./updatewebhookstatus"; +export * from "./verifyevent"; diff --git a/src/models/operations/linkeduserfromremoteid.ts b/src/models/operations/linkeduserfromremoteid.ts new file mode 100644 index 000000000..259898de3 --- /dev/null +++ b/src/models/operations/linkeduserfromremoteid.ts @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type LinkedUserFromRemoteIdRequest = { + remoteId: string; +}; + +export type LinkedUserFromRemoteIdResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace LinkedUserFromRemoteIdRequest$ { + export const inboundSchema: z.ZodType = + z.object({ + remoteId: z.string(), + }); + + export type Outbound = { + remoteId: string; + }; + + export const outboundSchema: z.ZodType = + z.object({ + remoteId: z.string(), + }); +} + +/** @internal */ +export namespace LinkedUserFromRemoteIdResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/mapfield.ts b/src/models/operations/mapfield.ts new file mode 100644 index 000000000..13edb23eb --- /dev/null +++ b/src/models/operations/mapfield.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type MapFieldResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace MapFieldResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/passthroughrequest.ts b/src/models/operations/passthroughrequest.ts new file mode 100644 index 000000000..9e71d84cd --- /dev/null +++ b/src/models/operations/passthroughrequest.ts @@ -0,0 +1,87 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type PassthroughRequestRequest = { + integrationId: string; + linkedUserId: string; + vertical: string; + passThroughRequestDto: components.PassThroughRequestDto; +}; + +export type PassthroughRequestResponse = { + httpMeta: components.HTTPMetadata; + passThroughResponse?: components.PassThroughResponse | undefined; +}; + +/** @internal */ +export namespace PassthroughRequestRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + integrationId: z.string(), + linkedUserId: z.string(), + vertical: z.string(), + PassThroughRequestDto: components.PassThroughRequestDto$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + PassThroughRequestDto: "passThroughRequestDto", + }); + }); + + export type Outbound = { + integrationId: string; + linkedUserId: string; + vertical: string; + PassThroughRequestDto: components.PassThroughRequestDto$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + integrationId: z.string(), + linkedUserId: z.string(), + vertical: z.string(), + passThroughRequestDto: components.PassThroughRequestDto$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + passThroughRequestDto: "PassThroughRequestDto", + }); + }); +} + +/** @internal */ +export namespace PassthroughRequestResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + PassThroughResponse: components.PassThroughResponse$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + PassThroughResponse: "passThroughResponse", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + PassThroughResponse?: components.PassThroughResponse$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + passThroughResponse: components.PassThroughResponse$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + passThroughResponse: "PassThroughResponse", + }); + }); +} diff --git a/src/models/operations/refreshaccesstoken.ts b/src/models/operations/refreshaccesstoken.ts new file mode 100644 index 000000000..32fc68958 --- /dev/null +++ b/src/models/operations/refreshaccesstoken.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type RefreshAccessTokenResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace RefreshAccessTokenResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/resync.ts b/src/models/operations/resync.ts new file mode 100644 index 000000000..5bfe55d0f --- /dev/null +++ b/src/models/operations/resync.ts @@ -0,0 +1,57 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type ResyncRequest = { + vertical: string; +}; + +export type ResyncResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace ResyncRequest$ { + export const inboundSchema: z.ZodType = z.object({ + vertical: z.string(), + }); + + export type Outbound = { + vertical: string; + }; + + export const outboundSchema: z.ZodType = z.object({ + vertical: z.string(), + }); +} + +/** @internal */ +export namespace ResyncResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/signin.ts b/src/models/operations/signin.ts new file mode 100644 index 000000000..4310ec804 --- /dev/null +++ b/src/models/operations/signin.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type SignInResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace SignInResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/signup.ts b/src/models/operations/signup.ts new file mode 100644 index 000000000..ead915654 --- /dev/null +++ b/src/models/operations/signup.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type SignUpResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace SignUpResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/toggleconnectionstrategy.ts b/src/models/operations/toggleconnectionstrategy.ts new file mode 100644 index 000000000..e7f4a36a8 --- /dev/null +++ b/src/models/operations/toggleconnectionstrategy.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type ToggleConnectionStrategyResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace ToggleConnectionStrategyResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + ToggleConnectionStrategyResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/updatecompany.ts b/src/models/operations/updatecompany.ts new file mode 100644 index 000000000..ea6cfe8c1 --- /dev/null +++ b/src/models/operations/updatecompany.ts @@ -0,0 +1,96 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type UpdateCompanyRequest = { + id: string; +}; + +export type UpdateCompanyResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput | undefined; +}; + +export type UpdateCompanyResponse = { + httpMeta: components.HTTPMetadata; + object?: UpdateCompanyResponseBody | undefined; +}; + +/** @internal */ +export namespace UpdateCompanyRequest$ { + export const inboundSchema: z.ZodType = z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = z.object( + { + id: z.string(), + } + ); +} + +/** @internal */ +export namespace UpdateCompanyResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedCompanyOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedCompanyOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace UpdateCompanyResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => UpdateCompanyResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: UpdateCompanyResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => UpdateCompanyResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/updateconnectionstrategy.ts b/src/models/operations/updateconnectionstrategy.ts new file mode 100644 index 000000000..195ee8487 --- /dev/null +++ b/src/models/operations/updateconnectionstrategy.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type UpdateConnectionStrategyResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace UpdateConnectionStrategyResponse$ { + export const inboundSchema: z.ZodType = + z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UpdateConnectionStrategyResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/updateconnectorstoproject.ts b/src/models/operations/updateconnectorstoproject.ts new file mode 100644 index 000000000..7510a4c89 --- /dev/null +++ b/src/models/operations/updateconnectorstoproject.ts @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type UpdateConnectorsToProjectResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace UpdateConnectorsToProjectResponse$ { + export const inboundSchema: z.ZodType< + UpdateConnectorsToProjectResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UpdateConnectorsToProjectResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/updatecontact.ts b/src/models/operations/updatecontact.ts new file mode 100644 index 000000000..1b66074eb --- /dev/null +++ b/src/models/operations/updatecontact.ts @@ -0,0 +1,65 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type UpdateContactRequest = { + id: string; +}; + +export type UpdateContactResponse = { + httpMeta: components.HTTPMetadata; + unifiedContactOutput?: components.UnifiedContactOutput | undefined; +}; + +/** @internal */ +export namespace UpdateContactRequest$ { + export const inboundSchema: z.ZodType = z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = z.object( + { + id: z.string(), + } + ); +} + +/** @internal */ +export namespace UpdateContactResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + UnifiedContactOutput: components.UnifiedContactOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedContactOutput: "unifiedContactOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + UnifiedContactOutput?: components.UnifiedContactOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + unifiedContactOutput: components.UnifiedContactOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedContactOutput: "UnifiedContactOutput", + }); + }); +} diff --git a/src/models/operations/updatedeal.ts b/src/models/operations/updatedeal.ts new file mode 100644 index 000000000..a53691595 --- /dev/null +++ b/src/models/operations/updatedeal.ts @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type UpdateDealRequest = { + id: string; +}; + +export type UpdateDealResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDealOutput | undefined; +}; + +export type UpdateDealResponse = { + httpMeta: components.HTTPMetadata; + object?: UpdateDealResponseBody | undefined; +}; + +/** @internal */ +export namespace UpdateDealRequest$ { + export const inboundSchema: z.ZodType = z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = z.object({ + id: z.string(), + }); +} + +/** @internal */ +export namespace UpdateDealResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDealOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedDealOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedDealOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace UpdateDealResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => UpdateDealResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: UpdateDealResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => UpdateDealResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/updateengagement.ts b/src/models/operations/updateengagement.ts new file mode 100644 index 000000000..adf91041c --- /dev/null +++ b/src/models/operations/updateengagement.ts @@ -0,0 +1,96 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type UpdateEngagementRequest = { + id: string; +}; + +export type UpdateEngagementResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEngagementOutput | undefined; +}; + +export type UpdateEngagementResponse = { + httpMeta: components.HTTPMetadata; + object?: UpdateEngagementResponseBody | undefined; +}; + +/** @internal */ +export namespace UpdateEngagementRequest$ { + export const inboundSchema: z.ZodType = + z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = + z.object({ + id: z.string(), + }); +} + +/** @internal */ +export namespace UpdateEngagementResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEngagementOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedEngagementOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedEngagementOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace UpdateEngagementResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => UpdateEngagementResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: UpdateEngagementResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => UpdateEngagementResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/updatemanagedwebhooksstatus.ts b/src/models/operations/updatemanagedwebhooksstatus.ts new file mode 100644 index 000000000..90cb0a473 --- /dev/null +++ b/src/models/operations/updatemanagedwebhooksstatus.ts @@ -0,0 +1,85 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type UpdateManagedWebhooksStatusRequest = { + idConnection: string; +}; + +export type UpdateManagedWebhooksStatusResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace UpdateManagedWebhooksStatusRequest$ { + export const inboundSchema: z.ZodType< + UpdateManagedWebhooksStatusRequest, + z.ZodTypeDef, + unknown + > = z + .object({ + id_connection: z.string(), + }) + .transform((v) => { + return remap$(v, { + id_connection: "idConnection", + }); + }); + + export type Outbound = { + id_connection: string; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UpdateManagedWebhooksStatusRequest + > = z + .object({ + idConnection: z.string(), + }) + .transform((v) => { + return remap$(v, { + idConnection: "id_connection", + }); + }); +} + +/** @internal */ +export namespace UpdateManagedWebhooksStatusResponse$ { + export const inboundSchema: z.ZodType< + UpdateManagedWebhooksStatusResponse, + z.ZodTypeDef, + unknown + > = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + UpdateManagedWebhooksStatusResponse + > = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/updatepermission.ts b/src/models/operations/updatepermission.ts new file mode 100644 index 000000000..12673f258 --- /dev/null +++ b/src/models/operations/updatepermission.ts @@ -0,0 +1,96 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type UpdatePermissionRequest = { + id: string; +}; + +export type UpdatePermissionResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPermissionOutput | undefined; +}; + +export type UpdatePermissionResponse = { + httpMeta: components.HTTPMetadata; + object?: UpdatePermissionResponseBody | undefined; +}; + +/** @internal */ +export namespace UpdatePermissionRequest$ { + export const inboundSchema: z.ZodType = + z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = + z.object({ + id: z.string(), + }); +} + +/** @internal */ +export namespace UpdatePermissionResponseBody$ { + export const inboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPermissionOutput$.inboundSchema.optional(), + }); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedPermissionOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedPermissionOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace UpdatePermissionResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => UpdatePermissionResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: UpdatePermissionResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => UpdatePermissionResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/updatetask.ts b/src/models/operations/updatetask.ts new file mode 100644 index 000000000..72fb65e88 --- /dev/null +++ b/src/models/operations/updatetask.ts @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type UpdateTaskRequest = { + id: string; +}; + +export type UpdateTaskResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaskOutput | undefined; +}; + +export type UpdateTaskResponse = { + httpMeta: components.HTTPMetadata; + object?: UpdateTaskResponseBody | undefined; +}; + +/** @internal */ +export namespace UpdateTaskRequest$ { + export const inboundSchema: z.ZodType = z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = z.object({ + id: z.string(), + }); +} + +/** @internal */ +export namespace UpdateTaskResponseBody$ { + export const inboundSchema: z.ZodType = z.object( + { + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaskOutput$.inboundSchema.optional(), + } + ); + + export type Outbound = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedTaskOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = + z.object({ + message: z.string().optional(), + error: z.string().optional(), + statusCode: z.number(), + data: components.UnifiedTaskOutput$.outboundSchema.optional(), + }); +} + +/** @internal */ +export namespace UpdateTaskResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + object: z.lazy(() => UpdateTaskResponseBody$.inboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + object?: UpdateTaskResponseBody$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + object: z.lazy(() => UpdateTaskResponseBody$.outboundSchema).optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/updateticket.ts b/src/models/operations/updateticket.ts new file mode 100644 index 000000000..38d727c5b --- /dev/null +++ b/src/models/operations/updateticket.ts @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type UpdateTicketRequest = { + id: string; +}; + +export type UpdateTicketResponse = { + httpMeta: components.HTTPMetadata; + unifiedTicketOutput?: components.UnifiedTicketOutput | undefined; +}; + +/** @internal */ +export namespace UpdateTicketRequest$ { + export const inboundSchema: z.ZodType = z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = z.object({ + id: z.string(), + }); +} + +/** @internal */ +export namespace UpdateTicketResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + UnifiedTicketOutput: components.UnifiedTicketOutput$.inboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + UnifiedTicketOutput: "unifiedTicketOutput", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + UnifiedTicketOutput?: components.UnifiedTicketOutput$.Outbound | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + unifiedTicketOutput: components.UnifiedTicketOutput$.outboundSchema.optional(), + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + unifiedTicketOutput: "UnifiedTicketOutput", + }); + }); +} diff --git a/src/models/operations/updatewebhookstatus.ts b/src/models/operations/updatewebhookstatus.ts new file mode 100644 index 000000000..9aa4b0a35 --- /dev/null +++ b/src/models/operations/updatewebhookstatus.ts @@ -0,0 +1,59 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type UpdateWebhookStatusRequest = { + id: string; +}; + +export type UpdateWebhookStatusResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace UpdateWebhookStatusRequest$ { + export const inboundSchema: z.ZodType = + z.object({ + id: z.string(), + }); + + export type Outbound = { + id: string; + }; + + export const outboundSchema: z.ZodType = + z.object({ + id: z.string(), + }); +} + +/** @internal */ +export namespace UpdateWebhookStatusResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/models/operations/verifyevent.ts b/src/models/operations/verifyevent.ts new file mode 100644 index 000000000..9255fe21c --- /dev/null +++ b/src/models/operations/verifyevent.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives"; +import * as components from "../components"; +import * as z from "zod"; + +export type VerifyEventResponse = { + httpMeta: components.HTTPMetadata; +}; + +/** @internal */ +export namespace VerifyEventResponse$ { + export const inboundSchema: z.ZodType = z + .object({ + HttpMeta: components.HTTPMetadata$.inboundSchema, + }) + .transform((v) => { + return remap$(v, { + HttpMeta: "httpMeta", + }); + }); + + export type Outbound = { + HttpMeta: components.HTTPMetadata$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + httpMeta: components.HTTPMetadata$.outboundSchema, + }) + .transform((v) => { + return remap$(v, { + httpMeta: "HttpMeta", + }); + }); +} diff --git a/src/sdk/accountingaccount.ts b/src/sdk/accountingaccount.ts new file mode 100644 index 000000000..3b4a9f670 --- /dev/null +++ b/src/sdk/accountingaccount.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingAccount extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Accounts + */ + async getAccountingAccounts( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAccountingAccountsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAccountingAccountsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/account")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAccountingAccounts", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAccountingAccountsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Account + * + * @remarks + * Create a account in any supported Accounting software + */ + async addAccount( + xConnectionToken: string, + unifiedAccountInput: components.UnifiedAccountInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAccountRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedAccountInput: unifiedAccountInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAccountRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedAccountInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/account")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAccount", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAccountResponse$, { key: "object" }) + .json(201, operations.AddAccountResponse$, { key: "UnifiedAccountOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Account + * + * @remarks + * Retrieve a account from any connected Accounting software + */ + async getAccountingAccount( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAccountingAccountRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAccountingAccountRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/account/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAccountingAccount", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAccountingAccountResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Accounts + */ + async addAccounts( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAccountsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAccountsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/account/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAccounts", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAccountsResponse$, { key: "object" }) + .json(201, operations.AddAccountsResponse$, { key: "UnifiedAccountOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingaddress.ts b/src/sdk/accountingaddress.ts new file mode 100644 index 000000000..776985747 --- /dev/null +++ b/src/sdk/accountingaddress.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingAddress extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Addresss + */ + async getAddresss( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAddresssRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAddresssRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/address")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAddresss", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAddresssResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Address + * + * @remarks + * Create a address in any supported Accounting software + */ + async addAddress( + xConnectionToken: string, + unifiedAddressInput: components.UnifiedAddressInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAddressRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedAddressInput: unifiedAddressInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAddressRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedAddressInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/address")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAddress", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAddressResponse$, { key: "object" }) + .json(201, operations.AddAddressResponse$, { key: "UnifiedAddressOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Address + * + * @remarks + * Retrieve a address from any connected Accounting software + */ + async getAddress( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAddressRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAddressRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/address/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAddress", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAddressResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Addresss + */ + async addAddresss( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAddresssRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAddresssRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/address/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAddresss", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAddresssResponse$, { key: "object" }) + .json(201, operations.AddAddresssResponse$, { key: "UnifiedAddressOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingattachment.ts b/src/sdk/accountingattachment.ts new file mode 100644 index 000000000..9c7764da8 --- /dev/null +++ b/src/sdk/accountingattachment.ts @@ -0,0 +1,386 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingAttachment extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Attachments + */ + async getAccountingAttachments( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAccountingAttachmentsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAccountingAttachmentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/attachment")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAccountingAttachments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAccountingAttachmentsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Attachment + * + * @remarks + * Create a attachment in any supported Accounting software + */ + async addAccountingAttachment( + xConnectionToken: string, + unifiedAttachmentInput: components.UnifiedAttachmentInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAccountingAttachmentRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedAttachmentInput: unifiedAttachmentInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAccountingAttachmentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedAttachmentInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/attachment")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAccountingAttachment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAccountingAttachmentResponse$, { key: "object" }) + .json(201, operations.AddAccountingAttachmentResponse$, { + key: "UnifiedAttachmentOutput", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Attachment + * + * @remarks + * Retrieve a attachment from any connected Accounting software + */ + async getAccountingAttachment( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAccountingAttachmentRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAccountingAttachmentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/attachment/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAccountingAttachment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAccountingAttachmentResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Attachments + */ + async addAccountingAttachments( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAccountingAttachmentsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAccountingAttachmentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/attachment/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAccountingAttachments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAccountingAttachmentsResponse$, { key: "object" }) + .json(201, operations.AddAccountingAttachmentsResponse$, { + key: "UnifiedAttachmentOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingbalancesheet.ts b/src/sdk/accountingbalancesheet.ts new file mode 100644 index 000000000..a45e451bd --- /dev/null +++ b/src/sdk/accountingbalancesheet.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingBalancesheet extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of BalanceSheets + */ + async getBalanceSheets( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetBalanceSheetsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetBalanceSheetsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/balancesheet")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getBalanceSheets", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetBalanceSheetsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a BalanceSheet + * + * @remarks + * Create a balancesheet in any supported Accounting software + */ + async addBalanceSheet( + xConnectionToken: string, + unifiedBalanceSheetInput: components.UnifiedBalanceSheetInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddBalanceSheetRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedBalanceSheetInput: unifiedBalanceSheetInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddBalanceSheetRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedBalanceSheetInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/balancesheet")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addBalanceSheet", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddBalanceSheetResponse$, { key: "object" }) + .json(201, operations.AddBalanceSheetResponse$, { key: "UnifiedBalanceSheetOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a BalanceSheet + * + * @remarks + * Retrieve a balancesheet from any connected Accounting software + */ + async getBalanceSheet( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetBalanceSheetRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetBalanceSheetRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/balancesheet/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getBalanceSheet", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetBalanceSheetResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of BalanceSheets + */ + async addBalanceSheets( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddBalanceSheetsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddBalanceSheetsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/balancesheet/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addBalanceSheets", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddBalanceSheetsResponse$, { key: "object" }) + .json(201, operations.AddBalanceSheetsResponse$, { key: "UnifiedBalanceSheetOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingcashflowstatement.ts b/src/sdk/accountingcashflowstatement.ts new file mode 100644 index 000000000..103b44506 --- /dev/null +++ b/src/sdk/accountingcashflowstatement.ts @@ -0,0 +1,388 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingCashflowstatement extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of CashflowStatements + */ + async getCashflowStatements( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCashflowStatementsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCashflowStatementsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/cashflowstatement")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCashflowStatements", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCashflowStatementsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a CashflowStatement + * + * @remarks + * Create a cashflowstatement in any supported Accounting software + */ + async addCashflowStatement( + xConnectionToken: string, + unifiedCashflowStatementInput: components.UnifiedCashflowStatementInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCashflowStatementRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedCashflowStatementInput: unifiedCashflowStatementInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCashflowStatementRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedCashflowStatementInput, { + explode: true, + }); + + const path$ = this.templateURLComponent("/accounting/cashflowstatement")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCashflowStatement", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCashflowStatementResponse$, { key: "object" }) + .json(201, operations.AddCashflowStatementResponse$, { + key: "UnifiedCashflowStatementOutput", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a CashflowStatement + * + * @remarks + * Retrieve a cashflowstatement from any connected Accounting software + */ + async getCashflowStatement( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCashflowStatementRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCashflowStatementRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/cashflowstatement/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCashflowStatement", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCashflowStatementResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of CashflowStatements + */ + async addCashflowStatements( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCashflowStatementsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCashflowStatementsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/cashflowstatement/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCashflowStatements", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCashflowStatementsResponse$, { key: "object" }) + .json(201, operations.AddCashflowStatementsResponse$, { + key: "UnifiedCashflowStatementOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingcompanyinfo.ts b/src/sdk/accountingcompanyinfo.ts new file mode 100644 index 000000000..a965210d3 --- /dev/null +++ b/src/sdk/accountingcompanyinfo.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingCompanyinfo extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of CompanyInfos + */ + async getCompanyInfos( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCompanyInfosRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCompanyInfosRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/companyinfo")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCompanyInfos", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCompanyInfosResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a CompanyInfo + * + * @remarks + * Create a companyinfo in any supported Accounting software + */ + async addCompanyInfo( + xConnectionToken: string, + unifiedCompanyInfoInput: components.UnifiedCompanyInfoInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCompanyInfoRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedCompanyInfoInput: unifiedCompanyInfoInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCompanyInfoRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedCompanyInfoInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/companyinfo")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCompanyInfo", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCompanyInfoResponse$, { key: "object" }) + .json(201, operations.AddCompanyInfoResponse$, { key: "UnifiedCompanyInfoOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a CompanyInfo + * + * @remarks + * Retrieve a companyinfo from any connected Accounting software + */ + async getCompanyInfo( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCompanyInfoRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCompanyInfoRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/companyinfo/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCompanyInfo", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCompanyInfoResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of CompanyInfos + */ + async addCompanyInfos( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCompanyInfosRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCompanyInfosRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/companyinfo/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCompanyInfos", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCompanyInfosResponse$, { key: "object" }) + .json(201, operations.AddCompanyInfosResponse$, { key: "UnifiedCompanyInfoOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingcontact.ts b/src/sdk/accountingcontact.ts new file mode 100644 index 000000000..54303259c --- /dev/null +++ b/src/sdk/accountingcontact.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingContact extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Contacts + */ + async getAccountingContacts( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAccountingContactsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAccountingContactsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/contact")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAccountingContacts", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAccountingContactsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Contact + * + * @remarks + * Create a contact in any supported Accounting software + */ + async addAccountingContact( + xConnectionToken: string, + unifiedContactInput: components.UnifiedContactInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAccountingContactRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedContactInput: unifiedContactInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAccountingContactRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedContactInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/contact")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAccountingContact", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAccountingContactResponse$, { key: "object" }) + .json(201, operations.AddAccountingContactResponse$, { key: "UnifiedContactOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Contact + * + * @remarks + * Retrieve a contact from any connected Accounting software + */ + async getAccountingContact( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAccountingContactRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAccountingContactRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/contact/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAccountingContact", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAccountingContactResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Contacts + */ + async addAccountingContacts( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAccountingContactsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAccountingContactsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/contact/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAccountingContacts", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAccountingContactsResponse$, { key: "object" }) + .json(201, operations.AddAccountingContactsResponse$, { key: "UnifiedContactOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingcreditnote.ts b/src/sdk/accountingcreditnote.ts new file mode 100644 index 000000000..94ea140fa --- /dev/null +++ b/src/sdk/accountingcreditnote.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingCreditnote extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of CreditNotes + */ + async getCreditNotes( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCreditNotesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCreditNotesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/creditnote")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCreditNotes", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCreditNotesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a CreditNote + * + * @remarks + * Create a creditnote in any supported Accounting software + */ + async addCreditNote( + xConnectionToken: string, + unifiedCreditNoteInput: components.UnifiedCreditNoteInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCreditNoteRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedCreditNoteInput: unifiedCreditNoteInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCreditNoteRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedCreditNoteInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/creditnote")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCreditNote", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCreditNoteResponse$, { key: "object" }) + .json(201, operations.AddCreditNoteResponse$, { key: "UnifiedCreditNoteOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a CreditNote + * + * @remarks + * Retrieve a creditnote from any connected Accounting software + */ + async getCreditNote( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCreditNoteRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCreditNoteRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/creditnote/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCreditNote", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCreditNoteResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of CreditNotes + */ + async addCreditNotes( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCreditNotesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCreditNotesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/creditnote/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCreditNotes", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCreditNotesResponse$, { key: "object" }) + .json(201, operations.AddCreditNotesResponse$, { key: "UnifiedCreditNoteOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingexpense.ts b/src/sdk/accountingexpense.ts new file mode 100644 index 000000000..f7201b094 --- /dev/null +++ b/src/sdk/accountingexpense.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingExpense extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Expenses + */ + async getExpenses( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetExpensesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetExpensesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/expense")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getExpenses", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetExpensesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Expense + * + * @remarks + * Create a expense in any supported Accounting software + */ + async addExpense( + xConnectionToken: string, + unifiedExpenseInput: components.UnifiedExpenseInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddExpenseRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedExpenseInput: unifiedExpenseInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddExpenseRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedExpenseInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/expense")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addExpense", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddExpenseResponse$, { key: "object" }) + .json(201, operations.AddExpenseResponse$, { key: "UnifiedExpenseOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Expense + * + * @remarks + * Retrieve a expense from any connected Accounting software + */ + async getExpense( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetExpenseRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetExpenseRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/expense/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getExpense", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetExpenseResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Expenses + */ + async addExpenses( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddExpensesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddExpensesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/expense/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addExpenses", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddExpensesResponse$, { key: "object" }) + .json(201, operations.AddExpensesResponse$, { key: "UnifiedExpenseOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingincomestatement.ts b/src/sdk/accountingincomestatement.ts new file mode 100644 index 000000000..91c3627d7 --- /dev/null +++ b/src/sdk/accountingincomestatement.ts @@ -0,0 +1,386 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingIncomestatement extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of IncomeStatements + */ + async getIncomeStatements( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetIncomeStatementsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetIncomeStatementsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/incomestatement")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getIncomeStatements", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetIncomeStatementsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a IncomeStatement + * + * @remarks + * Create a incomestatement in any supported Accounting software + */ + async addIncomeStatement( + xConnectionToken: string, + unifiedIncomeStatementInput: components.UnifiedIncomeStatementInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddIncomeStatementRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedIncomeStatementInput: unifiedIncomeStatementInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddIncomeStatementRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedIncomeStatementInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/incomestatement")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addIncomeStatement", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddIncomeStatementResponse$, { key: "object" }) + .json(201, operations.AddIncomeStatementResponse$, { + key: "UnifiedIncomeStatementOutput", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a IncomeStatement + * + * @remarks + * Retrieve a incomestatement from any connected Accounting software + */ + async getIncomeStatement( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetIncomeStatementRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetIncomeStatementRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/incomestatement/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getIncomeStatement", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetIncomeStatementResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of IncomeStatements + */ + async addIncomeStatements( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddIncomeStatementsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddIncomeStatementsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/incomestatement/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addIncomeStatements", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddIncomeStatementsResponse$, { key: "object" }) + .json(201, operations.AddIncomeStatementsResponse$, { + key: "UnifiedIncomeStatementOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountinginvoice.ts b/src/sdk/accountinginvoice.ts new file mode 100644 index 000000000..9143f9bc8 --- /dev/null +++ b/src/sdk/accountinginvoice.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingInvoice extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Invoices + */ + async getInvoices( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetInvoicesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetInvoicesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/invoice")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getInvoices", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetInvoicesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Invoice + * + * @remarks + * Create a invoice in any supported Accounting software + */ + async addInvoice( + xConnectionToken: string, + unifiedInvoiceInput: components.UnifiedInvoiceInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddInvoiceRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedInvoiceInput: unifiedInvoiceInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddInvoiceRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedInvoiceInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/invoice")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addInvoice", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddInvoiceResponse$, { key: "object" }) + .json(201, operations.AddInvoiceResponse$, { key: "UnifiedInvoiceOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Invoice + * + * @remarks + * Retrieve a invoice from any connected Accounting software + */ + async getInvoice( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetInvoiceRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetInvoiceRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/invoice/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getInvoice", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetInvoiceResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Invoices + */ + async addInvoices( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddInvoicesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddInvoicesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/invoice/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addInvoices", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddInvoicesResponse$, { key: "object" }) + .json(201, operations.AddInvoicesResponse$, { key: "UnifiedInvoiceOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingitem.ts b/src/sdk/accountingitem.ts new file mode 100644 index 000000000..0d85282c9 --- /dev/null +++ b/src/sdk/accountingitem.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingItem extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Items + */ + async getItems( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetItemsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetItemsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/item")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getItems", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetItemsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Item + * + * @remarks + * Create a item in any supported Accounting software + */ + async addItem( + xConnectionToken: string, + unifiedItemInput: components.UnifiedItemInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddItemRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedItemInput: unifiedItemInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddItemRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedItemInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/item")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addItem", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddItemResponse$, { key: "object" }) + .json(201, operations.AddItemResponse$, { key: "UnifiedItemOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Item + * + * @remarks + * Retrieve a item from any connected Accounting software + */ + async getItem( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetItemRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetItemRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/item/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getItem", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetItemResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Items + */ + async addItems( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddItemsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddItemsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/item/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addItems", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddItemsResponse$, { key: "object" }) + .json(201, operations.AddItemsResponse$, { key: "UnifiedItemOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingjournalentry.ts b/src/sdk/accountingjournalentry.ts new file mode 100644 index 000000000..95673ab43 --- /dev/null +++ b/src/sdk/accountingjournalentry.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingJournalentry extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of JournalEntrys + */ + async getJournalEntrys( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetJournalEntrysRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetJournalEntrysRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/journalentry")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getJournalEntrys", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetJournalEntrysResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a JournalEntry + * + * @remarks + * Create a journalentry in any supported Accounting software + */ + async addJournalEntry( + xConnectionToken: string, + unifiedJournalEntryInput: components.UnifiedJournalEntryInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddJournalEntryRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedJournalEntryInput: unifiedJournalEntryInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddJournalEntryRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedJournalEntryInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/journalentry")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addJournalEntry", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddJournalEntryResponse$, { key: "object" }) + .json(201, operations.AddJournalEntryResponse$, { key: "UnifiedJournalEntryOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a JournalEntry + * + * @remarks + * Retrieve a journalentry from any connected Accounting software + */ + async getJournalEntry( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetJournalEntryRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetJournalEntryRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/journalentry/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getJournalEntry", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetJournalEntryResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of JournalEntrys + */ + async addJournalEntrys( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddJournalEntrysRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddJournalEntrysRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/journalentry/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addJournalEntrys", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddJournalEntrysResponse$, { key: "object" }) + .json(201, operations.AddJournalEntrysResponse$, { key: "UnifiedJournalEntryOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingpayment.ts b/src/sdk/accountingpayment.ts new file mode 100644 index 000000000..ee007f980 --- /dev/null +++ b/src/sdk/accountingpayment.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingPayment extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Payments + */ + async getPayments( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPaymentsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPaymentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/payment")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPayments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetPaymentsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Payment + * + * @remarks + * Create a payment in any supported Accounting software + */ + async addPayment( + xConnectionToken: string, + unifiedPaymentInput: components.UnifiedPaymentInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddPaymentRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedPaymentInput: unifiedPaymentInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddPaymentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedPaymentInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/payment")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addPayment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddPaymentResponse$, { key: "object" }) + .json(201, operations.AddPaymentResponse$, { key: "UnifiedPaymentOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Payment + * + * @remarks + * Retrieve a payment from any connected Accounting software + */ + async getPayment( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPaymentRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPaymentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/payment/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPayment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetPaymentResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Payments + */ + async addPayments( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddPaymentsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddPaymentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/payment/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addPayments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddPaymentsResponse$, { key: "object" }) + .json(201, operations.AddPaymentsResponse$, { key: "UnifiedPaymentOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingphonenumber.ts b/src/sdk/accountingphonenumber.ts new file mode 100644 index 000000000..af71a9ddc --- /dev/null +++ b/src/sdk/accountingphonenumber.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingPhonenumber extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of PhoneNumbers + */ + async getPhoneNumbers( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPhoneNumbersRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPhoneNumbersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/phonenumber")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPhoneNumbers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetPhoneNumbersResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a PhoneNumber + * + * @remarks + * Create a phonenumber in any supported Accounting software + */ + async addPhoneNumber( + xConnectionToken: string, + unifiedPhoneNumberInput: components.UnifiedPhoneNumberInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddPhoneNumberRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedPhoneNumberInput: unifiedPhoneNumberInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddPhoneNumberRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedPhoneNumberInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/phonenumber")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addPhoneNumber", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddPhoneNumberResponse$, { key: "object" }) + .json(201, operations.AddPhoneNumberResponse$, { key: "UnifiedPhoneNumberOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a PhoneNumber + * + * @remarks + * Retrieve a phonenumber from any connected Accounting software + */ + async getPhoneNumber( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPhoneNumberRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPhoneNumberRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/phonenumber/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPhoneNumber", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetPhoneNumberResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of PhoneNumbers + */ + async addPhoneNumbers( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddPhoneNumbersRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddPhoneNumbersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/phonenumber/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addPhoneNumbers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddPhoneNumbersResponse$, { key: "object" }) + .json(201, operations.AddPhoneNumbersResponse$, { key: "UnifiedPhoneNumberOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingpurchaseorder.ts b/src/sdk/accountingpurchaseorder.ts new file mode 100644 index 000000000..a04a62b15 --- /dev/null +++ b/src/sdk/accountingpurchaseorder.ts @@ -0,0 +1,384 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingPurchaseorder extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of PurchaseOrders + */ + async getPurchaseOrders( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPurchaseOrdersRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPurchaseOrdersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/purchaseorder")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPurchaseOrders", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetPurchaseOrdersResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a PurchaseOrder + * + * @remarks + * Create a purchaseorder in any supported Accounting software + */ + async addPurchaseOrder( + xConnectionToken: string, + unifiedPurchaseOrderInput: components.UnifiedPurchaseOrderInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddPurchaseOrderRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedPurchaseOrderInput: unifiedPurchaseOrderInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddPurchaseOrderRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedPurchaseOrderInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/purchaseorder")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addPurchaseOrder", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddPurchaseOrderResponse$, { key: "object" }) + .json(201, operations.AddPurchaseOrderResponse$, { key: "UnifiedPurchaseOrderOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a PurchaseOrder + * + * @remarks + * Retrieve a purchaseorder from any connected Accounting software + */ + async getPurchaseOrder( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPurchaseOrderRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPurchaseOrderRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/purchaseorder/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPurchaseOrder", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetPurchaseOrderResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of PurchaseOrders + */ + async addPurchaseOrders( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddPurchaseOrdersRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddPurchaseOrdersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/purchaseorder/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addPurchaseOrders", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddPurchaseOrdersResponse$, { key: "object" }) + .json(201, operations.AddPurchaseOrdersResponse$, { + key: "UnifiedPurchaseOrderOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingtaxrate.ts b/src/sdk/accountingtaxrate.ts new file mode 100644 index 000000000..6ab653f7c --- /dev/null +++ b/src/sdk/accountingtaxrate.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingTaxrate extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of TaxRates + */ + async getTaxRates( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTaxRatesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTaxRatesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/taxrate")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTaxRates", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTaxRatesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a TaxRate + * + * @remarks + * Create a taxrate in any supported Accounting software + */ + async addTaxRate( + xConnectionToken: string, + unifiedTaxRateInput: components.UnifiedTaxRateInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTaxRateRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedTaxRateInput: unifiedTaxRateInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTaxRateRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedTaxRateInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/taxrate")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTaxRate", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTaxRateResponse$, { key: "object" }) + .json(201, operations.AddTaxRateResponse$, { key: "UnifiedTaxRateOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a TaxRate + * + * @remarks + * Retrieve a taxrate from any connected Accounting software + */ + async getTaxRate( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTaxRateRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTaxRateRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/taxrate/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTaxRate", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTaxRateResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of TaxRates + */ + async addTaxRates( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTaxRatesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTaxRatesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/taxrate/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTaxRates", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTaxRatesResponse$, { key: "object" }) + .json(201, operations.AddTaxRatesResponse$, { key: "UnifiedTaxRateOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingtrackingcategory.ts b/src/sdk/accountingtrackingcategory.ts new file mode 100644 index 000000000..3644f1e94 --- /dev/null +++ b/src/sdk/accountingtrackingcategory.ts @@ -0,0 +1,386 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingTrackingcategory extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of TrackingCategorys + */ + async getTrackingCategorys( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTrackingCategorysRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTrackingCategorysRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/trackingcategory")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTrackingCategorys", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTrackingCategorysResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a TrackingCategory + * + * @remarks + * Create a trackingcategory in any supported Accounting software + */ + async addTrackingCategory( + xConnectionToken: string, + unifiedTrackingCategoryInput: components.UnifiedTrackingCategoryInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTrackingCategoryRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedTrackingCategoryInput: unifiedTrackingCategoryInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTrackingCategoryRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedTrackingCategoryInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/trackingcategory")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTrackingCategory", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTrackingCategoryResponse$, { key: "object" }) + .json(201, operations.AddTrackingCategoryResponse$, { + key: "UnifiedTrackingCategoryOutput", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a TrackingCategory + * + * @remarks + * Retrieve a trackingcategory from any connected Accounting software + */ + async getTrackingCategory( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTrackingCategoryRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTrackingCategoryRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/trackingcategory/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTrackingCategory", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTrackingCategoryResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of TrackingCategorys + */ + async addTrackingCategorys( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTrackingCategorysRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTrackingCategorysRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/trackingcategory/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTrackingCategorys", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTrackingCategorysResponse$, { key: "object" }) + .json(201, operations.AddTrackingCategorysResponse$, { + key: "UnifiedTrackingCategoryOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingtransaction.ts b/src/sdk/accountingtransaction.ts new file mode 100644 index 000000000..b263022a2 --- /dev/null +++ b/src/sdk/accountingtransaction.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingTransaction extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Transactions + */ + async getTransactions( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTransactionsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTransactionsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/transaction")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTransactions", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTransactionsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Transaction + * + * @remarks + * Create a transaction in any supported Accounting software + */ + async addTransaction( + xConnectionToken: string, + unifiedTransactionInput: components.UnifiedTransactionInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTransactionRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedTransactionInput: unifiedTransactionInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTransactionRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedTransactionInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/transaction")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTransaction", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTransactionResponse$, { key: "object" }) + .json(201, operations.AddTransactionResponse$, { key: "UnifiedTransactionOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Transaction + * + * @remarks + * Retrieve a transaction from any connected Accounting software + */ + async getTransaction( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTransactionRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTransactionRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/transaction/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTransaction", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTransactionResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Transactions + */ + async addTransactions( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTransactionsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTransactionsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/transaction/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTransactions", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTransactionsResponse$, { key: "object" }) + .json(201, operations.AddTransactionsResponse$, { key: "UnifiedTransactionOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/accountingvendorcredit.ts b/src/sdk/accountingvendorcredit.ts new file mode 100644 index 000000000..c0b71e6b2 --- /dev/null +++ b/src/sdk/accountingvendorcredit.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AccountingVendorcredit extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of VendorCredits + */ + async getVendorCredits( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetVendorCreditsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetVendorCreditsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/accounting/vendorcredit")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getVendorCredits", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetVendorCreditsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a VendorCredit + * + * @remarks + * Create a vendorcredit in any supported Accounting software + */ + async addVendorCredit( + xConnectionToken: string, + unifiedVendorCreditInput: components.UnifiedVendorCreditInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddVendorCreditRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedVendorCreditInput: unifiedVendorCreditInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddVendorCreditRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedVendorCreditInput, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/vendorcredit")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addVendorCredit", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddVendorCreditResponse$, { key: "object" }) + .json(201, operations.AddVendorCreditResponse$, { key: "UnifiedVendorCreditOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a VendorCredit + * + * @remarks + * Retrieve a vendorcredit from any connected Accounting software + */ + async getVendorCredit( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetVendorCreditRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetVendorCreditRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/accounting/vendorcredit/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getVendorCredit", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetVendorCreditResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of VendorCredits + */ + async addVendorCredits( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddVendorCreditsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddVendorCreditsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/accounting/vendorcredit/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addVendorCredits", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddVendorCreditsResponse$, { key: "object" }) + .json(201, operations.AddVendorCreditsResponse$, { key: "UnifiedVendorCreditOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsactivity.ts b/src/sdk/atsactivity.ts new file mode 100644 index 000000000..d1d456b12 --- /dev/null +++ b/src/sdk/atsactivity.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsActivity extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Activitys + */ + async getActivitys( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetActivitysRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetActivitysRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/activity")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getActivitys", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetActivitysResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Activity + * + * @remarks + * Create a activity in any supported Ats software + */ + async addActivity( + xConnectionToken: string, + unifiedActivityInput: components.UnifiedActivityInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddActivityRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedActivityInput: unifiedActivityInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddActivityRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedActivityInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/activity")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addActivity", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddActivityResponse$, { key: "object" }) + .json(201, operations.AddActivityResponse$, { key: "UnifiedActivityOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Activity + * + * @remarks + * Retrieve a activity from any connected Ats software + */ + async getActivity( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetActivityRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetActivityRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/activity/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getActivity", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetActivityResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Activitys + */ + async addActivitys( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddActivitysRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddActivitysRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/activity/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addActivitys", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddActivitysResponse$, { key: "object" }) + .json(201, operations.AddActivitysResponse$, { key: "UnifiedActivityOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsapplication.ts b/src/sdk/atsapplication.ts new file mode 100644 index 000000000..9ac315ff9 --- /dev/null +++ b/src/sdk/atsapplication.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsApplication extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Applications + */ + async getApplications( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetApplicationsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetApplicationsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/application")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getApplications", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetApplicationsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Application + * + * @remarks + * Create a application in any supported Ats software + */ + async addApplication( + xConnectionToken: string, + unifiedApplicationInput: components.UnifiedApplicationInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddApplicationRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedApplicationInput: unifiedApplicationInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddApplicationRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedApplicationInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/application")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addApplication", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddApplicationResponse$, { key: "object" }) + .json(201, operations.AddApplicationResponse$, { key: "UnifiedApplicationOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Application + * + * @remarks + * Retrieve a application from any connected Ats software + */ + async getApplication( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetApplicationRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetApplicationRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/application/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getApplication", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetApplicationResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Applications + */ + async addApplications( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddApplicationsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddApplicationsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/application/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addApplications", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddApplicationsResponse$, { key: "object" }) + .json(201, operations.AddApplicationsResponse$, { key: "UnifiedApplicationOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsattachment.ts b/src/sdk/atsattachment.ts new file mode 100644 index 000000000..4a27bbef0 --- /dev/null +++ b/src/sdk/atsattachment.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsAttachment extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Attachments + */ + async getAtsAttachments( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAtsAttachmentsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAtsAttachmentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/attachment")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAtsAttachments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAtsAttachmentsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Attachment + * + * @remarks + * Create a attachment in any supported Ats software + */ + async addAtsAttachment( + xConnectionToken: string, + unifiedAttachmentInput: components.UnifiedAttachmentInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAtsAttachmentRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedAttachmentInput: unifiedAttachmentInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAtsAttachmentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedAttachmentInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/attachment")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAtsAttachment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAtsAttachmentResponse$, { key: "object" }) + .json(201, operations.AddAtsAttachmentResponse$, { key: "UnifiedAttachmentOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Attachment + * + * @remarks + * Retrieve a attachment from any connected Ats software + */ + async getAtsAttachment( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAtsAttachmentRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAtsAttachmentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/attachment/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAtsAttachment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAtsAttachmentResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Attachments + */ + async addAtsAttachments( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAtsAttachmentsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAtsAttachmentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/attachment/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAtsAttachments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAtsAttachmentsResponse$, { key: "object" }) + .json(201, operations.AddAtsAttachmentsResponse$, { key: "UnifiedAttachmentOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atscandidate.ts b/src/sdk/atscandidate.ts new file mode 100644 index 000000000..4a76ddd85 --- /dev/null +++ b/src/sdk/atscandidate.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsCandidate extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Candidates + */ + async getCandidates( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCandidatesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCandidatesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/candidate")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCandidates", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCandidatesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Candidate + * + * @remarks + * Create a candidate in any supported Ats software + */ + async addCandidate( + xConnectionToken: string, + unifiedCandidateInput: components.UnifiedCandidateInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCandidateRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedCandidateInput: unifiedCandidateInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCandidateRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedCandidateInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/candidate")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCandidate", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCandidateResponse$, { key: "object" }) + .json(201, operations.AddCandidateResponse$, { key: "UnifiedCandidateOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Candidate + * + * @remarks + * Retrieve a candidate from any connected Ats software + */ + async getCandidate( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCandidateRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCandidateRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/candidate/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCandidate", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCandidateResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Candidates + */ + async addCandidates( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCandidatesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCandidatesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/candidate/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCandidates", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCandidatesResponse$, { key: "object" }) + .json(201, operations.AddCandidatesResponse$, { key: "UnifiedCandidateOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsdepartment.ts b/src/sdk/atsdepartment.ts new file mode 100644 index 000000000..cfef73f88 --- /dev/null +++ b/src/sdk/atsdepartment.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsDepartment extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Departments + */ + async getDepartments( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetDepartmentsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetDepartmentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/department")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getDepartments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetDepartmentsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Department + * + * @remarks + * Create a department in any supported Ats software + */ + async addDepartment( + xConnectionToken: string, + unifiedDepartmentInput: components.UnifiedDepartmentInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddDepartmentRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedDepartmentInput: unifiedDepartmentInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddDepartmentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedDepartmentInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/department")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addDepartment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddDepartmentResponse$, { key: "object" }) + .json(201, operations.AddDepartmentResponse$, { key: "UnifiedDepartmentOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Department + * + * @remarks + * Retrieve a department from any connected Ats software + */ + async getDepartment( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetDepartmentRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetDepartmentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/department/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getDepartment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetDepartmentResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Departments + */ + async addDepartments( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddDepartmentsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddDepartmentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/department/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addDepartments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddDepartmentsResponse$, { key: "object" }) + .json(201, operations.AddDepartmentsResponse$, { key: "UnifiedDepartmentOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atseeocs.ts b/src/sdk/atseeocs.ts new file mode 100644 index 000000000..93864749c --- /dev/null +++ b/src/sdk/atseeocs.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsEeocs extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Eeocss + */ + async getEeocss( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEeocssRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEeocssRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/eeocs")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEeocss", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEeocssResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Eeocs + * + * @remarks + * Create a eeocs in any supported Ats software + */ + async addEeocs( + xConnectionToken: string, + unifiedEeocsInput: components.UnifiedEeocsInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEeocsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedEeocsInput: unifiedEeocsInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEeocsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedEeocsInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/eeocs")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEeocs", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEeocsResponse$, { key: "object" }) + .json(201, operations.AddEeocsResponse$, { key: "UnifiedEeocsOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Eeocs + * + * @remarks + * Retrieve a eeocs from any connected Ats software + */ + async getEeocs( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEeocsRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEeocsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/eeocs/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEeocs", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEeocsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Eeocss + */ + async addEeocss( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEeocssRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEeocssRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/eeocs/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEeocss", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEeocssResponse$, { key: "object" }) + .json(201, operations.AddEeocssResponse$, { key: "UnifiedEeocsOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsinterview.ts b/src/sdk/atsinterview.ts new file mode 100644 index 000000000..9a8adbdc4 --- /dev/null +++ b/src/sdk/atsinterview.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsInterview extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Interviews + */ + async getInterviews( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetInterviewsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetInterviewsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/interview")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getInterviews", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetInterviewsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Interview + * + * @remarks + * Create a interview in any supported Ats software + */ + async addInterview( + xConnectionToken: string, + unifiedInterviewInput: components.UnifiedInterviewInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddInterviewRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedInterviewInput: unifiedInterviewInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddInterviewRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedInterviewInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/interview")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addInterview", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddInterviewResponse$, { key: "object" }) + .json(201, operations.AddInterviewResponse$, { key: "UnifiedInterviewOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Interview + * + * @remarks + * Retrieve a interview from any connected Ats software + */ + async getInterview( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetInterviewRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetInterviewRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/interview/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getInterview", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetInterviewResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Interviews + */ + async addInterviews( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddInterviewsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddInterviewsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/interview/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addInterviews", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddInterviewsResponse$, { key: "object" }) + .json(201, operations.AddInterviewsResponse$, { key: "UnifiedInterviewOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsjob.ts b/src/sdk/atsjob.ts new file mode 100644 index 000000000..359dc5a54 --- /dev/null +++ b/src/sdk/atsjob.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsJob extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Jobs + */ + async getJobs( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetJobsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetJobsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/job")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getJobs", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetJobsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Job + * + * @remarks + * Create a job in any supported Ats software + */ + async addJob( + xConnectionToken: string, + unifiedJobInput: components.UnifiedJobInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddJobRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedJobInput: unifiedJobInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddJobRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedJobInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/job")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addJob", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddJobResponse$, { key: "object" }) + .json(201, operations.AddJobResponse$, { key: "UnifiedJobOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Job + * + * @remarks + * Retrieve a job from any connected Ats software + */ + async getJob( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetJobRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetJobRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/job/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getJob", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetJobResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Jobs + */ + async addJobs( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddJobsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddJobsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/job/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addJobs", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddJobsResponse$, { key: "object" }) + .json(201, operations.AddJobsResponse$, { key: "UnifiedJobOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsjobinterviewstage.ts b/src/sdk/atsjobinterviewstage.ts new file mode 100644 index 000000000..61b499f61 --- /dev/null +++ b/src/sdk/atsjobinterviewstage.ts @@ -0,0 +1,388 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsJobinterviewstage extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of JobInterviewStages + */ + async getJobInterviewStages( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetJobInterviewStagesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetJobInterviewStagesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/jobinterviewstage")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getJobInterviewStages", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetJobInterviewStagesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a JobInterviewStage + * + * @remarks + * Create a jobinterviewstage in any supported Ats software + */ + async addJobInterviewStage( + xConnectionToken: string, + unifiedJobInterviewStageInput: components.UnifiedJobInterviewStageInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddJobInterviewStageRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedJobInterviewStageInput: unifiedJobInterviewStageInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddJobInterviewStageRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedJobInterviewStageInput, { + explode: true, + }); + + const path$ = this.templateURLComponent("/ats/jobinterviewstage")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addJobInterviewStage", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddJobInterviewStageResponse$, { key: "object" }) + .json(201, operations.AddJobInterviewStageResponse$, { + key: "UnifiedJobInterviewStageOutput", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a JobInterviewStage + * + * @remarks + * Retrieve a jobinterviewstage from any connected Ats software + */ + async getJobInterviewStage( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetJobInterviewStageRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetJobInterviewStageRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/jobinterviewstage/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getJobInterviewStage", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetJobInterviewStageResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of JobInterviewStages + */ + async addJobInterviewStages( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddJobInterviewStagesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddJobInterviewStagesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/jobinterviewstage/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addJobInterviewStages", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddJobInterviewStagesResponse$, { key: "object" }) + .json(201, operations.AddJobInterviewStagesResponse$, { + key: "UnifiedJobInterviewStageOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsoffer.ts b/src/sdk/atsoffer.ts new file mode 100644 index 000000000..7b79c4887 --- /dev/null +++ b/src/sdk/atsoffer.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsOffer extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Offers + */ + async getOffers( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetOffersRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetOffersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/offer")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getOffers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetOffersResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Offer + * + * @remarks + * Create a offer in any supported Ats software + */ + async addOffer( + xConnectionToken: string, + unifiedOfferInput: components.UnifiedOfferInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddOfferRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedOfferInput: unifiedOfferInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddOfferRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedOfferInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/offer")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addOffer", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddOfferResponse$, { key: "object" }) + .json(201, operations.AddOfferResponse$, { key: "UnifiedOfferOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Offer + * + * @remarks + * Retrieve a offer from any connected Ats software + */ + async getOffer( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetOfferRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetOfferRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/offer/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getOffer", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetOfferResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Offers + */ + async addOffers( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddOffersRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddOffersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/offer/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addOffers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddOffersResponse$, { key: "object" }) + .json(201, operations.AddOffersResponse$, { key: "UnifiedOfferOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsoffice.ts b/src/sdk/atsoffice.ts new file mode 100644 index 000000000..e2ee86be2 --- /dev/null +++ b/src/sdk/atsoffice.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsOffice extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Offices + */ + async getOffices( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetOfficesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetOfficesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/office")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getOffices", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetOfficesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Office + * + * @remarks + * Create a office in any supported Ats software + */ + async addOffice( + xConnectionToken: string, + unifiedOfficeInput: components.UnifiedOfficeInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddOfficeRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedOfficeInput: unifiedOfficeInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddOfficeRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedOfficeInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/office")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addOffice", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddOfficeResponse$, { key: "object" }) + .json(201, operations.AddOfficeResponse$, { key: "UnifiedOfficeOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Office + * + * @remarks + * Retrieve a office from any connected Ats software + */ + async getOffice( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetOfficeRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetOfficeRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/office/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getOffice", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetOfficeResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Offices + */ + async addOffices( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddOfficesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddOfficesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/office/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addOffices", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddOfficesResponse$, { key: "object" }) + .json(201, operations.AddOfficesResponse$, { key: "UnifiedOfficeOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsrejectreason.ts b/src/sdk/atsrejectreason.ts new file mode 100644 index 000000000..5e48527d8 --- /dev/null +++ b/src/sdk/atsrejectreason.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsRejectreason extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of RejectReasons + */ + async getRejectReasons( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetRejectReasonsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetRejectReasonsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/rejectreason")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getRejectReasons", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetRejectReasonsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a RejectReason + * + * @remarks + * Create a rejectreason in any supported Ats software + */ + async addRejectReason( + xConnectionToken: string, + unifiedRejectReasonInput: components.UnifiedRejectReasonInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddRejectReasonRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedRejectReasonInput: unifiedRejectReasonInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddRejectReasonRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedRejectReasonInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/rejectreason")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addRejectReason", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddRejectReasonResponse$, { key: "object" }) + .json(201, operations.AddRejectReasonResponse$, { key: "UnifiedRejectReasonOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a RejectReason + * + * @remarks + * Retrieve a rejectreason from any connected Ats software + */ + async getRejectReason( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetRejectReasonRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetRejectReasonRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/rejectreason/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getRejectReason", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetRejectReasonResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of RejectReasons + */ + async addRejectReasons( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddRejectReasonsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddRejectReasonsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/rejectreason/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addRejectReasons", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddRejectReasonsResponse$, { key: "object" }) + .json(201, operations.AddRejectReasonsResponse$, { key: "UnifiedRejectReasonOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsscorecard.ts b/src/sdk/atsscorecard.ts new file mode 100644 index 000000000..6d67762ea --- /dev/null +++ b/src/sdk/atsscorecard.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsScorecard extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of ScoreCards + */ + async getScoreCards( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetScoreCardsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetScoreCardsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/scorecard")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getScoreCards", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetScoreCardsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a ScoreCard + * + * @remarks + * Create a scorecard in any supported Ats software + */ + async addScoreCard( + xConnectionToken: string, + unifiedScoreCardInput: components.UnifiedScoreCardInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddScoreCardRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedScoreCardInput: unifiedScoreCardInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddScoreCardRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedScoreCardInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/scorecard")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addScoreCard", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddScoreCardResponse$, { key: "object" }) + .json(201, operations.AddScoreCardResponse$, { key: "UnifiedScoreCardOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a ScoreCard + * + * @remarks + * Retrieve a scorecard from any connected Ats software + */ + async getScoreCard( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetScoreCardRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetScoreCardRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/scorecard/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getScoreCard", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetScoreCardResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of ScoreCards + */ + async addScoreCards( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddScoreCardsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddScoreCardsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/scorecard/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addScoreCards", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddScoreCardsResponse$, { key: "object" }) + .json(201, operations.AddScoreCardsResponse$, { key: "UnifiedScoreCardOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsscreeningquestion.ts b/src/sdk/atsscreeningquestion.ts new file mode 100644 index 000000000..87c67ae4c --- /dev/null +++ b/src/sdk/atsscreeningquestion.ts @@ -0,0 +1,388 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsScreeningquestion extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of ScreeningQuestions + */ + async getScreeningQuestions( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetScreeningQuestionsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetScreeningQuestionsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/screeningquestion")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getScreeningQuestions", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetScreeningQuestionsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a ScreeningQuestion + * + * @remarks + * Create a screeningquestion in any supported Ats software + */ + async addScreeningQuestion( + xConnectionToken: string, + unifiedScreeningQuestionInput: components.UnifiedScreeningQuestionInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddScreeningQuestionRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedScreeningQuestionInput: unifiedScreeningQuestionInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddScreeningQuestionRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedScreeningQuestionInput, { + explode: true, + }); + + const path$ = this.templateURLComponent("/ats/screeningquestion")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addScreeningQuestion", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddScreeningQuestionResponse$, { key: "object" }) + .json(201, operations.AddScreeningQuestionResponse$, { + key: "UnifiedScreeningQuestionOutput", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a ScreeningQuestion + * + * @remarks + * Retrieve a screeningquestion from any connected Ats software + */ + async getScreeningQuestion( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetScreeningQuestionRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetScreeningQuestionRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/screeningquestion/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getScreeningQuestion", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetScreeningQuestionResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of ScreeningQuestions + */ + async addScreeningQuestions( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddScreeningQuestionsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddScreeningQuestionsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/screeningquestion/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addScreeningQuestions", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddScreeningQuestionsResponse$, { key: "object" }) + .json(201, operations.AddScreeningQuestionsResponse$, { + key: "UnifiedScreeningQuestionOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atstag.ts b/src/sdk/atstag.ts new file mode 100644 index 000000000..59170fbdb --- /dev/null +++ b/src/sdk/atstag.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsTag extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Tags + */ + async getAtsTags( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAtsTagsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAtsTagsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/tag")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAtsTags", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAtsTagsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Tag + * + * @remarks + * Create a tag in any supported Ats software + */ + async addTag( + xConnectionToken: string, + unifiedTagInput: components.UnifiedTagInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTagRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedTagInput: unifiedTagInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTagRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedTagInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/tag")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTag", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTagResponse$, { key: "object" }) + .json(201, operations.AddTagResponse$, { key: "UnifiedTagOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Tag + * + * @remarks + * Retrieve a tag from any connected Ats software + */ + async getAtsTag( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAtsTagRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAtsTagRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/tag/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAtsTag", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAtsTagResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Tags + */ + async addTags( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTagsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTagsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/tag/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTags", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTagsResponse$, { key: "object" }) + .json(201, operations.AddTagsResponse$, { key: "UnifiedTagOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/atsuser.ts b/src/sdk/atsuser.ts new file mode 100644 index 000000000..51770b188 --- /dev/null +++ b/src/sdk/atsuser.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class AtsUser extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Users + */ + async getAtsUsers( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAtsUsersRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAtsUsersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ats/user")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAtsUsers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAtsUsersResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a User + * + * @remarks + * Create a user in any supported Ats software + */ + async addAtsUser( + xConnectionToken: string, + unifiedUserInput: components.UnifiedUserInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAtsUserRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedUserInput: unifiedUserInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAtsUserRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedUserInput, { explode: true }); + + const path$ = this.templateURLComponent("/ats/user")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAtsUser", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAtsUserResponse$, { key: "object" }) + .json(201, operations.AddAtsUserResponse$, { key: "UnifiedUserOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a User + * + * @remarks + * Retrieve a user from any connected Ats software + */ + async getAtsUser( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAtsUserRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAtsUserRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ats/user/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAtsUser", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAtsUserResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Users + */ + async addAtsUsers( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAtsUsersRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAtsUsersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ats/user/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAtsUsers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAtsUsersResponse$, { key: "object" }) + .json(201, operations.AddAtsUsersResponse$, { key: "UnifiedUserOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/auth.ts b/src/sdk/auth.ts new file mode 100644 index 000000000..e400f0570 --- /dev/null +++ b/src/sdk/auth.ts @@ -0,0 +1,543 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeJSON as encodeJSON$, encodeSimple as encodeSimple$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class Auth extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Register + */ + async signUp( + request: components.CreateUserDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.CreateUserDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/auth/register")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "signUp", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.SignUpResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Log In + */ + async signIn( + request: components.LoginDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.LoginDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/auth/login")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "signIn", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.SignInResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Get users + */ + async getPanoraCoreUsers( + options?: RequestOptions + ): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const path$ = this.templateURLComponent("/auth/users")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPanoraCoreUsers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetPanoraCoreUsersResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + async authControllerGetProfile( + options?: RequestOptions + ): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const path$ = this.templateURLComponent("/auth/profile")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "AuthController_getProfile", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AuthControllerGetProfileResponse$, { key: "VerifyUserDto" }) + .void(201, operations.AuthControllerGetProfileResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve API Keys + */ + async getApiKeys(options?: RequestOptions): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const path$ = this.templateURLComponent("/auth/api-keys")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getApiKeys", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetApiKeysResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Delete API Keys + */ + async deleteApiKey( + id: string, + options?: RequestOptions + ): Promise { + const input$: operations.DeleteApiKeyRequest = { + id: id, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.DeleteApiKeyRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/auth/api-keys/{id}")(pathParams$); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "deleteApiKey", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "DELETE", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void([200, 201], operations.DeleteApiKeyResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create API Key + */ + async generateApiKey( + request: components.ApiKeyDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.ApiKeyDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/auth/generate-apikey")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "generateApiKey", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.GenerateApiKeyResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Refresh Access Token + */ + async refreshAccessToken( + request: components.RefreshDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.RefreshDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/auth/refresh-token")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "refreshAccessToken", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.RefreshAccessTokenResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/connections.ts b/src/sdk/connections.ts new file mode 100644 index 000000000..6f0b27836 --- /dev/null +++ b/src/sdk/connections.ts @@ -0,0 +1,315 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeFormQuery as encodeFormQuery$, encodeJSON as encodeJSON$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class Connections extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Capture oAuth callback + */ + async handleOAuthCallback( + code: string, + state: string, + options?: RequestOptions + ): Promise { + const input$: operations.HandleOAuthCallbackRequest = { + code: code, + state: state, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.HandleOAuthCallbackRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/connections/oauth/callback")(); + + const query$ = encodeFormQuery$({ + code: payload$.code, + state: payload$.state, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "handleOAuthCallback", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.HandleOAuthCallbackResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + async connectionsControllerHandleGorgiasAuthUrl( + request: operations.ConnectionsControllerHandleGorgiasAuthUrlRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => + operations.ConnectionsControllerHandleGorgiasAuthUrlRequest$.outboundSchema.parse( + value$ + ), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/connections/gorgias/oauth/install")(); + + const query$ = encodeFormQuery$({ + account: payload$.account, + client_id: payload$.client_id, + nonce: payload$.nonce, + redirect_uri: payload$.redirect_uri, + response_type: payload$.response_type, + scope: payload$.scope, + state: payload$.state, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "ConnectionsController_handleGorgiasAuthUrl", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = + await this.matcher() + .void(200, operations.ConnectionsControllerHandleGorgiasAuthUrlResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Capture api key callback + */ + async handleApiKeyCallback( + state: string, + bodyDataType: components.BodyDataType, + options?: RequestOptions + ): Promise { + const input$: operations.HandleApiKeyCallbackRequest = { + state: state, + bodyDataType: bodyDataType, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.HandleApiKeyCallbackRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.BodyDataType, { explode: true }); + + const path$ = this.templateURLComponent("/connections/apikey/callback")(); + + const query$ = encodeFormQuery$({ + state: payload$.state, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "handleApiKeyCallback", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.HandleApiKeyCallbackResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * List Connections + */ + async getConnections(options?: RequestOptions): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const path$ = this.templateURLComponent("/connections")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getConnections", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetConnectionsResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/connectionsstrategies.ts b/src/sdk/connectionsstrategies.ts new file mode 100644 index 000000000..1554a0a03 --- /dev/null +++ b/src/sdk/connectionsstrategies.ts @@ -0,0 +1,506 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeFormQuery as encodeFormQuery$, encodeJSON as encodeJSON$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class ConnectionsStrategies extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Create Connection Strategy + */ + async createConnectionStrategy( + request: components.CreateConnectionStrategyDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.CreateConnectionStrategyDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/connections-strategies/create")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "createConnectionStrategy", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.CreateConnectionStrategyResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Activate/Deactivate Connection Strategy + */ + async toggleConnectionStrategy( + request: components.ToggleStrategyDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.ToggleStrategyDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/connections-strategies/toggle")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "toggleConnectionStrategy", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.ToggleConnectionStrategyResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Delete Connection Strategy + */ + async deleteConnectionStrategy( + request: components.DeleteCSDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.DeleteCSDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/connections-strategies/delete")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "deleteConnectionStrategy", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.DeleteConnectionStrategyResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Update Connection Strategy + */ + async updateConnectionStrategy( + request: components.UpdateCSDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.UpdateCSDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/connections-strategies/update")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "updateConnectionStrategy", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.UpdateConnectionStrategyResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Get Connection Strategy Credential + */ + async getConnectionStrategyCredentials( + request: components.ConnectionStrategyCredentials, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.ConnectionStrategyCredentials$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/connections-strategies/credentials")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getConnectionStrategyCredentials", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.GetConnectionStrategyCredentialsResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Fetch credentials info needed for connections + */ + async getCredentials( + projectId: string, + type: string, + options?: RequestOptions + ): Promise { + const input$: operations.GetCredentialsRequest = { + projectId: projectId, + type: type, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCredentialsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/connections-strategies/getCredentials")(); + + const query$ = encodeFormQuery$({ + projectId: payload$.projectId, + type: payload$.type, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCredentials", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetCredentialsResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Fetch All Connection Strategies for Project + */ + async getConnectionStrategiesForProject( + options?: RequestOptions + ): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const path$ = this.templateURLComponent( + "/connections-strategies/getConnectionStrategiesForProject" + )(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getConnectionStrategiesForProject", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetConnectionStrategiesForProjectResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/crmcompanies.ts b/src/sdk/crmcompanies.ts new file mode 100644 index 000000000..9593d4a37 --- /dev/null +++ b/src/sdk/crmcompanies.ts @@ -0,0 +1,449 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class CrmCompanies extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Companies + */ + async getCompanies( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCompaniesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCompaniesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/companies")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCompanies", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCompaniesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Company + * + * @remarks + * Create a company in any supported Crm software + */ + async addCrmCompany( + xConnectionToken: string, + unifiedCompanyInput: components.UnifiedCompanyInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCrmCompanyRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedCompanyInput: unifiedCompanyInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCrmCompanyRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedCompanyInput, { explode: true }); + + const path$ = this.templateURLComponent("/crm/companies")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCrmCompany", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCrmCompanyResponse$, { key: "object" }) + .json(201, operations.AddCrmCompanyResponse$, { key: "UnifiedCompanyOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Update a Company + */ + async updateCompany( + id: string, + options?: RequestOptions + ): Promise { + const input$: operations.UpdateCompanyRequest = { + id: id, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.UpdateCompanyRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/companies")(); + + const query$ = encodeFormQuery$({ + id: payload$.id, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "updateCompany", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "PATCH", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.UpdateCompanyResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Company + * + * @remarks + * Retrieve a company from any connected Crm software + */ + async getCrmCompany( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCrmCompanyRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCrmCompanyRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/crm/companies/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCrmCompany", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCrmCompanyResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Companies + */ + async addCompanies( + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCompaniesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCompaniesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/crm/companies/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCompanies", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCompaniesResponse$, { key: "object" }) + .json(201, operations.AddCompaniesResponse$, { key: "UnifiedCompanyOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/crmcontacts.ts b/src/sdk/crmcontacts.ts new file mode 100644 index 000000000..525efce03 --- /dev/null +++ b/src/sdk/crmcontacts.ts @@ -0,0 +1,449 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class CrmContacts extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of CRM Contacts + */ + async getCrmContacts( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCrmContactsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCrmContactsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/contacts")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCrmContacts", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCrmContactsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create CRM Contact + * + * @remarks + * Create a contact in any supported CRM + */ + async addCrmContact( + xConnectionToken: string, + unifiedContactInput: components.UnifiedContactInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCrmContactRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedContactInput: unifiedContactInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCrmContactRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedContactInput, { explode: true }); + + const path$ = this.templateURLComponent("/crm/contacts")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCrmContact", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCrmContactResponse$, { key: "object" }) + .json(201, operations.AddCrmContactResponse$, { key: "UnifiedContactOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Update a CRM Contact + */ + async updateContact( + id: string, + options?: RequestOptions + ): Promise { + const input$: operations.UpdateContactRequest = { + id: id, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.UpdateContactRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/contacts")(); + + const query$ = encodeFormQuery$({ + id: payload$.id, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "updateContact", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "PATCH", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.UpdateContactResponse$, { key: "UnifiedContactOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a CRM Contact + * + * @remarks + * Retrieve a contact from any connected CRM + */ + async getCrmContact( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCrmContactRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCrmContactRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/crm/contacts/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCrmContact", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCrmContactResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of CRM Contacts + */ + async addCrmContacts( + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCrmContactsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCrmContactsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/crm/contacts/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCrmContacts", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCrmContactsResponse$, { key: "object" }) + .json(201, operations.AddCrmContactsResponse$, { key: "UnifiedContactOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/crmdeals.ts b/src/sdk/crmdeals.ts new file mode 100644 index 000000000..c0a5a2bf6 --- /dev/null +++ b/src/sdk/crmdeals.ts @@ -0,0 +1,447 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class CrmDeals extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Deals + */ + async getDeals( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetDealsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetDealsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/deals")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getDeals", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetDealsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Deal + * + * @remarks + * Create a deal in any supported Crm software + */ + async addDeal( + xConnectionToken: string, + unifiedDealInput: components.UnifiedDealInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddDealRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedDealInput: unifiedDealInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddDealRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedDealInput, { explode: true }); + + const path$ = this.templateURLComponent("/crm/deals")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addDeal", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddDealResponse$, { key: "object" }) + .json(201, operations.AddDealResponse$, { key: "UnifiedDealOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Deal + * + * @remarks + * Retrieve a deal from any connected Crm software + */ + async getDeal( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetDealRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetDealRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/crm/deals/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getDeal", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetDealResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Update a Deal + */ + async updateDeal(id: string, options?: RequestOptions): Promise { + const input$: operations.UpdateDealRequest = { + id: id, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.UpdateDealRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/crm/deals/{id}")(pathParams$); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "updateDeal", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "PATCH", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.UpdateDealResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Deals + */ + async addDeals( + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddDealsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddDealsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/crm/deals/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addDeals", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddDealsResponse$, { key: "object" }) + .json(201, operations.AddDealsResponse$, { key: "UnifiedDealOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/crmengagements.ts b/src/sdk/crmengagements.ts new file mode 100644 index 000000000..0aa5ff736 --- /dev/null +++ b/src/sdk/crmengagements.ts @@ -0,0 +1,449 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class CrmEngagements extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Engagements + */ + async getEngagements( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEngagementsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEngagementsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/engagements")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEngagements", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEngagementsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Engagement + * + * @remarks + * Create a engagement in any supported Crm software + */ + async addEngagement( + xConnectionToken: string, + unifiedEngagementInput: components.UnifiedEngagementInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEngagementRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedEngagementInput: unifiedEngagementInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEngagementRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedEngagementInput, { explode: true }); + + const path$ = this.templateURLComponent("/crm/engagements")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEngagement", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEngagementResponse$, { key: "object" }) + .json(201, operations.AddEngagementResponse$, { key: "UnifiedEngagementOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Update a Engagement + */ + async updateEngagement( + id: string, + options?: RequestOptions + ): Promise { + const input$: operations.UpdateEngagementRequest = { + id: id, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.UpdateEngagementRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/engagements")(); + + const query$ = encodeFormQuery$({ + id: payload$.id, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "updateEngagement", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "PATCH", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.UpdateEngagementResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Engagement + * + * @remarks + * Retrieve a engagement from any connected Crm software + */ + async getEngagement( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEngagementRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEngagementRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/crm/engagements/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEngagement", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEngagementResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Engagements + */ + async addEngagements( + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEngagementsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEngagementsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/crm/engagements/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEngagements", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEngagementsResponse$, { key: "object" }) + .json(201, operations.AddEngagementsResponse$, { key: "UnifiedEngagementOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/crmnotes.ts b/src/sdk/crmnotes.ts new file mode 100644 index 000000000..d43654b1e --- /dev/null +++ b/src/sdk/crmnotes.ts @@ -0,0 +1,379 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class CrmNotes extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Notes + */ + async getNotes( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetNotesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetNotesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/notes")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getNotes", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetNotesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Note + * + * @remarks + * Create a note in any supported Crm software + */ + async addNote( + xConnectionToken: string, + unifiedNoteInput: components.UnifiedNoteInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddNoteRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedNoteInput: unifiedNoteInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddNoteRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedNoteInput, { explode: true }); + + const path$ = this.templateURLComponent("/crm/notes")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addNote", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddNoteResponse$, { key: "object" }) + .json(201, operations.AddNoteResponse$, { key: "UnifiedNoteOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Note + * + * @remarks + * Retrieve a note from any connected Crm software + */ + async getNote( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetNoteRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetNoteRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/crm/notes/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getNote", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetNoteResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Notes + */ + async addNotes( + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddNotesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddNotesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/crm/notes/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addNotes", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddNotesResponse$, { key: "object" }) + .json(201, operations.AddNotesResponse$, { key: "UnifiedNoteOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/crmstages.ts b/src/sdk/crmstages.ts new file mode 100644 index 000000000..a33d27d16 --- /dev/null +++ b/src/sdk/crmstages.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as operations from "../models/operations"; + +export class CrmStages extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Stages + */ + async getStages( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetStagesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetStagesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/stages")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getStages", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetStagesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Stage + * + * @remarks + * Retrieve a stage from any connected Crm software + */ + async getStage( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetStageRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetStageRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/crm/stages/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getStage", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetStageResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/crmtasks.ts b/src/sdk/crmtasks.ts new file mode 100644 index 000000000..92e2b0ff6 --- /dev/null +++ b/src/sdk/crmtasks.ts @@ -0,0 +1,446 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class CrmTasks extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Tasks + */ + async getTasks( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTasksRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTasksRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/tasks")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTasks", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTasksResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Task + * + * @remarks + * Create a task in any supported Crm software + */ + async addTask( + xConnectionToken: string, + unifiedTaskInput: components.UnifiedTaskInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTaskRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedTaskInput: unifiedTaskInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTaskRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedTaskInput, { explode: true }); + + const path$ = this.templateURLComponent("/crm/tasks")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTask", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTaskResponse$, { key: "object" }) + .json(201, operations.AddTaskResponse$, { key: "UnifiedTaskOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Update a Task + */ + async updateTask(id: string, options?: RequestOptions): Promise { + const input$: operations.UpdateTaskRequest = { + id: id, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.UpdateTaskRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/tasks")(); + + const query$ = encodeFormQuery$({ + id: payload$.id, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "updateTask", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "PATCH", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.UpdateTaskResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Task + * + * @remarks + * Retrieve a task from any connected Crm software + */ + async getTask( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTaskRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTaskRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/crm/tasks/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTask", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTaskResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Tasks + */ + async addTasks( + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTasksRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTasksRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/crm/tasks/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTasks", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTasksResponse$, { key: "object" }) + .json(201, operations.AddTasksResponse$, { key: "UnifiedTaskOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/crmusers.ts b/src/sdk/crmusers.ts new file mode 100644 index 000000000..166d123f1 --- /dev/null +++ b/src/sdk/crmusers.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as operations from "../models/operations"; + +export class CrmUsers extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Users + */ + async getCrmUsers( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCrmUsersRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCrmUsersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/users")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCrmUsers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCrmUsersResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a User + * + * @remarks + * Retrieve a user from any connected Crm software + */ + async getCrmUser( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCrmUserRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCrmUserRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/crm/users/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCrmUser", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCrmUserResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/events.ts b/src/sdk/events.ts new file mode 100644 index 000000000..e51f78b4d --- /dev/null +++ b/src/sdk/events.ts @@ -0,0 +1,166 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeFormQuery as encodeFormQuery$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as operations from "../models/operations"; + +export class Events extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Retrieve Events + */ + async getPanoraCoreEvents( + page?: number | undefined, + pageSize?: number | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPanoraCoreEventsRequest = { + page: page, + pageSize: pageSize, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPanoraCoreEventsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/events")(); + + const query$ = encodeFormQuery$({ + page: payload$.page, + pageSize: payload$.pageSize, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPanoraCoreEvents", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetPanoraCoreEventsResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve Events Count + */ + async getEventsCount(options?: RequestOptions): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const path$ = this.templateURLComponent("/events/count")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEventsCount", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEventsCountResponse$, { key: "number" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/fieldmappings.ts b/src/sdk/fieldmappings.ts new file mode 100644 index 000000000..1dcb9d71c --- /dev/null +++ b/src/sdk/fieldmappings.ts @@ -0,0 +1,483 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeFormQuery as encodeFormQuery$, encodeJSON as encodeJSON$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class FieldMappings extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Retrieve field mapping entities + */ + async getFieldMappingsEntities( + options?: RequestOptions + ): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const path$ = this.templateURLComponent("/field-mappings/entities")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getFieldMappingsEntities", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetFieldMappingsEntitiesResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve field mappings + */ + async getFieldMappings(options?: RequestOptions): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const path$ = this.templateURLComponent("/field-mappings/attribute")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getFieldMappings", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetFieldMappingsResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve field mappings values + */ + async getFieldMappingValues( + options?: RequestOptions + ): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const path$ = this.templateURLComponent("/field-mappings/value")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getFieldMappingValues", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetFieldMappingValuesResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Define target Field + */ + async defineTargetField( + request: components.DefineTargetFieldDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.DefineTargetFieldDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/field-mappings/define")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "defineTargetField", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.DefineTargetFieldResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create Custom Field + */ + async createCustomField( + request: components.CustomFieldCreateDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.CustomFieldCreateDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/field-mappings")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "createCustomField", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.CreateCustomFieldResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Map Custom Field + */ + async mapField( + request: components.MapFieldToProviderDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.MapFieldToProviderDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/field-mappings/map")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "mapField", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.MapFieldResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve Custom Properties + */ + async getCustomProviderProperties( + linkedUserId: string, + providerId: string, + vertical: string, + options?: RequestOptions + ): Promise { + const input$: operations.GetCustomProviderPropertiesRequest = { + linkedUserId: linkedUserId, + providerId: providerId, + vertical: vertical, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCustomProviderPropertiesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/field-mappings/properties")(); + + const query$ = encodeFormQuery$({ + linkedUserId: payload$.linkedUserId, + providerId: payload$.providerId, + vertical: payload$.vertical, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCustomProviderProperties", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetCustomProviderPropertiesResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/filestoragedrive.ts b/src/sdk/filestoragedrive.ts new file mode 100644 index 000000000..98d7c1f2f --- /dev/null +++ b/src/sdk/filestoragedrive.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class FilestorageDrive extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Drives + */ + async getDrives( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetDrivesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetDrivesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/filestorage/drive")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getDrives", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetDrivesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Drive + * + * @remarks + * Create a drive in any supported Filestorage software + */ + async addDrive( + xConnectionToken: string, + unifiedDriveInput: components.UnifiedDriveInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddDriveRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedDriveInput: unifiedDriveInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddDriveRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedDriveInput, { explode: true }); + + const path$ = this.templateURLComponent("/filestorage/drive")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addDrive", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddDriveResponse$, { key: "object" }) + .json(201, operations.AddDriveResponse$, { key: "UnifiedDriveOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Drive + * + * @remarks + * Retrieve a drive from any connected Filestorage software + */ + async getDrive( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetDriveRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetDriveRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/filestorage/drive/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getDrive", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetDriveResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Drives + */ + async addDrives( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddDrivesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddDrivesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/filestorage/drive/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addDrives", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddDrivesResponse$, { key: "object" }) + .json(201, operations.AddDrivesResponse$, { key: "UnifiedDriveOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/filestoragefile.ts b/src/sdk/filestoragefile.ts new file mode 100644 index 000000000..73bb48e3d --- /dev/null +++ b/src/sdk/filestoragefile.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class FilestorageFile extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Files + */ + async getFiles( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetFilesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetFilesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/filestorage/file")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getFiles", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetFilesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a File + * + * @remarks + * Create a file in any supported Filestorage software + */ + async addFile( + xConnectionToken: string, + unifiedFileInput: components.UnifiedFileInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddFileRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedFileInput: unifiedFileInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddFileRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedFileInput, { explode: true }); + + const path$ = this.templateURLComponent("/filestorage/file")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addFile", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddFileResponse$, { key: "object" }) + .json(201, operations.AddFileResponse$, { key: "UnifiedFileOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a File + * + * @remarks + * Retrieve a file from any connected Filestorage software + */ + async getFile( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetFileRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetFileRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/filestorage/file/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getFile", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetFileResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Files + */ + async addFiles( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddFilesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddFilesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/filestorage/file/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addFiles", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddFilesResponse$, { key: "object" }) + .json(201, operations.AddFilesResponse$, { key: "UnifiedFileOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/filestoragefolder.ts b/src/sdk/filestoragefolder.ts new file mode 100644 index 000000000..023c034b2 --- /dev/null +++ b/src/sdk/filestoragefolder.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class FilestorageFolder extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Folders + */ + async getFolders( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetFoldersRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetFoldersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/filestorage/folder")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getFolders", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetFoldersResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Folder + * + * @remarks + * Create a folder in any supported Filestorage software + */ + async addFolder( + xConnectionToken: string, + unifiedFolderInput: components.UnifiedFolderInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddFolderRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedFolderInput: unifiedFolderInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddFolderRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedFolderInput, { explode: true }); + + const path$ = this.templateURLComponent("/filestorage/folder")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addFolder", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddFolderResponse$, { key: "object" }) + .json(201, operations.AddFolderResponse$, { key: "UnifiedFolderOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Folder + * + * @remarks + * Retrieve a folder from any connected Filestorage software + */ + async getFolder( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetFolderRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetFolderRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/filestorage/folder/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getFolder", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetFolderResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Folders + */ + async addFolders( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddFoldersRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddFoldersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/filestorage/folder/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addFolders", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddFoldersResponse$, { key: "object" }) + .json(201, operations.AddFoldersResponse$, { key: "UnifiedFolderOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/filestoragepermission.ts b/src/sdk/filestoragepermission.ts new file mode 100644 index 000000000..3e2935d01 --- /dev/null +++ b/src/sdk/filestoragepermission.ts @@ -0,0 +1,452 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class FilestoragePermission extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Permissions + */ + async getPermissions( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPermissionsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPermissionsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/filestorage/permission")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPermissions", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetPermissionsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Permission + * + * @remarks + * Create a permission in any supported Filestorage software + */ + async addPermission( + xConnectionToken: string, + unifiedPermissionInput: components.UnifiedPermissionInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddPermissionRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedPermissionInput: unifiedPermissionInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddPermissionRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedPermissionInput, { explode: true }); + + const path$ = this.templateURLComponent("/filestorage/permission")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addPermission", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddPermissionResponse$, { key: "object" }) + .json(201, operations.AddPermissionResponse$, { key: "UnifiedPermissionOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Update a Permission + */ + async updatePermission( + id: string, + options?: RequestOptions + ): Promise { + const input$: operations.UpdatePermissionRequest = { + id: id, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.UpdatePermissionRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/filestorage/permission")(); + + const query$ = encodeFormQuery$({ + id: payload$.id, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "updatePermission", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "PATCH", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.UpdatePermissionResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Permission + * + * @remarks + * Retrieve a permission from any connected Filestorage software + */ + async getPermission( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPermissionRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPermissionRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/filestorage/permission/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPermission", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetPermissionResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Permissions + */ + async addPermissions( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddPermissionsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddPermissionsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/filestorage/permission/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addPermissions", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddPermissionsResponse$, { key: "object" }) + .json(201, operations.AddPermissionsResponse$, { key: "UnifiedPermissionOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/filestoragesharedlink.ts b/src/sdk/filestoragesharedlink.ts new file mode 100644 index 000000000..2d9234b54 --- /dev/null +++ b/src/sdk/filestoragesharedlink.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class FilestorageSharedlink extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Sharedlinks + */ + async getSharedlinks( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetSharedlinksRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetSharedlinksRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/filestorage/sharedlink")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getSharedlinks", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetSharedlinksResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Sharedlink + * + * @remarks + * Create a sharedlink in any supported Filestorage software + */ + async addSharedlink( + xConnectionToken: string, + unifiedSharedLinkInput: components.UnifiedSharedLinkInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddSharedlinkRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedSharedLinkInput: unifiedSharedLinkInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddSharedlinkRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedSharedLinkInput, { explode: true }); + + const path$ = this.templateURLComponent("/filestorage/sharedlink")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addSharedlink", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddSharedlinkResponse$, { key: "object" }) + .json(201, operations.AddSharedlinkResponse$, { key: "UnifiedSharedLinkOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Sharedlink + * + * @remarks + * Retrieve a sharedlink from any connected Filestorage software + */ + async getSharedlink( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetSharedlinkRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetSharedlinkRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/filestorage/sharedlink/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getSharedlink", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetSharedlinkResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Sharedlinks + */ + async addSharedlinks( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddSharedlinksRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddSharedlinksRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/filestorage/sharedlink/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addSharedlinks", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddSharedlinksResponse$, { key: "object" }) + .json(201, operations.AddSharedlinksResponse$, { key: "UnifiedSharedLinkOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hrisbankinfo.ts b/src/sdk/hrisbankinfo.ts new file mode 100644 index 000000000..cb3fefd3f --- /dev/null +++ b/src/sdk/hrisbankinfo.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisBankinfo extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Bankinfos + */ + async getBankinfos( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetBankinfosRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetBankinfosRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/bankinfo")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getBankinfos", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetBankinfosResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Bankinfo + * + * @remarks + * Create a bankinfo in any supported Hris software + */ + async addBankinfo( + xConnectionToken: string, + unifiedBankInfoInput: components.UnifiedBankInfoInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddBankinfoRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedBankInfoInput: unifiedBankInfoInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddBankinfoRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedBankInfoInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/bankinfo")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addBankinfo", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddBankinfoResponse$, { key: "object" }) + .json(201, operations.AddBankinfoResponse$, { key: "UnifiedBankInfoOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Bankinfo + * + * @remarks + * Retrieve a bankinfo from any connected Hris software + */ + async getBankinfo( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetBankinfoRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetBankinfoRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/bankinfo/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getBankinfo", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetBankinfoResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Bankinfos + */ + async addBankinfos( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddBankinfosRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddBankinfosRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/bankinfo/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addBankinfos", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddBankinfosResponse$, { key: "object" }) + .json(201, operations.AddBankinfosResponse$, { key: "UnifiedBankInfoOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hrisbenefit.ts b/src/sdk/hrisbenefit.ts new file mode 100644 index 000000000..e20f412b7 --- /dev/null +++ b/src/sdk/hrisbenefit.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisBenefit extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Benefits + */ + async getBenefits( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetBenefitsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetBenefitsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/benefit")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getBenefits", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetBenefitsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Benefit + * + * @remarks + * Create a benefit in any supported Hris software + */ + async addBenefit( + xConnectionToken: string, + unifiedBenefitInput: components.UnifiedBenefitInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddBenefitRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedBenefitInput: unifiedBenefitInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddBenefitRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedBenefitInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/benefit")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addBenefit", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddBenefitResponse$, { key: "object" }) + .json(201, operations.AddBenefitResponse$, { key: "UnifiedBenefitOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Benefit + * + * @remarks + * Retrieve a benefit from any connected Hris software + */ + async getBenefit( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetBenefitRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetBenefitRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/benefit/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getBenefit", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetBenefitResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Benefits + */ + async addBenefits( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddBenefitsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddBenefitsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/benefit/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addBenefits", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddBenefitsResponse$, { key: "object" }) + .json(201, operations.AddBenefitsResponse$, { key: "UnifiedBenefitOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hriscompany.ts b/src/sdk/hriscompany.ts new file mode 100644 index 000000000..82f9e64cc --- /dev/null +++ b/src/sdk/hriscompany.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisCompany extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Companys + */ + async getCompanys( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCompanysRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCompanysRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/company")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCompanys", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCompanysResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Company + * + * @remarks + * Create a company in any supported Hris software + */ + async addHrisCompany( + xConnectionToken: string, + unifiedCompanyInput: components.UnifiedCompanyInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddHrisCompanyRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedCompanyInput: unifiedCompanyInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddHrisCompanyRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedCompanyInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/company")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addHrisCompany", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddHrisCompanyResponse$, { key: "object" }) + .json(201, operations.AddHrisCompanyResponse$, { key: "UnifiedCompanyOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Company + * + * @remarks + * Retrieve a company from any connected Hris software + */ + async getHrisCompany( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetHrisCompanyRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetHrisCompanyRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/company/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getHrisCompany", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetHrisCompanyResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Companys + */ + async addCompanys( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCompanysRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCompanysRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/company/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCompanys", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCompanysResponse$, { key: "object" }) + .json(201, operations.AddCompanysResponse$, { key: "UnifiedCompanyOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hrisdependent.ts b/src/sdk/hrisdependent.ts new file mode 100644 index 000000000..67d8f6e4d --- /dev/null +++ b/src/sdk/hrisdependent.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisDependent extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Dependents + */ + async getDependents( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetDependentsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetDependentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/dependent")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getDependents", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetDependentsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Dependent + * + * @remarks + * Create a dependent in any supported Hris software + */ + async addDependent( + xConnectionToken: string, + unifiedDependentInput: components.UnifiedDependentInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddDependentRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedDependentInput: unifiedDependentInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddDependentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedDependentInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/dependent")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addDependent", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddDependentResponse$, { key: "object" }) + .json(201, operations.AddDependentResponse$, { key: "UnifiedDependentOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Dependent + * + * @remarks + * Retrieve a dependent from any connected Hris software + */ + async getDependent( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetDependentRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetDependentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/dependent/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getDependent", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetDependentResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Dependents + */ + async addDependents( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddDependentsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddDependentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/dependent/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addDependents", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddDependentsResponse$, { key: "object" }) + .json(201, operations.AddDependentsResponse$, { key: "UnifiedDependentOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hrisemployee.ts b/src/sdk/hrisemployee.ts new file mode 100644 index 000000000..b8322d4a1 --- /dev/null +++ b/src/sdk/hrisemployee.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisEmployee extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Employees + */ + async getEmployees( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEmployeesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEmployeesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/employee")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEmployees", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEmployeesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Employee + * + * @remarks + * Create a employee in any supported Hris software + */ + async addEmployee( + xConnectionToken: string, + unifiedEmployeeInput: components.UnifiedEmployeeInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEmployeeRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedEmployeeInput: unifiedEmployeeInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEmployeeRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedEmployeeInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/employee")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEmployee", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEmployeeResponse$, { key: "object" }) + .json(201, operations.AddEmployeeResponse$, { key: "UnifiedEmployeeOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Employee + * + * @remarks + * Retrieve a employee from any connected Hris software + */ + async getEmployee( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEmployeeRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEmployeeRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/employee/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEmployee", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEmployeeResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Employees + */ + async addEmployees( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEmployeesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEmployeesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/employee/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEmployees", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEmployeesResponse$, { key: "object" }) + .json(201, operations.AddEmployeesResponse$, { key: "UnifiedEmployeeOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hrisemployeepayrollrun.ts b/src/sdk/hrisemployeepayrollrun.ts new file mode 100644 index 000000000..5c1a95024 --- /dev/null +++ b/src/sdk/hrisemployeepayrollrun.ts @@ -0,0 +1,388 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisEmployeepayrollrun extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of EmployeePayrollRuns + */ + async getEmployeePayrollRuns( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEmployeePayrollRunsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEmployeePayrollRunsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/employeepayrollrun")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEmployeePayrollRuns", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEmployeePayrollRunsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a EmployeePayrollRun + * + * @remarks + * Create a employeepayrollrun in any supported Hris software + */ + async addEmployeePayrollRun( + xConnectionToken: string, + unifiedEmployeePayrollRunInput: components.UnifiedEmployeePayrollRunInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEmployeePayrollRunRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedEmployeePayrollRunInput: unifiedEmployeePayrollRunInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEmployeePayrollRunRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedEmployeePayrollRunInput, { + explode: true, + }); + + const path$ = this.templateURLComponent("/hris/employeepayrollrun")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEmployeePayrollRun", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEmployeePayrollRunResponse$, { key: "object" }) + .json(201, operations.AddEmployeePayrollRunResponse$, { + key: "UnifiedEmployeePayrollRunOutput", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a EmployeePayrollRun + * + * @remarks + * Retrieve a employeepayrollrun from any connected Hris software + */ + async getEmployeePayrollRun( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEmployeePayrollRunRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEmployeePayrollRunRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/employeepayrollrun/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEmployeePayrollRun", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEmployeePayrollRunResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of EmployeePayrollRuns + */ + async addEmployeePayrollRuns( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEmployeePayrollRunsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEmployeePayrollRunsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/employeepayrollrun/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEmployeePayrollRuns", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEmployeePayrollRunsResponse$, { key: "object" }) + .json(201, operations.AddEmployeePayrollRunsResponse$, { + key: "UnifiedEmployeePayrollRunOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hrisemployerbenefit.ts b/src/sdk/hrisemployerbenefit.ts new file mode 100644 index 000000000..8020c19d8 --- /dev/null +++ b/src/sdk/hrisemployerbenefit.ts @@ -0,0 +1,386 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisEmployerbenefit extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of EmployerBenefits + */ + async getEmployerBenefits( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEmployerBenefitsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEmployerBenefitsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/employerbenefit")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEmployerBenefits", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEmployerBenefitsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a EmployerBenefit + * + * @remarks + * Create a employerbenefit in any supported Hris software + */ + async addEmployerBenefit( + xConnectionToken: string, + unifiedEmployerBenefitInput: components.UnifiedEmployerBenefitInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEmployerBenefitRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedEmployerBenefitInput: unifiedEmployerBenefitInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEmployerBenefitRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedEmployerBenefitInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/employerbenefit")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEmployerBenefit", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEmployerBenefitResponse$, { key: "object" }) + .json(201, operations.AddEmployerBenefitResponse$, { + key: "UnifiedEmployerBenefitOutput", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a EmployerBenefit + * + * @remarks + * Retrieve a employerbenefit from any connected Hris software + */ + async getEmployerBenefit( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEmployerBenefitRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEmployerBenefitRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/employerbenefit/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEmployerBenefit", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEmployerBenefitResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of EmployerBenefits + */ + async addEmployerBenefits( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEmployerBenefitsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEmployerBenefitsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/employerbenefit/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEmployerBenefits", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEmployerBenefitsResponse$, { key: "object" }) + .json(201, operations.AddEmployerBenefitsResponse$, { + key: "UnifiedEmployerBenefitOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hrisemployment.ts b/src/sdk/hrisemployment.ts new file mode 100644 index 000000000..9c391d7bd --- /dev/null +++ b/src/sdk/hrisemployment.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisEmployment extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Employments + */ + async getEmployments( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEmploymentsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEmploymentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/employment")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEmployments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEmploymentsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Employment + * + * @remarks + * Create a employment in any supported Hris software + */ + async addEmployment( + xConnectionToken: string, + unifiedEmploymentInput: components.UnifiedEmploymentInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEmploymentRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedEmploymentInput: unifiedEmploymentInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEmploymentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedEmploymentInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/employment")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEmployment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEmploymentResponse$, { key: "object" }) + .json(201, operations.AddEmploymentResponse$, { key: "UnifiedEmploymentOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Employment + * + * @remarks + * Retrieve a employment from any connected Hris software + */ + async getEmployment( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEmploymentRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEmploymentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/employment/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEmployment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEmploymentResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Employments + */ + async addEmployments( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEmploymentsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEmploymentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/employment/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEmployments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEmploymentsResponse$, { key: "object" }) + .json(201, operations.AddEmploymentsResponse$, { key: "UnifiedEmploymentOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hrisgroup.ts b/src/sdk/hrisgroup.ts new file mode 100644 index 000000000..69468bc1d --- /dev/null +++ b/src/sdk/hrisgroup.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisGroup extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Groups + */ + async getGroups( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetGroupsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetGroupsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/group")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getGroups", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetGroupsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Group + * + * @remarks + * Create a group in any supported Hris software + */ + async addGroup( + xConnectionToken: string, + unifiedGroupInput: components.UnifiedGroupInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddGroupRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedGroupInput: unifiedGroupInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddGroupRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedGroupInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/group")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addGroup", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddGroupResponse$, { key: "object" }) + .json(201, operations.AddGroupResponse$, { key: "UnifiedGroupOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Group + * + * @remarks + * Retrieve a group from any connected Hris software + */ + async getGroup( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetGroupRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetGroupRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/group/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getGroup", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetGroupResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Groups + */ + async addGroups( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddGroupsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddGroupsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/group/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addGroups", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddGroupsResponse$, { key: "object" }) + .json(201, operations.AddGroupsResponse$, { key: "UnifiedGroupOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hrislocation.ts b/src/sdk/hrislocation.ts new file mode 100644 index 000000000..ab7db7b41 --- /dev/null +++ b/src/sdk/hrislocation.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisLocation extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Locations + */ + async getLocations( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetLocationsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetLocationsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/location")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getLocations", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetLocationsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Location + * + * @remarks + * Create a location in any supported Hris software + */ + async addLocation( + xConnectionToken: string, + unifiedLocationInput: components.UnifiedLocationInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddLocationRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedLocationInput: unifiedLocationInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddLocationRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedLocationInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/location")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addLocation", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddLocationResponse$, { key: "object" }) + .json(201, operations.AddLocationResponse$, { key: "UnifiedLocationOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Location + * + * @remarks + * Retrieve a location from any connected Hris software + */ + async getLocation( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetLocationRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetLocationRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/location/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getLocation", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetLocationResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Locations + */ + async addLocations( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddLocationsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddLocationsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/location/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addLocations", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddLocationsResponse$, { key: "object" }) + .json(201, operations.AddLocationsResponse$, { key: "UnifiedLocationOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hrispaygroup.ts b/src/sdk/hrispaygroup.ts new file mode 100644 index 000000000..675d594f0 --- /dev/null +++ b/src/sdk/hrispaygroup.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisPaygroup extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of PayGroups + */ + async getPayGroups( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPayGroupsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPayGroupsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/paygroup")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPayGroups", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetPayGroupsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a PayGroup + * + * @remarks + * Create a paygroup in any supported Hris software + */ + async addPayGroup( + xConnectionToken: string, + unifiedPayGroupInput: components.UnifiedPayGroupInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddPayGroupRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedPayGroupInput: unifiedPayGroupInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddPayGroupRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedPayGroupInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/paygroup")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addPayGroup", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddPayGroupResponse$, { key: "object" }) + .json(201, operations.AddPayGroupResponse$, { key: "UnifiedPayGroupOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a PayGroup + * + * @remarks + * Retrieve a paygroup from any connected Hris software + */ + async getPayGroup( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPayGroupRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPayGroupRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/paygroup/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPayGroup", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetPayGroupResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of PayGroups + */ + async addPayGroups( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddPayGroupsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddPayGroupsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/paygroup/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addPayGroups", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddPayGroupsResponse$, { key: "object" }) + .json(201, operations.AddPayGroupsResponse$, { key: "UnifiedPayGroupOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hrispayrollrun.ts b/src/sdk/hrispayrollrun.ts new file mode 100644 index 000000000..90fada31b --- /dev/null +++ b/src/sdk/hrispayrollrun.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisPayrollrun extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of PayrollRuns + */ + async getPayrollRuns( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPayrollRunsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPayrollRunsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/payrollrun")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPayrollRuns", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetPayrollRunsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a PayrollRun + * + * @remarks + * Create a payrollrun in any supported Hris software + */ + async addPayrollRun( + xConnectionToken: string, + unifiedPayrollRunInput: components.UnifiedPayrollRunInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddPayrollRunRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedPayrollRunInput: unifiedPayrollRunInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddPayrollRunRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedPayrollRunInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/payrollrun")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addPayrollRun", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddPayrollRunResponse$, { key: "object" }) + .json(201, operations.AddPayrollRunResponse$, { key: "UnifiedPayrollRunOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a PayrollRun + * + * @remarks + * Retrieve a payrollrun from any connected Hris software + */ + async getPayrollRun( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetPayrollRunRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetPayrollRunRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/payrollrun/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getPayrollRun", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetPayrollRunResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of PayrollRuns + */ + async addPayrollRuns( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddPayrollRunsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddPayrollRunsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/payrollrun/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addPayrollRuns", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddPayrollRunsResponse$, { key: "object" }) + .json(201, operations.AddPayrollRunsResponse$, { key: "UnifiedPayrollRunOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hristimeoff.ts b/src/sdk/hristimeoff.ts new file mode 100644 index 000000000..83b7ea410 --- /dev/null +++ b/src/sdk/hristimeoff.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisTimeoff extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Timeoffs + */ + async getTimeoffs( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTimeoffsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTimeoffsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/timeoff")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTimeoffs", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTimeoffsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Timeoff + * + * @remarks + * Create a timeoff in any supported Hris software + */ + async addTimeoff( + xConnectionToken: string, + unifiedTimeoffInput: components.UnifiedTimeoffInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTimeoffRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedTimeoffInput: unifiedTimeoffInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTimeoffRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedTimeoffInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/timeoff")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTimeoff", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTimeoffResponse$, { key: "object" }) + .json(201, operations.AddTimeoffResponse$, { key: "UnifiedTimeoffOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Timeoff + * + * @remarks + * Retrieve a timeoff from any connected Hris software + */ + async getTimeoff( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTimeoffRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTimeoffRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/timeoff/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTimeoff", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTimeoffResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Timeoffs + */ + async addTimeoffs( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTimeoffsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTimeoffsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/timeoff/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTimeoffs", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTimeoffsResponse$, { key: "object" }) + .json(201, operations.AddTimeoffsResponse$, { key: "UnifiedTimeoffOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/hristimeoffbalance.ts b/src/sdk/hristimeoffbalance.ts new file mode 100644 index 000000000..11fcaed22 --- /dev/null +++ b/src/sdk/hristimeoffbalance.ts @@ -0,0 +1,386 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class HrisTimeoffbalance extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of TimeoffBalances + */ + async getTimeoffBalances( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTimeoffBalancesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTimeoffBalancesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/hris/timeoffbalance")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTimeoffBalances", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTimeoffBalancesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a TimeoffBalance + * + * @remarks + * Create a timeoffbalance in any supported Hris software + */ + async addTimeoffBalance( + xConnectionToken: string, + unifiedTimeoffBalanceInput: components.UnifiedTimeoffBalanceInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTimeoffBalanceRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedTimeoffBalanceInput: unifiedTimeoffBalanceInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTimeoffBalanceRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedTimeoffBalanceInput, { explode: true }); + + const path$ = this.templateURLComponent("/hris/timeoffbalance")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTimeoffBalance", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTimeoffBalanceResponse$, { key: "object" }) + .json(201, operations.AddTimeoffBalanceResponse$, { + key: "UnifiedTimeoffBalanceOutput", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a TimeoffBalance + * + * @remarks + * Retrieve a timeoffbalance from any connected Hris software + */ + async getTimeoffBalance( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTimeoffBalanceRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTimeoffBalanceRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/hris/timeoffbalance/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTimeoffBalance", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTimeoffBalanceResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of TimeoffBalances + */ + async addTimeoffBalances( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTimeoffBalancesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTimeoffBalancesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/hris/timeoffbalance/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTimeoffBalances", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTimeoffBalancesResponse$, { key: "object" }) + .json(201, operations.AddTimeoffBalancesResponse$, { + key: "UnifiedTimeoffBalanceOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/index.ts b/src/sdk/index.ts new file mode 100644 index 000000000..313031483 --- /dev/null +++ b/src/sdk/index.ts @@ -0,0 +1,5 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export * from "./sdk"; diff --git a/src/sdk/linkedusers.ts b/src/sdk/linkedusers.ts new file mode 100644 index 000000000..f0246ba94 --- /dev/null +++ b/src/sdk/linkedusers.ts @@ -0,0 +1,368 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeFormQuery as encodeFormQuery$, encodeJSON as encodeJSON$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class LinkedUsers extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Add Linked User + */ + async addLinkedUser( + request: components.CreateLinkedUserDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.CreateLinkedUserDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/linked-users")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addLinkedUser", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.AddLinkedUserResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve Linked Users + */ + async fetchLinkedUsers(options?: RequestOptions): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const path$ = this.templateURLComponent("/linked-users")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "fetchLinkedUsers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.FetchLinkedUsersResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add Batch Linked Users + */ + async addBatchLinkedUsers( + request: components.CreateBatchLinkedUserDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.CreateBatchLinkedUserDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/linked-users/batch")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addBatchLinkedUsers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.AddBatchLinkedUsersResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Linked User + */ + async getLinkedUser( + id: string, + options?: RequestOptions + ): Promise { + const input$: operations.GetLinkedUserRequest = { + id: id, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetLinkedUserRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/linked-users/single")(); + + const query$ = encodeFormQuery$({ + id: payload$.id, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getLinkedUser", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetLinkedUserResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Linked User From A Remote Id + */ + async linkedUserFromRemoteId( + remoteId: string, + options?: RequestOptions + ): Promise { + const input$: operations.LinkedUserFromRemoteIdRequest = { + remoteId: remoteId, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.LinkedUserFromRemoteIdRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/linked-users/fromRemoteId")(); + + const query$ = encodeFormQuery$({ + remoteId: payload$.remoteId, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "linkedUserFromRemoteId", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.LinkedUserFromRemoteIdResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/magiclinks.ts b/src/sdk/magiclinks.ts new file mode 100644 index 000000000..613f8efda --- /dev/null +++ b/src/sdk/magiclinks.ts @@ -0,0 +1,231 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeFormQuery as encodeFormQuery$, encodeJSON as encodeJSON$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class MagicLinks extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Create a Magic Link + */ + async createMagicLink( + request: components.CreateMagicLinkDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.CreateMagicLinkDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/magic-links")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "createMagicLink", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.CreateMagicLinkResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve Magic Links + */ + async getMagicLinks(options?: RequestOptions): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const path$ = this.templateURLComponent("/magic-links")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getMagicLinks", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetMagicLinksResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Magic Link + */ + async getMagicLink( + id: string, + options?: RequestOptions + ): Promise { + const input$: operations.GetMagicLinkRequest = { + id: id, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetMagicLinkRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/magic-links/single")(); + + const query$ = encodeFormQuery$({ + id: payload$.id, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getMagicLink", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetMagicLinkResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/managedwebhooks.ts b/src/sdk/managedwebhooks.ts new file mode 100644 index 000000000..452912bd6 --- /dev/null +++ b/src/sdk/managedwebhooks.ts @@ -0,0 +1,322 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeJSON as encodeJSON$, encodeSimple as encodeSimple$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class ManagedWebhooks extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Retrieve managed webhooks + */ + async getManagedWebhooks( + idConnection: string, + options?: RequestOptions + ): Promise { + const input$: operations.GetManagedWebhooksRequest = { + idConnection: idConnection, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetManagedWebhooksRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id_connection: encodeSimple$("id_connection", payload$.id_connection, { + explode: false, + charEncoding: "percent", + }), + }; + const path$ = this.templateURLComponent("/managed-webhooks/{id_connection}")(pathParams$); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getManagedWebhooks", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetManagedWebhooksResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Update managed webhook status + */ + async updateManagedWebhooksStatus( + idConnection: string, + options?: RequestOptions + ): Promise { + const input$: operations.UpdateManagedWebhooksStatusRequest = { + idConnection: idConnection, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.UpdateManagedWebhooksStatusRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id_connection: encodeSimple$("id_connection", payload$.id_connection, { + explode: false, + charEncoding: "percent", + }), + }; + const path$ = this.templateURLComponent("/managed-webhooks/{id_connection}")(pathParams$); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "updateManagedWebhooksStatus", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "PUT", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.UpdateManagedWebhooksStatusResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create managed webhook + */ + async createManagedWebhook( + request: components.ManagedWebhooksDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.ManagedWebhooksDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/managed-webhooks")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "createManagedWebhook", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.CreateManagedWebhookResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create Remote Third Party Webhook + */ + async createRemoteThirdPartyWebhook( + request: components.RemoteThirdPartyCreationDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.RemoteThirdPartyCreationDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/managed-webhooks/remoteThirdPartyCreation")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "createRemoteThirdPartyWebhook", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.CreateRemoteThirdPartyWebhookResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/marketingautomationaction.ts b/src/sdk/marketingautomationaction.ts new file mode 100644 index 000000000..4678a91ef --- /dev/null +++ b/src/sdk/marketingautomationaction.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class MarketingautomationAction extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Actions + */ + async getActions( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetActionsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetActionsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/marketingautomation/action")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getActions", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetActionsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Action + * + * @remarks + * Create a action in any supported Marketingautomation software + */ + async addAction( + xConnectionToken: string, + unifiedActionInput: components.UnifiedActionInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddActionRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedActionInput: unifiedActionInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddActionRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedActionInput, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/action")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAction", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddActionResponse$, { key: "object" }) + .json(201, operations.AddActionResponse$, { key: "UnifiedActionOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Action + * + * @remarks + * Retrieve a action from any connected Marketingautomation software + */ + async getAction( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetActionRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetActionRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/marketingautomation/action/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAction", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetActionResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Actions + */ + async addActions( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddActionsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddActionsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/action/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addActions", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddActionsResponse$, { key: "object" }) + .json(201, operations.AddActionsResponse$, { key: "UnifiedActionOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/marketingautomationautomation.ts b/src/sdk/marketingautomationautomation.ts new file mode 100644 index 000000000..a9a2eb35f --- /dev/null +++ b/src/sdk/marketingautomationautomation.ts @@ -0,0 +1,384 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class MarketingautomationAutomation extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Automations + */ + async getAutomations( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAutomationsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAutomationsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/marketingautomation/automation")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAutomations", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAutomationsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Automation + * + * @remarks + * Create a automation in any supported Marketingautomation software + */ + async addAutomation( + xConnectionToken: string, + unifiedAutomationInput: components.UnifiedAutomationInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAutomationRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedAutomationInput: unifiedAutomationInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAutomationRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedAutomationInput, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/automation")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAutomation", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAutomationResponse$, { key: "object" }) + .json(201, operations.AddAutomationResponse$, { key: "UnifiedAutomationOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Automation + * + * @remarks + * Retrieve a automation from any connected Marketingautomation software + */ + async getAutomation( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetAutomationRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetAutomationRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/marketingautomation/automation/{id}")( + pathParams$ + ); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getAutomation", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetAutomationResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Automations + */ + async addAutomations( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddAutomationsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddAutomationsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/automation/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addAutomations", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddAutomationsResponse$, { key: "object" }) + .json(201, operations.AddAutomationsResponse$, { key: "UnifiedAutomationOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/marketingautomationcampaign.ts b/src/sdk/marketingautomationcampaign.ts new file mode 100644 index 000000000..2ebb7197f --- /dev/null +++ b/src/sdk/marketingautomationcampaign.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class MarketingautomationCampaign extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Campaigns + */ + async getCampaigns( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCampaignsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCampaignsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/marketingautomation/campaign")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCampaigns", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCampaignsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Campaign + * + * @remarks + * Create a campaign in any supported Marketingautomation software + */ + async addCampaign( + xConnectionToken: string, + unifiedCampaignInput: components.UnifiedCampaignInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCampaignRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedCampaignInput: unifiedCampaignInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCampaignRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedCampaignInput, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/campaign")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCampaign", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCampaignResponse$, { key: "object" }) + .json(201, operations.AddCampaignResponse$, { key: "UnifiedCampaignOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Campaign + * + * @remarks + * Retrieve a campaign from any connected Marketingautomation software + */ + async getCampaign( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCampaignRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCampaignRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/marketingautomation/campaign/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCampaign", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCampaignResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Campaigns + */ + async addCampaigns( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCampaignsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCampaignsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/campaign/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addCampaigns", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCampaignsResponse$, { key: "object" }) + .json(201, operations.AddCampaignsResponse$, { key: "UnifiedCampaignOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/marketingautomationcontact.ts b/src/sdk/marketingautomationcontact.ts new file mode 100644 index 000000000..aa17b3787 --- /dev/null +++ b/src/sdk/marketingautomationcontact.ts @@ -0,0 +1,390 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class MarketingautomationContact extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Contacts + */ + async getMarketingAutomationContacts( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetMarketingAutomationContactsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => + operations.GetMarketingAutomationContactsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/marketingautomation/contact")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getMarketingAutomationContacts", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetMarketingAutomationContactsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Contact + * + * @remarks + * Create a contact in any supported Marketingautomation software + */ + async addMarketingAutomationContact( + xConnectionToken: string, + unifiedContactInput: components.UnifiedContactInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddMarketingAutomationContactRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedContactInput: unifiedContactInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => + operations.AddMarketingAutomationContactRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedContactInput, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/contact")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addMarketingAutomationContact", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddMarketingAutomationContactResponse$, { key: "object" }) + .json(201, operations.AddMarketingAutomationContactResponse$, { + key: "UnifiedContactOutput", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Contact + * + * @remarks + * Retrieve a contact from any connected Marketingautomation software + */ + async getMarketingAutomationContact( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetMarketingAutomationContactRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => + operations.GetMarketingAutomationContactRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/marketingautomation/contact/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getMarketingAutomationContact", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetMarketingAutomationContactResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Contacts + */ + async addMarketingAutomationContacts( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddMarketingAutomationContactsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => + operations.AddMarketingAutomationContactsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/contact/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addMarketingAutomationContacts", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddMarketingAutomationContactsResponse$, { key: "object" }) + .json(201, operations.AddMarketingAutomationContactsResponse$, { + key: "UnifiedContactOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/marketingautomationemail.ts b/src/sdk/marketingautomationemail.ts new file mode 100644 index 000000000..055f9608d --- /dev/null +++ b/src/sdk/marketingautomationemail.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class MarketingautomationEmail extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Emails + */ + async getEmails( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEmailsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEmailsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/marketingautomation/email")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEmails", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEmailsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Email + * + * @remarks + * Create a email in any supported Marketingautomation software + */ + async addEmail( + xConnectionToken: string, + unifiedEmailInput: components.UnifiedEmailInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEmailRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedEmailInput: unifiedEmailInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEmailRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedEmailInput, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/email")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEmail", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEmailResponse$, { key: "object" }) + .json(201, operations.AddEmailResponse$, { key: "UnifiedEmailOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Email + * + * @remarks + * Retrieve a email from any connected Marketingautomation software + */ + async getEmail( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEmailRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEmailRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/marketingautomation/email/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEmail", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEmailResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Emails + */ + async addEmails( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEmailsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEmailsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/email/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEmails", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEmailsResponse$, { key: "object" }) + .json(201, operations.AddEmailsResponse$, { key: "UnifiedEmailOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/marketingautomationevent.ts b/src/sdk/marketingautomationevent.ts new file mode 100644 index 000000000..75863fb25 --- /dev/null +++ b/src/sdk/marketingautomationevent.ts @@ -0,0 +1,383 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class MarketingautomationEvent extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Events + */ + async getMarketingAutomationEvents( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetMarketingAutomationEventsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => + operations.GetMarketingAutomationEventsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/marketingautomation/event")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getMarketingAutomationEvents", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetMarketingAutomationEventsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Event + * + * @remarks + * Create a event in any supported Marketingautomation software + */ + async addEvent( + xConnectionToken: string, + unifiedEventInput: components.UnifiedEventInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEventRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedEventInput: unifiedEventInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEventRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedEventInput, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/event")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEvent", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEventResponse$, { key: "object" }) + .json(201, operations.AddEventResponse$, { key: "UnifiedEventOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Event + * + * @remarks + * Retrieve a event from any connected Marketingautomation software + */ + async getEvent( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetEventRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetEventRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/marketingautomation/event/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getEvent", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetEventResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Events + */ + async addEvents( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddEventsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddEventsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/event/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addEvents", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddEventsResponse$, { key: "object" }) + .json(201, operations.AddEventsResponse$, { key: "UnifiedEventOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/marketingautomationlist.ts b/src/sdk/marketingautomationlist.ts new file mode 100644 index 000000000..7df7c93c7 --- /dev/null +++ b/src/sdk/marketingautomationlist.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class MarketingautomationList extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Lists + */ + async getLists( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetListsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetListsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/marketingautomation/list")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getLists", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetListsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a List + * + * @remarks + * Create a list in any supported Marketingautomation software + */ + async addList( + xConnectionToken: string, + unifiedListInput: components.UnifiedListInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddListRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedListInput: unifiedListInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddListRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedListInput, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/list")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addList", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddListResponse$, { key: "object" }) + .json(201, operations.AddListResponse$, { key: "UnifiedListOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a List + * + * @remarks + * Retrieve a list from any connected Marketingautomation software + */ + async getList( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetListRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetListRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/marketingautomation/list/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getList", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetListResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Lists + */ + async addLists( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddListsRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddListsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/list/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addLists", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddListsResponse$, { key: "object" }) + .json(201, operations.AddListsResponse$, { key: "UnifiedListOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/marketingautomationmessage.ts b/src/sdk/marketingautomationmessage.ts new file mode 100644 index 000000000..c876f9c03 --- /dev/null +++ b/src/sdk/marketingautomationmessage.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class MarketingautomationMessage extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Messages + */ + async getMessages( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetMessagesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetMessagesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/marketingautomation/message")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getMessages", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetMessagesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Message + * + * @remarks + * Create a message in any supported Marketingautomation software + */ + async addMessage( + xConnectionToken: string, + unifiedMessageInput: components.UnifiedMessageInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddMessageRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedMessageInput: unifiedMessageInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddMessageRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedMessageInput, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/message")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addMessage", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddMessageResponse$, { key: "object" }) + .json(201, operations.AddMessageResponse$, { key: "UnifiedMessageOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Message + * + * @remarks + * Retrieve a message from any connected Marketingautomation software + */ + async getMessage( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetMessageRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetMessageRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/marketingautomation/message/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getMessage", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetMessageResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Messages + */ + async addMessages( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddMessagesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddMessagesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/message/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addMessages", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddMessagesResponse$, { key: "object" }) + .json(201, operations.AddMessagesResponse$, { key: "UnifiedMessageOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/marketingautomationtemplate.ts b/src/sdk/marketingautomationtemplate.ts new file mode 100644 index 000000000..4332ace77 --- /dev/null +++ b/src/sdk/marketingautomationtemplate.ts @@ -0,0 +1,382 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class MarketingautomationTemplate extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Templates + */ + async getTemplates( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTemplatesRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTemplatesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/marketingautomation/template")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTemplates", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTemplatesResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Template + * + * @remarks + * Create a template in any supported Marketingautomation software + */ + async addTemplate( + xConnectionToken: string, + unifiedTemplateInput: components.UnifiedTemplateInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTemplateRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedTemplateInput: unifiedTemplateInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTemplateRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedTemplateInput, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/template")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTemplate", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTemplateResponse$, { key: "object" }) + .json(201, operations.AddTemplateResponse$, { key: "UnifiedTemplateOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Template + * + * @remarks + * Retrieve a template from any connected Marketingautomation software + */ + async getTemplate( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTemplateRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTemplateRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/marketingautomation/template/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTemplate", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTemplateResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Templates + */ + async addTemplates( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTemplatesRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTemplatesRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/template/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTemplates", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTemplatesResponse$, { key: "object" }) + .json(201, operations.AddTemplatesResponse$, { key: "UnifiedTemplateOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/marketingautomationuser.ts b/src/sdk/marketingautomationuser.ts new file mode 100644 index 000000000..786c6c27f --- /dev/null +++ b/src/sdk/marketingautomationuser.ts @@ -0,0 +1,384 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class MarketingautomationUser extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Users + */ + async getMarketingAutomationUsers( + xConnectionToken: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetMarketingAutomationUsersRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetMarketingAutomationUsersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/marketingautomation/user")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getMarketingAutomationUsers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetMarketingAutomationUsersResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a User + * + * @remarks + * Create a user in any supported Marketingautomation software + */ + async addMarketingAutomationUser( + xConnectionToken: string, + unifiedUserInput: components.UnifiedUserInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddMarketingAutomationUserRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedUserInput: unifiedUserInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddMarketingAutomationUserRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedUserInput, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/user")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addMarketingAutomationUser", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddMarketingAutomationUserResponse$, { key: "object" }) + .json(201, operations.AddMarketingAutomationUserResponse$, { key: "UnifiedUserOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a User + * + * @remarks + * Retrieve a user from any connected Marketingautomation software + */ + async getMarketingAutomationUser( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetMarketingAutomationUserRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetMarketingAutomationUserRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/marketingautomation/user/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getMarketingAutomationUser", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetMarketingAutomationUserResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Users + */ + async addMarketingAutomationUsers( + connectionToken: string, + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddMarketingAutomationUsersRequest = { + connectionToken: connectionToken, + remoteData: remoteData, + xConnectionToken: xConnectionToken, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddMarketingAutomationUsersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/marketingautomation/user/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "connection_token", + encodeSimple$("connection_token", payload$.connection_token, { + explode: false, + charEncoding: "none", + }) + ); + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addMarketingAutomationUsers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddMarketingAutomationUsersResponse$, { key: "object" }) + .json(201, operations.AddMarketingAutomationUsersResponse$, { + key: "UnifiedUserOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/mw.ts b/src/sdk/mw.ts new file mode 100644 index 000000000..43137e66c --- /dev/null +++ b/src/sdk/mw.ts @@ -0,0 +1,113 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeSimple as encodeSimple$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as operations from "../models/operations"; + +export class Mw extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Handle Third Party Webhook + */ + async handleThirdPartyWebhook( + endpointUuid: string, + options?: RequestOptions + ): Promise { + const input$: operations.HandleThirdPartyWebhookRequest = { + endpointUuid: endpointUuid, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.HandleThirdPartyWebhookRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + endpoint_uuid: encodeSimple$("endpoint_uuid", payload$.endpoint_uuid, { + explode: false, + charEncoding: "percent", + }), + }; + const path$ = this.templateURLComponent("/mw/{endpoint_uuid}")(pathParams$); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "handleThirdPartyWebhook", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.HandleThirdPartyWebhookResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/organisations.ts b/src/sdk/organisations.ts new file mode 100644 index 000000000..a3ecff46b --- /dev/null +++ b/src/sdk/organisations.ts @@ -0,0 +1,161 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeJSON as encodeJSON$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class Organisations extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Retrieve Organisations + */ + async getOrganisations(options?: RequestOptions): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const path$ = this.templateURLComponent("/organisations")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getOrganisations", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetOrganisationsResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create an Organisation + */ + async createOrganisation( + request: components.CreateOrganizationDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.CreateOrganizationDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/organisations/create")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "createOrganisation", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.CreateOrganisationResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/passthrough.ts b/src/sdk/passthrough.ts new file mode 100644 index 000000000..18ce32929 --- /dev/null +++ b/src/sdk/passthrough.ts @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeFormQuery as encodeFormQuery$, encodeJSON as encodeJSON$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class Passthrough extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Make a passthrough request + */ + async passthroughRequest( + integrationId: string, + linkedUserId: string, + vertical: string, + passThroughRequestDto: components.PassThroughRequestDto, + options?: RequestOptions + ): Promise { + const input$: operations.PassthroughRequestRequest = { + integrationId: integrationId, + linkedUserId: linkedUserId, + vertical: vertical, + passThroughRequestDto: passThroughRequestDto, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.PassthroughRequestRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.PassThroughRequestDto, { explode: true }); + + const path$ = this.templateURLComponent("/passthrough")(); + + const query$ = encodeFormQuery$({ + integrationId: payload$.integrationId, + linkedUserId: payload$.linkedUserId, + vertical: payload$.vertical, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "passthroughRequest", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json([200, 201], operations.PassthroughRequestResponse$, { + key: "PassThroughResponse", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/projectconnectors.ts b/src/sdk/projectconnectors.ts new file mode 100644 index 000000000..9fba5bce2 --- /dev/null +++ b/src/sdk/projectconnectors.ts @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeFormQuery as encodeFormQuery$, encodeJSON as encodeJSON$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class ProjectConnectors extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Update Connectors for a project + */ + async updateConnectorsToProject( + request: components.ProjectConnectorsDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.ProjectConnectorsDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/project-connectors")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "updateConnectorsToProject", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.UpdateConnectorsToProjectResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve connectors by Project Id + */ + async getConnectorsFromProject( + projectId: string, + getConnectorsFromProject: string, + options?: RequestOptions + ): Promise { + const input$: operations.GetConnectorsFromProjectRequest = { + projectId: projectId, + getConnectorsFromProject: getConnectorsFromProject, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetConnectorsFromProjectRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/project-connectors")(); + + const query$ = encodeFormQuery$({ + getConnectorsFromProject: payload$.getConnectorsFromProject, + projectId: payload$.projectId, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getConnectorsFromProject", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetConnectorsFromProjectResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/projects.ts b/src/sdk/projects.ts new file mode 100644 index 000000000..56d395762 --- /dev/null +++ b/src/sdk/projects.ts @@ -0,0 +1,161 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeJSON as encodeJSON$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class Projects extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Retrieve projects + */ + async getProjects(options?: RequestOptions): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const path$ = this.templateURLComponent("/projects")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getProjects", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetProjectsResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a project + */ + async createProject( + request: components.CreateProjectDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.CreateProjectDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/projects")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "createProject", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.CreateProjectResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts new file mode 100644 index 000000000..338c49e23 --- /dev/null +++ b/src/sdk/sdk.ts @@ -0,0 +1,782 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { HTTPClient } from "../lib/http"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as operations from "../models/operations"; +import { AccountingAccount } from "./accountingaccount"; +import { AccountingAddress } from "./accountingaddress"; +import { AccountingAttachment } from "./accountingattachment"; +import { AccountingBalancesheet } from "./accountingbalancesheet"; +import { AccountingCashflowstatement } from "./accountingcashflowstatement"; +import { AccountingCompanyinfo } from "./accountingcompanyinfo"; +import { AccountingContact } from "./accountingcontact"; +import { AccountingCreditnote } from "./accountingcreditnote"; +import { AccountingExpense } from "./accountingexpense"; +import { AccountingIncomestatement } from "./accountingincomestatement"; +import { AccountingInvoice } from "./accountinginvoice"; +import { AccountingItem } from "./accountingitem"; +import { AccountingJournalentry } from "./accountingjournalentry"; +import { AccountingPayment } from "./accountingpayment"; +import { AccountingPhonenumber } from "./accountingphonenumber"; +import { AccountingPurchaseorder } from "./accountingpurchaseorder"; +import { AccountingTaxrate } from "./accountingtaxrate"; +import { AccountingTrackingcategory } from "./accountingtrackingcategory"; +import { AccountingTransaction } from "./accountingtransaction"; +import { AccountingVendorcredit } from "./accountingvendorcredit"; +import { AtsActivity } from "./atsactivity"; +import { AtsApplication } from "./atsapplication"; +import { AtsAttachment } from "./atsattachment"; +import { AtsCandidate } from "./atscandidate"; +import { AtsDepartment } from "./atsdepartment"; +import { AtsEeocs } from "./atseeocs"; +import { AtsInterview } from "./atsinterview"; +import { AtsJob } from "./atsjob"; +import { AtsJobinterviewstage } from "./atsjobinterviewstage"; +import { AtsOffer } from "./atsoffer"; +import { AtsOffice } from "./atsoffice"; +import { AtsRejectreason } from "./atsrejectreason"; +import { AtsScorecard } from "./atsscorecard"; +import { AtsScreeningquestion } from "./atsscreeningquestion"; +import { AtsTag } from "./atstag"; +import { AtsUser } from "./atsuser"; +import { Auth } from "./auth"; +import { Connections } from "./connections"; +import { ConnectionsStrategies } from "./connectionsstrategies"; +import { CrmCompanies } from "./crmcompanies"; +import { CrmContacts } from "./crmcontacts"; +import { CrmDeals } from "./crmdeals"; +import { CrmEngagements } from "./crmengagements"; +import { CrmNotes } from "./crmnotes"; +import { CrmStages } from "./crmstages"; +import { CrmTasks } from "./crmtasks"; +import { CrmUsers } from "./crmusers"; +import { Events } from "./events"; +import { FieldMappings } from "./fieldmappings"; +import { FilestorageDrive } from "./filestoragedrive"; +import { FilestorageFile } from "./filestoragefile"; +import { FilestorageFolder } from "./filestoragefolder"; +import { FilestoragePermission } from "./filestoragepermission"; +import { FilestorageSharedlink } from "./filestoragesharedlink"; +import { HrisBankinfo } from "./hrisbankinfo"; +import { HrisBenefit } from "./hrisbenefit"; +import { HrisCompany } from "./hriscompany"; +import { HrisDependent } from "./hrisdependent"; +import { HrisEmployee } from "./hrisemployee"; +import { HrisEmployeepayrollrun } from "./hrisemployeepayrollrun"; +import { HrisEmployerbenefit } from "./hrisemployerbenefit"; +import { HrisEmployment } from "./hrisemployment"; +import { HrisGroup } from "./hrisgroup"; +import { HrisLocation } from "./hrislocation"; +import { HrisPaygroup } from "./hrispaygroup"; +import { HrisPayrollrun } from "./hrispayrollrun"; +import { HrisTimeoff } from "./hristimeoff"; +import { HrisTimeoffbalance } from "./hristimeoffbalance"; +import { LinkedUsers } from "./linkedusers"; +import { MagicLinks } from "./magiclinks"; +import { ManagedWebhooks } from "./managedwebhooks"; +import { MarketingautomationAction } from "./marketingautomationaction"; +import { MarketingautomationAutomation } from "./marketingautomationautomation"; +import { MarketingautomationCampaign } from "./marketingautomationcampaign"; +import { MarketingautomationContact } from "./marketingautomationcontact"; +import { MarketingautomationEmail } from "./marketingautomationemail"; +import { MarketingautomationEvent } from "./marketingautomationevent"; +import { MarketingautomationList } from "./marketingautomationlist"; +import { MarketingautomationMessage } from "./marketingautomationmessage"; +import { MarketingautomationTemplate } from "./marketingautomationtemplate"; +import { MarketingautomationUser } from "./marketingautomationuser"; +import { Mw } from "./mw"; +import { Organisations } from "./organisations"; +import { Passthrough } from "./passthrough"; +import { ProjectConnectors } from "./projectconnectors"; +import { Projects } from "./projects"; +import { Syncs } from "./syncs"; +import { TicketingAccounts } from "./ticketingaccounts"; +import { TicketingAttachments } from "./ticketingattachments"; +import { TicketingCollections } from "./ticketingcollections"; +import { TicketingComments } from "./ticketingcomments"; +import { TicketingContacts } from "./ticketingcontacts"; +import { TicketingTags } from "./ticketingtags"; +import { TicketingTeams } from "./ticketingteams"; +import { TicketingTickets } from "./ticketingtickets"; +import { TicketingUsers } from "./ticketingusers"; +import { Webhook } from "./webhook"; + +export class SDK extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + private _auth?: Auth; + get auth(): Auth { + return (this._auth ??= new Auth(this.options$)); + } + + private _connections?: Connections; + get connections(): Connections { + return (this._connections ??= new Connections(this.options$)); + } + + private _webhook?: Webhook; + get webhook(): Webhook { + return (this._webhook ??= new Webhook(this.options$)); + } + + private _managedWebhooks?: ManagedWebhooks; + get managedWebhooks(): ManagedWebhooks { + return (this._managedWebhooks ??= new ManagedWebhooks(this.options$)); + } + + private _mw?: Mw; + get mw(): Mw { + return (this._mw ??= new Mw(this.options$)); + } + + private _ticketingTickets?: TicketingTickets; + get ticketingTickets(): TicketingTickets { + return (this._ticketingTickets ??= new TicketingTickets(this.options$)); + } + + private _ticketingUsers?: TicketingUsers; + get ticketingUsers(): TicketingUsers { + return (this._ticketingUsers ??= new TicketingUsers(this.options$)); + } + + private _ticketingAccounts?: TicketingAccounts; + get ticketingAccounts(): TicketingAccounts { + return (this._ticketingAccounts ??= new TicketingAccounts(this.options$)); + } + + private _ticketingContacts?: TicketingContacts; + get ticketingContacts(): TicketingContacts { + return (this._ticketingContacts ??= new TicketingContacts(this.options$)); + } + + private _crmCompanies?: CrmCompanies; + get crmCompanies(): CrmCompanies { + return (this._crmCompanies ??= new CrmCompanies(this.options$)); + } + + private _crmContacts?: CrmContacts; + get crmContacts(): CrmContacts { + return (this._crmContacts ??= new CrmContacts(this.options$)); + } + + private _crmDeals?: CrmDeals; + get crmDeals(): CrmDeals { + return (this._crmDeals ??= new CrmDeals(this.options$)); + } + + private _crmEngagements?: CrmEngagements; + get crmEngagements(): CrmEngagements { + return (this._crmEngagements ??= new CrmEngagements(this.options$)); + } + + private _crmNotes?: CrmNotes; + get crmNotes(): CrmNotes { + return (this._crmNotes ??= new CrmNotes(this.options$)); + } + + private _crmStages?: CrmStages; + get crmStages(): CrmStages { + return (this._crmStages ??= new CrmStages(this.options$)); + } + + private _crmTasks?: CrmTasks; + get crmTasks(): CrmTasks { + return (this._crmTasks ??= new CrmTasks(this.options$)); + } + + private _crmUsers?: CrmUsers; + get crmUsers(): CrmUsers { + return (this._crmUsers ??= new CrmUsers(this.options$)); + } + + private _ticketingCollections?: TicketingCollections; + get ticketingCollections(): TicketingCollections { + return (this._ticketingCollections ??= new TicketingCollections(this.options$)); + } + + private _ticketingComments?: TicketingComments; + get ticketingComments(): TicketingComments { + return (this._ticketingComments ??= new TicketingComments(this.options$)); + } + + private _ticketingTags?: TicketingTags; + get ticketingTags(): TicketingTags { + return (this._ticketingTags ??= new TicketingTags(this.options$)); + } + + private _ticketingTeams?: TicketingTeams; + get ticketingTeams(): TicketingTeams { + return (this._ticketingTeams ??= new TicketingTeams(this.options$)); + } + + private _linkedUsers?: LinkedUsers; + get linkedUsers(): LinkedUsers { + return (this._linkedUsers ??= new LinkedUsers(this.options$)); + } + + private _organisations?: Organisations; + get organisations(): Organisations { + return (this._organisations ??= new Organisations(this.options$)); + } + + private _projects?: Projects; + get projects(): Projects { + return (this._projects ??= new Projects(this.options$)); + } + + private _fieldMappings?: FieldMappings; + get fieldMappings(): FieldMappings { + return (this._fieldMappings ??= new FieldMappings(this.options$)); + } + + private _events?: Events; + get events(): Events { + return (this._events ??= new Events(this.options$)); + } + + private _magicLinks?: MagicLinks; + get magicLinks(): MagicLinks { + return (this._magicLinks ??= new MagicLinks(this.options$)); + } + + private _passthrough?: Passthrough; + get passthrough(): Passthrough { + return (this._passthrough ??= new Passthrough(this.options$)); + } + + private _connectionsStrategies?: ConnectionsStrategies; + get connectionsStrategies(): ConnectionsStrategies { + return (this._connectionsStrategies ??= new ConnectionsStrategies(this.options$)); + } + + private _syncs?: Syncs; + get syncs(): Syncs { + return (this._syncs ??= new Syncs(this.options$)); + } + + private _projectConnectors?: ProjectConnectors; + get projectConnectors(): ProjectConnectors { + return (this._projectConnectors ??= new ProjectConnectors(this.options$)); + } + + private _hrisBankinfo?: HrisBankinfo; + get hrisBankinfo(): HrisBankinfo { + return (this._hrisBankinfo ??= new HrisBankinfo(this.options$)); + } + + private _hrisBenefit?: HrisBenefit; + get hrisBenefit(): HrisBenefit { + return (this._hrisBenefit ??= new HrisBenefit(this.options$)); + } + + private _hrisCompany?: HrisCompany; + get hrisCompany(): HrisCompany { + return (this._hrisCompany ??= new HrisCompany(this.options$)); + } + + private _hrisDependent?: HrisDependent; + get hrisDependent(): HrisDependent { + return (this._hrisDependent ??= new HrisDependent(this.options$)); + } + + private _hrisEmployeepayrollrun?: HrisEmployeepayrollrun; + get hrisEmployeepayrollrun(): HrisEmployeepayrollrun { + return (this._hrisEmployeepayrollrun ??= new HrisEmployeepayrollrun(this.options$)); + } + + private _hrisEmployee?: HrisEmployee; + get hrisEmployee(): HrisEmployee { + return (this._hrisEmployee ??= new HrisEmployee(this.options$)); + } + + private _hrisEmployerbenefit?: HrisEmployerbenefit; + get hrisEmployerbenefit(): HrisEmployerbenefit { + return (this._hrisEmployerbenefit ??= new HrisEmployerbenefit(this.options$)); + } + + private _hrisEmployment?: HrisEmployment; + get hrisEmployment(): HrisEmployment { + return (this._hrisEmployment ??= new HrisEmployment(this.options$)); + } + + private _hrisGroup?: HrisGroup; + get hrisGroup(): HrisGroup { + return (this._hrisGroup ??= new HrisGroup(this.options$)); + } + + private _hrisLocation?: HrisLocation; + get hrisLocation(): HrisLocation { + return (this._hrisLocation ??= new HrisLocation(this.options$)); + } + + private _hrisPaygroup?: HrisPaygroup; + get hrisPaygroup(): HrisPaygroup { + return (this._hrisPaygroup ??= new HrisPaygroup(this.options$)); + } + + private _hrisPayrollrun?: HrisPayrollrun; + get hrisPayrollrun(): HrisPayrollrun { + return (this._hrisPayrollrun ??= new HrisPayrollrun(this.options$)); + } + + private _hrisTimeoff?: HrisTimeoff; + get hrisTimeoff(): HrisTimeoff { + return (this._hrisTimeoff ??= new HrisTimeoff(this.options$)); + } + + private _hrisTimeoffbalance?: HrisTimeoffbalance; + get hrisTimeoffbalance(): HrisTimeoffbalance { + return (this._hrisTimeoffbalance ??= new HrisTimeoffbalance(this.options$)); + } + + private _marketingautomationAction?: MarketingautomationAction; + get marketingautomationAction(): MarketingautomationAction { + return (this._marketingautomationAction ??= new MarketingautomationAction(this.options$)); + } + + private _marketingautomationAutomation?: MarketingautomationAutomation; + get marketingautomationAutomation(): MarketingautomationAutomation { + return (this._marketingautomationAutomation ??= new MarketingautomationAutomation( + this.options$ + )); + } + + private _marketingautomationCampaign?: MarketingautomationCampaign; + get marketingautomationCampaign(): MarketingautomationCampaign { + return (this._marketingautomationCampaign ??= new MarketingautomationCampaign( + this.options$ + )); + } + + private _marketingautomationContact?: MarketingautomationContact; + get marketingautomationContact(): MarketingautomationContact { + return (this._marketingautomationContact ??= new MarketingautomationContact(this.options$)); + } + + private _marketingautomationEmail?: MarketingautomationEmail; + get marketingautomationEmail(): MarketingautomationEmail { + return (this._marketingautomationEmail ??= new MarketingautomationEmail(this.options$)); + } + + private _marketingautomationEvent?: MarketingautomationEvent; + get marketingautomationEvent(): MarketingautomationEvent { + return (this._marketingautomationEvent ??= new MarketingautomationEvent(this.options$)); + } + + private _marketingautomationList?: MarketingautomationList; + get marketingautomationList(): MarketingautomationList { + return (this._marketingautomationList ??= new MarketingautomationList(this.options$)); + } + + private _marketingautomationMessage?: MarketingautomationMessage; + get marketingautomationMessage(): MarketingautomationMessage { + return (this._marketingautomationMessage ??= new MarketingautomationMessage(this.options$)); + } + + private _marketingautomationTemplate?: MarketingautomationTemplate; + get marketingautomationTemplate(): MarketingautomationTemplate { + return (this._marketingautomationTemplate ??= new MarketingautomationTemplate( + this.options$ + )); + } + + private _marketingautomationUser?: MarketingautomationUser; + get marketingautomationUser(): MarketingautomationUser { + return (this._marketingautomationUser ??= new MarketingautomationUser(this.options$)); + } + + private _atsActivity?: AtsActivity; + get atsActivity(): AtsActivity { + return (this._atsActivity ??= new AtsActivity(this.options$)); + } + + private _atsApplication?: AtsApplication; + get atsApplication(): AtsApplication { + return (this._atsApplication ??= new AtsApplication(this.options$)); + } + + private _atsAttachment?: AtsAttachment; + get atsAttachment(): AtsAttachment { + return (this._atsAttachment ??= new AtsAttachment(this.options$)); + } + + private _atsCandidate?: AtsCandidate; + get atsCandidate(): AtsCandidate { + return (this._atsCandidate ??= new AtsCandidate(this.options$)); + } + + private _atsDepartment?: AtsDepartment; + get atsDepartment(): AtsDepartment { + return (this._atsDepartment ??= new AtsDepartment(this.options$)); + } + + private _atsInterview?: AtsInterview; + get atsInterview(): AtsInterview { + return (this._atsInterview ??= new AtsInterview(this.options$)); + } + + private _atsJobinterviewstage?: AtsJobinterviewstage; + get atsJobinterviewstage(): AtsJobinterviewstage { + return (this._atsJobinterviewstage ??= new AtsJobinterviewstage(this.options$)); + } + + private _atsJob?: AtsJob; + get atsJob(): AtsJob { + return (this._atsJob ??= new AtsJob(this.options$)); + } + + private _atsOffer?: AtsOffer; + get atsOffer(): AtsOffer { + return (this._atsOffer ??= new AtsOffer(this.options$)); + } + + private _atsOffice?: AtsOffice; + get atsOffice(): AtsOffice { + return (this._atsOffice ??= new AtsOffice(this.options$)); + } + + private _atsRejectreason?: AtsRejectreason; + get atsRejectreason(): AtsRejectreason { + return (this._atsRejectreason ??= new AtsRejectreason(this.options$)); + } + + private _atsScorecard?: AtsScorecard; + get atsScorecard(): AtsScorecard { + return (this._atsScorecard ??= new AtsScorecard(this.options$)); + } + + private _atsScreeningquestion?: AtsScreeningquestion; + get atsScreeningquestion(): AtsScreeningquestion { + return (this._atsScreeningquestion ??= new AtsScreeningquestion(this.options$)); + } + + private _atsTag?: AtsTag; + get atsTag(): AtsTag { + return (this._atsTag ??= new AtsTag(this.options$)); + } + + private _atsUser?: AtsUser; + get atsUser(): AtsUser { + return (this._atsUser ??= new AtsUser(this.options$)); + } + + private _atsEeocs?: AtsEeocs; + get atsEeocs(): AtsEeocs { + return (this._atsEeocs ??= new AtsEeocs(this.options$)); + } + + private _accountingAccount?: AccountingAccount; + get accountingAccount(): AccountingAccount { + return (this._accountingAccount ??= new AccountingAccount(this.options$)); + } + + private _accountingAddress?: AccountingAddress; + get accountingAddress(): AccountingAddress { + return (this._accountingAddress ??= new AccountingAddress(this.options$)); + } + + private _accountingAttachment?: AccountingAttachment; + get accountingAttachment(): AccountingAttachment { + return (this._accountingAttachment ??= new AccountingAttachment(this.options$)); + } + + private _accountingBalancesheet?: AccountingBalancesheet; + get accountingBalancesheet(): AccountingBalancesheet { + return (this._accountingBalancesheet ??= new AccountingBalancesheet(this.options$)); + } + + private _accountingCashflowstatement?: AccountingCashflowstatement; + get accountingCashflowstatement(): AccountingCashflowstatement { + return (this._accountingCashflowstatement ??= new AccountingCashflowstatement( + this.options$ + )); + } + + private _accountingCompanyinfo?: AccountingCompanyinfo; + get accountingCompanyinfo(): AccountingCompanyinfo { + return (this._accountingCompanyinfo ??= new AccountingCompanyinfo(this.options$)); + } + + private _accountingContact?: AccountingContact; + get accountingContact(): AccountingContact { + return (this._accountingContact ??= new AccountingContact(this.options$)); + } + + private _accountingCreditnote?: AccountingCreditnote; + get accountingCreditnote(): AccountingCreditnote { + return (this._accountingCreditnote ??= new AccountingCreditnote(this.options$)); + } + + private _accountingExpense?: AccountingExpense; + get accountingExpense(): AccountingExpense { + return (this._accountingExpense ??= new AccountingExpense(this.options$)); + } + + private _accountingIncomestatement?: AccountingIncomestatement; + get accountingIncomestatement(): AccountingIncomestatement { + return (this._accountingIncomestatement ??= new AccountingIncomestatement(this.options$)); + } + + private _accountingInvoice?: AccountingInvoice; + get accountingInvoice(): AccountingInvoice { + return (this._accountingInvoice ??= new AccountingInvoice(this.options$)); + } + + private _accountingItem?: AccountingItem; + get accountingItem(): AccountingItem { + return (this._accountingItem ??= new AccountingItem(this.options$)); + } + + private _accountingJournalentry?: AccountingJournalentry; + get accountingJournalentry(): AccountingJournalentry { + return (this._accountingJournalentry ??= new AccountingJournalentry(this.options$)); + } + + private _accountingPayment?: AccountingPayment; + get accountingPayment(): AccountingPayment { + return (this._accountingPayment ??= new AccountingPayment(this.options$)); + } + + private _accountingPhonenumber?: AccountingPhonenumber; + get accountingPhonenumber(): AccountingPhonenumber { + return (this._accountingPhonenumber ??= new AccountingPhonenumber(this.options$)); + } + + private _accountingPurchaseorder?: AccountingPurchaseorder; + get accountingPurchaseorder(): AccountingPurchaseorder { + return (this._accountingPurchaseorder ??= new AccountingPurchaseorder(this.options$)); + } + + private _accountingTaxrate?: AccountingTaxrate; + get accountingTaxrate(): AccountingTaxrate { + return (this._accountingTaxrate ??= new AccountingTaxrate(this.options$)); + } + + private _accountingTrackingcategory?: AccountingTrackingcategory; + get accountingTrackingcategory(): AccountingTrackingcategory { + return (this._accountingTrackingcategory ??= new AccountingTrackingcategory(this.options$)); + } + + private _accountingTransaction?: AccountingTransaction; + get accountingTransaction(): AccountingTransaction { + return (this._accountingTransaction ??= new AccountingTransaction(this.options$)); + } + + private _accountingVendorcredit?: AccountingVendorcredit; + get accountingVendorcredit(): AccountingVendorcredit { + return (this._accountingVendorcredit ??= new AccountingVendorcredit(this.options$)); + } + + private _filestorageDrive?: FilestorageDrive; + get filestorageDrive(): FilestorageDrive { + return (this._filestorageDrive ??= new FilestorageDrive(this.options$)); + } + + private _filestorageFile?: FilestorageFile; + get filestorageFile(): FilestorageFile { + return (this._filestorageFile ??= new FilestorageFile(this.options$)); + } + + private _filestorageFolder?: FilestorageFolder; + get filestorageFolder(): FilestorageFolder { + return (this._filestorageFolder ??= new FilestorageFolder(this.options$)); + } + + private _filestorageSharedlink?: FilestorageSharedlink; + get filestorageSharedlink(): FilestorageSharedlink { + return (this._filestorageSharedlink ??= new FilestorageSharedlink(this.options$)); + } + + private _filestoragePermission?: FilestoragePermission; + get filestoragePermission(): FilestoragePermission { + return (this._filestoragePermission ??= new FilestoragePermission(this.options$)); + } + + private _ticketingAttachments?: TicketingAttachments; + get ticketingAttachments(): TicketingAttachments { + return (this._ticketingAttachments ??= new TicketingAttachments(this.options$)); + } + + async getHello(options?: RequestOptions): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const path$ = this.templateURLComponent("/")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getHello", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetHelloResponse$, { key: "string" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + async getHealth(options?: RequestOptions): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const path$ = this.templateURLComponent("/health")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getHealth", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetHealthResponse$, { key: "number" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + async getHelloProtected( + options?: RequestOptions + ): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const path$ = this.templateURLComponent("/protected")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getHelloProtected", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetHelloProtectedResponse$, { key: "string" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/syncs.ts b/src/sdk/syncs.ts new file mode 100644 index 000000000..3f6fa7825 --- /dev/null +++ b/src/sdk/syncs.ts @@ -0,0 +1,184 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeSimple as encodeSimple$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as operations from "../models/operations"; + +export class Syncs extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Retrieve sync status of a certain vertical + */ + async getSyncStatus( + vertical: string, + options?: RequestOptions + ): Promise { + const input$: operations.GetSyncStatusRequest = { + vertical: vertical, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetSyncStatusRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + vertical: encodeSimple$("vertical", payload$.vertical, { + explode: false, + charEncoding: "percent", + }), + }; + const path$ = this.templateURLComponent("/syncs/status/{vertical}")(pathParams$); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getSyncStatus", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetSyncStatusResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Resync common objects across a vertical + */ + async resync(vertical: string, options?: RequestOptions): Promise { + const input$: operations.ResyncRequest = { + vertical: vertical, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.ResyncRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + vertical: encodeSimple$("vertical", payload$.vertical, { + explode: false, + charEncoding: "percent", + }), + }; + const path$ = this.templateURLComponent("/syncs/resyncs/{vertical}")(pathParams$); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "resync", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.ResyncResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/ticketingaccounts.ts b/src/sdk/ticketingaccounts.ts new file mode 100644 index 000000000..c78826bd0 --- /dev/null +++ b/src/sdk/ticketingaccounts.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as operations from "../models/operations"; + +export class TicketingAccounts extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Accounts + */ + async getTicketingAccounts( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTicketingAccountsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTicketingAccountsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ticketing/accounts")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTicketingAccounts", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTicketingAccountsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve an Account + * + * @remarks + * Retrieve an account from any connected Ticketing software + */ + async getTicketingAccount( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTicketingAccountRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTicketingAccountRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ticketing/accounts/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTicketingAccount", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTicketingAccountResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/ticketingattachments.ts b/src/sdk/ticketingattachments.ts new file mode 100644 index 000000000..c4f6a8dc1 --- /dev/null +++ b/src/sdk/ticketingattachments.ts @@ -0,0 +1,463 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class TicketingAttachments extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Attachments + */ + async getTicketingAttachments( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTicketingAttachmentsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTicketingAttachmentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ticketing/attachments")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTicketingAttachments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTicketingAttachmentsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Attachment + * + * @remarks + * Create a attachment in any supported Ticketing software + */ + async addTicketingAttachment( + xConnectionToken: string, + unifiedAttachmentInput: components.UnifiedAttachmentInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTicketingAttachmentRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedAttachmentInput: unifiedAttachmentInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTicketingAttachmentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedAttachmentInput, { explode: true }); + + const path$ = this.templateURLComponent("/ticketing/attachments")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTicketingAttachment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTicketingAttachmentResponse$, { key: "object" }) + .json(201, operations.AddTicketingAttachmentResponse$, { + key: "UnifiedAttachmentOutput", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Attachment + * + * @remarks + * Retrieve a attachment from any connected Ticketing software + */ + async getTicketingAttachment( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTicketingAttachmentRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTicketingAttachmentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ticketing/attachments/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTicketingAttachment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTicketingAttachmentResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Download a Attachment + * + * @remarks + * Download a attachment from any connected Ticketing software + */ + async downloadAttachment( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.DownloadAttachmentRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.DownloadAttachmentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ticketing/attachments/{id}/download")( + pathParams$ + ); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "downloadAttachment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.DownloadAttachmentResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Attachments + */ + async addTicketingAttachments( + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTicketingAttachmentsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTicketingAttachmentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ticketing/attachments/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTicketingAttachments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTicketingAttachmentsResponse$, { key: "object" }) + .json(201, operations.AddTicketingAttachmentsResponse$, { + key: "UnifiedAttachmentOutputs", + }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/ticketingcollections.ts b/src/sdk/ticketingcollections.ts new file mode 100644 index 000000000..6fee0eed0 --- /dev/null +++ b/src/sdk/ticketingcollections.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as operations from "../models/operations"; + +export class TicketingCollections extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Collections + */ + async getCollections( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCollectionsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCollectionsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ticketing/collections")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCollections", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCollectionsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Collection + * + * @remarks + * Retrieve a collection from any connected Ticketing software + */ + async getCollection( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCollectionRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCollectionRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ticketing/collections/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getCollection", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCollectionResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/ticketingcomments.ts b/src/sdk/ticketingcomments.ts new file mode 100644 index 000000000..57f688845 --- /dev/null +++ b/src/sdk/ticketingcomments.ts @@ -0,0 +1,379 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class TicketingComments extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Comments + */ + async getComments( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCommentsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCommentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ticketing/comments")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getComments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCommentsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Comment + * + * @remarks + * Create a comment in any supported Ticketing software + */ + async addComment( + xConnectionToken: string, + unifiedCommentInput: components.UnifiedCommentInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCommentRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedCommentInput: unifiedCommentInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCommentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedCommentInput, { explode: true }); + + const path$ = this.templateURLComponent("/ticketing/comments")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addComment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCommentResponse$, { key: "object" }) + .json(201, operations.AddCommentResponse$, { key: "UnifiedCommentOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Comment + * + * @remarks + * Retrieve a comment from any connected Ticketing software + */ + async getComment( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetCommentRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetCommentRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ticketing/comments/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getComment", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetCommentResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Comments + */ + async addComments( + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddCommentsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddCommentsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ticketing/comments/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addComments", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddCommentsResponse$, { key: "object" }) + .json(201, operations.AddCommentsResponse$, { key: "UnifiedCommentOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/ticketingcontacts.ts b/src/sdk/ticketingcontacts.ts new file mode 100644 index 000000000..c515c230c --- /dev/null +++ b/src/sdk/ticketingcontacts.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as operations from "../models/operations"; + +export class TicketingContacts extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List all Contacts + */ + async getTicketingContacts( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTicketingContactsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTicketingContactsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ticketing/contacts")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTicketingContacts", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTicketingContactsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Contact + * + * @remarks + * Retrieve a contact from any connected Ticketing software + */ + async getTicketingContact( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTicketingContactRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTicketingContactRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ticketing/contacts/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTicketingContact", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTicketingContactResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/ticketingtags.ts b/src/sdk/ticketingtags.ts new file mode 100644 index 000000000..3cba76ace --- /dev/null +++ b/src/sdk/ticketingtags.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as operations from "../models/operations"; + +export class TicketingTags extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Tags + */ + async getTicketingTags( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTicketingTagsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTicketingTagsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ticketing/tags")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTicketingTags", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTicketingTagsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Tag + * + * @remarks + * Retrieve a tag from any connected Ticketing software + */ + async getTicketingTag( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTicketingTagRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTicketingTagRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ticketing/tags/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTicketingTag", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTicketingTagResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/ticketingteams.ts b/src/sdk/ticketingteams.ts new file mode 100644 index 000000000..57b0fc3ff --- /dev/null +++ b/src/sdk/ticketingteams.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as operations from "../models/operations"; + +export class TicketingTeams extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Teams + */ + async getTeams( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTeamsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTeamsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ticketing/teams")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTeams", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTeamsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Team + * + * @remarks + * Retrieve a team from any connected Ticketing software + */ + async getTeam( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTeamRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTeamRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ticketing/teams/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTeam", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTeamResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/ticketingtickets.ts b/src/sdk/ticketingtickets.ts new file mode 100644 index 000000000..4a2a76b9d --- /dev/null +++ b/src/sdk/ticketingtickets.ts @@ -0,0 +1,449 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class TicketingTickets extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Tickets + */ + async getTickets( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTicketsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTicketsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ticketing/tickets")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTickets", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTicketsResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Create a Ticket + * + * @remarks + * Create a ticket in any supported Ticketing software + */ + async addTicket( + xConnectionToken: string, + unifiedTicketInput: components.UnifiedTicketInput, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTicketRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + unifiedTicketInput: unifiedTicketInput, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTicketRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.UnifiedTicketInput, { explode: true }); + + const path$ = this.templateURLComponent("/ticketing/tickets")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTicket", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTicketResponse$, { key: "object" }) + .json(201, operations.AddTicketResponse$, { key: "UnifiedTicketOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Update a Ticket + */ + async updateTicket( + id: string, + options?: RequestOptions + ): Promise { + const input$: operations.UpdateTicketRequest = { + id: id, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.UpdateTicketRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ticketing/tickets")(); + + const query$ = encodeFormQuery$({ + id: payload$.id, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "updateTicket", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "PATCH", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.UpdateTicketResponse$, { key: "UnifiedTicketOutput" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a Ticket + * + * @remarks + * Retrieve a ticket from any connected Ticketing software + */ + async getTicket( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTicketRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTicketRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ticketing/tickets/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTicket", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTicketResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add a batch of Tickets + */ + async addTickets( + xConnectionToken: string, + requestBody: Array, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.AddTicketsRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + requestBody: requestBody, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.AddTicketsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$.RequestBody, { explode: true }); + + const path$ = this.templateURLComponent("/ticketing/tickets/batch")(); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "addTickets", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.AddTicketsResponse$, { key: "object" }) + .json(201, operations.AddTicketsResponse$, { key: "UnifiedTicketOutputs" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/ticketingusers.ts b/src/sdk/ticketingusers.ts new file mode 100644 index 000000000..cdccd812a --- /dev/null +++ b/src/sdk/ticketingusers.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as operations from "../models/operations"; + +export class TicketingUsers extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * List a batch of Users + */ + async getTicketingUsers( + xConnectionToken: string, + remoteData?: boolean | undefined, + pageSize?: number | undefined, + cursor?: string | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTicketingUsersRequest = { + xConnectionToken: xConnectionToken, + remoteData: remoteData, + pageSize: pageSize, + cursor: cursor, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTicketingUsersRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/ticketing/users")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + pageSize: payload$.pageSize, + remote_data: payload$.remote_data, + }); + + headers$.set( + "x-connection-token", + encodeSimple$("x-connection-token", payload$["x-connection-token"], { + explode: false, + charEncoding: "none", + }) + ); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTicketingUsers", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTicketingUsersResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Retrieve a User + * + * @remarks + * Retrieve a user from any connected Ticketing software + */ + async getTicketingUser( + id: string, + remoteData?: boolean | undefined, + options?: RequestOptions + ): Promise { + const input$: operations.GetTicketingUserRequest = { + id: id, + remoteData: remoteData, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.GetTicketingUserRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/ticketing/users/{id}")(pathParams$); + + const query$ = encodeFormQuery$({ + remote_data: payload$.remote_data, + }); + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getTicketingUser", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .json(200, operations.GetTicketingUserResponse$, { key: "object" }) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/sdk/webhook.ts b/src/sdk/webhook.ts new file mode 100644 index 000000000..a73429eee --- /dev/null +++ b/src/sdk/webhook.ts @@ -0,0 +1,372 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config"; +import { encodeJSON as encodeJSON$, encodeSimple as encodeSimple$ } from "../lib/encodings"; +import { HTTPClient } from "../lib/http"; +import * as schemas$ from "../lib/schemas"; +import { ClientSDK, RequestOptions } from "../lib/sdks"; +import * as components from "../models/components"; +import * as operations from "../models/operations"; + +export class Webhook extends ClientSDK { + private readonly options$: SDKOptions & { hooks?: SDKHooks }; + + constructor(options: SDKOptions = {}) { + const opt = options as unknown; + let hooks: SDKHooks; + if ( + typeof opt === "object" && + opt != null && + "hooks" in opt && + opt.hooks instanceof SDKHooks + ) { + hooks = opt.hooks; + } else { + hooks = new SDKHooks(); + } + + super({ + client: options.httpClient || new HTTPClient(), + baseURL: serverURLFromOptions(options), + hooks, + }); + + this.options$ = { ...options, hooks }; + void this.options$; + } + + /** + * Retrieve webhooks metadata + */ + async getWebhooksMetadata( + options?: RequestOptions + ): Promise { + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const path$ = this.templateURLComponent("/webhook")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "getWebhooksMetadata", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "GET", + path: path$, + headers: headers$, + query: query$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.GetWebhooksMetadataResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Add webhook metadata + */ + async createWebhookMetadata( + request: components.WebhookDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.WebhookDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/webhook")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "createWebhookMetadata", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.CreateWebhookMetadataResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Delete Webhook + */ + async deleteWebhook( + id: string, + options?: RequestOptions + ): Promise { + const input$: operations.DeleteWebhookRequest = { + id: id, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.DeleteWebhookRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/webhook/{id}")(pathParams$); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "deleteWebhook", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "DELETE", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void([200, 201], operations.DeleteWebhookResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Update webhook status + */ + async updateWebhookStatus( + id: string, + options?: RequestOptions + ): Promise { + const input$: operations.UpdateWebhookStatusRequest = { + id: id, + }; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.UpdateWebhookStatusRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const pathParams$ = { + id: encodeSimple$("id", payload$.id, { explode: false, charEncoding: "percent" }), + }; + const path$ = this.templateURLComponent("/webhook/{id}")(pathParams$); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "updateWebhookStatus", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "PUT", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(200, operations.UpdateWebhookStatusResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } + + /** + * Verify payload sgnature of the webhook + */ + async verifyEvent( + request: components.SignatureVerificationDto, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Content-Type", "application/json"); + headers$.set("Accept", "*/*"); + + const payload$ = schemas$.parse( + input$, + (value$) => components.SignatureVerificationDto$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = encodeJSON$("body", payload$, { explode: true }); + + const path$ = this.templateURLComponent("/webhook/verifyEvent")(); + + const query$ = ""; + + let security$; + if (typeof this.options$.jwt === "function") { + security$ = { jwt: await this.options$.jwt() }; + } else if (this.options$.jwt) { + security$ = { jwt: this.options$.jwt }; + } else { + security$ = {}; + } + const context = { + operationID: "verifyEvent", + oAuth2Scopes: [], + securitySource: this.options$.jwt, + }; + const securitySettings$ = this.resolveGlobalSecurity(security$); + + const doOptions = { context, errorCodes: ["4XX", "5XX"] }; + const request$ = this.createRequest$( + context, + { + security: securitySettings$, + method: "POST", + path: path$, + headers: headers$, + query: query$, + body: body$, + }, + options + ); + + const response = await this.do$(request$, doOptions); + + const responseFields$ = { + HttpMeta: { Response: response, Request: request$ }, + }; + + const [result$] = await this.matcher() + .void(201, operations.VerifyEventResponse$) + .fail(["4XX", "5XX"]) + .match(response, request$, { extraFields: responseFields$ }); + + return result$; + } +} diff --git a/src/types/blobs.ts b/src/types/blobs.ts new file mode 100644 index 000000000..cbb8a57f7 --- /dev/null +++ b/src/types/blobs.ts @@ -0,0 +1,31 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export const blobLikeSchema: z.ZodType = + z.custom(isBlobLike, { + message: "expected a Blob, File or Blob-like object", + fatal: true, + }); + +export function isBlobLike(val: unknown): val is Blob { + if (val instanceof Blob) { + return true; + } + + if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) { + return false; + } + + const name = val[Symbol.toStringTag]; + if (typeof name !== "string") { + return false; + } + if (name !== "Blob" && name !== "File") { + return false; + } + + return "stream" in val && typeof val.stream === "function"; +} diff --git a/src/types/enums.ts b/src/types/enums.ts new file mode 100644 index 000000000..4de0142be --- /dev/null +++ b/src/types/enums.ts @@ -0,0 +1,16 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +declare const __brand: unique symbol; +export type Unrecognized = T & { [__brand]: "unrecognized" }; + +export function catchUnrecognizedEnum(value: T): Unrecognized { + return value as Unrecognized; +} + +type Prettify = { [K in keyof T]: T[K] } & {}; +export type ClosedEnum = T[keyof T]; +export type OpenEnum = + | Prettify + | Unrecognized; diff --git a/src/types/index.ts b/src/types/index.ts new file mode 100644 index 000000000..42fcfd24a --- /dev/null +++ b/src/types/index.ts @@ -0,0 +1,10 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export { RFCDate } from "./rfcdate"; +export { blobLikeSchema, isBlobLike } from "./blobs"; +export type { Paginator, PageIterator } from "./operations"; +export { createPageIterator } from "./operations"; +export { catchUnrecognizedEnum } from "./enums"; +export type { OpenEnum, ClosedEnum, Unrecognized } from "./enums"; diff --git a/src/types/operations.ts b/src/types/operations.ts new file mode 100644 index 000000000..7f8335147 --- /dev/null +++ b/src/types/operations.ts @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export type Paginator = () => Promise> | null; + +export type PageIterator = Result & { + next: Paginator; + [Symbol.asyncIterator]: () => AsyncIterableIterator; +}; + +export function createPageIterator( + page: Result & { next: Paginator }, +): { [Symbol.asyncIterator]: () => AsyncIterableIterator } { + return { + [Symbol.asyncIterator]: async function* paginator() { + yield page; + + let p: typeof page | null = page; + for (p = await p.next(); p != null; p = await p.next()) { + yield p; + } + }, + }; +} diff --git a/src/types/rfcdate.ts b/src/types/rfcdate.ts new file mode 100644 index 000000000..e80b69320 --- /dev/null +++ b/src/types/rfcdate.ts @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +const dateRE = /^\d{4}-\d{2}-\d{2}$/; + +export class RFCDate { + private serialized: string; + + /** + * Creates a new RFCDate instance using today's date. + */ + static today(): RFCDate { + return new RFCDate(new Date()); + } + + /** + * Creates a new RFCDate instance using the provided input. + * If a string is used then in must be in the format YYYY-MM-DD. + * + * @param date A Date object or a date string in YYYY-MM-DD format + * @example + * new RFCDate("2022-01-01") + * @example + * new RFCDate(new Date()) + */ + constructor(date: Date | string) { + if (typeof date === "string" && !dateRE.test(date)) { + throw new RangeError( + "RFCDate: date strings must be in the format YYYY-MM-DD: " + date, + ); + } + + const value = new Date(date); + if (isNaN(+value)) { + throw new RangeError("RFCDate: invalid date provided: " + date); + } + + this.serialized = value.toISOString().slice(0, "YYYY-MM-DD".length); + if (!dateRE.test(this.serialized)) { + throw new TypeError( + `RFCDate: failed to build valid date with given value: ${date} serialized to ${this.serialized}`, + ); + } + } + + toJSON(): string { + return this.toString(); + } + + toString(): string { + return this.serialized; + } +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 000000000..7a86d2d98 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,40 @@ +{ + "compilerOptions": { + "incremental": true, + "tsBuildInfoFile": ".tsbuildinfo", + "target": "ES2018", + "lib": ["ES2022", "DOM", "DOM.Iterable"], + + "module": "Node16", + "moduleResolution": "Node16", + + "allowJs": true, + + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "outDir": ".", + + + // https://github.com/tsconfig/bases/blob/a1bf7c0fa2e094b068ca3e1448ca2ece4157977e/bases/strictest.json + "strict": true, + "allowUnusedLabels": false, + "allowUnreachableCode": false, + "exactOptionalPropertyTypes": true, + "useUnknownInCatchVariables": true, + "noFallthroughCasesInSwitch": true, + "noImplicitOverride": true, + "noImplicitReturns": true, + "noPropertyAccessFromIndexSignature": true, + "noUncheckedIndexedAccess": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "isolatedModules": true, + "checkJs": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true + }, + "include": ["src"], + "exclude": ["node_modules"] +}