From 4ee93029dca1a7cc6d39542c3c3b572648097a0c Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 25 Jun 2024 00:19:50 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.315.2 --- .eslintrc.cjs | 28 + .gitattributes | 2 + .gitignore | 12 +- .npmignore | 7 + .speakeasy/gen.lock | 1345 ++ .speakeasy/gen.yaml | 40 + .speakeasy/workflow.lock | 29 + .speakeasy/workflow.yaml | 1 + README.md | 197 + RELEASES.md | 9 + RUNTIMES.md | 22 + USAGE.md | 19 + docs/models/components/apikeydto.md | 10 + docs/models/components/bodydatatype.md | 7 + .../connectionstrategycredentials.md | 9 + .../components/createbatchlinkeduserdto.md | 10 + .../components/createconnectionstrategydto.md | 10 + docs/models/components/createlinkeduserdto.md | 10 + docs/models/components/createmagiclinkdto.md | 11 + .../components/createorganizationdto.md | 9 + docs/models/components/createprojectdto.md | 10 + docs/models/components/createuserdto.md | 13 + .../models/components/customfieldcreatedto.md | 14 + docs/models/components/data.md | 7 + .../models/components/definetargetfielddto.md | 11 + docs/models/components/deletecsdto.md | 8 + docs/models/components/fieldmappings.md | 7 + docs/models/components/headers.md | 7 + docs/models/components/logindto.md | 10 + docs/models/components/managedwebhooksdto.md | 11 + .../components/mapfieldtoproviderdto.md | 11 + docs/models/components/method.md | 12 + .../components/passthroughrequestdto.md | 11 + docs/models/components/passthroughresponse.md | 10 + .../components/passthroughresponsedata.md | 7 + .../models/components/projectconnectorsdto.md | 9 + docs/models/components/refreshdto.md | 8 + docs/models/components/remotedata.md | 7 + .../components/remotethirdpartycreationdto.md | 9 + docs/models/components/security.md | 8 + .../components/signatureverificationdto.md | 9 + docs/models/components/togglestrategydto.md | 8 + docs/models/components/unifiedaccountinput.md | 7 + .../models/components/unifiedaccountoutput.md | 7 + docs/models/components/unifiedactioninput.md | 7 + docs/models/components/unifiedactionoutput.md | 7 + .../models/components/unifiedactivityinput.md | 7 + .../components/unifiedactivityoutput.md | 7 + docs/models/components/unifiedaddressinput.md | 7 + .../models/components/unifiedaddressoutput.md | 7 + .../components/unifiedapplicationinput.md | 7 + .../components/unifiedapplicationoutput.md | 7 + .../components/unifiedattachmentinput.md | 11 + .../unifiedattachmentinputfieldmappings.md | 7 + .../components/unifiedattachmentoutput.md | 14 + .../unifiedattachmentoutputfieldmappings.md | 7 + .../unifiedattachmentoutputremotedata.md | 7 + .../components/unifiedautomationinput.md | 7 + .../components/unifiedautomationoutput.md | 7 + .../components/unifiedbalancesheetinput.md | 7 + .../components/unifiedbalancesheetoutput.md | 7 + .../models/components/unifiedbankinfoinput.md | 7 + .../components/unifiedbankinfooutput.md | 7 + docs/models/components/unifiedbenefitinput.md | 7 + .../models/components/unifiedbenefitoutput.md | 7 + .../models/components/unifiedcampaigninput.md | 7 + .../components/unifiedcampaignoutput.md | 7 + .../components/unifiedcandidateinput.md | 7 + .../components/unifiedcandidateoutput.md | 7 + .../unifiedcashflowstatementinput.md | 7 + .../unifiedcashflowstatementoutput.md | 7 + .../components/unifiedcollectionoutput.md | 13 + .../unifiedcollectionoutputremotedata.md | 7 + docs/models/components/unifiedcommentinput.md | 15 + .../models/components/unifiedcommentoutput.md | 18 + .../unifiedcommentoutputremotedata.md | 7 + .../components/unifiedcompanyinfoinput.md | 7 + .../components/unifiedcompanyinfooutput.md | 7 + docs/models/components/unifiedcompanyinput.md | 7 + .../models/components/unifiedcompanyoutput.md | 7 + docs/models/components/unifiedcontactinput.md | 7 + .../models/components/unifiedcontactoutput.md | 7 + .../components/unifiedcreditnoteinput.md | 7 + .../components/unifiedcreditnoteoutput.md | 7 + docs/models/components/unifieddealinput.md | 14 + .../unifieddealinputfieldmappings.md | 7 + docs/models/components/unifieddealoutput.md | 17 + .../unifieddealoutputfieldmappings.md | 7 + .../components/unifieddealoutputremotedata.md | 7 + .../components/unifieddepartmentinput.md | 7 + .../components/unifieddepartmentoutput.md | 7 + .../components/unifieddependentinput.md | 7 + .../components/unifieddependentoutput.md | 7 + docs/models/components/unifieddriveinput.md | 7 + docs/models/components/unifieddriveoutput.md | 7 + docs/models/components/unifiedeeocsinput.md | 7 + docs/models/components/unifiedeeocsoutput.md | 7 + docs/models/components/unifiedemailinput.md | 7 + docs/models/components/unifiedemailoutput.md | 7 + .../models/components/unifiedemployeeinput.md | 7 + .../components/unifiedemployeeoutput.md | 7 + .../unifiedemployeepayrollruninput.md | 7 + .../unifiedemployeepayrollrunoutput.md | 7 + .../components/unifiedemployerbenefitinput.md | 7 + .../unifiedemployerbenefitoutput.md | 7 + .../components/unifiedemploymentinput.md | 7 + .../components/unifiedemploymentoutput.md | 7 + .../components/unifiedengagementinput.md | 17 + .../unifiedengagementinputfieldmappings.md | 7 + .../components/unifiedengagementoutput.md | 20 + .../unifiedengagementoutputfieldmappings.md | 7 + .../unifiedengagementoutputremotedata.md | 7 + docs/models/components/unifiedeventinput.md | 7 + docs/models/components/unifiedeventoutput.md | 7 + docs/models/components/unifiedexpenseinput.md | 7 + .../models/components/unifiedexpenseoutput.md | 7 + docs/models/components/unifiedfileinput.md | 7 + docs/models/components/unifiedfileoutput.md | 7 + docs/models/components/unifiedfolderinput.md | 7 + docs/models/components/unifiedfolderoutput.md | 7 + docs/models/components/unifiedgroupinput.md | 7 + docs/models/components/unifiedgroupoutput.md | 7 + .../components/unifiedincomestatementinput.md | 7 + .../unifiedincomestatementoutput.md | 7 + .../components/unifiedinterviewinput.md | 7 + .../components/unifiedinterviewoutput.md | 7 + docs/models/components/unifiedinvoiceinput.md | 7 + .../models/components/unifiedinvoiceoutput.md | 7 + docs/models/components/unifiediteminput.md | 7 + docs/models/components/unifieditemoutput.md | 7 + docs/models/components/unifiedjobinput.md | 7 + .../unifiedjobinterviewstageinput.md | 7 + .../unifiedjobinterviewstageoutput.md | 7 + docs/models/components/unifiedjoboutput.md | 7 + .../components/unifiedjournalentryinput.md | 7 + .../components/unifiedjournalentryoutput.md | 7 + docs/models/components/unifiedlistinput.md | 7 + docs/models/components/unifiedlistoutput.md | 7 + .../models/components/unifiedlocationinput.md | 7 + .../components/unifiedlocationoutput.md | 7 + docs/models/components/unifiedmessageinput.md | 7 + .../models/components/unifiedmessageoutput.md | 7 + docs/models/components/unifiednoteinput.md | 13 + .../unifiednoteinputfieldmappings.md | 7 + docs/models/components/unifiednoteoutput.md | 16 + .../unifiednoteoutputfieldmappings.md | 7 + .../components/unifiednoteoutputremotedata.md | 7 + docs/models/components/unifiedofferinput.md | 7 + docs/models/components/unifiedofferoutput.md | 7 + docs/models/components/unifiedofficeinput.md | 7 + docs/models/components/unifiedofficeoutput.md | 7 + .../models/components/unifiedpaygroupinput.md | 7 + .../components/unifiedpaygroupoutput.md | 7 + docs/models/components/unifiedpaymentinput.md | 7 + .../models/components/unifiedpaymentoutput.md | 7 + .../components/unifiedpayrollruninput.md | 7 + .../components/unifiedpayrollrunoutput.md | 7 + .../components/unifiedpermissioninput.md | 7 + .../components/unifiedpermissionoutput.md | 7 + .../components/unifiedphonenumberinput.md | 7 + .../components/unifiedphonenumberoutput.md | 7 + .../components/unifiedpurchaseorderinput.md | 7 + .../components/unifiedpurchaseorderoutput.md | 7 + .../components/unifiedrejectreasoninput.md | 7 + .../components/unifiedrejectreasonoutput.md | 7 + .../components/unifiedscorecardinput.md | 7 + .../components/unifiedscorecardoutput.md | 7 + .../unifiedscreeningquestioninput.md | 7 + .../unifiedscreeningquestionoutput.md | 7 + .../components/unifiedsharedlinkinput.md | 7 + .../components/unifiedsharedlinkoutput.md | 7 + docs/models/components/unifiedstageoutput.md | 12 + .../unifiedstageoutputfieldmappings.md | 7 + .../unifiedstageoutputremotedata.md | 7 + docs/models/components/unifiedtaginput.md | 7 + docs/models/components/unifiedtagoutput.md | 7 + docs/models/components/unifiedtaskinput.md | 16 + .../unifiedtaskinputfieldmappings.md | 7 + docs/models/components/unifiedtaskoutput.md | 19 + .../unifiedtaskoutputfieldmappings.md | 7 + .../components/unifiedtaskoutputremotedata.md | 7 + docs/models/components/unifiedtaxrateinput.md | 7 + .../models/components/unifiedtaxrateoutput.md | 7 + docs/models/components/unifiedteamoutput.md | 13 + .../unifiedteamoutputfieldmappings.md | 7 + .../components/unifiedteamoutputremotedata.md | 7 + .../models/components/unifiedtemplateinput.md | 7 + .../components/unifiedtemplateoutput.md | 7 + docs/models/components/unifiedticketinput.md | 22 + .../unifiedticketinputfieldmappings.md | 7 + docs/models/components/unifiedticketoutput.md | 25 + .../components/unifiedtimeoffbalanceinput.md | 7 + .../components/unifiedtimeoffbalanceoutput.md | 7 + docs/models/components/unifiedtimeoffinput.md | 7 + .../models/components/unifiedtimeoffoutput.md | 7 + .../unifiedtrackingcategoryinput.md | 7 + .../unifiedtrackingcategoryoutput.md | 7 + .../components/unifiedtransactioninput.md | 7 + .../components/unifiedtransactionoutput.md | 7 + docs/models/components/unifieduserinput.md | 7 + docs/models/components/unifieduseroutput.md | 7 + .../components/unifiedvendorcreditinput.md | 7 + .../components/unifiedvendorcreditoutput.md | 7 + docs/models/components/updatecsdto.md | 11 + docs/models/components/verifyuserdto.md | 11 + docs/models/components/webhookdto.md | 11 + .../addaccountingattachmentrequest.md | 10 + .../addaccountingattachmentresponse.md | 17 + .../addaccountingattachmentresponsebody.md | 11 + .../operations/addaccountingcontactrequest.md | 10 + .../addaccountingcontactresponse.md | 17 + .../addaccountingcontactresponsebody.md | 11 + docs/models/operations/addaccountrequest.md | 10 + docs/models/operations/addaccountresponse.md | 17 + .../operations/addaccountresponsebody.md | 11 + docs/models/operations/addactionrequest.md | 10 + docs/models/operations/addactionresponse.md | 17 + .../operations/addactionresponsebody.md | 11 + docs/models/operations/addactivityrequest.md | 10 + docs/models/operations/addactivityresponse.md | 17 + .../operations/addactivityresponsebody.md | 11 + docs/models/operations/addaddressrequest.md | 10 + docs/models/operations/addaddressresponse.md | 17 + .../operations/addaddressresponsebody.md | 11 + .../operations/addapplicationrequest.md | 10 + .../operations/addapplicationresponse.md | 17 + .../operations/addapplicationresponsebody.md | 11 + .../operations/addatsattachmentrequest.md | 10 + .../operations/addatsattachmentresponse.md | 17 + .../addatsattachmentresponsebody.md | 11 + docs/models/operations/addatsuserrequest.md | 10 + docs/models/operations/addatsuserresponse.md | 17 + .../operations/addatsuserresponsebody.md | 11 + .../models/operations/addautomationrequest.md | 10 + .../operations/addautomationresponse.md | 17 + .../operations/addautomationresponsebody.md | 11 + .../operations/addbalancesheetrequest.md | 10 + .../operations/addbalancesheetresponse.md | 17 + .../operations/addbalancesheetresponsebody.md | 11 + docs/models/operations/addbankinforequest.md | 10 + docs/models/operations/addbankinforesponse.md | 17 + .../operations/addbankinforesponsebody.md | 11 + docs/models/operations/addbenefitrequest.md | 10 + docs/models/operations/addbenefitresponse.md | 17 + .../operations/addbenefitresponsebody.md | 11 + docs/models/operations/addcampaignrequest.md | 10 + docs/models/operations/addcampaignresponse.md | 17 + .../operations/addcampaignresponsebody.md | 11 + docs/models/operations/addcandidaterequest.md | 10 + .../models/operations/addcandidateresponse.md | 17 + .../operations/addcandidateresponsebody.md | 11 + .../operations/addcashflowstatementrequest.md | 10 + .../addcashflowstatementresponse.md | 17 + .../addcashflowstatementresponsebody.md | 11 + docs/models/operations/addcommentrequest.md | 10 + docs/models/operations/addcommentresponse.md | 17 + .../operations/addcommentresponsebody.md | 11 + .../operations/addcompanyinforequest.md | 10 + .../operations/addcompanyinforesponse.md | 17 + .../operations/addcompanyinforesponsebody.md | 11 + .../models/operations/addcreditnoterequest.md | 10 + .../operations/addcreditnoteresponse.md | 17 + .../operations/addcreditnoteresponsebody.md | 11 + .../models/operations/addcrmcompanyrequest.md | 10 + .../operations/addcrmcompanyresponse.md | 17 + .../operations/addcrmcompanyresponsebody.md | 11 + .../models/operations/addcrmcontactrequest.md | 10 + .../operations/addcrmcontactresponse.md | 17 + .../operations/addcrmcontactresponsebody.md | 11 + docs/models/operations/adddealrequest.md | 10 + docs/models/operations/adddealresponse.md | 17 + docs/models/operations/adddealresponsebody.md | 11 + .../models/operations/adddepartmentrequest.md | 10 + .../operations/adddepartmentresponse.md | 17 + .../operations/adddepartmentresponsebody.md | 11 + docs/models/operations/adddependentrequest.md | 10 + .../models/operations/adddependentresponse.md | 17 + .../operations/adddependentresponsebody.md | 11 + docs/models/operations/adddriverequest.md | 10 + docs/models/operations/adddriveresponse.md | 17 + .../models/operations/adddriveresponsebody.md | 11 + docs/models/operations/addeeocsrequest.md | 10 + docs/models/operations/addeeocsresponse.md | 17 + .../models/operations/addeeocsresponsebody.md | 11 + docs/models/operations/addemailrequest.md | 10 + docs/models/operations/addemailresponse.md | 17 + .../models/operations/addemailresponsebody.md | 11 + .../addemployeepayrollrunrequest.md | 10 + .../addemployeepayrollrunresponse.md | 17 + .../addemployeepayrollrunresponsebody.md | 11 + docs/models/operations/addemployeerequest.md | 10 + docs/models/operations/addemployeeresponse.md | 17 + .../operations/addemployeeresponsebody.md | 11 + .../operations/addemployerbenefitrequest.md | 10 + .../operations/addemployerbenefitresponse.md | 17 + .../addemployerbenefitresponsebody.md | 11 + .../models/operations/addemploymentrequest.md | 10 + .../operations/addemploymentresponse.md | 17 + .../operations/addemploymentresponsebody.md | 11 + .../models/operations/addengagementrequest.md | 10 + .../operations/addengagementresponse.md | 17 + .../operations/addengagementresponsebody.md | 11 + docs/models/operations/addeventrequest.md | 10 + docs/models/operations/addeventresponse.md | 17 + .../models/operations/addeventresponsebody.md | 11 + docs/models/operations/addexpenserequest.md | 10 + docs/models/operations/addexpenseresponse.md | 17 + .../operations/addexpenseresponsebody.md | 11 + docs/models/operations/addfilerequest.md | 10 + docs/models/operations/addfileresponse.md | 17 + docs/models/operations/addfileresponsebody.md | 11 + docs/models/operations/addfolderrequest.md | 10 + docs/models/operations/addfolderresponse.md | 17 + .../operations/addfolderresponsebody.md | 11 + docs/models/operations/addgrouprequest.md | 10 + docs/models/operations/addgroupresponse.md | 17 + .../models/operations/addgroupresponsebody.md | 11 + .../operations/addhriscompanyrequest.md | 10 + .../operations/addhriscompanyresponse.md | 17 + .../operations/addhriscompanyresponsebody.md | 11 + .../operations/addincomestatementrequest.md | 10 + .../operations/addincomestatementresponse.md | 17 + .../addincomestatementresponsebody.md | 11 + docs/models/operations/addinterviewrequest.md | 10 + .../models/operations/addinterviewresponse.md | 17 + .../operations/addinterviewresponsebody.md | 11 + docs/models/operations/addinvoicerequest.md | 10 + docs/models/operations/addinvoiceresponse.md | 17 + .../operations/addinvoiceresponsebody.md | 11 + docs/models/operations/additemrequest.md | 10 + docs/models/operations/additemresponse.md | 17 + docs/models/operations/additemresponsebody.md | 11 + .../operations/addjobinterviewstagerequest.md | 10 + .../addjobinterviewstageresponse.md | 17 + .../addjobinterviewstageresponsebody.md | 11 + docs/models/operations/addjobrequest.md | 10 + docs/models/operations/addjobresponse.md | 17 + docs/models/operations/addjobresponsebody.md | 11 + .../operations/addjournalentryrequest.md | 10 + .../operations/addjournalentryresponse.md | 17 + .../operations/addjournalentryresponsebody.md | 11 + docs/models/operations/addlistrequest.md | 10 + docs/models/operations/addlistresponse.md | 17 + docs/models/operations/addlistresponsebody.md | 11 + docs/models/operations/addlocationrequest.md | 10 + docs/models/operations/addlocationresponse.md | 17 + .../operations/addlocationresponsebody.md | 11 + .../addmarketingautomationcontactrequest.md | 10 + .../addmarketingautomationcontactresponse.md | 17 + ...dmarketingautomationcontactresponsebody.md | 11 + .../addmarketingautomationuserrequest.md | 10 + .../addmarketingautomationuserresponse.md | 17 + .../addmarketingautomationuserresponsebody.md | 11 + docs/models/operations/addmessagerequest.md | 10 + docs/models/operations/addmessageresponse.md | 17 + .../operations/addmessageresponsebody.md | 11 + docs/models/operations/addnoterequest.md | 10 + docs/models/operations/addnoteresponse.md | 17 + docs/models/operations/addnoteresponsebody.md | 11 + docs/models/operations/addofferrequest.md | 10 + docs/models/operations/addofferresponse.md | 17 + .../models/operations/addofferresponsebody.md | 11 + docs/models/operations/addofficerequest.md | 10 + docs/models/operations/addofficeresponse.md | 17 + .../operations/addofficeresponsebody.md | 11 + docs/models/operations/addpaygrouprequest.md | 10 + docs/models/operations/addpaygroupresponse.md | 17 + .../operations/addpaygroupresponsebody.md | 11 + docs/models/operations/addpaymentrequest.md | 10 + docs/models/operations/addpaymentresponse.md | 17 + .../operations/addpaymentresponsebody.md | 11 + .../models/operations/addpayrollrunrequest.md | 10 + .../operations/addpayrollrunresponse.md | 17 + .../operations/addpayrollrunresponsebody.md | 11 + .../models/operations/addpermissionrequest.md | 10 + .../operations/addpermissionresponse.md | 17 + .../operations/addpermissionresponsebody.md | 11 + .../operations/addphonenumberrequest.md | 10 + .../operations/addphonenumberresponse.md | 17 + .../operations/addphonenumberresponsebody.md | 11 + .../operations/addpurchaseorderrequest.md | 10 + .../operations/addpurchaseorderresponse.md | 17 + .../addpurchaseorderresponsebody.md | 11 + .../operations/addrejectreasonrequest.md | 10 + .../operations/addrejectreasonresponse.md | 17 + .../operations/addrejectreasonresponsebody.md | 11 + docs/models/operations/addscorecardrequest.md | 10 + .../models/operations/addscorecardresponse.md | 17 + .../operations/addscorecardresponsebody.md | 11 + .../operations/addscreeningquestionrequest.md | 10 + .../addscreeningquestionresponse.md | 17 + .../addscreeningquestionresponsebody.md | 11 + .../models/operations/addsharedlinkrequest.md | 10 + .../operations/addsharedlinkresponse.md | 17 + .../operations/addsharedlinkresponsebody.md | 11 + docs/models/operations/addtagrequest.md | 10 + docs/models/operations/addtagresponse.md | 17 + docs/models/operations/addtagresponsebody.md | 11 + docs/models/operations/addtaskrequest.md | 10 + docs/models/operations/addtaskresponse.md | 17 + docs/models/operations/addtaskresponsebody.md | 11 + docs/models/operations/addtaxraterequest.md | 10 + docs/models/operations/addtaxrateresponse.md | 17 + .../operations/addtaxrateresponsebody.md | 11 + docs/models/operations/addtemplaterequest.md | 10 + docs/models/operations/addtemplateresponse.md | 17 + .../operations/addtemplateresponsebody.md | 11 + .../addticketingattachmentrequest.md | 10 + .../addticketingattachmentresponse.md | 17 + .../addticketingattachmentresponsebody.md | 11 + docs/models/operations/addticketrequest.md | 10 + docs/models/operations/addticketresponse.md | 17 + .../operations/addticketresponsebody.md | 11 + .../operations/addtimeoffbalancerequest.md | 10 + .../operations/addtimeoffbalanceresponse.md | 17 + .../addtimeoffbalanceresponsebody.md | 11 + docs/models/operations/addtimeoffrequest.md | 10 + docs/models/operations/addtimeoffresponse.md | 17 + .../operations/addtimeoffresponsebody.md | 11 + .../operations/addtrackingcategoryrequest.md | 10 + .../operations/addtrackingcategoryresponse.md | 17 + .../addtrackingcategoryresponsebody.md | 11 + .../operations/addtransactionrequest.md | 10 + .../operations/addtransactionresponse.md | 17 + .../operations/addtransactionresponsebody.md | 11 + .../operations/addvendorcreditrequest.md | 10 + .../operations/addvendorcreditresponse.md | 17 + .../operations/addvendorcreditresponsebody.md | 11 + docs/models/operations/deleteapikeyrequest.md | 8 + .../models/operations/deletewebhookrequest.md | 8 + .../operations/downloadattachmentrequest.md | 9 + .../downloadattachmentresponsebody.md | 11 + .../operations/getaccountingaccountrequest.md | 9 + .../getaccountingaccountresponsebody.md | 11 + .../getaccountingaccountsrequest.md | 9 + .../getaccountingaccountsresponsebody.md | 11 + .../getaccountingattachmentrequest.md | 9 + .../getaccountingattachmentresponsebody.md | 11 + .../getaccountingattachmentsrequest.md | 9 + .../getaccountingattachmentsresponsebody.md | 11 + .../operations/getaccountingcontactrequest.md | 9 + .../getaccountingcontactresponsebody.md | 11 + .../getaccountingcontactsrequest.md | 9 + .../getaccountingcontactsresponsebody.md | 11 + docs/models/operations/getactionrequest.md | 9 + .../operations/getactionresponsebody.md | 11 + docs/models/operations/getactionsrequest.md | 9 + .../operations/getactionsresponsebody.md | 11 + docs/models/operations/getactivityrequest.md | 9 + .../operations/getactivityresponsebody.md | 11 + docs/models/operations/getactivitysrequest.md | 9 + .../operations/getactivitysresponsebody.md | 11 + docs/models/operations/getaddressrequest.md | 9 + .../operations/getaddressresponsebody.md | 11 + docs/models/operations/getaddresssrequest.md | 9 + .../operations/getaddresssresponsebody.md | 11 + .../operations/getapplicationrequest.md | 9 + .../operations/getapplicationresponsebody.md | 11 + .../operations/getapplicationsrequest.md | 9 + .../operations/getapplicationsresponsebody.md | 11 + .../operations/getatsattachmentrequest.md | 9 + .../getatsattachmentresponsebody.md | 11 + .../operations/getatsattachmentsrequest.md | 9 + .../getatsattachmentsresponsebody.md | 11 + docs/models/operations/getatstagrequest.md | 9 + .../operations/getatstagresponsebody.md | 11 + docs/models/operations/getatstagsrequest.md | 9 + .../operations/getatstagsresponsebody.md | 11 + docs/models/operations/getatsuserrequest.md | 9 + .../operations/getatsuserresponsebody.md | 11 + docs/models/operations/getatsusersrequest.md | 9 + .../operations/getatsusersresponsebody.md | 11 + .../models/operations/getautomationrequest.md | 9 + .../operations/getautomationresponsebody.md | 11 + .../operations/getautomationsrequest.md | 9 + .../operations/getautomationsresponsebody.md | 11 + .../operations/getbalancesheetrequest.md | 9 + .../operations/getbalancesheetresponsebody.md | 11 + .../operations/getbalancesheetsrequest.md | 9 + .../getbalancesheetsresponsebody.md | 11 + docs/models/operations/getbankinforequest.md | 9 + .../operations/getbankinforesponsebody.md | 11 + docs/models/operations/getbankinfosrequest.md | 9 + .../operations/getbankinfosresponsebody.md | 11 + docs/models/operations/getbenefitrequest.md | 9 + .../operations/getbenefitresponsebody.md | 11 + docs/models/operations/getbenefitsrequest.md | 9 + .../operations/getbenefitsresponsebody.md | 11 + docs/models/operations/getcampaignrequest.md | 9 + .../operations/getcampaignresponsebody.md | 11 + docs/models/operations/getcampaignsrequest.md | 9 + .../operations/getcampaignsresponsebody.md | 11 + docs/models/operations/getcandidaterequest.md | 9 + .../operations/getcandidateresponsebody.md | 11 + .../models/operations/getcandidatesrequest.md | 9 + .../operations/getcandidatesresponsebody.md | 11 + .../operations/getcashflowstatementrequest.md | 9 + .../getcashflowstatementresponsebody.md | 11 + .../getcashflowstatementsrequest.md | 9 + .../getcashflowstatementsresponsebody.md | 11 + .../models/operations/getcollectionrequest.md | 9 + .../operations/getcollectionresponsebody.md | 11 + .../operations/getcollectionsrequest.md | 11 + .../operations/getcollectionsresponsebody.md | 11 + docs/models/operations/getcommentrequest.md | 9 + .../operations/getcommentresponsebody.md | 11 + docs/models/operations/getcommentsrequest.md | 11 + .../operations/getcommentsresponsebody.md | 11 + docs/models/operations/getcompaniesrequest.md | 11 + .../operations/getcompaniesresponsebody.md | 11 + .../operations/getcompanyinforequest.md | 9 + .../operations/getcompanyinforesponsebody.md | 11 + .../operations/getcompanyinfosrequest.md | 9 + .../operations/getcompanyinfosresponsebody.md | 11 + docs/models/operations/getcompanysrequest.md | 9 + .../operations/getcompanysresponsebody.md | 11 + .../getconnectorsfromprojectrequest.md | 9 + .../operations/getcredentialsrequest.md | 9 + .../models/operations/getcreditnoterequest.md | 9 + .../operations/getcreditnoteresponsebody.md | 11 + .../operations/getcreditnotesrequest.md | 9 + .../operations/getcreditnotesresponsebody.md | 11 + .../models/operations/getcrmcompanyrequest.md | 9 + .../operations/getcrmcompanyresponsebody.md | 11 + .../models/operations/getcrmcontactrequest.md | 9 + .../operations/getcrmcontactresponsebody.md | 11 + docs/models/operations/getcrmuserrequest.md | 9 + .../operations/getcrmuserresponsebody.md | 11 + docs/models/operations/getcrmusersrequest.md | 11 + .../operations/getcrmusersresponsebody.md | 11 + .../getcustomproviderpropertiesrequest.md | 10 + docs/models/operations/getdealrequest.md | 9 + docs/models/operations/getdealresponsebody.md | 11 + docs/models/operations/getdealsrequest.md | 11 + .../models/operations/getdealsresponsebody.md | 11 + .../models/operations/getdepartmentrequest.md | 9 + .../operations/getdepartmentresponsebody.md | 11 + .../operations/getdepartmentsrequest.md | 9 + .../operations/getdepartmentsresponsebody.md | 11 + docs/models/operations/getdependentrequest.md | 9 + .../operations/getdependentresponsebody.md | 11 + .../models/operations/getdependentsrequest.md | 9 + .../operations/getdependentsresponsebody.md | 11 + docs/models/operations/getdriverequest.md | 9 + .../models/operations/getdriveresponsebody.md | 11 + docs/models/operations/getdrivesrequest.md | 9 + .../operations/getdrivesresponsebody.md | 11 + docs/models/operations/geteeocsrequest.md | 9 + .../models/operations/geteeocsresponsebody.md | 11 + docs/models/operations/geteeocssrequest.md | 9 + .../operations/geteeocssresponsebody.md | 11 + docs/models/operations/getemailrequest.md | 9 + .../models/operations/getemailresponsebody.md | 11 + docs/models/operations/getemailsrequest.md | 9 + .../operations/getemailsresponsebody.md | 11 + .../getemployeepayrollrunrequest.md | 9 + .../getemployeepayrollrunresponsebody.md | 11 + .../getemployeepayrollrunsrequest.md | 9 + .../getemployeepayrollrunsresponsebody.md | 11 + docs/models/operations/getemployeerequest.md | 9 + .../operations/getemployeeresponsebody.md | 11 + docs/models/operations/getemployeesrequest.md | 9 + .../operations/getemployeesresponsebody.md | 11 + .../operations/getemployerbenefitrequest.md | 9 + .../getemployerbenefitresponsebody.md | 11 + .../operations/getemployerbenefitsrequest.md | 9 + .../getemployerbenefitsresponsebody.md | 11 + .../models/operations/getemploymentrequest.md | 9 + .../operations/getemploymentresponsebody.md | 11 + .../operations/getemploymentsrequest.md | 9 + .../operations/getemploymentsresponsebody.md | 11 + .../models/operations/getengagementrequest.md | 9 + .../operations/getengagementresponsebody.md | 11 + .../operations/getengagementsrequest.md | 11 + .../operations/getengagementsresponsebody.md | 11 + docs/models/operations/geteventrequest.md | 9 + .../models/operations/geteventresponsebody.md | 11 + docs/models/operations/getexpenserequest.md | 9 + .../operations/getexpenseresponsebody.md | 11 + docs/models/operations/getexpensesrequest.md | 9 + .../operations/getexpensesresponsebody.md | 11 + docs/models/operations/getfilerequest.md | 9 + docs/models/operations/getfileresponsebody.md | 11 + docs/models/operations/getfilesrequest.md | 9 + .../models/operations/getfilesresponsebody.md | 11 + docs/models/operations/getfolderrequest.md | 9 + .../operations/getfolderresponsebody.md | 11 + docs/models/operations/getfoldersrequest.md | 9 + .../operations/getfoldersresponsebody.md | 11 + docs/models/operations/getgrouprequest.md | 9 + .../models/operations/getgroupresponsebody.md | 11 + docs/models/operations/getgroupsrequest.md | 9 + .../operations/getgroupsresponsebody.md | 11 + .../operations/gethriscompanyrequest.md | 9 + .../operations/gethriscompanyresponsebody.md | 11 + .../operations/getincomestatementrequest.md | 9 + .../getincomestatementresponsebody.md | 11 + .../operations/getincomestatementsrequest.md | 9 + .../getincomestatementsresponsebody.md | 11 + docs/models/operations/getinterviewrequest.md | 9 + .../operations/getinterviewresponsebody.md | 11 + .../models/operations/getinterviewsrequest.md | 9 + .../operations/getinterviewsresponsebody.md | 11 + docs/models/operations/getinvoicerequest.md | 9 + .../operations/getinvoiceresponsebody.md | 11 + docs/models/operations/getinvoicesrequest.md | 9 + .../operations/getinvoicesresponsebody.md | 11 + docs/models/operations/getitemrequest.md | 9 + docs/models/operations/getitemresponsebody.md | 11 + docs/models/operations/getitemsrequest.md | 9 + .../models/operations/getitemsresponsebody.md | 11 + .../operations/getjobinterviewstagerequest.md | 9 + .../getjobinterviewstageresponsebody.md | 11 + .../getjobinterviewstagesrequest.md | 9 + .../getjobinterviewstagesresponsebody.md | 11 + docs/models/operations/getjobrequest.md | 9 + docs/models/operations/getjobresponsebody.md | 11 + docs/models/operations/getjobsrequest.md | 9 + docs/models/operations/getjobsresponsebody.md | 11 + .../operations/getjournalentryrequest.md | 9 + .../operations/getjournalentryresponsebody.md | 11 + .../operations/getjournalentrysrequest.md | 9 + .../getjournalentrysresponsebody.md | 11 + .../models/operations/getlinkeduserrequest.md | 8 + docs/models/operations/getlistrequest.md | 9 + docs/models/operations/getlistresponsebody.md | 11 + docs/models/operations/getlistsrequest.md | 9 + .../models/operations/getlistsresponsebody.md | 11 + docs/models/operations/getlocationrequest.md | 9 + .../operations/getlocationresponsebody.md | 11 + docs/models/operations/getlocationsrequest.md | 9 + .../operations/getlocationsresponsebody.md | 11 + docs/models/operations/getmagiclinkrequest.md | 8 + .../operations/getmanagedwebhooksrequest.md | 8 + .../getmarketingautomationcontactrequest.md | 9 + ...tmarketingautomationcontactresponsebody.md | 11 + .../getmarketingautomationcontactsrequest.md | 9 + ...marketingautomationcontactsresponsebody.md | 11 + .../getmarketingautomationeventsrequest.md | 9 + ...etmarketingautomationeventsresponsebody.md | 11 + .../getmarketingautomationuserrequest.md | 9 + .../getmarketingautomationuserresponsebody.md | 11 + .../getmarketingautomationusersrequest.md | 9 + ...getmarketingautomationusersresponsebody.md | 11 + docs/models/operations/getmessagerequest.md | 9 + .../operations/getmessageresponsebody.md | 11 + docs/models/operations/getmessagesrequest.md | 9 + .../operations/getmessagesresponsebody.md | 11 + docs/models/operations/getnoterequest.md | 9 + docs/models/operations/getnoteresponsebody.md | 11 + docs/models/operations/getnotesrequest.md | 11 + .../models/operations/getnotesresponsebody.md | 11 + docs/models/operations/getofferrequest.md | 9 + .../models/operations/getofferresponsebody.md | 11 + docs/models/operations/getoffersrequest.md | 9 + .../operations/getoffersresponsebody.md | 11 + docs/models/operations/getofficerequest.md | 9 + .../operations/getofficeresponsebody.md | 11 + docs/models/operations/getofficesrequest.md | 9 + .../operations/getofficesresponsebody.md | 11 + .../operations/getpanoracoreeventsrequest.md | 9 + docs/models/operations/getpaygrouprequest.md | 9 + .../operations/getpaygroupresponsebody.md | 11 + docs/models/operations/getpaygroupsrequest.md | 9 + .../operations/getpaygroupsresponsebody.md | 11 + docs/models/operations/getpaymentrequest.md | 9 + .../operations/getpaymentresponsebody.md | 11 + docs/models/operations/getpaymentsrequest.md | 9 + .../operations/getpaymentsresponsebody.md | 11 + .../models/operations/getpayrollrunrequest.md | 9 + .../operations/getpayrollrunresponsebody.md | 11 + .../operations/getpayrollrunsrequest.md | 9 + .../operations/getpayrollrunsresponsebody.md | 11 + .../models/operations/getpermissionrequest.md | 9 + .../operations/getpermissionresponsebody.md | 11 + .../operations/getpermissionsrequest.md | 9 + .../operations/getpermissionsresponsebody.md | 11 + .../operations/getphonenumberrequest.md | 9 + .../operations/getphonenumberresponsebody.md | 11 + .../operations/getphonenumbersrequest.md | 9 + .../operations/getphonenumbersresponsebody.md | 11 + .../operations/getpurchaseorderrequest.md | 9 + .../getpurchaseorderresponsebody.md | 11 + .../operations/getpurchaseordersrequest.md | 9 + .../getpurchaseordersresponsebody.md | 11 + .../operations/getrejectreasonrequest.md | 9 + .../operations/getrejectreasonresponsebody.md | 11 + .../operations/getrejectreasonsrequest.md | 9 + .../getrejectreasonsresponsebody.md | 11 + docs/models/operations/getscorecardrequest.md | 9 + .../operations/getscorecardresponsebody.md | 11 + .../models/operations/getscorecardsrequest.md | 9 + .../operations/getscorecardsresponsebody.md | 11 + .../operations/getscreeningquestionrequest.md | 9 + .../getscreeningquestionresponsebody.md | 11 + .../getscreeningquestionsrequest.md | 9 + .../getscreeningquestionsresponsebody.md | 11 + .../models/operations/getsharedlinkrequest.md | 9 + .../operations/getsharedlinkresponsebody.md | 11 + .../operations/getsharedlinksrequest.md | 9 + .../operations/getsharedlinksresponsebody.md | 11 + docs/models/operations/getstagerequest.md | 9 + .../models/operations/getstageresponsebody.md | 11 + docs/models/operations/getstagesrequest.md | 11 + .../operations/getstagesresponsebody.md | 11 + .../models/operations/getsyncstatusrequest.md | 8 + docs/models/operations/gettaskrequest.md | 9 + docs/models/operations/gettaskresponsebody.md | 11 + docs/models/operations/gettasksrequest.md | 11 + .../models/operations/gettasksresponsebody.md | 11 + docs/models/operations/gettaxraterequest.md | 9 + .../operations/gettaxrateresponsebody.md | 11 + docs/models/operations/gettaxratesrequest.md | 9 + .../operations/gettaxratesresponsebody.md | 11 + docs/models/operations/getteamrequest.md | 9 + docs/models/operations/getteamresponsebody.md | 11 + docs/models/operations/getteamsrequest.md | 11 + .../models/operations/getteamsresponsebody.md | 11 + docs/models/operations/gettemplaterequest.md | 9 + .../operations/gettemplateresponsebody.md | 11 + docs/models/operations/gettemplatesrequest.md | 9 + .../operations/gettemplatesresponsebody.md | 11 + .../operations/getticketingaccountrequest.md | 9 + .../getticketingaccountresponsebody.md | 11 + .../operations/getticketingaccountsrequest.md | 11 + .../getticketingaccountsresponsebody.md | 11 + .../getticketingattachmentrequest.md | 9 + .../getticketingattachmentresponsebody.md | 11 + .../getticketingattachmentsrequest.md | 11 + .../getticketingattachmentsresponsebody.md | 11 + .../operations/getticketingcontactrequest.md | 9 + .../getticketingcontactresponsebody.md | 11 + .../operations/getticketingcontactsrequest.md | 11 + .../getticketingcontactsresponsebody.md | 11 + .../operations/getticketingtagrequest.md | 9 + .../operations/getticketingtagresponsebody.md | 11 + .../operations/getticketingtagsrequest.md | 11 + .../getticketingtagsresponsebody.md | 11 + .../operations/getticketinguserrequest.md | 9 + .../getticketinguserresponsebody.md | 11 + .../operations/getticketingusersrequest.md | 11 + .../getticketingusersresponsebody.md | 11 + docs/models/operations/getticketrequest.md | 9 + .../operations/getticketresponsebody.md | 11 + docs/models/operations/getticketsrequest.md | 11 + .../operations/getticketsresponsebody.md | 11 + .../operations/gettimeoffbalancerequest.md | 9 + .../gettimeoffbalanceresponsebody.md | 11 + .../operations/gettimeoffbalancesrequest.md | 9 + .../gettimeoffbalancesresponsebody.md | 11 + docs/models/operations/gettimeoffrequest.md | 9 + .../operations/gettimeoffresponsebody.md | 11 + docs/models/operations/gettimeoffsrequest.md | 9 + .../operations/gettimeoffsresponsebody.md | 11 + .../operations/gettrackingcategoryrequest.md | 9 + .../gettrackingcategoryresponsebody.md | 11 + .../operations/gettrackingcategorysrequest.md | 9 + .../gettrackingcategorysresponsebody.md | 11 + .../operations/gettransactionrequest.md | 9 + .../operations/gettransactionresponsebody.md | 11 + .../operations/gettransactionsrequest.md | 9 + .../operations/gettransactionsresponsebody.md | 11 + .../operations/getvendorcreditrequest.md | 9 + .../operations/getvendorcreditresponsebody.md | 11 + .../operations/getvendorcreditsrequest.md | 9 + .../getvendorcreditsresponsebody.md | 11 + .../operations/handleapikeycallbackrequest.md | 9 + .../operations/handleoauthcallbackrequest.md | 9 + .../handlethirdpartywebhookrequest.md | 8 + .../linkeduserfromremoteidrequest.md | 8 + .../operations/listcrmcontactsrequest.md | 11 + .../operations/listcrmcontactsresponsebody.md | 11 + .../operations/passthroughrequestrequest.md | 11 + docs/models/operations/resyncrequest.md | 8 + .../models/operations/updatecompanyrequest.md | 8 + .../operations/updatecompanyresponsebody.md | 11 + .../updatemanagedwebhooksstatusrequest.md | 8 + .../operations/updatewebhookstatusrequest.md | 8 + jsr.json | 27 + package-lock.json | 12071 ++++------------ package.json | 57 +- src/hooks/hooks.ts | 99 + src/hooks/index.ts | 6 + src/hooks/types.ts | 89 + src/index.ts | 6 + src/lib/base64.ts | 37 + src/lib/config.ts | 64 + src/lib/encodings.ts | 431 + src/lib/http.ts | 504 + src/lib/is-plain-object.ts | 43 + src/lib/primitives.ts | 40 + src/lib/retries.ts | 226 + src/lib/schemas.ts | 56 + src/lib/sdks.ts | 148 + src/lib/security.ts | 182 + src/lib/url.ts | 33 + src/models/components/apikeydto.ts | 32 + src/models/components/bodydatatype.ts | 16 + .../connectionstrategycredentials.ts | 30 + .../components/createbatchlinkeduserdto.ts | 47 + .../components/createconnectionstrategydto.ts | 34 + src/models/components/createlinkeduserdto.ts | 47 + src/models/components/createmagiclinkdto.ts | 51 + .../components/createorganizationdto.ts | 41 + src/models/components/createprojectdto.ts | 47 + src/models/components/createuserdto.ts | 63 + src/models/components/customfieldcreatedto.ts | 69 + src/models/components/definetargetfielddto.ts | 51 + src/models/components/deletecsdto.ts | 24 + src/models/components/index.ts | 170 + src/models/components/logindto.ts | 47 + src/models/components/managedwebhooksdto.ts | 53 + .../components/mapfieldtoproviderdto.ts | 53 + .../components/passthroughrequestdto.ts | 75 + src/models/components/passthroughresponse.ts | 45 + src/models/components/projectconnectorsdto.ts | 30 + src/models/components/refreshdto.ts | 24 + .../components/remotethirdpartycreationdto.ts | 43 + src/models/components/security.ts | 37 + .../components/signatureverificationdto.ts | 30 + src/models/components/togglestrategydto.ts | 37 + src/models/components/unifiedaccountinput.ts | 20 + src/models/components/unifiedaccountoutput.ts | 20 + src/models/components/unifiedactioninput.ts | 18 + src/models/components/unifiedactionoutput.ts | 20 + src/models/components/unifiedactivityinput.ts | 20 + .../components/unifiedactivityoutput.ts | 19 + src/models/components/unifiedaddressinput.ts | 20 + src/models/components/unifiedaddressoutput.ts | 20 + .../components/unifiedapplicationinput.ts | 18 + .../components/unifiedapplicationoutput.ts | 18 + .../components/unifiedattachmentinput.ts | 81 + .../components/unifiedattachmentoutput.ts | 122 + .../components/unifiedautomationinput.ts | 19 + .../components/unifiedautomationoutput.ts | 18 + .../components/unifiedbalancesheetinput.ts | 18 + .../components/unifiedbalancesheetoutput.ts | 18 + src/models/components/unifiedbankinfoinput.ts | 20 + .../components/unifiedbankinfooutput.ts | 19 + src/models/components/unifiedbenefitinput.ts | 20 + src/models/components/unifiedbenefitoutput.ts | 20 + src/models/components/unifiedcampaigninput.ts | 20 + .../components/unifiedcampaignoutput.ts | 19 + .../components/unifiedcandidateinput.ts | 19 + .../components/unifiedcandidateoutput.ts | 19 + .../unifiedcashflowstatementinput.ts | 18 + .../unifiedcashflowstatementoutput.ts | 18 + .../components/unifiedcollectionoutput.ts | 95 + src/models/components/unifiedcommentinput.ts | 99 + src/models/components/unifiedcommentoutput.ts | 135 + .../components/unifiedcompanyinfoinput.ts | 18 + .../components/unifiedcompanyinfooutput.ts | 18 + src/models/components/unifiedcompanyinput.ts | 20 + src/models/components/unifiedcompanyoutput.ts | 20 + src/models/components/unifiedcontactinput.ts | 20 + src/models/components/unifiedcontactoutput.ts | 20 + .../components/unifiedcreditnoteinput.ts | 19 + .../components/unifiedcreditnoteoutput.ts | 18 + src/models/components/unifieddealinput.ts | 98 + src/models/components/unifieddealoutput.ts | 133 + .../components/unifieddepartmentinput.ts | 19 + .../components/unifieddepartmentoutput.ts | 18 + .../components/unifieddependentinput.ts | 19 + .../components/unifieddependentoutput.ts | 19 + src/models/components/unifieddriveinput.ts | 18 + src/models/components/unifieddriveoutput.ts | 18 + src/models/components/unifiedeeocsinput.ts | 18 + src/models/components/unifiedeeocsoutput.ts | 18 + src/models/components/unifiedemailinput.ts | 18 + src/models/components/unifiedemailoutput.ts | 18 + src/models/components/unifiedemployeeinput.ts | 20 + .../components/unifiedemployeeoutput.ts | 19 + .../unifiedemployeepayrollruninput.ts | 18 + .../unifiedemployeepayrollrunoutput.ts | 21 + .../components/unifiedemployerbenefitinput.ts | 18 + .../unifiedemployerbenefitoutput.ts | 18 + .../components/unifiedemploymentinput.ts | 19 + .../components/unifiedemploymentoutput.ts | 18 + .../components/unifiedengagementinput.ts | 141 + .../components/unifiedengagementoutput.ts | 182 + src/models/components/unifiedeventinput.ts | 18 + src/models/components/unifiedeventoutput.ts | 18 + src/models/components/unifiedexpenseinput.ts | 20 + src/models/components/unifiedexpenseoutput.ts | 20 + src/models/components/unifiedfileinput.ts | 16 + src/models/components/unifiedfileoutput.ts | 18 + src/models/components/unifiedfolderinput.ts | 18 + src/models/components/unifiedfolderoutput.ts | 20 + src/models/components/unifiedgroupinput.ts | 18 + src/models/components/unifiedgroupoutput.ts | 18 + .../components/unifiedincomestatementinput.ts | 18 + .../unifiedincomestatementoutput.ts | 18 + .../components/unifiedinterviewinput.ts | 19 + .../components/unifiedinterviewoutput.ts | 19 + src/models/components/unifiedinvoiceinput.ts | 20 + src/models/components/unifiedinvoiceoutput.ts | 20 + src/models/components/unifiediteminput.ts | 16 + src/models/components/unifieditemoutput.ts | 18 + src/models/components/unifiedjobinput.ts | 16 + .../unifiedjobinterviewstageinput.ts | 18 + .../unifiedjobinterviewstageoutput.ts | 18 + src/models/components/unifiedjoboutput.ts | 16 + .../components/unifiedjournalentryinput.ts | 18 + .../components/unifiedjournalentryoutput.ts | 18 + src/models/components/unifiedlistinput.ts | 16 + src/models/components/unifiedlistoutput.ts | 18 + src/models/components/unifiedlocationinput.ts | 20 + .../components/unifiedlocationoutput.ts | 19 + src/models/components/unifiedmessageinput.ts | 20 + src/models/components/unifiedmessageoutput.ts | 20 + src/models/components/unifiednoteinput.ts | 93 + src/models/components/unifiednoteoutput.ts | 128 + src/models/components/unifiedofferinput.ts | 18 + src/models/components/unifiedofferoutput.ts | 18 + src/models/components/unifiedofficeinput.ts | 18 + src/models/components/unifiedofficeoutput.ts | 20 + src/models/components/unifiedpaygroupinput.ts | 20 + .../components/unifiedpaygroupoutput.ts | 19 + src/models/components/unifiedpaymentinput.ts | 20 + src/models/components/unifiedpaymentoutput.ts | 20 + .../components/unifiedpayrollruninput.ts | 19 + .../components/unifiedpayrollrunoutput.ts | 18 + .../components/unifiedpermissioninput.ts | 19 + .../components/unifiedpermissionoutput.ts | 18 + .../components/unifiedphonenumberinput.ts | 18 + .../components/unifiedphonenumberoutput.ts | 18 + .../components/unifiedpurchaseorderinput.ts | 18 + .../components/unifiedpurchaseorderoutput.ts | 18 + .../components/unifiedrejectreasoninput.ts | 18 + .../components/unifiedrejectreasonoutput.ts | 18 + .../components/unifiedscorecardinput.ts | 19 + .../components/unifiedscorecardoutput.ts | 19 + .../unifiedscreeningquestioninput.ts | 18 + .../unifiedscreeningquestionoutput.ts | 18 + .../components/unifiedsharedlinkinput.ts | 19 + .../components/unifiedsharedlinkoutput.ts | 18 + src/models/components/unifiedstageoutput.ts | 97 + src/models/components/unifiedtaginput.ts | 16 + src/models/components/unifiedtagoutput.ts | 16 + src/models/components/unifiedtaskinput.ts | 130 + src/models/components/unifiedtaskoutput.ts | 165 + src/models/components/unifiedtaxrateinput.ts | 20 + src/models/components/unifiedtaxrateoutput.ts | 20 + src/models/components/unifiedteamoutput.ts | 99 + src/models/components/unifiedtemplateinput.ts | 20 + .../components/unifiedtemplateoutput.ts | 19 + src/models/components/unifiedticketinput.ts | 180 + src/models/components/unifiedticketoutput.ts | 208 + .../components/unifiedtimeoffbalanceinput.ts | 18 + .../components/unifiedtimeoffbalanceoutput.ts | 18 + src/models/components/unifiedtimeoffinput.ts | 20 + src/models/components/unifiedtimeoffoutput.ts | 20 + .../unifiedtrackingcategoryinput.ts | 18 + .../unifiedtrackingcategoryoutput.ts | 18 + .../components/unifiedtransactioninput.ts | 18 + .../components/unifiedtransactionoutput.ts | 18 + src/models/components/unifieduserinput.ts | 16 + src/models/components/unifieduseroutput.ts | 18 + .../components/unifiedvendorcreditinput.ts | 18 + .../components/unifiedvendorcreditoutput.ts | 18 + src/models/components/updatecsdto.ts | 49 + src/models/components/verifyuserdto.ts | 53 + src/models/components/webhookdto.ts | 49 + src/models/errors/index.ts | 6 + src/models/errors/sdkerror.ts | 25 + src/models/errors/sdkvalidationerror.ts | 95 + src/models/operations/addaccount.ts | 108 + .../operations/addaccountingattachment.ts | 121 + src/models/operations/addaccountingcontact.ts | 114 + src/models/operations/addaction.ts | 106 + src/models/operations/addactivity.ts | 107 + src/models/operations/addaddress.ts | 108 + src/models/operations/addapplication.ts | 110 + src/models/operations/addatsattachment.ts | 111 + src/models/operations/addatsuser.ts | 108 + src/models/operations/addautomation.ts | 109 + src/models/operations/addbalancesheet.ts | 112 + src/models/operations/addbankinfo.ts | 107 + src/models/operations/addbenefit.ts | 108 + src/models/operations/addcampaign.ts | 107 + src/models/operations/addcandidate.ts | 107 + src/models/operations/addcashflowstatement.ts | 114 + src/models/operations/addcomment.ts | 108 + src/models/operations/addcompanyinfo.ts | 110 + src/models/operations/addcreditnote.ts | 109 + src/models/operations/addcrmcompany.ts | 109 + src/models/operations/addcrmcontact.ts | 109 + src/models/operations/adddeal.ts | 103 + src/models/operations/adddepartment.ts | 109 + src/models/operations/adddependent.ts | 107 + src/models/operations/adddrive.ts | 105 + src/models/operations/addeeocs.ts | 105 + src/models/operations/addemail.ts | 105 + src/models/operations/addemployee.ts | 107 + .../operations/addemployeepayrollrun.ts | 119 + src/models/operations/addemployerbenefit.ts | 111 + src/models/operations/addemployment.ts | 109 + src/models/operations/addengagement.ts | 109 + src/models/operations/addevent.ts | 105 + src/models/operations/addexpense.ts | 108 + src/models/operations/addfile.ts | 103 + src/models/operations/addfolder.ts | 106 + src/models/operations/addgroup.ts | 105 + src/models/operations/addhriscompany.ts | 108 + src/models/operations/addincomestatement.ts | 111 + src/models/operations/addinterview.ts | 107 + src/models/operations/addinvoice.ts | 108 + src/models/operations/additem.ts | 103 + src/models/operations/addjob.ts | 103 + src/models/operations/addjobinterviewstage.ts | 114 + src/models/operations/addjournalentry.ts | 112 + src/models/operations/addlist.ts | 103 + src/models/operations/addlocation.ts | 107 + .../addmarketingautomationcontact.ts | 131 + .../operations/addmarketingautomationuser.ts | 131 + src/models/operations/addmessage.ts | 108 + src/models/operations/addnote.ts | 103 + src/models/operations/addoffer.ts | 105 + src/models/operations/addoffice.ts | 106 + src/models/operations/addpaygroup.ts | 107 + src/models/operations/addpayment.ts | 108 + src/models/operations/addpayrollrun.ts | 109 + src/models/operations/addpermission.ts | 109 + src/models/operations/addphonenumber.ts | 110 + src/models/operations/addpurchaseorder.ts | 111 + src/models/operations/addrejectreason.ts | 112 + src/models/operations/addscorecard.ts | 107 + src/models/operations/addscreeningquestion.ts | 114 + src/models/operations/addsharedlink.ts | 109 + src/models/operations/addtag.ts | 103 + src/models/operations/addtask.ts | 103 + src/models/operations/addtaxrate.ts | 108 + src/models/operations/addtemplate.ts | 107 + src/models/operations/addticket.ts | 106 + .../operations/addticketingattachment.ts | 118 + src/models/operations/addtimeoff.ts | 108 + src/models/operations/addtimeoffbalance.ts | 111 + src/models/operations/addtrackingcategory.ts | 114 + src/models/operations/addtransaction.ts | 110 + src/models/operations/addvendorcredit.ts | 112 + src/models/operations/deleteapikey.ts | 24 + src/models/operations/deletewebhook.ts | 26 + src/models/operations/downloadattachment.ts | 81 + src/models/operations/getaccountingaccount.ts | 84 + .../operations/getaccountingaccounts.ts | 89 + .../operations/getaccountingattachment.ts | 88 + .../operations/getaccountingattachments.ts | 94 + src/models/operations/getaccountingcontact.ts | 84 + .../operations/getaccountingcontacts.ts | 89 + src/models/operations/getaction.ts | 80 + src/models/operations/getactions.ts | 84 + src/models/operations/getactivity.ts | 81 + src/models/operations/getactivitys.ts | 83 + src/models/operations/getaddress.ts | 82 + src/models/operations/getaddresss.ts | 83 + src/models/operations/getapplication.ts | 81 + src/models/operations/getapplications.ts | 83 + src/models/operations/getatsattachment.ts | 81 + src/models/operations/getatsattachments.ts | 83 + src/models/operations/getatstag.ts | 80 + src/models/operations/getatstags.ts | 84 + src/models/operations/getatsuser.ts | 82 + src/models/operations/getatsusers.ts | 83 + src/models/operations/getautomation.ts | 81 + src/models/operations/getautomations.ts | 83 + src/models/operations/getbalancesheet.ts | 81 + src/models/operations/getbalancesheets.ts | 83 + src/models/operations/getbankinfo.ts | 81 + src/models/operations/getbankinfos.ts | 83 + src/models/operations/getbenefit.ts | 82 + src/models/operations/getbenefits.ts | 83 + src/models/operations/getcampaign.ts | 81 + src/models/operations/getcampaigns.ts | 83 + src/models/operations/getcandidate.ts | 81 + src/models/operations/getcandidates.ts | 83 + src/models/operations/getcashflowstatement.ts | 84 + .../operations/getcashflowstatements.ts | 89 + src/models/operations/getcollection.ts | 81 + src/models/operations/getcollections.ts | 97 + src/models/operations/getcomment.ts | 82 + src/models/operations/getcomments.ts | 97 + src/models/operations/getcompanies.ts | 97 + src/models/operations/getcompanyinfo.ts | 81 + src/models/operations/getcompanyinfos.ts | 83 + src/models/operations/getcompanys.ts | 83 + .../operations/getconnectorsfromproject.ts | 33 + src/models/operations/getcredentials.ts | 29 + src/models/operations/getcreditnote.ts | 81 + src/models/operations/getcreditnotes.ts | 83 + src/models/operations/getcrmcompany.ts | 81 + src/models/operations/getcrmcontact.ts | 81 + src/models/operations/getcrmuser.ts | 82 + src/models/operations/getcrmusers.ts | 97 + .../operations/getcustomproviderproperties.ts | 40 + src/models/operations/getdeal.ts | 79 + src/models/operations/getdeals.ts | 97 + src/models/operations/getdepartment.ts | 81 + src/models/operations/getdepartments.ts | 83 + src/models/operations/getdependent.ts | 81 + src/models/operations/getdependents.ts | 83 + src/models/operations/getdrive.ts | 81 + src/models/operations/getdrives.ts | 82 + src/models/operations/geteeocs.ts | 81 + src/models/operations/geteeocss.ts | 82 + src/models/operations/getemail.ts | 81 + src/models/operations/getemails.ts | 82 + src/models/operations/getemployee.ts | 81 + .../operations/getemployeepayrollrun.ts | 87 + .../operations/getemployeepayrollruns.ts | 90 + src/models/operations/getemployees.ts | 83 + src/models/operations/getemployerbenefit.ts | 81 + src/models/operations/getemployerbenefits.ts | 86 + src/models/operations/getemployment.ts | 81 + src/models/operations/getemployments.ts | 83 + src/models/operations/getengagement.ts | 81 + src/models/operations/getengagements.ts | 97 + src/models/operations/getevent.ts | 81 + src/models/operations/getexpense.ts | 82 + src/models/operations/getexpenses.ts | 83 + src/models/operations/getfile.ts | 79 + src/models/operations/getfiles.ts | 83 + src/models/operations/getfolder.ts | 80 + src/models/operations/getfolders.ts | 84 + src/models/operations/getgroup.ts | 81 + src/models/operations/getgroups.ts | 82 + src/models/operations/gethriscompany.ts | 81 + src/models/operations/getincomestatement.ts | 81 + src/models/operations/getincomestatements.ts | 86 + src/models/operations/getinterview.ts | 81 + src/models/operations/getinterviews.ts | 83 + src/models/operations/getinvoice.ts | 82 + src/models/operations/getinvoices.ts | 83 + src/models/operations/getitem.ts | 79 + src/models/operations/getitems.ts | 83 + src/models/operations/getjob.ts | 79 + src/models/operations/getjobinterviewstage.ts | 84 + .../operations/getjobinterviewstages.ts | 89 + src/models/operations/getjobs.ts | 81 + src/models/operations/getjournalentry.ts | 81 + src/models/operations/getjournalentrys.ts | 83 + src/models/operations/getlinkeduser.ts | 26 + src/models/operations/getlist.ts | 79 + src/models/operations/getlists.ts | 83 + src/models/operations/getlocation.ts | 81 + src/models/operations/getlocations.ts | 83 + src/models/operations/getmagiclink.ts | 24 + src/models/operations/getmanagedwebhooks.ts | 37 + .../getmarketingautomationcontact.ts | 95 + .../getmarketingautomationcontacts.ts | 97 + .../getmarketingautomationevents.ts | 97 + .../operations/getmarketingautomationuser.ts | 95 + .../operations/getmarketingautomationusers.ts | 97 + src/models/operations/getmessage.ts | 82 + src/models/operations/getmessages.ts | 83 + src/models/operations/getnote.ts | 79 + src/models/operations/getnotes.ts | 97 + src/models/operations/getoffer.ts | 81 + src/models/operations/getoffers.ts | 82 + src/models/operations/getoffice.ts | 80 + src/models/operations/getoffices.ts | 84 + src/models/operations/getpanoracoreevents.ts | 30 + src/models/operations/getpaygroup.ts | 81 + src/models/operations/getpaygroups.ts | 83 + src/models/operations/getpayment.ts | 82 + src/models/operations/getpayments.ts | 83 + src/models/operations/getpayrollrun.ts | 81 + src/models/operations/getpayrollruns.ts | 83 + src/models/operations/getpermission.ts | 81 + src/models/operations/getpermissions.ts | 83 + src/models/operations/getphonenumber.ts | 81 + src/models/operations/getphonenumbers.ts | 83 + src/models/operations/getpurchaseorder.ts | 81 + src/models/operations/getpurchaseorders.ts | 83 + src/models/operations/getrejectreason.ts | 81 + src/models/operations/getrejectreasons.ts | 83 + src/models/operations/getscorecard.ts | 81 + src/models/operations/getscorecards.ts | 83 + src/models/operations/getscreeningquestion.ts | 84 + .../operations/getscreeningquestions.ts | 89 + src/models/operations/getsharedlink.ts | 81 + src/models/operations/getsharedlinks.ts | 83 + src/models/operations/getstage.ts | 81 + src/models/operations/getstages.ts | 96 + src/models/operations/getsyncstatus.ts | 26 + src/models/operations/gettask.ts | 79 + src/models/operations/gettasks.ts | 97 + src/models/operations/gettaxrate.ts | 82 + src/models/operations/gettaxrates.ts | 83 + src/models/operations/getteam.ts | 79 + src/models/operations/getteams.ts | 97 + src/models/operations/gettemplate.ts | 81 + src/models/operations/gettemplates.ts | 83 + src/models/operations/getticket.ts | 80 + src/models/operations/getticketingaccount.ts | 84 + src/models/operations/getticketingaccounts.ts | 100 + .../operations/getticketingattachment.ts | 88 + .../operations/getticketingattachments.ts | 104 + src/models/operations/getticketingcontact.ts | 84 + src/models/operations/getticketingcontacts.ts | 100 + src/models/operations/getticketingtag.ts | 81 + src/models/operations/getticketingtags.ts | 97 + src/models/operations/getticketinguser.ts | 81 + src/models/operations/getticketingusers.ts | 97 + src/models/operations/gettickets.ts | 98 + src/models/operations/gettimeoff.ts | 82 + src/models/operations/gettimeoffbalance.ts | 81 + src/models/operations/gettimeoffbalances.ts | 83 + src/models/operations/gettimeoffs.ts | 83 + src/models/operations/gettrackingcategory.ts | 84 + src/models/operations/gettrackingcategorys.ts | 86 + src/models/operations/gettransaction.ts | 81 + src/models/operations/gettransactions.ts | 83 + src/models/operations/getvendorcredit.ts | 81 + src/models/operations/getvendorcredits.ts | 83 + src/models/operations/handleapikeycallback.ts | 42 + src/models/operations/handleoauthcallback.ts | 30 + .../operations/handlethirdpartywebhook.ts | 38 + src/models/operations/index.ts | 262 + .../operations/linkeduserfromremoteid.ts | 26 + src/models/operations/listcrmcontacts.ts | 97 + src/models/operations/passthroughrequest.ts | 50 + src/models/operations/resync.ts | 24 + src/models/operations/updatecompany.ts | 60 + .../operations/updatemanagedwebhooksstatus.ts | 45 + src/models/operations/updatewebhookstatus.ts | 26 + src/sdk/accountingaccount.ts | 262 + src/sdk/accountingaddress.ts | 262 + src/sdk/accountingattachment.ts | 262 + src/sdk/accountingbalancesheet.ts | 262 + src/sdk/accountingcashflowstatement.ts | 264 + src/sdk/accountingcompanyinfo.ts | 262 + src/sdk/accountingcontact.ts | 262 + src/sdk/accountingcreditnote.ts | 262 + src/sdk/accountingexpense.ts | 262 + src/sdk/accountingincomestatement.ts | 262 + src/sdk/accountinginvoice.ts | 262 + src/sdk/accountingitem.ts | 262 + src/sdk/accountingjournalentry.ts | 262 + src/sdk/accountingpayment.ts | 262 + src/sdk/accountingphonenumber.ts | 262 + src/sdk/accountingpurchaseorder.ts | 262 + src/sdk/accountingtaxrate.ts | 262 + src/sdk/accountingtrackingcategory.ts | 262 + src/sdk/accountingtransaction.ts | 262 + src/sdk/accountingvendorcredit.ts | 262 + src/sdk/atsactivity.ts | 262 + src/sdk/atsapplication.ts | 262 + src/sdk/atsattachment.ts | 262 + src/sdk/atscandidate.ts | 262 + src/sdk/atsdepartment.ts | 262 + src/sdk/atseeocs.ts | 262 + src/sdk/atsinterview.ts | 262 + src/sdk/atsjob.ts | 262 + src/sdk/atsjobinterviewstage.ts | 264 + src/sdk/atsoffer.ts | 262 + src/sdk/atsoffice.ts | 262 + src/sdk/atsrejectreason.ts | 262 + src/sdk/atsscorecard.ts | 262 + src/sdk/atsscreeningquestion.ts | 264 + src/sdk/atstag.ts | 262 + src/sdk/atsuser.ts | 262 + src/sdk/auth.ts | 499 + src/sdk/connections.ts | 223 + src/sdk/connectionsstrategies.ts | 476 + src/sdk/crmcompanies.ts | 328 + src/sdk/crmcontacts.ts | 264 + src/sdk/crmdeals.ts | 264 + src/sdk/crmengagements.ts | 264 + src/sdk/crmnotes.ts | 264 + src/sdk/crmstages.ts | 186 + src/sdk/crmtasks.ts | 264 + src/sdk/crmusers.ts | 186 + src/sdk/events.ts | 155 + src/sdk/fieldmappings.ts | 449 + src/sdk/filestoragedrive.ts | 262 + src/sdk/filestoragefile.ts | 262 + src/sdk/filestoragefolder.ts | 262 + src/sdk/filestoragepermission.ts | 262 + src/sdk/filestoragesharedlink.ts | 262 + src/sdk/hrisbankinfo.ts | 262 + src/sdk/hrisbenefit.ts | 262 + src/sdk/hriscompany.ts | 262 + src/sdk/hrisdependent.ts | 262 + src/sdk/hrisemployee.ts | 262 + src/sdk/hrisemployeepayrollrun.ts | 264 + src/sdk/hrisemployerbenefit.ts | 262 + src/sdk/hrisemployment.ts | 262 + src/sdk/hrisgroup.ts | 262 + src/sdk/hrislocation.ts | 262 + src/sdk/hrispaygroup.ts | 262 + src/sdk/hrispayrollrun.ts | 262 + src/sdk/hristimeoff.ts | 262 + src/sdk/hristimeoffbalance.ts | 262 + src/sdk/index.ts | 5 + src/sdk/linkedusers.ts | 348 + src/sdk/magiclinks.ts | 221 + src/sdk/managedwebhooks.ts | 303 + src/sdk/marketingautomationaction.ts | 262 + src/sdk/marketingautomationautomation.ts | 264 + src/sdk/marketingautomationcampaign.ts | 262 + src/sdk/marketingautomationcontact.ts | 266 + src/sdk/marketingautomationemail.ts | 262 + src/sdk/marketingautomationevent.ts | 263 + src/sdk/marketingautomationlist.ts | 262 + src/sdk/marketingautomationmessage.ts | 262 + src/sdk/marketingautomationtemplate.ts | 262 + src/sdk/marketingautomationuser.ts | 262 + src/sdk/mw.ts | 108 + src/sdk/organisations.ts | 153 + src/sdk/passthrough.ts | 110 + src/sdk/projectconnectors.ts | 172 + src/sdk/projects.ts | 153 + src/sdk/sdk.ts | 768 + src/sdk/syncs.ts | 173 + src/sdk/ticketingaccounts.ts | 186 + src/sdk/ticketingattachments.ts | 336 + src/sdk/ticketingcollections.ts | 186 + src/sdk/ticketingcomments.ts | 264 + src/sdk/ticketingcontacts.ts | 186 + src/sdk/ticketingtags.ts | 186 + src/sdk/ticketingteams.ts | 186 + src/sdk/ticketingtickets.ts | 264 + src/sdk/ticketingusers.ts | 186 + src/sdk/webhook.ts | 347 + src/types/blobs.ts | 31 + src/types/enums.ts | 16 + src/types/index.ts | 10 + src/types/operations.ts | 25 + src/types/rfcdate.ts | 54 + tsconfig.json | 40 + 1330 files changed, 69141 insertions(+), 9329 deletions(-) create mode 100644 .eslintrc.cjs create mode 100644 .gitattributes create mode 100644 .npmignore create mode 100755 .speakeasy/gen.lock create mode 100755 .speakeasy/gen.yaml create mode 100644 .speakeasy/workflow.lock create mode 100644 RELEASES.md create mode 100644 RUNTIMES.md create mode 100644 USAGE.md create mode 100644 docs/models/components/apikeydto.md create mode 100644 docs/models/components/bodydatatype.md create mode 100644 docs/models/components/connectionstrategycredentials.md create mode 100644 docs/models/components/createbatchlinkeduserdto.md create mode 100644 docs/models/components/createconnectionstrategydto.md create mode 100644 docs/models/components/createlinkeduserdto.md create mode 100644 docs/models/components/createmagiclinkdto.md create mode 100644 docs/models/components/createorganizationdto.md create mode 100644 docs/models/components/createprojectdto.md create mode 100644 docs/models/components/createuserdto.md create mode 100644 docs/models/components/customfieldcreatedto.md create mode 100644 docs/models/components/data.md create mode 100644 docs/models/components/definetargetfielddto.md create mode 100644 docs/models/components/deletecsdto.md create mode 100644 docs/models/components/fieldmappings.md create mode 100644 docs/models/components/headers.md create mode 100644 docs/models/components/logindto.md create mode 100644 docs/models/components/managedwebhooksdto.md create mode 100644 docs/models/components/mapfieldtoproviderdto.md create mode 100644 docs/models/components/method.md create mode 100644 docs/models/components/passthroughrequestdto.md create mode 100644 docs/models/components/passthroughresponse.md create mode 100644 docs/models/components/passthroughresponsedata.md create mode 100644 docs/models/components/projectconnectorsdto.md create mode 100644 docs/models/components/refreshdto.md create mode 100644 docs/models/components/remotedata.md create mode 100644 docs/models/components/remotethirdpartycreationdto.md create mode 100644 docs/models/components/security.md create mode 100644 docs/models/components/signatureverificationdto.md create mode 100644 docs/models/components/togglestrategydto.md create mode 100644 docs/models/components/unifiedaccountinput.md create mode 100644 docs/models/components/unifiedaccountoutput.md create mode 100644 docs/models/components/unifiedactioninput.md create mode 100644 docs/models/components/unifiedactionoutput.md create mode 100644 docs/models/components/unifiedactivityinput.md create mode 100644 docs/models/components/unifiedactivityoutput.md create mode 100644 docs/models/components/unifiedaddressinput.md create mode 100644 docs/models/components/unifiedaddressoutput.md create mode 100644 docs/models/components/unifiedapplicationinput.md create mode 100644 docs/models/components/unifiedapplicationoutput.md create mode 100644 docs/models/components/unifiedattachmentinput.md create mode 100644 docs/models/components/unifiedattachmentinputfieldmappings.md create mode 100644 docs/models/components/unifiedattachmentoutput.md create mode 100644 docs/models/components/unifiedattachmentoutputfieldmappings.md create mode 100644 docs/models/components/unifiedattachmentoutputremotedata.md create mode 100644 docs/models/components/unifiedautomationinput.md create mode 100644 docs/models/components/unifiedautomationoutput.md create mode 100644 docs/models/components/unifiedbalancesheetinput.md create mode 100644 docs/models/components/unifiedbalancesheetoutput.md create mode 100644 docs/models/components/unifiedbankinfoinput.md create mode 100644 docs/models/components/unifiedbankinfooutput.md create mode 100644 docs/models/components/unifiedbenefitinput.md create mode 100644 docs/models/components/unifiedbenefitoutput.md create mode 100644 docs/models/components/unifiedcampaigninput.md create mode 100644 docs/models/components/unifiedcampaignoutput.md create mode 100644 docs/models/components/unifiedcandidateinput.md create mode 100644 docs/models/components/unifiedcandidateoutput.md create mode 100644 docs/models/components/unifiedcashflowstatementinput.md create mode 100644 docs/models/components/unifiedcashflowstatementoutput.md create mode 100644 docs/models/components/unifiedcollectionoutput.md create mode 100644 docs/models/components/unifiedcollectionoutputremotedata.md create mode 100644 docs/models/components/unifiedcommentinput.md create mode 100644 docs/models/components/unifiedcommentoutput.md create mode 100644 docs/models/components/unifiedcommentoutputremotedata.md create mode 100644 docs/models/components/unifiedcompanyinfoinput.md create mode 100644 docs/models/components/unifiedcompanyinfooutput.md create mode 100644 docs/models/components/unifiedcompanyinput.md create mode 100644 docs/models/components/unifiedcompanyoutput.md create mode 100644 docs/models/components/unifiedcontactinput.md create mode 100644 docs/models/components/unifiedcontactoutput.md create mode 100644 docs/models/components/unifiedcreditnoteinput.md create mode 100644 docs/models/components/unifiedcreditnoteoutput.md create mode 100644 docs/models/components/unifieddealinput.md create mode 100644 docs/models/components/unifieddealinputfieldmappings.md create mode 100644 docs/models/components/unifieddealoutput.md create mode 100644 docs/models/components/unifieddealoutputfieldmappings.md create mode 100644 docs/models/components/unifieddealoutputremotedata.md create mode 100644 docs/models/components/unifieddepartmentinput.md create mode 100644 docs/models/components/unifieddepartmentoutput.md create mode 100644 docs/models/components/unifieddependentinput.md create mode 100644 docs/models/components/unifieddependentoutput.md create mode 100644 docs/models/components/unifieddriveinput.md create mode 100644 docs/models/components/unifieddriveoutput.md create mode 100644 docs/models/components/unifiedeeocsinput.md create mode 100644 docs/models/components/unifiedeeocsoutput.md create mode 100644 docs/models/components/unifiedemailinput.md create mode 100644 docs/models/components/unifiedemailoutput.md create mode 100644 docs/models/components/unifiedemployeeinput.md create mode 100644 docs/models/components/unifiedemployeeoutput.md create mode 100644 docs/models/components/unifiedemployeepayrollruninput.md create mode 100644 docs/models/components/unifiedemployeepayrollrunoutput.md create mode 100644 docs/models/components/unifiedemployerbenefitinput.md create mode 100644 docs/models/components/unifiedemployerbenefitoutput.md create mode 100644 docs/models/components/unifiedemploymentinput.md create mode 100644 docs/models/components/unifiedemploymentoutput.md create mode 100644 docs/models/components/unifiedengagementinput.md create mode 100644 docs/models/components/unifiedengagementinputfieldmappings.md create mode 100644 docs/models/components/unifiedengagementoutput.md create mode 100644 docs/models/components/unifiedengagementoutputfieldmappings.md create mode 100644 docs/models/components/unifiedengagementoutputremotedata.md create mode 100644 docs/models/components/unifiedeventinput.md create mode 100644 docs/models/components/unifiedeventoutput.md create mode 100644 docs/models/components/unifiedexpenseinput.md create mode 100644 docs/models/components/unifiedexpenseoutput.md create mode 100644 docs/models/components/unifiedfileinput.md create mode 100644 docs/models/components/unifiedfileoutput.md create mode 100644 docs/models/components/unifiedfolderinput.md create mode 100644 docs/models/components/unifiedfolderoutput.md create mode 100644 docs/models/components/unifiedgroupinput.md create mode 100644 docs/models/components/unifiedgroupoutput.md create mode 100644 docs/models/components/unifiedincomestatementinput.md create mode 100644 docs/models/components/unifiedincomestatementoutput.md create mode 100644 docs/models/components/unifiedinterviewinput.md create mode 100644 docs/models/components/unifiedinterviewoutput.md create mode 100644 docs/models/components/unifiedinvoiceinput.md create mode 100644 docs/models/components/unifiedinvoiceoutput.md create mode 100644 docs/models/components/unifiediteminput.md create mode 100644 docs/models/components/unifieditemoutput.md create mode 100644 docs/models/components/unifiedjobinput.md create mode 100644 docs/models/components/unifiedjobinterviewstageinput.md create mode 100644 docs/models/components/unifiedjobinterviewstageoutput.md create mode 100644 docs/models/components/unifiedjoboutput.md create mode 100644 docs/models/components/unifiedjournalentryinput.md create mode 100644 docs/models/components/unifiedjournalentryoutput.md create mode 100644 docs/models/components/unifiedlistinput.md create mode 100644 docs/models/components/unifiedlistoutput.md create mode 100644 docs/models/components/unifiedlocationinput.md create mode 100644 docs/models/components/unifiedlocationoutput.md create mode 100644 docs/models/components/unifiedmessageinput.md create mode 100644 docs/models/components/unifiedmessageoutput.md create mode 100644 docs/models/components/unifiednoteinput.md create mode 100644 docs/models/components/unifiednoteinputfieldmappings.md create mode 100644 docs/models/components/unifiednoteoutput.md create mode 100644 docs/models/components/unifiednoteoutputfieldmappings.md create mode 100644 docs/models/components/unifiednoteoutputremotedata.md create mode 100644 docs/models/components/unifiedofferinput.md create mode 100644 docs/models/components/unifiedofferoutput.md create mode 100644 docs/models/components/unifiedofficeinput.md create mode 100644 docs/models/components/unifiedofficeoutput.md create mode 100644 docs/models/components/unifiedpaygroupinput.md create mode 100644 docs/models/components/unifiedpaygroupoutput.md create mode 100644 docs/models/components/unifiedpaymentinput.md create mode 100644 docs/models/components/unifiedpaymentoutput.md create mode 100644 docs/models/components/unifiedpayrollruninput.md create mode 100644 docs/models/components/unifiedpayrollrunoutput.md create mode 100644 docs/models/components/unifiedpermissioninput.md create mode 100644 docs/models/components/unifiedpermissionoutput.md create mode 100644 docs/models/components/unifiedphonenumberinput.md create mode 100644 docs/models/components/unifiedphonenumberoutput.md create mode 100644 docs/models/components/unifiedpurchaseorderinput.md create mode 100644 docs/models/components/unifiedpurchaseorderoutput.md create mode 100644 docs/models/components/unifiedrejectreasoninput.md create mode 100644 docs/models/components/unifiedrejectreasonoutput.md create mode 100644 docs/models/components/unifiedscorecardinput.md create mode 100644 docs/models/components/unifiedscorecardoutput.md create mode 100644 docs/models/components/unifiedscreeningquestioninput.md create mode 100644 docs/models/components/unifiedscreeningquestionoutput.md create mode 100644 docs/models/components/unifiedsharedlinkinput.md create mode 100644 docs/models/components/unifiedsharedlinkoutput.md create mode 100644 docs/models/components/unifiedstageoutput.md create mode 100644 docs/models/components/unifiedstageoutputfieldmappings.md create mode 100644 docs/models/components/unifiedstageoutputremotedata.md create mode 100644 docs/models/components/unifiedtaginput.md create mode 100644 docs/models/components/unifiedtagoutput.md create mode 100644 docs/models/components/unifiedtaskinput.md create mode 100644 docs/models/components/unifiedtaskinputfieldmappings.md create mode 100644 docs/models/components/unifiedtaskoutput.md create mode 100644 docs/models/components/unifiedtaskoutputfieldmappings.md create mode 100644 docs/models/components/unifiedtaskoutputremotedata.md create mode 100644 docs/models/components/unifiedtaxrateinput.md create mode 100644 docs/models/components/unifiedtaxrateoutput.md create mode 100644 docs/models/components/unifiedteamoutput.md create mode 100644 docs/models/components/unifiedteamoutputfieldmappings.md create mode 100644 docs/models/components/unifiedteamoutputremotedata.md create mode 100644 docs/models/components/unifiedtemplateinput.md create mode 100644 docs/models/components/unifiedtemplateoutput.md create mode 100644 docs/models/components/unifiedticketinput.md create mode 100644 docs/models/components/unifiedticketinputfieldmappings.md create mode 100644 docs/models/components/unifiedticketoutput.md create mode 100644 docs/models/components/unifiedtimeoffbalanceinput.md create mode 100644 docs/models/components/unifiedtimeoffbalanceoutput.md create mode 100644 docs/models/components/unifiedtimeoffinput.md create mode 100644 docs/models/components/unifiedtimeoffoutput.md create mode 100644 docs/models/components/unifiedtrackingcategoryinput.md create mode 100644 docs/models/components/unifiedtrackingcategoryoutput.md create mode 100644 docs/models/components/unifiedtransactioninput.md create mode 100644 docs/models/components/unifiedtransactionoutput.md create mode 100644 docs/models/components/unifieduserinput.md create mode 100644 docs/models/components/unifieduseroutput.md create mode 100644 docs/models/components/unifiedvendorcreditinput.md create mode 100644 docs/models/components/unifiedvendorcreditoutput.md create mode 100644 docs/models/components/updatecsdto.md create mode 100644 docs/models/components/verifyuserdto.md create mode 100644 docs/models/components/webhookdto.md create mode 100644 docs/models/operations/addaccountingattachmentrequest.md create mode 100644 docs/models/operations/addaccountingattachmentresponse.md create mode 100644 docs/models/operations/addaccountingattachmentresponsebody.md create mode 100644 docs/models/operations/addaccountingcontactrequest.md create mode 100644 docs/models/operations/addaccountingcontactresponse.md create mode 100644 docs/models/operations/addaccountingcontactresponsebody.md create mode 100644 docs/models/operations/addaccountrequest.md create mode 100644 docs/models/operations/addaccountresponse.md create mode 100644 docs/models/operations/addaccountresponsebody.md create mode 100644 docs/models/operations/addactionrequest.md create mode 100644 docs/models/operations/addactionresponse.md create mode 100644 docs/models/operations/addactionresponsebody.md create mode 100644 docs/models/operations/addactivityrequest.md create mode 100644 docs/models/operations/addactivityresponse.md create mode 100644 docs/models/operations/addactivityresponsebody.md create mode 100644 docs/models/operations/addaddressrequest.md create mode 100644 docs/models/operations/addaddressresponse.md create mode 100644 docs/models/operations/addaddressresponsebody.md create mode 100644 docs/models/operations/addapplicationrequest.md create mode 100644 docs/models/operations/addapplicationresponse.md create mode 100644 docs/models/operations/addapplicationresponsebody.md create mode 100644 docs/models/operations/addatsattachmentrequest.md create mode 100644 docs/models/operations/addatsattachmentresponse.md create mode 100644 docs/models/operations/addatsattachmentresponsebody.md create mode 100644 docs/models/operations/addatsuserrequest.md create mode 100644 docs/models/operations/addatsuserresponse.md create mode 100644 docs/models/operations/addatsuserresponsebody.md create mode 100644 docs/models/operations/addautomationrequest.md create mode 100644 docs/models/operations/addautomationresponse.md create mode 100644 docs/models/operations/addautomationresponsebody.md create mode 100644 docs/models/operations/addbalancesheetrequest.md create mode 100644 docs/models/operations/addbalancesheetresponse.md create mode 100644 docs/models/operations/addbalancesheetresponsebody.md create mode 100644 docs/models/operations/addbankinforequest.md create mode 100644 docs/models/operations/addbankinforesponse.md create mode 100644 docs/models/operations/addbankinforesponsebody.md create mode 100644 docs/models/operations/addbenefitrequest.md create mode 100644 docs/models/operations/addbenefitresponse.md create mode 100644 docs/models/operations/addbenefitresponsebody.md create mode 100644 docs/models/operations/addcampaignrequest.md create mode 100644 docs/models/operations/addcampaignresponse.md create mode 100644 docs/models/operations/addcampaignresponsebody.md create mode 100644 docs/models/operations/addcandidaterequest.md create mode 100644 docs/models/operations/addcandidateresponse.md create mode 100644 docs/models/operations/addcandidateresponsebody.md create mode 100644 docs/models/operations/addcashflowstatementrequest.md create mode 100644 docs/models/operations/addcashflowstatementresponse.md create mode 100644 docs/models/operations/addcashflowstatementresponsebody.md create mode 100644 docs/models/operations/addcommentrequest.md create mode 100644 docs/models/operations/addcommentresponse.md create mode 100644 docs/models/operations/addcommentresponsebody.md create mode 100644 docs/models/operations/addcompanyinforequest.md create mode 100644 docs/models/operations/addcompanyinforesponse.md create mode 100644 docs/models/operations/addcompanyinforesponsebody.md create mode 100644 docs/models/operations/addcreditnoterequest.md create mode 100644 docs/models/operations/addcreditnoteresponse.md create mode 100644 docs/models/operations/addcreditnoteresponsebody.md create mode 100644 docs/models/operations/addcrmcompanyrequest.md create mode 100644 docs/models/operations/addcrmcompanyresponse.md create mode 100644 docs/models/operations/addcrmcompanyresponsebody.md create mode 100644 docs/models/operations/addcrmcontactrequest.md create mode 100644 docs/models/operations/addcrmcontactresponse.md create mode 100644 docs/models/operations/addcrmcontactresponsebody.md create mode 100644 docs/models/operations/adddealrequest.md create mode 100644 docs/models/operations/adddealresponse.md create mode 100644 docs/models/operations/adddealresponsebody.md create mode 100644 docs/models/operations/adddepartmentrequest.md create mode 100644 docs/models/operations/adddepartmentresponse.md create mode 100644 docs/models/operations/adddepartmentresponsebody.md create mode 100644 docs/models/operations/adddependentrequest.md create mode 100644 docs/models/operations/adddependentresponse.md create mode 100644 docs/models/operations/adddependentresponsebody.md create mode 100644 docs/models/operations/adddriverequest.md create mode 100644 docs/models/operations/adddriveresponse.md create mode 100644 docs/models/operations/adddriveresponsebody.md create mode 100644 docs/models/operations/addeeocsrequest.md create mode 100644 docs/models/operations/addeeocsresponse.md create mode 100644 docs/models/operations/addeeocsresponsebody.md create mode 100644 docs/models/operations/addemailrequest.md create mode 100644 docs/models/operations/addemailresponse.md create mode 100644 docs/models/operations/addemailresponsebody.md create mode 100644 docs/models/operations/addemployeepayrollrunrequest.md create mode 100644 docs/models/operations/addemployeepayrollrunresponse.md create mode 100644 docs/models/operations/addemployeepayrollrunresponsebody.md create mode 100644 docs/models/operations/addemployeerequest.md create mode 100644 docs/models/operations/addemployeeresponse.md create mode 100644 docs/models/operations/addemployeeresponsebody.md create mode 100644 docs/models/operations/addemployerbenefitrequest.md create mode 100644 docs/models/operations/addemployerbenefitresponse.md create mode 100644 docs/models/operations/addemployerbenefitresponsebody.md create mode 100644 docs/models/operations/addemploymentrequest.md create mode 100644 docs/models/operations/addemploymentresponse.md create mode 100644 docs/models/operations/addemploymentresponsebody.md create mode 100644 docs/models/operations/addengagementrequest.md create mode 100644 docs/models/operations/addengagementresponse.md create mode 100644 docs/models/operations/addengagementresponsebody.md create mode 100644 docs/models/operations/addeventrequest.md create mode 100644 docs/models/operations/addeventresponse.md create mode 100644 docs/models/operations/addeventresponsebody.md create mode 100644 docs/models/operations/addexpenserequest.md create mode 100644 docs/models/operations/addexpenseresponse.md create mode 100644 docs/models/operations/addexpenseresponsebody.md create mode 100644 docs/models/operations/addfilerequest.md create mode 100644 docs/models/operations/addfileresponse.md create mode 100644 docs/models/operations/addfileresponsebody.md create mode 100644 docs/models/operations/addfolderrequest.md create mode 100644 docs/models/operations/addfolderresponse.md create mode 100644 docs/models/operations/addfolderresponsebody.md create mode 100644 docs/models/operations/addgrouprequest.md create mode 100644 docs/models/operations/addgroupresponse.md create mode 100644 docs/models/operations/addgroupresponsebody.md create mode 100644 docs/models/operations/addhriscompanyrequest.md create mode 100644 docs/models/operations/addhriscompanyresponse.md create mode 100644 docs/models/operations/addhriscompanyresponsebody.md create mode 100644 docs/models/operations/addincomestatementrequest.md create mode 100644 docs/models/operations/addincomestatementresponse.md create mode 100644 docs/models/operations/addincomestatementresponsebody.md create mode 100644 docs/models/operations/addinterviewrequest.md create mode 100644 docs/models/operations/addinterviewresponse.md create mode 100644 docs/models/operations/addinterviewresponsebody.md create mode 100644 docs/models/operations/addinvoicerequest.md create mode 100644 docs/models/operations/addinvoiceresponse.md create mode 100644 docs/models/operations/addinvoiceresponsebody.md create mode 100644 docs/models/operations/additemrequest.md create mode 100644 docs/models/operations/additemresponse.md create mode 100644 docs/models/operations/additemresponsebody.md create mode 100644 docs/models/operations/addjobinterviewstagerequest.md create mode 100644 docs/models/operations/addjobinterviewstageresponse.md create mode 100644 docs/models/operations/addjobinterviewstageresponsebody.md create mode 100644 docs/models/operations/addjobrequest.md create mode 100644 docs/models/operations/addjobresponse.md create mode 100644 docs/models/operations/addjobresponsebody.md create mode 100644 docs/models/operations/addjournalentryrequest.md create mode 100644 docs/models/operations/addjournalentryresponse.md create mode 100644 docs/models/operations/addjournalentryresponsebody.md create mode 100644 docs/models/operations/addlistrequest.md create mode 100644 docs/models/operations/addlistresponse.md create mode 100644 docs/models/operations/addlistresponsebody.md create mode 100644 docs/models/operations/addlocationrequest.md create mode 100644 docs/models/operations/addlocationresponse.md create mode 100644 docs/models/operations/addlocationresponsebody.md create mode 100644 docs/models/operations/addmarketingautomationcontactrequest.md create mode 100644 docs/models/operations/addmarketingautomationcontactresponse.md create mode 100644 docs/models/operations/addmarketingautomationcontactresponsebody.md create mode 100644 docs/models/operations/addmarketingautomationuserrequest.md create mode 100644 docs/models/operations/addmarketingautomationuserresponse.md create mode 100644 docs/models/operations/addmarketingautomationuserresponsebody.md create mode 100644 docs/models/operations/addmessagerequest.md create mode 100644 docs/models/operations/addmessageresponse.md create mode 100644 docs/models/operations/addmessageresponsebody.md create mode 100644 docs/models/operations/addnoterequest.md create mode 100644 docs/models/operations/addnoteresponse.md create mode 100644 docs/models/operations/addnoteresponsebody.md create mode 100644 docs/models/operations/addofferrequest.md create mode 100644 docs/models/operations/addofferresponse.md create mode 100644 docs/models/operations/addofferresponsebody.md create mode 100644 docs/models/operations/addofficerequest.md create mode 100644 docs/models/operations/addofficeresponse.md create mode 100644 docs/models/operations/addofficeresponsebody.md create mode 100644 docs/models/operations/addpaygrouprequest.md create mode 100644 docs/models/operations/addpaygroupresponse.md create mode 100644 docs/models/operations/addpaygroupresponsebody.md create mode 100644 docs/models/operations/addpaymentrequest.md create mode 100644 docs/models/operations/addpaymentresponse.md create mode 100644 docs/models/operations/addpaymentresponsebody.md create mode 100644 docs/models/operations/addpayrollrunrequest.md create mode 100644 docs/models/operations/addpayrollrunresponse.md create mode 100644 docs/models/operations/addpayrollrunresponsebody.md create mode 100644 docs/models/operations/addpermissionrequest.md create mode 100644 docs/models/operations/addpermissionresponse.md create mode 100644 docs/models/operations/addpermissionresponsebody.md create mode 100644 docs/models/operations/addphonenumberrequest.md create mode 100644 docs/models/operations/addphonenumberresponse.md create mode 100644 docs/models/operations/addphonenumberresponsebody.md create mode 100644 docs/models/operations/addpurchaseorderrequest.md create mode 100644 docs/models/operations/addpurchaseorderresponse.md create mode 100644 docs/models/operations/addpurchaseorderresponsebody.md create mode 100644 docs/models/operations/addrejectreasonrequest.md create mode 100644 docs/models/operations/addrejectreasonresponse.md create mode 100644 docs/models/operations/addrejectreasonresponsebody.md create mode 100644 docs/models/operations/addscorecardrequest.md create mode 100644 docs/models/operations/addscorecardresponse.md create mode 100644 docs/models/operations/addscorecardresponsebody.md create mode 100644 docs/models/operations/addscreeningquestionrequest.md create mode 100644 docs/models/operations/addscreeningquestionresponse.md create mode 100644 docs/models/operations/addscreeningquestionresponsebody.md create mode 100644 docs/models/operations/addsharedlinkrequest.md create mode 100644 docs/models/operations/addsharedlinkresponse.md create mode 100644 docs/models/operations/addsharedlinkresponsebody.md create mode 100644 docs/models/operations/addtagrequest.md create mode 100644 docs/models/operations/addtagresponse.md create mode 100644 docs/models/operations/addtagresponsebody.md create mode 100644 docs/models/operations/addtaskrequest.md create mode 100644 docs/models/operations/addtaskresponse.md create mode 100644 docs/models/operations/addtaskresponsebody.md create mode 100644 docs/models/operations/addtaxraterequest.md create mode 100644 docs/models/operations/addtaxrateresponse.md create mode 100644 docs/models/operations/addtaxrateresponsebody.md create mode 100644 docs/models/operations/addtemplaterequest.md create mode 100644 docs/models/operations/addtemplateresponse.md create mode 100644 docs/models/operations/addtemplateresponsebody.md create mode 100644 docs/models/operations/addticketingattachmentrequest.md create mode 100644 docs/models/operations/addticketingattachmentresponse.md create mode 100644 docs/models/operations/addticketingattachmentresponsebody.md create mode 100644 docs/models/operations/addticketrequest.md create mode 100644 docs/models/operations/addticketresponse.md create mode 100644 docs/models/operations/addticketresponsebody.md create mode 100644 docs/models/operations/addtimeoffbalancerequest.md create mode 100644 docs/models/operations/addtimeoffbalanceresponse.md create mode 100644 docs/models/operations/addtimeoffbalanceresponsebody.md create mode 100644 docs/models/operations/addtimeoffrequest.md create mode 100644 docs/models/operations/addtimeoffresponse.md create mode 100644 docs/models/operations/addtimeoffresponsebody.md create mode 100644 docs/models/operations/addtrackingcategoryrequest.md create mode 100644 docs/models/operations/addtrackingcategoryresponse.md create mode 100644 docs/models/operations/addtrackingcategoryresponsebody.md create mode 100644 docs/models/operations/addtransactionrequest.md create mode 100644 docs/models/operations/addtransactionresponse.md create mode 100644 docs/models/operations/addtransactionresponsebody.md create mode 100644 docs/models/operations/addvendorcreditrequest.md create mode 100644 docs/models/operations/addvendorcreditresponse.md create mode 100644 docs/models/operations/addvendorcreditresponsebody.md create mode 100644 docs/models/operations/deleteapikeyrequest.md create mode 100644 docs/models/operations/deletewebhookrequest.md create mode 100644 docs/models/operations/downloadattachmentrequest.md create mode 100644 docs/models/operations/downloadattachmentresponsebody.md create mode 100644 docs/models/operations/getaccountingaccountrequest.md create mode 100644 docs/models/operations/getaccountingaccountresponsebody.md create mode 100644 docs/models/operations/getaccountingaccountsrequest.md create mode 100644 docs/models/operations/getaccountingaccountsresponsebody.md create mode 100644 docs/models/operations/getaccountingattachmentrequest.md create mode 100644 docs/models/operations/getaccountingattachmentresponsebody.md create mode 100644 docs/models/operations/getaccountingattachmentsrequest.md create mode 100644 docs/models/operations/getaccountingattachmentsresponsebody.md create mode 100644 docs/models/operations/getaccountingcontactrequest.md create mode 100644 docs/models/operations/getaccountingcontactresponsebody.md create mode 100644 docs/models/operations/getaccountingcontactsrequest.md create mode 100644 docs/models/operations/getaccountingcontactsresponsebody.md create mode 100644 docs/models/operations/getactionrequest.md create mode 100644 docs/models/operations/getactionresponsebody.md create mode 100644 docs/models/operations/getactionsrequest.md create mode 100644 docs/models/operations/getactionsresponsebody.md create mode 100644 docs/models/operations/getactivityrequest.md create mode 100644 docs/models/operations/getactivityresponsebody.md create mode 100644 docs/models/operations/getactivitysrequest.md create mode 100644 docs/models/operations/getactivitysresponsebody.md create mode 100644 docs/models/operations/getaddressrequest.md create mode 100644 docs/models/operations/getaddressresponsebody.md create mode 100644 docs/models/operations/getaddresssrequest.md create mode 100644 docs/models/operations/getaddresssresponsebody.md create mode 100644 docs/models/operations/getapplicationrequest.md create mode 100644 docs/models/operations/getapplicationresponsebody.md create mode 100644 docs/models/operations/getapplicationsrequest.md create mode 100644 docs/models/operations/getapplicationsresponsebody.md create mode 100644 docs/models/operations/getatsattachmentrequest.md create mode 100644 docs/models/operations/getatsattachmentresponsebody.md create mode 100644 docs/models/operations/getatsattachmentsrequest.md create mode 100644 docs/models/operations/getatsattachmentsresponsebody.md create mode 100644 docs/models/operations/getatstagrequest.md create mode 100644 docs/models/operations/getatstagresponsebody.md create mode 100644 docs/models/operations/getatstagsrequest.md create mode 100644 docs/models/operations/getatstagsresponsebody.md create mode 100644 docs/models/operations/getatsuserrequest.md create mode 100644 docs/models/operations/getatsuserresponsebody.md create mode 100644 docs/models/operations/getatsusersrequest.md create mode 100644 docs/models/operations/getatsusersresponsebody.md create mode 100644 docs/models/operations/getautomationrequest.md create mode 100644 docs/models/operations/getautomationresponsebody.md create mode 100644 docs/models/operations/getautomationsrequest.md create mode 100644 docs/models/operations/getautomationsresponsebody.md create mode 100644 docs/models/operations/getbalancesheetrequest.md create mode 100644 docs/models/operations/getbalancesheetresponsebody.md create mode 100644 docs/models/operations/getbalancesheetsrequest.md create mode 100644 docs/models/operations/getbalancesheetsresponsebody.md create mode 100644 docs/models/operations/getbankinforequest.md create mode 100644 docs/models/operations/getbankinforesponsebody.md create mode 100644 docs/models/operations/getbankinfosrequest.md create mode 100644 docs/models/operations/getbankinfosresponsebody.md create mode 100644 docs/models/operations/getbenefitrequest.md create mode 100644 docs/models/operations/getbenefitresponsebody.md create mode 100644 docs/models/operations/getbenefitsrequest.md create mode 100644 docs/models/operations/getbenefitsresponsebody.md create mode 100644 docs/models/operations/getcampaignrequest.md create mode 100644 docs/models/operations/getcampaignresponsebody.md create mode 100644 docs/models/operations/getcampaignsrequest.md create mode 100644 docs/models/operations/getcampaignsresponsebody.md create mode 100644 docs/models/operations/getcandidaterequest.md create mode 100644 docs/models/operations/getcandidateresponsebody.md create mode 100644 docs/models/operations/getcandidatesrequest.md create mode 100644 docs/models/operations/getcandidatesresponsebody.md create mode 100644 docs/models/operations/getcashflowstatementrequest.md create mode 100644 docs/models/operations/getcashflowstatementresponsebody.md create mode 100644 docs/models/operations/getcashflowstatementsrequest.md create mode 100644 docs/models/operations/getcashflowstatementsresponsebody.md create mode 100644 docs/models/operations/getcollectionrequest.md create mode 100644 docs/models/operations/getcollectionresponsebody.md create mode 100644 docs/models/operations/getcollectionsrequest.md create mode 100644 docs/models/operations/getcollectionsresponsebody.md create mode 100644 docs/models/operations/getcommentrequest.md create mode 100644 docs/models/operations/getcommentresponsebody.md create mode 100644 docs/models/operations/getcommentsrequest.md create mode 100644 docs/models/operations/getcommentsresponsebody.md create mode 100644 docs/models/operations/getcompaniesrequest.md create mode 100644 docs/models/operations/getcompaniesresponsebody.md create mode 100644 docs/models/operations/getcompanyinforequest.md create mode 100644 docs/models/operations/getcompanyinforesponsebody.md create mode 100644 docs/models/operations/getcompanyinfosrequest.md create mode 100644 docs/models/operations/getcompanyinfosresponsebody.md create mode 100644 docs/models/operations/getcompanysrequest.md create mode 100644 docs/models/operations/getcompanysresponsebody.md create mode 100644 docs/models/operations/getconnectorsfromprojectrequest.md create mode 100644 docs/models/operations/getcredentialsrequest.md create mode 100644 docs/models/operations/getcreditnoterequest.md create mode 100644 docs/models/operations/getcreditnoteresponsebody.md create mode 100644 docs/models/operations/getcreditnotesrequest.md create mode 100644 docs/models/operations/getcreditnotesresponsebody.md create mode 100644 docs/models/operations/getcrmcompanyrequest.md create mode 100644 docs/models/operations/getcrmcompanyresponsebody.md create mode 100644 docs/models/operations/getcrmcontactrequest.md create mode 100644 docs/models/operations/getcrmcontactresponsebody.md create mode 100644 docs/models/operations/getcrmuserrequest.md create mode 100644 docs/models/operations/getcrmuserresponsebody.md create mode 100644 docs/models/operations/getcrmusersrequest.md create mode 100644 docs/models/operations/getcrmusersresponsebody.md create mode 100644 docs/models/operations/getcustomproviderpropertiesrequest.md create mode 100644 docs/models/operations/getdealrequest.md create mode 100644 docs/models/operations/getdealresponsebody.md create mode 100644 docs/models/operations/getdealsrequest.md create mode 100644 docs/models/operations/getdealsresponsebody.md create mode 100644 docs/models/operations/getdepartmentrequest.md create mode 100644 docs/models/operations/getdepartmentresponsebody.md create mode 100644 docs/models/operations/getdepartmentsrequest.md create mode 100644 docs/models/operations/getdepartmentsresponsebody.md create mode 100644 docs/models/operations/getdependentrequest.md create mode 100644 docs/models/operations/getdependentresponsebody.md create mode 100644 docs/models/operations/getdependentsrequest.md create mode 100644 docs/models/operations/getdependentsresponsebody.md create mode 100644 docs/models/operations/getdriverequest.md create mode 100644 docs/models/operations/getdriveresponsebody.md create mode 100644 docs/models/operations/getdrivesrequest.md create mode 100644 docs/models/operations/getdrivesresponsebody.md create mode 100644 docs/models/operations/geteeocsrequest.md create mode 100644 docs/models/operations/geteeocsresponsebody.md create mode 100644 docs/models/operations/geteeocssrequest.md create mode 100644 docs/models/operations/geteeocssresponsebody.md create mode 100644 docs/models/operations/getemailrequest.md create mode 100644 docs/models/operations/getemailresponsebody.md create mode 100644 docs/models/operations/getemailsrequest.md create mode 100644 docs/models/operations/getemailsresponsebody.md create mode 100644 docs/models/operations/getemployeepayrollrunrequest.md create mode 100644 docs/models/operations/getemployeepayrollrunresponsebody.md create mode 100644 docs/models/operations/getemployeepayrollrunsrequest.md create mode 100644 docs/models/operations/getemployeepayrollrunsresponsebody.md create mode 100644 docs/models/operations/getemployeerequest.md create mode 100644 docs/models/operations/getemployeeresponsebody.md create mode 100644 docs/models/operations/getemployeesrequest.md create mode 100644 docs/models/operations/getemployeesresponsebody.md create mode 100644 docs/models/operations/getemployerbenefitrequest.md create mode 100644 docs/models/operations/getemployerbenefitresponsebody.md create mode 100644 docs/models/operations/getemployerbenefitsrequest.md create mode 100644 docs/models/operations/getemployerbenefitsresponsebody.md create mode 100644 docs/models/operations/getemploymentrequest.md create mode 100644 docs/models/operations/getemploymentresponsebody.md create mode 100644 docs/models/operations/getemploymentsrequest.md create mode 100644 docs/models/operations/getemploymentsresponsebody.md create mode 100644 docs/models/operations/getengagementrequest.md create mode 100644 docs/models/operations/getengagementresponsebody.md create mode 100644 docs/models/operations/getengagementsrequest.md create mode 100644 docs/models/operations/getengagementsresponsebody.md create mode 100644 docs/models/operations/geteventrequest.md create mode 100644 docs/models/operations/geteventresponsebody.md create mode 100644 docs/models/operations/getexpenserequest.md create mode 100644 docs/models/operations/getexpenseresponsebody.md create mode 100644 docs/models/operations/getexpensesrequest.md create mode 100644 docs/models/operations/getexpensesresponsebody.md create mode 100644 docs/models/operations/getfilerequest.md create mode 100644 docs/models/operations/getfileresponsebody.md create mode 100644 docs/models/operations/getfilesrequest.md create mode 100644 docs/models/operations/getfilesresponsebody.md create mode 100644 docs/models/operations/getfolderrequest.md create mode 100644 docs/models/operations/getfolderresponsebody.md create mode 100644 docs/models/operations/getfoldersrequest.md create mode 100644 docs/models/operations/getfoldersresponsebody.md create mode 100644 docs/models/operations/getgrouprequest.md create mode 100644 docs/models/operations/getgroupresponsebody.md create mode 100644 docs/models/operations/getgroupsrequest.md create mode 100644 docs/models/operations/getgroupsresponsebody.md create mode 100644 docs/models/operations/gethriscompanyrequest.md create mode 100644 docs/models/operations/gethriscompanyresponsebody.md create mode 100644 docs/models/operations/getincomestatementrequest.md create mode 100644 docs/models/operations/getincomestatementresponsebody.md create mode 100644 docs/models/operations/getincomestatementsrequest.md create mode 100644 docs/models/operations/getincomestatementsresponsebody.md create mode 100644 docs/models/operations/getinterviewrequest.md create mode 100644 docs/models/operations/getinterviewresponsebody.md create mode 100644 docs/models/operations/getinterviewsrequest.md create mode 100644 docs/models/operations/getinterviewsresponsebody.md create mode 100644 docs/models/operations/getinvoicerequest.md create mode 100644 docs/models/operations/getinvoiceresponsebody.md create mode 100644 docs/models/operations/getinvoicesrequest.md create mode 100644 docs/models/operations/getinvoicesresponsebody.md create mode 100644 docs/models/operations/getitemrequest.md create mode 100644 docs/models/operations/getitemresponsebody.md create mode 100644 docs/models/operations/getitemsrequest.md create mode 100644 docs/models/operations/getitemsresponsebody.md create mode 100644 docs/models/operations/getjobinterviewstagerequest.md create mode 100644 docs/models/operations/getjobinterviewstageresponsebody.md create mode 100644 docs/models/operations/getjobinterviewstagesrequest.md create mode 100644 docs/models/operations/getjobinterviewstagesresponsebody.md create mode 100644 docs/models/operations/getjobrequest.md create mode 100644 docs/models/operations/getjobresponsebody.md create mode 100644 docs/models/operations/getjobsrequest.md create mode 100644 docs/models/operations/getjobsresponsebody.md create mode 100644 docs/models/operations/getjournalentryrequest.md create mode 100644 docs/models/operations/getjournalentryresponsebody.md create mode 100644 docs/models/operations/getjournalentrysrequest.md create mode 100644 docs/models/operations/getjournalentrysresponsebody.md create mode 100644 docs/models/operations/getlinkeduserrequest.md create mode 100644 docs/models/operations/getlistrequest.md create mode 100644 docs/models/operations/getlistresponsebody.md create mode 100644 docs/models/operations/getlistsrequest.md create mode 100644 docs/models/operations/getlistsresponsebody.md create mode 100644 docs/models/operations/getlocationrequest.md create mode 100644 docs/models/operations/getlocationresponsebody.md create mode 100644 docs/models/operations/getlocationsrequest.md create mode 100644 docs/models/operations/getlocationsresponsebody.md create mode 100644 docs/models/operations/getmagiclinkrequest.md create mode 100644 docs/models/operations/getmanagedwebhooksrequest.md create mode 100644 docs/models/operations/getmarketingautomationcontactrequest.md create mode 100644 docs/models/operations/getmarketingautomationcontactresponsebody.md create mode 100644 docs/models/operations/getmarketingautomationcontactsrequest.md create mode 100644 docs/models/operations/getmarketingautomationcontactsresponsebody.md create mode 100644 docs/models/operations/getmarketingautomationeventsrequest.md create mode 100644 docs/models/operations/getmarketingautomationeventsresponsebody.md create mode 100644 docs/models/operations/getmarketingautomationuserrequest.md create mode 100644 docs/models/operations/getmarketingautomationuserresponsebody.md create mode 100644 docs/models/operations/getmarketingautomationusersrequest.md create mode 100644 docs/models/operations/getmarketingautomationusersresponsebody.md create mode 100644 docs/models/operations/getmessagerequest.md create mode 100644 docs/models/operations/getmessageresponsebody.md create mode 100644 docs/models/operations/getmessagesrequest.md create mode 100644 docs/models/operations/getmessagesresponsebody.md create mode 100644 docs/models/operations/getnoterequest.md create mode 100644 docs/models/operations/getnoteresponsebody.md create mode 100644 docs/models/operations/getnotesrequest.md create mode 100644 docs/models/operations/getnotesresponsebody.md create mode 100644 docs/models/operations/getofferrequest.md create mode 100644 docs/models/operations/getofferresponsebody.md create mode 100644 docs/models/operations/getoffersrequest.md create mode 100644 docs/models/operations/getoffersresponsebody.md create mode 100644 docs/models/operations/getofficerequest.md create mode 100644 docs/models/operations/getofficeresponsebody.md create mode 100644 docs/models/operations/getofficesrequest.md create mode 100644 docs/models/operations/getofficesresponsebody.md create mode 100644 docs/models/operations/getpanoracoreeventsrequest.md create mode 100644 docs/models/operations/getpaygrouprequest.md create mode 100644 docs/models/operations/getpaygroupresponsebody.md create mode 100644 docs/models/operations/getpaygroupsrequest.md create mode 100644 docs/models/operations/getpaygroupsresponsebody.md create mode 100644 docs/models/operations/getpaymentrequest.md create mode 100644 docs/models/operations/getpaymentresponsebody.md create mode 100644 docs/models/operations/getpaymentsrequest.md create mode 100644 docs/models/operations/getpaymentsresponsebody.md create mode 100644 docs/models/operations/getpayrollrunrequest.md create mode 100644 docs/models/operations/getpayrollrunresponsebody.md create mode 100644 docs/models/operations/getpayrollrunsrequest.md create mode 100644 docs/models/operations/getpayrollrunsresponsebody.md create mode 100644 docs/models/operations/getpermissionrequest.md create mode 100644 docs/models/operations/getpermissionresponsebody.md create mode 100644 docs/models/operations/getpermissionsrequest.md create mode 100644 docs/models/operations/getpermissionsresponsebody.md create mode 100644 docs/models/operations/getphonenumberrequest.md create mode 100644 docs/models/operations/getphonenumberresponsebody.md create mode 100644 docs/models/operations/getphonenumbersrequest.md create mode 100644 docs/models/operations/getphonenumbersresponsebody.md create mode 100644 docs/models/operations/getpurchaseorderrequest.md create mode 100644 docs/models/operations/getpurchaseorderresponsebody.md create mode 100644 docs/models/operations/getpurchaseordersrequest.md create mode 100644 docs/models/operations/getpurchaseordersresponsebody.md create mode 100644 docs/models/operations/getrejectreasonrequest.md create mode 100644 docs/models/operations/getrejectreasonresponsebody.md create mode 100644 docs/models/operations/getrejectreasonsrequest.md create mode 100644 docs/models/operations/getrejectreasonsresponsebody.md create mode 100644 docs/models/operations/getscorecardrequest.md create mode 100644 docs/models/operations/getscorecardresponsebody.md create mode 100644 docs/models/operations/getscorecardsrequest.md create mode 100644 docs/models/operations/getscorecardsresponsebody.md create mode 100644 docs/models/operations/getscreeningquestionrequest.md create mode 100644 docs/models/operations/getscreeningquestionresponsebody.md create mode 100644 docs/models/operations/getscreeningquestionsrequest.md create mode 100644 docs/models/operations/getscreeningquestionsresponsebody.md create mode 100644 docs/models/operations/getsharedlinkrequest.md create mode 100644 docs/models/operations/getsharedlinkresponsebody.md create mode 100644 docs/models/operations/getsharedlinksrequest.md create mode 100644 docs/models/operations/getsharedlinksresponsebody.md create mode 100644 docs/models/operations/getstagerequest.md create mode 100644 docs/models/operations/getstageresponsebody.md create mode 100644 docs/models/operations/getstagesrequest.md create mode 100644 docs/models/operations/getstagesresponsebody.md create mode 100644 docs/models/operations/getsyncstatusrequest.md create mode 100644 docs/models/operations/gettaskrequest.md create mode 100644 docs/models/operations/gettaskresponsebody.md create mode 100644 docs/models/operations/gettasksrequest.md create mode 100644 docs/models/operations/gettasksresponsebody.md create mode 100644 docs/models/operations/gettaxraterequest.md create mode 100644 docs/models/operations/gettaxrateresponsebody.md create mode 100644 docs/models/operations/gettaxratesrequest.md create mode 100644 docs/models/operations/gettaxratesresponsebody.md create mode 100644 docs/models/operations/getteamrequest.md create mode 100644 docs/models/operations/getteamresponsebody.md create mode 100644 docs/models/operations/getteamsrequest.md create mode 100644 docs/models/operations/getteamsresponsebody.md create mode 100644 docs/models/operations/gettemplaterequest.md create mode 100644 docs/models/operations/gettemplateresponsebody.md create mode 100644 docs/models/operations/gettemplatesrequest.md create mode 100644 docs/models/operations/gettemplatesresponsebody.md create mode 100644 docs/models/operations/getticketingaccountrequest.md create mode 100644 docs/models/operations/getticketingaccountresponsebody.md create mode 100644 docs/models/operations/getticketingaccountsrequest.md create mode 100644 docs/models/operations/getticketingaccountsresponsebody.md create mode 100644 docs/models/operations/getticketingattachmentrequest.md create mode 100644 docs/models/operations/getticketingattachmentresponsebody.md create mode 100644 docs/models/operations/getticketingattachmentsrequest.md create mode 100644 docs/models/operations/getticketingattachmentsresponsebody.md create mode 100644 docs/models/operations/getticketingcontactrequest.md create mode 100644 docs/models/operations/getticketingcontactresponsebody.md create mode 100644 docs/models/operations/getticketingcontactsrequest.md create mode 100644 docs/models/operations/getticketingcontactsresponsebody.md create mode 100644 docs/models/operations/getticketingtagrequest.md create mode 100644 docs/models/operations/getticketingtagresponsebody.md create mode 100644 docs/models/operations/getticketingtagsrequest.md create mode 100644 docs/models/operations/getticketingtagsresponsebody.md create mode 100644 docs/models/operations/getticketinguserrequest.md create mode 100644 docs/models/operations/getticketinguserresponsebody.md create mode 100644 docs/models/operations/getticketingusersrequest.md create mode 100644 docs/models/operations/getticketingusersresponsebody.md create mode 100644 docs/models/operations/getticketrequest.md create mode 100644 docs/models/operations/getticketresponsebody.md create mode 100644 docs/models/operations/getticketsrequest.md create mode 100644 docs/models/operations/getticketsresponsebody.md create mode 100644 docs/models/operations/gettimeoffbalancerequest.md create mode 100644 docs/models/operations/gettimeoffbalanceresponsebody.md create mode 100644 docs/models/operations/gettimeoffbalancesrequest.md create mode 100644 docs/models/operations/gettimeoffbalancesresponsebody.md create mode 100644 docs/models/operations/gettimeoffrequest.md create mode 100644 docs/models/operations/gettimeoffresponsebody.md create mode 100644 docs/models/operations/gettimeoffsrequest.md create mode 100644 docs/models/operations/gettimeoffsresponsebody.md create mode 100644 docs/models/operations/gettrackingcategoryrequest.md create mode 100644 docs/models/operations/gettrackingcategoryresponsebody.md create mode 100644 docs/models/operations/gettrackingcategorysrequest.md create mode 100644 docs/models/operations/gettrackingcategorysresponsebody.md create mode 100644 docs/models/operations/gettransactionrequest.md create mode 100644 docs/models/operations/gettransactionresponsebody.md create mode 100644 docs/models/operations/gettransactionsrequest.md create mode 100644 docs/models/operations/gettransactionsresponsebody.md create mode 100644 docs/models/operations/getvendorcreditrequest.md create mode 100644 docs/models/operations/getvendorcreditresponsebody.md create mode 100644 docs/models/operations/getvendorcreditsrequest.md create mode 100644 docs/models/operations/getvendorcreditsresponsebody.md create mode 100644 docs/models/operations/handleapikeycallbackrequest.md create mode 100644 docs/models/operations/handleoauthcallbackrequest.md create mode 100644 docs/models/operations/handlethirdpartywebhookrequest.md create mode 100644 docs/models/operations/linkeduserfromremoteidrequest.md create mode 100644 docs/models/operations/listcrmcontactsrequest.md create mode 100644 docs/models/operations/listcrmcontactsresponsebody.md create mode 100644 docs/models/operations/passthroughrequestrequest.md create mode 100644 docs/models/operations/resyncrequest.md create mode 100644 docs/models/operations/updatecompanyrequest.md create mode 100644 docs/models/operations/updatecompanyresponsebody.md create mode 100644 docs/models/operations/updatemanagedwebhooksstatusrequest.md create mode 100644 docs/models/operations/updatewebhookstatusrequest.md create mode 100644 jsr.json create mode 100644 src/hooks/hooks.ts create mode 100644 src/hooks/index.ts create mode 100644 src/hooks/types.ts create mode 100644 src/index.ts create mode 100644 src/lib/base64.ts create mode 100644 src/lib/config.ts create mode 100644 src/lib/encodings.ts create mode 100644 src/lib/http.ts create mode 100644 src/lib/is-plain-object.ts create mode 100644 src/lib/primitives.ts create mode 100644 src/lib/retries.ts create mode 100644 src/lib/schemas.ts create mode 100644 src/lib/sdks.ts create mode 100644 src/lib/security.ts create mode 100644 src/lib/url.ts create mode 100644 src/models/components/apikeydto.ts create mode 100644 src/models/components/bodydatatype.ts create mode 100644 src/models/components/connectionstrategycredentials.ts create mode 100644 src/models/components/createbatchlinkeduserdto.ts create mode 100644 src/models/components/createconnectionstrategydto.ts create mode 100644 src/models/components/createlinkeduserdto.ts create mode 100644 src/models/components/createmagiclinkdto.ts create mode 100644 src/models/components/createorganizationdto.ts create mode 100644 src/models/components/createprojectdto.ts create mode 100644 src/models/components/createuserdto.ts create mode 100644 src/models/components/customfieldcreatedto.ts create mode 100644 src/models/components/definetargetfielddto.ts create mode 100644 src/models/components/deletecsdto.ts create mode 100644 src/models/components/index.ts create mode 100644 src/models/components/logindto.ts create mode 100644 src/models/components/managedwebhooksdto.ts create mode 100644 src/models/components/mapfieldtoproviderdto.ts create mode 100644 src/models/components/passthroughrequestdto.ts create mode 100644 src/models/components/passthroughresponse.ts create mode 100644 src/models/components/projectconnectorsdto.ts create mode 100644 src/models/components/refreshdto.ts create mode 100644 src/models/components/remotethirdpartycreationdto.ts create mode 100644 src/models/components/security.ts create mode 100644 src/models/components/signatureverificationdto.ts create mode 100644 src/models/components/togglestrategydto.ts create mode 100644 src/models/components/unifiedaccountinput.ts create mode 100644 src/models/components/unifiedaccountoutput.ts create mode 100644 src/models/components/unifiedactioninput.ts create mode 100644 src/models/components/unifiedactionoutput.ts create mode 100644 src/models/components/unifiedactivityinput.ts create mode 100644 src/models/components/unifiedactivityoutput.ts create mode 100644 src/models/components/unifiedaddressinput.ts create mode 100644 src/models/components/unifiedaddressoutput.ts create mode 100644 src/models/components/unifiedapplicationinput.ts create mode 100644 src/models/components/unifiedapplicationoutput.ts create mode 100644 src/models/components/unifiedattachmentinput.ts create mode 100644 src/models/components/unifiedattachmentoutput.ts create mode 100644 src/models/components/unifiedautomationinput.ts create mode 100644 src/models/components/unifiedautomationoutput.ts create mode 100644 src/models/components/unifiedbalancesheetinput.ts create mode 100644 src/models/components/unifiedbalancesheetoutput.ts create mode 100644 src/models/components/unifiedbankinfoinput.ts create mode 100644 src/models/components/unifiedbankinfooutput.ts create mode 100644 src/models/components/unifiedbenefitinput.ts create mode 100644 src/models/components/unifiedbenefitoutput.ts create mode 100644 src/models/components/unifiedcampaigninput.ts create mode 100644 src/models/components/unifiedcampaignoutput.ts create mode 100644 src/models/components/unifiedcandidateinput.ts create mode 100644 src/models/components/unifiedcandidateoutput.ts create mode 100644 src/models/components/unifiedcashflowstatementinput.ts create mode 100644 src/models/components/unifiedcashflowstatementoutput.ts create mode 100644 src/models/components/unifiedcollectionoutput.ts create mode 100644 src/models/components/unifiedcommentinput.ts create mode 100644 src/models/components/unifiedcommentoutput.ts create mode 100644 src/models/components/unifiedcompanyinfoinput.ts create mode 100644 src/models/components/unifiedcompanyinfooutput.ts create mode 100644 src/models/components/unifiedcompanyinput.ts create mode 100644 src/models/components/unifiedcompanyoutput.ts create mode 100644 src/models/components/unifiedcontactinput.ts create mode 100644 src/models/components/unifiedcontactoutput.ts create mode 100644 src/models/components/unifiedcreditnoteinput.ts create mode 100644 src/models/components/unifiedcreditnoteoutput.ts create mode 100644 src/models/components/unifieddealinput.ts create mode 100644 src/models/components/unifieddealoutput.ts create mode 100644 src/models/components/unifieddepartmentinput.ts create mode 100644 src/models/components/unifieddepartmentoutput.ts create mode 100644 src/models/components/unifieddependentinput.ts create mode 100644 src/models/components/unifieddependentoutput.ts create mode 100644 src/models/components/unifieddriveinput.ts create mode 100644 src/models/components/unifieddriveoutput.ts create mode 100644 src/models/components/unifiedeeocsinput.ts create mode 100644 src/models/components/unifiedeeocsoutput.ts create mode 100644 src/models/components/unifiedemailinput.ts create mode 100644 src/models/components/unifiedemailoutput.ts create mode 100644 src/models/components/unifiedemployeeinput.ts create mode 100644 src/models/components/unifiedemployeeoutput.ts create mode 100644 src/models/components/unifiedemployeepayrollruninput.ts create mode 100644 src/models/components/unifiedemployeepayrollrunoutput.ts create mode 100644 src/models/components/unifiedemployerbenefitinput.ts create mode 100644 src/models/components/unifiedemployerbenefitoutput.ts create mode 100644 src/models/components/unifiedemploymentinput.ts create mode 100644 src/models/components/unifiedemploymentoutput.ts create mode 100644 src/models/components/unifiedengagementinput.ts create mode 100644 src/models/components/unifiedengagementoutput.ts create mode 100644 src/models/components/unifiedeventinput.ts create mode 100644 src/models/components/unifiedeventoutput.ts create mode 100644 src/models/components/unifiedexpenseinput.ts create mode 100644 src/models/components/unifiedexpenseoutput.ts create mode 100644 src/models/components/unifiedfileinput.ts create mode 100644 src/models/components/unifiedfileoutput.ts create mode 100644 src/models/components/unifiedfolderinput.ts create mode 100644 src/models/components/unifiedfolderoutput.ts create mode 100644 src/models/components/unifiedgroupinput.ts create mode 100644 src/models/components/unifiedgroupoutput.ts create mode 100644 src/models/components/unifiedincomestatementinput.ts create mode 100644 src/models/components/unifiedincomestatementoutput.ts create mode 100644 src/models/components/unifiedinterviewinput.ts create mode 100644 src/models/components/unifiedinterviewoutput.ts create mode 100644 src/models/components/unifiedinvoiceinput.ts create mode 100644 src/models/components/unifiedinvoiceoutput.ts create mode 100644 src/models/components/unifiediteminput.ts create mode 100644 src/models/components/unifieditemoutput.ts create mode 100644 src/models/components/unifiedjobinput.ts create mode 100644 src/models/components/unifiedjobinterviewstageinput.ts create mode 100644 src/models/components/unifiedjobinterviewstageoutput.ts create mode 100644 src/models/components/unifiedjoboutput.ts create mode 100644 src/models/components/unifiedjournalentryinput.ts create mode 100644 src/models/components/unifiedjournalentryoutput.ts create mode 100644 src/models/components/unifiedlistinput.ts create mode 100644 src/models/components/unifiedlistoutput.ts create mode 100644 src/models/components/unifiedlocationinput.ts create mode 100644 src/models/components/unifiedlocationoutput.ts create mode 100644 src/models/components/unifiedmessageinput.ts create mode 100644 src/models/components/unifiedmessageoutput.ts create mode 100644 src/models/components/unifiednoteinput.ts create mode 100644 src/models/components/unifiednoteoutput.ts create mode 100644 src/models/components/unifiedofferinput.ts create mode 100644 src/models/components/unifiedofferoutput.ts create mode 100644 src/models/components/unifiedofficeinput.ts create mode 100644 src/models/components/unifiedofficeoutput.ts create mode 100644 src/models/components/unifiedpaygroupinput.ts create mode 100644 src/models/components/unifiedpaygroupoutput.ts create mode 100644 src/models/components/unifiedpaymentinput.ts create mode 100644 src/models/components/unifiedpaymentoutput.ts create mode 100644 src/models/components/unifiedpayrollruninput.ts create mode 100644 src/models/components/unifiedpayrollrunoutput.ts create mode 100644 src/models/components/unifiedpermissioninput.ts create mode 100644 src/models/components/unifiedpermissionoutput.ts create mode 100644 src/models/components/unifiedphonenumberinput.ts create mode 100644 src/models/components/unifiedphonenumberoutput.ts create mode 100644 src/models/components/unifiedpurchaseorderinput.ts create mode 100644 src/models/components/unifiedpurchaseorderoutput.ts create mode 100644 src/models/components/unifiedrejectreasoninput.ts create mode 100644 src/models/components/unifiedrejectreasonoutput.ts create mode 100644 src/models/components/unifiedscorecardinput.ts create mode 100644 src/models/components/unifiedscorecardoutput.ts create mode 100644 src/models/components/unifiedscreeningquestioninput.ts create mode 100644 src/models/components/unifiedscreeningquestionoutput.ts create mode 100644 src/models/components/unifiedsharedlinkinput.ts create mode 100644 src/models/components/unifiedsharedlinkoutput.ts create mode 100644 src/models/components/unifiedstageoutput.ts create mode 100644 src/models/components/unifiedtaginput.ts create mode 100644 src/models/components/unifiedtagoutput.ts create mode 100644 src/models/components/unifiedtaskinput.ts create mode 100644 src/models/components/unifiedtaskoutput.ts create mode 100644 src/models/components/unifiedtaxrateinput.ts create mode 100644 src/models/components/unifiedtaxrateoutput.ts create mode 100644 src/models/components/unifiedteamoutput.ts create mode 100644 src/models/components/unifiedtemplateinput.ts create mode 100644 src/models/components/unifiedtemplateoutput.ts create mode 100644 src/models/components/unifiedticketinput.ts create mode 100644 src/models/components/unifiedticketoutput.ts create mode 100644 src/models/components/unifiedtimeoffbalanceinput.ts create mode 100644 src/models/components/unifiedtimeoffbalanceoutput.ts create mode 100644 src/models/components/unifiedtimeoffinput.ts create mode 100644 src/models/components/unifiedtimeoffoutput.ts create mode 100644 src/models/components/unifiedtrackingcategoryinput.ts create mode 100644 src/models/components/unifiedtrackingcategoryoutput.ts create mode 100644 src/models/components/unifiedtransactioninput.ts create mode 100644 src/models/components/unifiedtransactionoutput.ts create mode 100644 src/models/components/unifieduserinput.ts create mode 100644 src/models/components/unifieduseroutput.ts create mode 100644 src/models/components/unifiedvendorcreditinput.ts create mode 100644 src/models/components/unifiedvendorcreditoutput.ts create mode 100644 src/models/components/updatecsdto.ts create mode 100644 src/models/components/verifyuserdto.ts create mode 100644 src/models/components/webhookdto.ts create mode 100644 src/models/errors/index.ts create mode 100644 src/models/errors/sdkerror.ts create mode 100644 src/models/errors/sdkvalidationerror.ts create mode 100644 src/models/operations/addaccount.ts create mode 100644 src/models/operations/addaccountingattachment.ts create mode 100644 src/models/operations/addaccountingcontact.ts create mode 100644 src/models/operations/addaction.ts create mode 100644 src/models/operations/addactivity.ts create mode 100644 src/models/operations/addaddress.ts create mode 100644 src/models/operations/addapplication.ts create mode 100644 src/models/operations/addatsattachment.ts create mode 100644 src/models/operations/addatsuser.ts create mode 100644 src/models/operations/addautomation.ts create mode 100644 src/models/operations/addbalancesheet.ts create mode 100644 src/models/operations/addbankinfo.ts create mode 100644 src/models/operations/addbenefit.ts create mode 100644 src/models/operations/addcampaign.ts create mode 100644 src/models/operations/addcandidate.ts create mode 100644 src/models/operations/addcashflowstatement.ts create mode 100644 src/models/operations/addcomment.ts create mode 100644 src/models/operations/addcompanyinfo.ts create mode 100644 src/models/operations/addcreditnote.ts create mode 100644 src/models/operations/addcrmcompany.ts create mode 100644 src/models/operations/addcrmcontact.ts create mode 100644 src/models/operations/adddeal.ts create mode 100644 src/models/operations/adddepartment.ts create mode 100644 src/models/operations/adddependent.ts create mode 100644 src/models/operations/adddrive.ts create mode 100644 src/models/operations/addeeocs.ts create mode 100644 src/models/operations/addemail.ts create mode 100644 src/models/operations/addemployee.ts create mode 100644 src/models/operations/addemployeepayrollrun.ts create mode 100644 src/models/operations/addemployerbenefit.ts create mode 100644 src/models/operations/addemployment.ts create mode 100644 src/models/operations/addengagement.ts create mode 100644 src/models/operations/addevent.ts create mode 100644 src/models/operations/addexpense.ts create mode 100644 src/models/operations/addfile.ts create mode 100644 src/models/operations/addfolder.ts create mode 100644 src/models/operations/addgroup.ts create mode 100644 src/models/operations/addhriscompany.ts create mode 100644 src/models/operations/addincomestatement.ts create mode 100644 src/models/operations/addinterview.ts create mode 100644 src/models/operations/addinvoice.ts create mode 100644 src/models/operations/additem.ts create mode 100644 src/models/operations/addjob.ts create mode 100644 src/models/operations/addjobinterviewstage.ts create mode 100644 src/models/operations/addjournalentry.ts create mode 100644 src/models/operations/addlist.ts create mode 100644 src/models/operations/addlocation.ts create mode 100644 src/models/operations/addmarketingautomationcontact.ts create mode 100644 src/models/operations/addmarketingautomationuser.ts create mode 100644 src/models/operations/addmessage.ts create mode 100644 src/models/operations/addnote.ts create mode 100644 src/models/operations/addoffer.ts create mode 100644 src/models/operations/addoffice.ts create mode 100644 src/models/operations/addpaygroup.ts create mode 100644 src/models/operations/addpayment.ts create mode 100644 src/models/operations/addpayrollrun.ts create mode 100644 src/models/operations/addpermission.ts create mode 100644 src/models/operations/addphonenumber.ts create mode 100644 src/models/operations/addpurchaseorder.ts create mode 100644 src/models/operations/addrejectreason.ts create mode 100644 src/models/operations/addscorecard.ts create mode 100644 src/models/operations/addscreeningquestion.ts create mode 100644 src/models/operations/addsharedlink.ts create mode 100644 src/models/operations/addtag.ts create mode 100644 src/models/operations/addtask.ts create mode 100644 src/models/operations/addtaxrate.ts create mode 100644 src/models/operations/addtemplate.ts create mode 100644 src/models/operations/addticket.ts create mode 100644 src/models/operations/addticketingattachment.ts create mode 100644 src/models/operations/addtimeoff.ts create mode 100644 src/models/operations/addtimeoffbalance.ts create mode 100644 src/models/operations/addtrackingcategory.ts create mode 100644 src/models/operations/addtransaction.ts create mode 100644 src/models/operations/addvendorcredit.ts create mode 100644 src/models/operations/deleteapikey.ts create mode 100644 src/models/operations/deletewebhook.ts create mode 100644 src/models/operations/downloadattachment.ts create mode 100644 src/models/operations/getaccountingaccount.ts create mode 100644 src/models/operations/getaccountingaccounts.ts create mode 100644 src/models/operations/getaccountingattachment.ts create mode 100644 src/models/operations/getaccountingattachments.ts create mode 100644 src/models/operations/getaccountingcontact.ts create mode 100644 src/models/operations/getaccountingcontacts.ts create mode 100644 src/models/operations/getaction.ts create mode 100644 src/models/operations/getactions.ts create mode 100644 src/models/operations/getactivity.ts create mode 100644 src/models/operations/getactivitys.ts create mode 100644 src/models/operations/getaddress.ts create mode 100644 src/models/operations/getaddresss.ts create mode 100644 src/models/operations/getapplication.ts create mode 100644 src/models/operations/getapplications.ts create mode 100644 src/models/operations/getatsattachment.ts create mode 100644 src/models/operations/getatsattachments.ts create mode 100644 src/models/operations/getatstag.ts create mode 100644 src/models/operations/getatstags.ts create mode 100644 src/models/operations/getatsuser.ts create mode 100644 src/models/operations/getatsusers.ts create mode 100644 src/models/operations/getautomation.ts create mode 100644 src/models/operations/getautomations.ts create mode 100644 src/models/operations/getbalancesheet.ts create mode 100644 src/models/operations/getbalancesheets.ts create mode 100644 src/models/operations/getbankinfo.ts create mode 100644 src/models/operations/getbankinfos.ts create mode 100644 src/models/operations/getbenefit.ts create mode 100644 src/models/operations/getbenefits.ts create mode 100644 src/models/operations/getcampaign.ts create mode 100644 src/models/operations/getcampaigns.ts create mode 100644 src/models/operations/getcandidate.ts create mode 100644 src/models/operations/getcandidates.ts create mode 100644 src/models/operations/getcashflowstatement.ts create mode 100644 src/models/operations/getcashflowstatements.ts create mode 100644 src/models/operations/getcollection.ts create mode 100644 src/models/operations/getcollections.ts create mode 100644 src/models/operations/getcomment.ts create mode 100644 src/models/operations/getcomments.ts create mode 100644 src/models/operations/getcompanies.ts create mode 100644 src/models/operations/getcompanyinfo.ts create mode 100644 src/models/operations/getcompanyinfos.ts create mode 100644 src/models/operations/getcompanys.ts create mode 100644 src/models/operations/getconnectorsfromproject.ts create mode 100644 src/models/operations/getcredentials.ts create mode 100644 src/models/operations/getcreditnote.ts create mode 100644 src/models/operations/getcreditnotes.ts create mode 100644 src/models/operations/getcrmcompany.ts create mode 100644 src/models/operations/getcrmcontact.ts create mode 100644 src/models/operations/getcrmuser.ts create mode 100644 src/models/operations/getcrmusers.ts create mode 100644 src/models/operations/getcustomproviderproperties.ts create mode 100644 src/models/operations/getdeal.ts create mode 100644 src/models/operations/getdeals.ts create mode 100644 src/models/operations/getdepartment.ts create mode 100644 src/models/operations/getdepartments.ts create mode 100644 src/models/operations/getdependent.ts create mode 100644 src/models/operations/getdependents.ts create mode 100644 src/models/operations/getdrive.ts create mode 100644 src/models/operations/getdrives.ts create mode 100644 src/models/operations/geteeocs.ts create mode 100644 src/models/operations/geteeocss.ts create mode 100644 src/models/operations/getemail.ts create mode 100644 src/models/operations/getemails.ts create mode 100644 src/models/operations/getemployee.ts create mode 100644 src/models/operations/getemployeepayrollrun.ts create mode 100644 src/models/operations/getemployeepayrollruns.ts create mode 100644 src/models/operations/getemployees.ts create mode 100644 src/models/operations/getemployerbenefit.ts create mode 100644 src/models/operations/getemployerbenefits.ts create mode 100644 src/models/operations/getemployment.ts create mode 100644 src/models/operations/getemployments.ts create mode 100644 src/models/operations/getengagement.ts create mode 100644 src/models/operations/getengagements.ts create mode 100644 src/models/operations/getevent.ts create mode 100644 src/models/operations/getexpense.ts create mode 100644 src/models/operations/getexpenses.ts create mode 100644 src/models/operations/getfile.ts create mode 100644 src/models/operations/getfiles.ts create mode 100644 src/models/operations/getfolder.ts create mode 100644 src/models/operations/getfolders.ts create mode 100644 src/models/operations/getgroup.ts create mode 100644 src/models/operations/getgroups.ts create mode 100644 src/models/operations/gethriscompany.ts create mode 100644 src/models/operations/getincomestatement.ts create mode 100644 src/models/operations/getincomestatements.ts create mode 100644 src/models/operations/getinterview.ts create mode 100644 src/models/operations/getinterviews.ts create mode 100644 src/models/operations/getinvoice.ts create mode 100644 src/models/operations/getinvoices.ts create mode 100644 src/models/operations/getitem.ts create mode 100644 src/models/operations/getitems.ts create mode 100644 src/models/operations/getjob.ts create mode 100644 src/models/operations/getjobinterviewstage.ts create mode 100644 src/models/operations/getjobinterviewstages.ts create mode 100644 src/models/operations/getjobs.ts create mode 100644 src/models/operations/getjournalentry.ts create mode 100644 src/models/operations/getjournalentrys.ts create mode 100644 src/models/operations/getlinkeduser.ts create mode 100644 src/models/operations/getlist.ts create mode 100644 src/models/operations/getlists.ts create mode 100644 src/models/operations/getlocation.ts create mode 100644 src/models/operations/getlocations.ts create mode 100644 src/models/operations/getmagiclink.ts create mode 100644 src/models/operations/getmanagedwebhooks.ts create mode 100644 src/models/operations/getmarketingautomationcontact.ts create mode 100644 src/models/operations/getmarketingautomationcontacts.ts create mode 100644 src/models/operations/getmarketingautomationevents.ts create mode 100644 src/models/operations/getmarketingautomationuser.ts create mode 100644 src/models/operations/getmarketingautomationusers.ts create mode 100644 src/models/operations/getmessage.ts create mode 100644 src/models/operations/getmessages.ts create mode 100644 src/models/operations/getnote.ts create mode 100644 src/models/operations/getnotes.ts create mode 100644 src/models/operations/getoffer.ts create mode 100644 src/models/operations/getoffers.ts create mode 100644 src/models/operations/getoffice.ts create mode 100644 src/models/operations/getoffices.ts create mode 100644 src/models/operations/getpanoracoreevents.ts create mode 100644 src/models/operations/getpaygroup.ts create mode 100644 src/models/operations/getpaygroups.ts create mode 100644 src/models/operations/getpayment.ts create mode 100644 src/models/operations/getpayments.ts create mode 100644 src/models/operations/getpayrollrun.ts create mode 100644 src/models/operations/getpayrollruns.ts create mode 100644 src/models/operations/getpermission.ts create mode 100644 src/models/operations/getpermissions.ts create mode 100644 src/models/operations/getphonenumber.ts create mode 100644 src/models/operations/getphonenumbers.ts create mode 100644 src/models/operations/getpurchaseorder.ts create mode 100644 src/models/operations/getpurchaseorders.ts create mode 100644 src/models/operations/getrejectreason.ts create mode 100644 src/models/operations/getrejectreasons.ts create mode 100644 src/models/operations/getscorecard.ts create mode 100644 src/models/operations/getscorecards.ts create mode 100644 src/models/operations/getscreeningquestion.ts create mode 100644 src/models/operations/getscreeningquestions.ts create mode 100644 src/models/operations/getsharedlink.ts create mode 100644 src/models/operations/getsharedlinks.ts create mode 100644 src/models/operations/getstage.ts create mode 100644 src/models/operations/getstages.ts create mode 100644 src/models/operations/getsyncstatus.ts create mode 100644 src/models/operations/gettask.ts create mode 100644 src/models/operations/gettasks.ts create mode 100644 src/models/operations/gettaxrate.ts create mode 100644 src/models/operations/gettaxrates.ts create mode 100644 src/models/operations/getteam.ts create mode 100644 src/models/operations/getteams.ts create mode 100644 src/models/operations/gettemplate.ts create mode 100644 src/models/operations/gettemplates.ts create mode 100644 src/models/operations/getticket.ts create mode 100644 src/models/operations/getticketingaccount.ts create mode 100644 src/models/operations/getticketingaccounts.ts create mode 100644 src/models/operations/getticketingattachment.ts create mode 100644 src/models/operations/getticketingattachments.ts create mode 100644 src/models/operations/getticketingcontact.ts create mode 100644 src/models/operations/getticketingcontacts.ts create mode 100644 src/models/operations/getticketingtag.ts create mode 100644 src/models/operations/getticketingtags.ts create mode 100644 src/models/operations/getticketinguser.ts create mode 100644 src/models/operations/getticketingusers.ts create mode 100644 src/models/operations/gettickets.ts create mode 100644 src/models/operations/gettimeoff.ts create mode 100644 src/models/operations/gettimeoffbalance.ts create mode 100644 src/models/operations/gettimeoffbalances.ts create mode 100644 src/models/operations/gettimeoffs.ts create mode 100644 src/models/operations/gettrackingcategory.ts create mode 100644 src/models/operations/gettrackingcategorys.ts create mode 100644 src/models/operations/gettransaction.ts create mode 100644 src/models/operations/gettransactions.ts create mode 100644 src/models/operations/getvendorcredit.ts create mode 100644 src/models/operations/getvendorcredits.ts create mode 100644 src/models/operations/handleapikeycallback.ts create mode 100644 src/models/operations/handleoauthcallback.ts create mode 100644 src/models/operations/handlethirdpartywebhook.ts create mode 100644 src/models/operations/index.ts create mode 100644 src/models/operations/linkeduserfromremoteid.ts create mode 100644 src/models/operations/listcrmcontacts.ts create mode 100644 src/models/operations/passthroughrequest.ts create mode 100644 src/models/operations/resync.ts create mode 100644 src/models/operations/updatecompany.ts create mode 100644 src/models/operations/updatemanagedwebhooksstatus.ts create mode 100644 src/models/operations/updatewebhookstatus.ts create mode 100644 src/sdk/accountingaccount.ts create mode 100644 src/sdk/accountingaddress.ts create mode 100644 src/sdk/accountingattachment.ts create mode 100644 src/sdk/accountingbalancesheet.ts create mode 100644 src/sdk/accountingcashflowstatement.ts create mode 100644 src/sdk/accountingcompanyinfo.ts create mode 100644 src/sdk/accountingcontact.ts create mode 100644 src/sdk/accountingcreditnote.ts create mode 100644 src/sdk/accountingexpense.ts create mode 100644 src/sdk/accountingincomestatement.ts create mode 100644 src/sdk/accountinginvoice.ts create mode 100644 src/sdk/accountingitem.ts create mode 100644 src/sdk/accountingjournalentry.ts create mode 100644 src/sdk/accountingpayment.ts create mode 100644 src/sdk/accountingphonenumber.ts create mode 100644 src/sdk/accountingpurchaseorder.ts create mode 100644 src/sdk/accountingtaxrate.ts create mode 100644 src/sdk/accountingtrackingcategory.ts create mode 100644 src/sdk/accountingtransaction.ts create mode 100644 src/sdk/accountingvendorcredit.ts create mode 100644 src/sdk/atsactivity.ts create mode 100644 src/sdk/atsapplication.ts create mode 100644 src/sdk/atsattachment.ts create mode 100644 src/sdk/atscandidate.ts create mode 100644 src/sdk/atsdepartment.ts create mode 100644 src/sdk/atseeocs.ts create mode 100644 src/sdk/atsinterview.ts create mode 100644 src/sdk/atsjob.ts create mode 100644 src/sdk/atsjobinterviewstage.ts create mode 100644 src/sdk/atsoffer.ts create mode 100644 src/sdk/atsoffice.ts create mode 100644 src/sdk/atsrejectreason.ts create mode 100644 src/sdk/atsscorecard.ts create mode 100644 src/sdk/atsscreeningquestion.ts create mode 100644 src/sdk/atstag.ts create mode 100644 src/sdk/atsuser.ts create mode 100644 src/sdk/auth.ts create mode 100644 src/sdk/connections.ts create mode 100644 src/sdk/connectionsstrategies.ts create mode 100644 src/sdk/crmcompanies.ts create mode 100644 src/sdk/crmcontacts.ts create mode 100644 src/sdk/crmdeals.ts create mode 100644 src/sdk/crmengagements.ts create mode 100644 src/sdk/crmnotes.ts create mode 100644 src/sdk/crmstages.ts create mode 100644 src/sdk/crmtasks.ts create mode 100644 src/sdk/crmusers.ts create mode 100644 src/sdk/events.ts create mode 100644 src/sdk/fieldmappings.ts create mode 100644 src/sdk/filestoragedrive.ts create mode 100644 src/sdk/filestoragefile.ts create mode 100644 src/sdk/filestoragefolder.ts create mode 100644 src/sdk/filestoragepermission.ts create mode 100644 src/sdk/filestoragesharedlink.ts create mode 100644 src/sdk/hrisbankinfo.ts create mode 100644 src/sdk/hrisbenefit.ts create mode 100644 src/sdk/hriscompany.ts create mode 100644 src/sdk/hrisdependent.ts create mode 100644 src/sdk/hrisemployee.ts create mode 100644 src/sdk/hrisemployeepayrollrun.ts create mode 100644 src/sdk/hrisemployerbenefit.ts create mode 100644 src/sdk/hrisemployment.ts create mode 100644 src/sdk/hrisgroup.ts create mode 100644 src/sdk/hrislocation.ts create mode 100644 src/sdk/hrispaygroup.ts create mode 100644 src/sdk/hrispayrollrun.ts create mode 100644 src/sdk/hristimeoff.ts create mode 100644 src/sdk/hristimeoffbalance.ts create mode 100644 src/sdk/index.ts create mode 100644 src/sdk/linkedusers.ts create mode 100644 src/sdk/magiclinks.ts create mode 100644 src/sdk/managedwebhooks.ts create mode 100644 src/sdk/marketingautomationaction.ts create mode 100644 src/sdk/marketingautomationautomation.ts create mode 100644 src/sdk/marketingautomationcampaign.ts create mode 100644 src/sdk/marketingautomationcontact.ts create mode 100644 src/sdk/marketingautomationemail.ts create mode 100644 src/sdk/marketingautomationevent.ts create mode 100644 src/sdk/marketingautomationlist.ts create mode 100644 src/sdk/marketingautomationmessage.ts create mode 100644 src/sdk/marketingautomationtemplate.ts create mode 100644 src/sdk/marketingautomationuser.ts create mode 100644 src/sdk/mw.ts create mode 100644 src/sdk/organisations.ts create mode 100644 src/sdk/passthrough.ts create mode 100644 src/sdk/projectconnectors.ts create mode 100644 src/sdk/projects.ts create mode 100644 src/sdk/sdk.ts create mode 100644 src/sdk/syncs.ts create mode 100644 src/sdk/ticketingaccounts.ts create mode 100644 src/sdk/ticketingattachments.ts create mode 100644 src/sdk/ticketingcollections.ts create mode 100644 src/sdk/ticketingcomments.ts create mode 100644 src/sdk/ticketingcontacts.ts create mode 100644 src/sdk/ticketingtags.ts create mode 100644 src/sdk/ticketingteams.ts create mode 100644 src/sdk/ticketingtickets.ts create mode 100644 src/sdk/ticketingusers.ts create mode 100644 src/sdk/webhook.ts create mode 100644 src/types/blobs.ts create mode 100644 src/types/enums.ts create mode 100644 src/types/index.ts create mode 100644 src/types/operations.ts create mode 100644 src/types/rfcdate.ts create mode 100644 tsconfig.json diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 000000000..4d160bd21 --- /dev/null +++ b/.eslintrc.cjs @@ -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..5848ffccb --- /dev/null +++ b/.speakeasy/gen.lock @@ -0,0 +1,1345 @@ +lockVersion: 2.0.0 +id: ea3eac57-b847-4997-a078-b6c91fb6aad7 +management: + docChecksum: a878928f788607f4cd0816dd52b4cbe9 + docVersion: "1.0" + speakeasyVersion: 1.315.2 + generationVersion: 2.352.0 + releaseVersion: 0.0.1 + configChecksum: 3bbec28aa12124cd0db53a9f5260d204 + 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.10.2 + 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.cjs + - .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/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/operations/deleteapikey.ts + - src/models/operations/handleoauthcallback.ts + - src/models/operations/handleapikeycallback.ts + - src/models/operations/deletewebhook.ts + - src/models/operations/updatewebhookstatus.ts + - src/models/operations/getmanagedwebhooks.ts + - src/models/operations/updatemanagedwebhooksstatus.ts + - src/models/operations/handlethirdpartywebhook.ts + - src/models/operations/gettickets.ts + - src/models/operations/addticket.ts + - src/models/operations/getticket.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/listcrmcontacts.ts + - src/models/operations/addcrmcontact.ts + - src/models/operations/getcrmcontact.ts + - src/models/operations/getdeals.ts + - src/models/operations/adddeal.ts + - src/models/operations/getdeal.ts + - src/models/operations/getengagements.ts + - src/models/operations/addengagement.ts + - src/models/operations/getengagement.ts + - src/models/operations/getnotes.ts + - src/models/operations/addnote.ts + - src/models/operations/getnote.ts + - src/models/operations/getstages.ts + - src/models/operations/getstage.ts + - src/models/operations/gettasks.ts + - src/models/operations/addtask.ts + - src/models/operations/gettask.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/getticketingtags.ts + - src/models/operations/getticketingtag.ts + - src/models/operations/getteams.ts + - src/models/operations/getteam.ts + - src/models/operations/getlinkeduser.ts + - src/models/operations/linkeduserfromremoteid.ts + - src/models/operations/getcustomproviderproperties.ts + - src/models/operations/getpanoracoreevents.ts + - src/models/operations/getmagiclink.ts + - src/models/operations/passthroughrequest.ts + - src/models/operations/getcredentials.ts + - src/models/operations/getsyncstatus.ts + - src/models/operations/resync.ts + - src/models/operations/getconnectorsfromproject.ts + - src/models/operations/getbankinfos.ts + - src/models/operations/addbankinfo.ts + - src/models/operations/getbankinfo.ts + - src/models/operations/getbenefits.ts + - src/models/operations/addbenefit.ts + - src/models/operations/getbenefit.ts + - src/models/operations/getcompanys.ts + - src/models/operations/addhriscompany.ts + - src/models/operations/gethriscompany.ts + - src/models/operations/getdependents.ts + - src/models/operations/adddependent.ts + - src/models/operations/getdependent.ts + - src/models/operations/getemployeepayrollruns.ts + - src/models/operations/addemployeepayrollrun.ts + - src/models/operations/getemployeepayrollrun.ts + - src/models/operations/getemployees.ts + - src/models/operations/addemployee.ts + - src/models/operations/getemployee.ts + - src/models/operations/getemployerbenefits.ts + - src/models/operations/addemployerbenefit.ts + - src/models/operations/getemployerbenefit.ts + - src/models/operations/getemployments.ts + - src/models/operations/addemployment.ts + - src/models/operations/getemployment.ts + - src/models/operations/getgroups.ts + - src/models/operations/addgroup.ts + - src/models/operations/getgroup.ts + - src/models/operations/getlocations.ts + - src/models/operations/addlocation.ts + - src/models/operations/getlocation.ts + - src/models/operations/getpaygroups.ts + - src/models/operations/addpaygroup.ts + - src/models/operations/getpaygroup.ts + - src/models/operations/getpayrollruns.ts + - src/models/operations/addpayrollrun.ts + - src/models/operations/getpayrollrun.ts + - src/models/operations/gettimeoffs.ts + - src/models/operations/addtimeoff.ts + - src/models/operations/gettimeoff.ts + - src/models/operations/gettimeoffbalances.ts + - src/models/operations/addtimeoffbalance.ts + - src/models/operations/gettimeoffbalance.ts + - src/models/operations/getactions.ts + - src/models/operations/addaction.ts + - src/models/operations/getaction.ts + - src/models/operations/getautomations.ts + - src/models/operations/addautomation.ts + - src/models/operations/getautomation.ts + - src/models/operations/getcampaigns.ts + - src/models/operations/addcampaign.ts + - src/models/operations/getcampaign.ts + - src/models/operations/getmarketingautomationcontacts.ts + - src/models/operations/addmarketingautomationcontact.ts + - src/models/operations/getmarketingautomationcontact.ts + - src/models/operations/getemails.ts + - src/models/operations/addemail.ts + - src/models/operations/getemail.ts + - src/models/operations/getmarketingautomationevents.ts + - src/models/operations/addevent.ts + - src/models/operations/getevent.ts + - src/models/operations/getlists.ts + - src/models/operations/addlist.ts + - src/models/operations/getlist.ts + - src/models/operations/getmessages.ts + - src/models/operations/addmessage.ts + - src/models/operations/getmessage.ts + - src/models/operations/gettemplates.ts + - src/models/operations/addtemplate.ts + - src/models/operations/gettemplate.ts + - src/models/operations/getmarketingautomationusers.ts + - src/models/operations/addmarketingautomationuser.ts + - src/models/operations/getmarketingautomationuser.ts + - src/models/operations/getactivitys.ts + - src/models/operations/addactivity.ts + - src/models/operations/getactivity.ts + - src/models/operations/getapplications.ts + - src/models/operations/addapplication.ts + - src/models/operations/getapplication.ts + - src/models/operations/getatsattachments.ts + - src/models/operations/addatsattachment.ts + - src/models/operations/getatsattachment.ts + - src/models/operations/getcandidates.ts + - src/models/operations/addcandidate.ts + - src/models/operations/getcandidate.ts + - src/models/operations/getdepartments.ts + - src/models/operations/adddepartment.ts + - src/models/operations/getdepartment.ts + - src/models/operations/getinterviews.ts + - src/models/operations/addinterview.ts + - src/models/operations/getinterview.ts + - src/models/operations/getjobinterviewstages.ts + - src/models/operations/addjobinterviewstage.ts + - src/models/operations/getjobinterviewstage.ts + - src/models/operations/getjobs.ts + - src/models/operations/addjob.ts + - src/models/operations/getjob.ts + - src/models/operations/getoffers.ts + - src/models/operations/addoffer.ts + - src/models/operations/getoffer.ts + - src/models/operations/getoffices.ts + - src/models/operations/addoffice.ts + - src/models/operations/getoffice.ts + - src/models/operations/getrejectreasons.ts + - src/models/operations/addrejectreason.ts + - src/models/operations/getrejectreason.ts + - src/models/operations/getscorecards.ts + - src/models/operations/addscorecard.ts + - src/models/operations/getscorecard.ts + - src/models/operations/getscreeningquestions.ts + - src/models/operations/addscreeningquestion.ts + - src/models/operations/getscreeningquestion.ts + - src/models/operations/getatstags.ts + - src/models/operations/addtag.ts + - src/models/operations/getatstag.ts + - src/models/operations/getatsusers.ts + - src/models/operations/addatsuser.ts + - src/models/operations/getatsuser.ts + - src/models/operations/geteeocss.ts + - src/models/operations/addeeocs.ts + - src/models/operations/geteeocs.ts + - src/models/operations/getaccountingaccounts.ts + - src/models/operations/addaccount.ts + - src/models/operations/getaccountingaccount.ts + - src/models/operations/getaddresss.ts + - src/models/operations/addaddress.ts + - src/models/operations/getaddress.ts + - src/models/operations/getaccountingattachments.ts + - src/models/operations/addaccountingattachment.ts + - src/models/operations/getaccountingattachment.ts + - src/models/operations/getbalancesheets.ts + - src/models/operations/addbalancesheet.ts + - src/models/operations/getbalancesheet.ts + - src/models/operations/getcashflowstatements.ts + - src/models/operations/addcashflowstatement.ts + - src/models/operations/getcashflowstatement.ts + - src/models/operations/getcompanyinfos.ts + - src/models/operations/addcompanyinfo.ts + - src/models/operations/getcompanyinfo.ts + - src/models/operations/getaccountingcontacts.ts + - src/models/operations/addaccountingcontact.ts + - src/models/operations/getaccountingcontact.ts + - src/models/operations/getcreditnotes.ts + - src/models/operations/addcreditnote.ts + - src/models/operations/getcreditnote.ts + - src/models/operations/getexpenses.ts + - src/models/operations/addexpense.ts + - src/models/operations/getexpense.ts + - src/models/operations/getincomestatements.ts + - src/models/operations/addincomestatement.ts + - src/models/operations/getincomestatement.ts + - src/models/operations/getinvoices.ts + - src/models/operations/addinvoice.ts + - src/models/operations/getinvoice.ts + - src/models/operations/getitems.ts + - src/models/operations/additem.ts + - src/models/operations/getitem.ts + - src/models/operations/getjournalentrys.ts + - src/models/operations/addjournalentry.ts + - src/models/operations/getjournalentry.ts + - src/models/operations/getpayments.ts + - src/models/operations/addpayment.ts + - src/models/operations/getpayment.ts + - src/models/operations/getphonenumbers.ts + - src/models/operations/addphonenumber.ts + - src/models/operations/getphonenumber.ts + - src/models/operations/getpurchaseorders.ts + - src/models/operations/addpurchaseorder.ts + - src/models/operations/getpurchaseorder.ts + - src/models/operations/gettaxrates.ts + - src/models/operations/addtaxrate.ts + - src/models/operations/gettaxrate.ts + - src/models/operations/gettrackingcategorys.ts + - src/models/operations/addtrackingcategory.ts + - src/models/operations/gettrackingcategory.ts + - src/models/operations/gettransactions.ts + - src/models/operations/addtransaction.ts + - src/models/operations/gettransaction.ts + - src/models/operations/getvendorcredits.ts + - src/models/operations/addvendorcredit.ts + - src/models/operations/getvendorcredit.ts + - src/models/operations/getdrives.ts + - src/models/operations/adddrive.ts + - src/models/operations/getdrive.ts + - src/models/operations/getfiles.ts + - src/models/operations/addfile.ts + - src/models/operations/getfile.ts + - src/models/operations/getfolders.ts + - src/models/operations/addfolder.ts + - src/models/operations/getfolder.ts + - src/models/operations/getsharedlinks.ts + - src/models/operations/addsharedlink.ts + - src/models/operations/getsharedlink.ts + - src/models/operations/getpermissions.ts + - src/models/operations/addpermission.ts + - src/models/operations/getpermission.ts + - src/models/operations/getticketingattachments.ts + - src/models/operations/addticketingattachment.ts + - src/models/operations/getticketingattachment.ts + - src/models/operations/downloadattachment.ts + - src/models/errors/index.ts + - src/models/components/index.ts + - src/models/operations/index.ts + - 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 + - docs/models/operations/deleteapikeyrequest.md + - docs/models/operations/handleoauthcallbackrequest.md + - docs/models/operations/handleapikeycallbackrequest.md + - docs/models/operations/deletewebhookrequest.md + - docs/models/operations/updatewebhookstatusrequest.md + - docs/models/operations/getmanagedwebhooksrequest.md + - docs/models/operations/updatemanagedwebhooksstatusrequest.md + - docs/models/operations/handlethirdpartywebhookrequest.md + - docs/models/operations/getticketsrequest.md + - docs/models/operations/getticketsresponsebody.md + - docs/models/operations/addticketrequest.md + - docs/models/operations/addticketresponsebody.md + - docs/models/operations/addticketresponse.md + - docs/models/operations/getticketrequest.md + - docs/models/operations/getticketresponsebody.md + - docs/models/operations/getticketingusersrequest.md + - docs/models/operations/getticketingusersresponsebody.md + - docs/models/operations/getticketinguserrequest.md + - docs/models/operations/getticketinguserresponsebody.md + - docs/models/operations/getticketingaccountsrequest.md + - docs/models/operations/getticketingaccountsresponsebody.md + - docs/models/operations/getticketingaccountrequest.md + - docs/models/operations/getticketingaccountresponsebody.md + - docs/models/operations/getticketingcontactsrequest.md + - docs/models/operations/getticketingcontactsresponsebody.md + - docs/models/operations/getticketingcontactrequest.md + - docs/models/operations/getticketingcontactresponsebody.md + - docs/models/operations/getcompaniesrequest.md + - docs/models/operations/getcompaniesresponsebody.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/getcrmcompanyrequest.md + - docs/models/operations/getcrmcompanyresponsebody.md + - docs/models/operations/listcrmcontactsrequest.md + - docs/models/operations/listcrmcontactsresponsebody.md + - docs/models/operations/addcrmcontactrequest.md + - docs/models/operations/addcrmcontactresponsebody.md + - docs/models/operations/addcrmcontactresponse.md + - docs/models/operations/getcrmcontactrequest.md + - docs/models/operations/getcrmcontactresponsebody.md + - docs/models/operations/getdealsrequest.md + - docs/models/operations/getdealsresponsebody.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/getengagementsrequest.md + - docs/models/operations/getengagementsresponsebody.md + - docs/models/operations/addengagementrequest.md + - docs/models/operations/addengagementresponsebody.md + - docs/models/operations/addengagementresponse.md + - docs/models/operations/getengagementrequest.md + - docs/models/operations/getengagementresponsebody.md + - docs/models/operations/getnotesrequest.md + - docs/models/operations/getnotesresponsebody.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/getstagesrequest.md + - docs/models/operations/getstagesresponsebody.md + - docs/models/operations/getstagerequest.md + - docs/models/operations/getstageresponsebody.md + - docs/models/operations/gettasksrequest.md + - docs/models/operations/gettasksresponsebody.md + - docs/models/operations/addtaskrequest.md + - docs/models/operations/addtaskresponsebody.md + - docs/models/operations/addtaskresponse.md + - docs/models/operations/gettaskrequest.md + - docs/models/operations/gettaskresponsebody.md + - docs/models/operations/getcrmusersrequest.md + - docs/models/operations/getcrmusersresponsebody.md + - docs/models/operations/getcrmuserrequest.md + - docs/models/operations/getcrmuserresponsebody.md + - docs/models/operations/getcollectionsrequest.md + - docs/models/operations/getcollectionsresponsebody.md + - docs/models/operations/getcollectionrequest.md + - docs/models/operations/getcollectionresponsebody.md + - docs/models/operations/getcommentsrequest.md + - docs/models/operations/getcommentsresponsebody.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/getticketingtagsrequest.md + - docs/models/operations/getticketingtagsresponsebody.md + - docs/models/operations/getticketingtagrequest.md + - docs/models/operations/getticketingtagresponsebody.md + - docs/models/operations/getteamsrequest.md + - docs/models/operations/getteamsresponsebody.md + - docs/models/operations/getteamrequest.md + - docs/models/operations/getteamresponsebody.md + - docs/models/operations/getlinkeduserrequest.md + - docs/models/operations/linkeduserfromremoteidrequest.md + - docs/models/operations/getcustomproviderpropertiesrequest.md + - docs/models/operations/getpanoracoreeventsrequest.md + - docs/models/operations/getmagiclinkrequest.md + - docs/models/operations/passthroughrequestrequest.md + - docs/models/operations/getcredentialsrequest.md + - docs/models/operations/getsyncstatusrequest.md + - docs/models/operations/resyncrequest.md + - docs/models/operations/getconnectorsfromprojectrequest.md + - docs/models/operations/getbankinfosrequest.md + - docs/models/operations/getbankinfosresponsebody.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/getbenefitsrequest.md + - docs/models/operations/getbenefitsresponsebody.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/getcompanysrequest.md + - docs/models/operations/getcompanysresponsebody.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/getdependentsrequest.md + - docs/models/operations/getdependentsresponsebody.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/getemployeepayrollrunsrequest.md + - docs/models/operations/getemployeepayrollrunsresponsebody.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/getemployeesrequest.md + - docs/models/operations/getemployeesresponsebody.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/getemployerbenefitsrequest.md + - docs/models/operations/getemployerbenefitsresponsebody.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/getemploymentsrequest.md + - docs/models/operations/getemploymentsresponsebody.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/getgroupsrequest.md + - docs/models/operations/getgroupsresponsebody.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/getlocationsrequest.md + - docs/models/operations/getlocationsresponsebody.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/getpaygroupsrequest.md + - docs/models/operations/getpaygroupsresponsebody.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/getpayrollrunsrequest.md + - docs/models/operations/getpayrollrunsresponsebody.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/gettimeoffsrequest.md + - docs/models/operations/gettimeoffsresponsebody.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/gettimeoffbalancesrequest.md + - docs/models/operations/gettimeoffbalancesresponsebody.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/getactionsrequest.md + - docs/models/operations/getactionsresponsebody.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/getautomationsrequest.md + - docs/models/operations/getautomationsresponsebody.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/getcampaignsrequest.md + - docs/models/operations/getcampaignsresponsebody.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/getmarketingautomationcontactsrequest.md + - docs/models/operations/getmarketingautomationcontactsresponsebody.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/getemailsrequest.md + - docs/models/operations/getemailsresponsebody.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/getmarketingautomationeventsrequest.md + - docs/models/operations/getmarketingautomationeventsresponsebody.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/getlistsrequest.md + - docs/models/operations/getlistsresponsebody.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/getmessagesrequest.md + - docs/models/operations/getmessagesresponsebody.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/gettemplatesrequest.md + - docs/models/operations/gettemplatesresponsebody.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/getmarketingautomationusersrequest.md + - docs/models/operations/getmarketingautomationusersresponsebody.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/getactivitysrequest.md + - docs/models/operations/getactivitysresponsebody.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/getapplicationsrequest.md + - docs/models/operations/getapplicationsresponsebody.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/getatsattachmentsrequest.md + - docs/models/operations/getatsattachmentsresponsebody.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/getcandidatesrequest.md + - docs/models/operations/getcandidatesresponsebody.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/getdepartmentsrequest.md + - docs/models/operations/getdepartmentsresponsebody.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/getinterviewsrequest.md + - docs/models/operations/getinterviewsresponsebody.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/getjobinterviewstagesrequest.md + - docs/models/operations/getjobinterviewstagesresponsebody.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/getjobsrequest.md + - docs/models/operations/getjobsresponsebody.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/getoffersrequest.md + - docs/models/operations/getoffersresponsebody.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/getofficesrequest.md + - docs/models/operations/getofficesresponsebody.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/getrejectreasonsrequest.md + - docs/models/operations/getrejectreasonsresponsebody.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/getscorecardsrequest.md + - docs/models/operations/getscorecardsresponsebody.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/getscreeningquestionsrequest.md + - docs/models/operations/getscreeningquestionsresponsebody.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/getatstagsrequest.md + - docs/models/operations/getatstagsresponsebody.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/getatsusersrequest.md + - docs/models/operations/getatsusersresponsebody.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/geteeocssrequest.md + - docs/models/operations/geteeocssresponsebody.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/getaccountingaccountsrequest.md + - docs/models/operations/getaccountingaccountsresponsebody.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/getaddresssrequest.md + - docs/models/operations/getaddresssresponsebody.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/getaccountingattachmentsrequest.md + - docs/models/operations/getaccountingattachmentsresponsebody.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/getbalancesheetsrequest.md + - docs/models/operations/getbalancesheetsresponsebody.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/getcashflowstatementsrequest.md + - docs/models/operations/getcashflowstatementsresponsebody.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/getcompanyinfosrequest.md + - docs/models/operations/getcompanyinfosresponsebody.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/getaccountingcontactsrequest.md + - docs/models/operations/getaccountingcontactsresponsebody.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/getcreditnotesrequest.md + - docs/models/operations/getcreditnotesresponsebody.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/getexpensesrequest.md + - docs/models/operations/getexpensesresponsebody.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/getincomestatementsrequest.md + - docs/models/operations/getincomestatementsresponsebody.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/getinvoicesrequest.md + - docs/models/operations/getinvoicesresponsebody.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/getitemsrequest.md + - docs/models/operations/getitemsresponsebody.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/getjournalentrysrequest.md + - docs/models/operations/getjournalentrysresponsebody.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/getpaymentsrequest.md + - docs/models/operations/getpaymentsresponsebody.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/getphonenumbersrequest.md + - docs/models/operations/getphonenumbersresponsebody.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/getpurchaseordersrequest.md + - docs/models/operations/getpurchaseordersresponsebody.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/gettaxratesrequest.md + - docs/models/operations/gettaxratesresponsebody.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/gettrackingcategorysrequest.md + - docs/models/operations/gettrackingcategorysresponsebody.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/gettransactionsrequest.md + - docs/models/operations/gettransactionsresponsebody.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/getvendorcreditsrequest.md + - docs/models/operations/getvendorcreditsresponsebody.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/getdrivesrequest.md + - docs/models/operations/getdrivesresponsebody.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/getfilesrequest.md + - docs/models/operations/getfilesresponsebody.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/getfoldersrequest.md + - docs/models/operations/getfoldersresponsebody.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/getsharedlinksrequest.md + - docs/models/operations/getsharedlinksresponsebody.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/getpermissionsrequest.md + - docs/models/operations/getpermissionsresponsebody.md + - docs/models/operations/addpermissionrequest.md + - docs/models/operations/addpermissionresponsebody.md + - docs/models/operations/addpermissionresponse.md + - docs/models/operations/getpermissionrequest.md + - docs/models/operations/getpermissionresponsebody.md + - docs/models/operations/getticketingattachmentsrequest.md + - docs/models/operations/getticketingattachmentsresponsebody.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/downloadattachmentrequest.md + - docs/models/operations/downloadattachmentresponsebody.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..1bb6ce492 --- /dev/null +++ b/.speakeasy/gen.yaml @@ -0,0 +1,40 @@ +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: union + flattenGlobalSecurity: true + imports: + option: openapi + paths: + callbacks: models/callbacks + errors: models/errors + operations: models/operations + shared: models/components + webhooks: models/webhooks + inputModelSuffix: input + maxMethodParams: 0 + methodArguments: require-security-and-request + outputModelSuffix: output + packageName: openapi + responseFormat: flat + templateVersion: v2 + useIndexModules: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock new file mode 100644 index 000000000..7de1b5241 --- /dev/null +++ b/.speakeasy/workflow.lock @@ -0,0 +1,29 @@ +speakeasyVersion: 1.315.2 +sources: + OpenAPI-Github-Main: + sourceNamespace: open-api-github-main + sourceRevisionDigest: sha256:678944ffbc9f8c2c6a27af84600983c7619cf5e11fc931f057f3e5496ee282a1 + sourceBlobDigest: sha256:b91dc9526281106a97470e642194f6b4ac11128d37148e2604c59cda1005ef18 + tags: + - latest + - main +targets: + my-first-target: + source: OpenAPI-Github-Main + sourceNamespace: open-api-github-main + sourceRevisionDigest: sha256:678944ffbc9f8c2c6a27af84600983c7619cf5e11fc931f057f3e5496ee282a1 + sourceBlobDigest: sha256:b91dc9526281106a97470e642194f6b4ac11128d37148e2604c59cda1005ef18 + 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..89b5469fb 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 { SDKValidationError } from "openapi/models/errors"; + +const sdk = new SDK({ + jwt: "", +}); + +async function run() { + let result; + try { + result = await sdk.appControllerHello(); + } catch (err) { + switch (true) { + case err instanceof 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.appControllerHello(); + + // 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.appControllerHello(); + + // 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.appControllerHello(); + + // Handle the result + console.log(result); +} + +run(); + +``` + + + + + diff --git a/RELEASES.md b/RELEASES.md new file mode 100644 index 000000000..a1e70107f --- /dev/null +++ b/RELEASES.md @@ -0,0 +1,9 @@ + + +## 2024-06-25 00:17:24 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.315.2 (2.352.0) 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..3b20da757 --- /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.appControllerHello(); + + // 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/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..823483691 --- /dev/null +++ b/docs/models/operations/addaccountingattachmentresponse.md @@ -0,0 +1,17 @@ +# AddAccountingAttachmentResponse + + +## Supported Types + +### `operations.AddAccountingAttachmentResponseBody` + +```typescript +const value: operations.AddAccountingAttachmentResponseBody = /* values here */ +``` + +### `components.UnifiedAttachmentOutput` + +```typescript +const value: components.UnifiedAttachmentOutput = /* values here */ +``` + 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/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..8d9728814 --- /dev/null +++ b/docs/models/operations/addaccountingcontactresponse.md @@ -0,0 +1,17 @@ +# AddAccountingContactResponse + + +## Supported Types + +### `operations.AddAccountingContactResponseBody` + +```typescript +const value: operations.AddAccountingContactResponseBody = /* values here */ +``` + +### `components.UnifiedContactOutput` + +```typescript +const value: components.UnifiedContactOutput = /* values here */ +``` + 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/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..f9aa73fb8 --- /dev/null +++ b/docs/models/operations/addaccountresponse.md @@ -0,0 +1,17 @@ +# AddAccountResponse + + +## Supported Types + +### `operations.AddAccountResponseBody` + +```typescript +const value: operations.AddAccountResponseBody = /* values here */ +``` + +### `components.UnifiedAccountOutput` + +```typescript +const value: components.UnifiedAccountOutput = /* values here */ +``` + 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/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..0cb3d56c2 --- /dev/null +++ b/docs/models/operations/addactionresponse.md @@ -0,0 +1,17 @@ +# AddActionResponse + + +## Supported Types + +### `operations.AddActionResponseBody` + +```typescript +const value: operations.AddActionResponseBody = /* values here */ +``` + +### `components.UnifiedActionOutput` + +```typescript +const value: components.UnifiedActionOutput = /* values here */ +``` + 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/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..5647298b9 --- /dev/null +++ b/docs/models/operations/addactivityresponse.md @@ -0,0 +1,17 @@ +# AddActivityResponse + + +## Supported Types + +### `operations.AddActivityResponseBody` + +```typescript +const value: operations.AddActivityResponseBody = /* values here */ +``` + +### `components.UnifiedActivityOutput` + +```typescript +const value: components.UnifiedActivityOutput = /* values here */ +``` + 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/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..29afb88dc --- /dev/null +++ b/docs/models/operations/addaddressresponse.md @@ -0,0 +1,17 @@ +# AddAddressResponse + + +## Supported Types + +### `operations.AddAddressResponseBody` + +```typescript +const value: operations.AddAddressResponseBody = /* values here */ +``` + +### `components.UnifiedAddressOutput` + +```typescript +const value: components.UnifiedAddressOutput = /* values here */ +``` + 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/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..26fb377cd --- /dev/null +++ b/docs/models/operations/addapplicationresponse.md @@ -0,0 +1,17 @@ +# AddApplicationResponse + + +## Supported Types + +### `operations.AddApplicationResponseBody` + +```typescript +const value: operations.AddApplicationResponseBody = /* values here */ +``` + +### `components.UnifiedApplicationOutput` + +```typescript +const value: components.UnifiedApplicationOutput = /* values here */ +``` + 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/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..eb7a2f0fd --- /dev/null +++ b/docs/models/operations/addatsattachmentresponse.md @@ -0,0 +1,17 @@ +# AddAtsAttachmentResponse + + +## Supported Types + +### `operations.AddAtsAttachmentResponseBody` + +```typescript +const value: operations.AddAtsAttachmentResponseBody = /* values here */ +``` + +### `components.UnifiedAttachmentOutput` + +```typescript +const value: components.UnifiedAttachmentOutput = /* values here */ +``` + 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/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..5b047fcb0 --- /dev/null +++ b/docs/models/operations/addatsuserresponse.md @@ -0,0 +1,17 @@ +# AddAtsUserResponse + + +## Supported Types + +### `operations.AddAtsUserResponseBody` + +```typescript +const value: operations.AddAtsUserResponseBody = /* values here */ +``` + +### `components.UnifiedUserOutput` + +```typescript +const value: components.UnifiedUserOutput = /* values here */ +``` + 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/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..ec7df7687 --- /dev/null +++ b/docs/models/operations/addautomationresponse.md @@ -0,0 +1,17 @@ +# AddAutomationResponse + + +## Supported Types + +### `operations.AddAutomationResponseBody` + +```typescript +const value: operations.AddAutomationResponseBody = /* values here */ +``` + +### `components.UnifiedAutomationOutput` + +```typescript +const value: components.UnifiedAutomationOutput = /* values here */ +``` + 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/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..98ef7e5de --- /dev/null +++ b/docs/models/operations/addbalancesheetresponse.md @@ -0,0 +1,17 @@ +# AddBalanceSheetResponse + + +## Supported Types + +### `operations.AddBalanceSheetResponseBody` + +```typescript +const value: operations.AddBalanceSheetResponseBody = /* values here */ +``` + +### `components.UnifiedBalanceSheetOutput` + +```typescript +const value: components.UnifiedBalanceSheetOutput = /* values here */ +``` + 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/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..6fdf02c6e --- /dev/null +++ b/docs/models/operations/addbankinforesponse.md @@ -0,0 +1,17 @@ +# AddBankinfoResponse + + +## Supported Types + +### `operations.AddBankinfoResponseBody` + +```typescript +const value: operations.AddBankinfoResponseBody = /* values here */ +``` + +### `components.UnifiedBankInfoOutput` + +```typescript +const value: components.UnifiedBankInfoOutput = /* values here */ +``` + 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/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..c903e6b59 --- /dev/null +++ b/docs/models/operations/addbenefitresponse.md @@ -0,0 +1,17 @@ +# AddBenefitResponse + + +## Supported Types + +### `operations.AddBenefitResponseBody` + +```typescript +const value: operations.AddBenefitResponseBody = /* values here */ +``` + +### `components.UnifiedBenefitOutput` + +```typescript +const value: components.UnifiedBenefitOutput = /* values here */ +``` + 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/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..bd5108f45 --- /dev/null +++ b/docs/models/operations/addcampaignresponse.md @@ -0,0 +1,17 @@ +# AddCampaignResponse + + +## Supported Types + +### `operations.AddCampaignResponseBody` + +```typescript +const value: operations.AddCampaignResponseBody = /* values here */ +``` + +### `components.UnifiedCampaignOutput` + +```typescript +const value: components.UnifiedCampaignOutput = /* values here */ +``` + 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/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..ba445f2af --- /dev/null +++ b/docs/models/operations/addcandidateresponse.md @@ -0,0 +1,17 @@ +# AddCandidateResponse + + +## Supported Types + +### `operations.AddCandidateResponseBody` + +```typescript +const value: operations.AddCandidateResponseBody = /* values here */ +``` + +### `components.UnifiedCandidateOutput` + +```typescript +const value: components.UnifiedCandidateOutput = /* values here */ +``` + 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/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..bd82519e5 --- /dev/null +++ b/docs/models/operations/addcashflowstatementresponse.md @@ -0,0 +1,17 @@ +# AddCashflowStatementResponse + + +## Supported Types + +### `operations.AddCashflowStatementResponseBody` + +```typescript +const value: operations.AddCashflowStatementResponseBody = /* values here */ +``` + +### `components.UnifiedCashflowStatementOutput` + +```typescript +const value: components.UnifiedCashflowStatementOutput = /* values here */ +``` + 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/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..905c7d453 --- /dev/null +++ b/docs/models/operations/addcommentresponse.md @@ -0,0 +1,17 @@ +# AddCommentResponse + + +## Supported Types + +### `operations.AddCommentResponseBody` + +```typescript +const value: operations.AddCommentResponseBody = /* values here */ +``` + +### `components.UnifiedCommentOutput` + +```typescript +const value: components.UnifiedCommentOutput = /* values here */ +``` + 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/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..126a89b38 --- /dev/null +++ b/docs/models/operations/addcompanyinforesponse.md @@ -0,0 +1,17 @@ +# AddCompanyInfoResponse + + +## Supported Types + +### `operations.AddCompanyInfoResponseBody` + +```typescript +const value: operations.AddCompanyInfoResponseBody = /* values here */ +``` + +### `components.UnifiedCompanyInfoOutput` + +```typescript +const value: components.UnifiedCompanyInfoOutput = /* values here */ +``` + 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/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..d76deb7e4 --- /dev/null +++ b/docs/models/operations/addcreditnoteresponse.md @@ -0,0 +1,17 @@ +# AddCreditNoteResponse + + +## Supported Types + +### `operations.AddCreditNoteResponseBody` + +```typescript +const value: operations.AddCreditNoteResponseBody = /* values here */ +``` + +### `components.UnifiedCreditNoteOutput` + +```typescript +const value: components.UnifiedCreditNoteOutput = /* values here */ +``` + 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/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..d39675405 --- /dev/null +++ b/docs/models/operations/addcrmcompanyresponse.md @@ -0,0 +1,17 @@ +# AddCrmCompanyResponse + + +## Supported Types + +### `operations.AddCrmCompanyResponseBody` + +```typescript +const value: operations.AddCrmCompanyResponseBody = /* values here */ +``` + +### `components.UnifiedCompanyOutput` + +```typescript +const value: components.UnifiedCompanyOutput = /* values here */ +``` + 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..786d0c3b8 --- /dev/null +++ b/docs/models/operations/addcrmcontactresponse.md @@ -0,0 +1,17 @@ +# AddCrmContactResponse + + +## Supported Types + +### `operations.AddCrmContactResponseBody` + +```typescript +const value: operations.AddCrmContactResponseBody = /* values here */ +``` + +### `components.UnifiedContactOutput` + +```typescript +const value: components.UnifiedContactOutput = /* values here */ +``` + 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/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..1f3355154 --- /dev/null +++ b/docs/models/operations/adddealresponse.md @@ -0,0 +1,17 @@ +# AddDealResponse + + +## Supported Types + +### `operations.AddDealResponseBody` + +```typescript +const value: operations.AddDealResponseBody = /* values here */ +``` + +### `components.UnifiedDealOutput` + +```typescript +const value: components.UnifiedDealOutput = /* values here */ +``` + 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/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..0b2ba83f7 --- /dev/null +++ b/docs/models/operations/adddepartmentresponse.md @@ -0,0 +1,17 @@ +# AddDepartmentResponse + + +## Supported Types + +### `operations.AddDepartmentResponseBody` + +```typescript +const value: operations.AddDepartmentResponseBody = /* values here */ +``` + +### `components.UnifiedDepartmentOutput` + +```typescript +const value: components.UnifiedDepartmentOutput = /* values here */ +``` + 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/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..0e86cf34d --- /dev/null +++ b/docs/models/operations/adddependentresponse.md @@ -0,0 +1,17 @@ +# AddDependentResponse + + +## Supported Types + +### `operations.AddDependentResponseBody` + +```typescript +const value: operations.AddDependentResponseBody = /* values here */ +``` + +### `components.UnifiedDependentOutput` + +```typescript +const value: components.UnifiedDependentOutput = /* values here */ +``` + 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/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..8aca29562 --- /dev/null +++ b/docs/models/operations/adddriveresponse.md @@ -0,0 +1,17 @@ +# AddDriveResponse + + +## Supported Types + +### `operations.AddDriveResponseBody` + +```typescript +const value: operations.AddDriveResponseBody = /* values here */ +``` + +### `components.UnifiedDriveOutput` + +```typescript +const value: components.UnifiedDriveOutput = /* values here */ +``` + 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/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..4f649c1ec --- /dev/null +++ b/docs/models/operations/addeeocsresponse.md @@ -0,0 +1,17 @@ +# AddEeocsResponse + + +## Supported Types + +### `operations.AddEeocsResponseBody` + +```typescript +const value: operations.AddEeocsResponseBody = /* values here */ +``` + +### `components.UnifiedEeocsOutput` + +```typescript +const value: components.UnifiedEeocsOutput = /* values here */ +``` + 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/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..d01b7a982 --- /dev/null +++ b/docs/models/operations/addemailresponse.md @@ -0,0 +1,17 @@ +# AddEmailResponse + + +## Supported Types + +### `operations.AddEmailResponseBody` + +```typescript +const value: operations.AddEmailResponseBody = /* values here */ +``` + +### `components.UnifiedEmailOutput` + +```typescript +const value: components.UnifiedEmailOutput = /* values here */ +``` + 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/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..b1c5fa6fc --- /dev/null +++ b/docs/models/operations/addemployeepayrollrunresponse.md @@ -0,0 +1,17 @@ +# AddEmployeePayrollRunResponse + + +## Supported Types + +### `operations.AddEmployeePayrollRunResponseBody` + +```typescript +const value: operations.AddEmployeePayrollRunResponseBody = /* values here */ +``` + +### `components.UnifiedEmployeePayrollRunOutput` + +```typescript +const value: components.UnifiedEmployeePayrollRunOutput = /* values here */ +``` + 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/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..9b9492bfa --- /dev/null +++ b/docs/models/operations/addemployeeresponse.md @@ -0,0 +1,17 @@ +# AddEmployeeResponse + + +## Supported Types + +### `operations.AddEmployeeResponseBody` + +```typescript +const value: operations.AddEmployeeResponseBody = /* values here */ +``` + +### `components.UnifiedEmployeeOutput` + +```typescript +const value: components.UnifiedEmployeeOutput = /* values here */ +``` + 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/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..1499034f4 --- /dev/null +++ b/docs/models/operations/addemployerbenefitresponse.md @@ -0,0 +1,17 @@ +# AddEmployerBenefitResponse + + +## Supported Types + +### `operations.AddEmployerBenefitResponseBody` + +```typescript +const value: operations.AddEmployerBenefitResponseBody = /* values here */ +``` + +### `components.UnifiedEmployerBenefitOutput` + +```typescript +const value: components.UnifiedEmployerBenefitOutput = /* values here */ +``` + 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/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..437d6c3e9 --- /dev/null +++ b/docs/models/operations/addemploymentresponse.md @@ -0,0 +1,17 @@ +# AddEmploymentResponse + + +## Supported Types + +### `operations.AddEmploymentResponseBody` + +```typescript +const value: operations.AddEmploymentResponseBody = /* values here */ +``` + +### `components.UnifiedEmploymentOutput` + +```typescript +const value: components.UnifiedEmploymentOutput = /* values here */ +``` + 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/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..8dc45cc85 --- /dev/null +++ b/docs/models/operations/addengagementresponse.md @@ -0,0 +1,17 @@ +# AddEngagementResponse + + +## Supported Types + +### `operations.AddEngagementResponseBody` + +```typescript +const value: operations.AddEngagementResponseBody = /* values here */ +``` + +### `components.UnifiedEngagementOutput` + +```typescript +const value: components.UnifiedEngagementOutput = /* values here */ +``` + 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/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..d82fd1232 --- /dev/null +++ b/docs/models/operations/addeventresponse.md @@ -0,0 +1,17 @@ +# AddEventResponse + + +## Supported Types + +### `operations.AddEventResponseBody` + +```typescript +const value: operations.AddEventResponseBody = /* values here */ +``` + +### `components.UnifiedEventOutput` + +```typescript +const value: components.UnifiedEventOutput = /* values here */ +``` + 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/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..5fecc43ce --- /dev/null +++ b/docs/models/operations/addexpenseresponse.md @@ -0,0 +1,17 @@ +# AddExpenseResponse + + +## Supported Types + +### `operations.AddExpenseResponseBody` + +```typescript +const value: operations.AddExpenseResponseBody = /* values here */ +``` + +### `components.UnifiedExpenseOutput` + +```typescript +const value: components.UnifiedExpenseOutput = /* values here */ +``` + 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/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..ea197b4fb --- /dev/null +++ b/docs/models/operations/addfileresponse.md @@ -0,0 +1,17 @@ +# AddFileResponse + + +## Supported Types + +### `operations.AddFileResponseBody` + +```typescript +const value: operations.AddFileResponseBody = /* values here */ +``` + +### `components.UnifiedFileOutput` + +```typescript +const value: components.UnifiedFileOutput = /* values here */ +``` + 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/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..64956a782 --- /dev/null +++ b/docs/models/operations/addfolderresponse.md @@ -0,0 +1,17 @@ +# AddFolderResponse + + +## Supported Types + +### `operations.AddFolderResponseBody` + +```typescript +const value: operations.AddFolderResponseBody = /* values here */ +``` + +### `components.UnifiedFolderOutput` + +```typescript +const value: components.UnifiedFolderOutput = /* values here */ +``` + 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/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..96c409c52 --- /dev/null +++ b/docs/models/operations/addgroupresponse.md @@ -0,0 +1,17 @@ +# AddGroupResponse + + +## Supported Types + +### `operations.AddGroupResponseBody` + +```typescript +const value: operations.AddGroupResponseBody = /* values here */ +``` + +### `components.UnifiedGroupOutput` + +```typescript +const value: components.UnifiedGroupOutput = /* values here */ +``` + 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/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..cd47b65e8 --- /dev/null +++ b/docs/models/operations/addhriscompanyresponse.md @@ -0,0 +1,17 @@ +# AddHrisCompanyResponse + + +## Supported Types + +### `operations.AddHrisCompanyResponseBody` + +```typescript +const value: operations.AddHrisCompanyResponseBody = /* values here */ +``` + +### `components.UnifiedCompanyOutput` + +```typescript +const value: components.UnifiedCompanyOutput = /* values here */ +``` + 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..1c6a39f9d --- /dev/null +++ b/docs/models/operations/addincomestatementresponse.md @@ -0,0 +1,17 @@ +# AddIncomeStatementResponse + + +## Supported Types + +### `operations.AddIncomeStatementResponseBody` + +```typescript +const value: operations.AddIncomeStatementResponseBody = /* values here */ +``` + +### `components.UnifiedIncomeStatementOutput` + +```typescript +const value: components.UnifiedIncomeStatementOutput = /* values here */ +``` + 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/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..73040a81c --- /dev/null +++ b/docs/models/operations/addinterviewresponse.md @@ -0,0 +1,17 @@ +# AddInterviewResponse + + +## Supported Types + +### `operations.AddInterviewResponseBody` + +```typescript +const value: operations.AddInterviewResponseBody = /* values here */ +``` + +### `components.UnifiedInterviewOutput` + +```typescript +const value: components.UnifiedInterviewOutput = /* values here */ +``` + 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/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..9ab745542 --- /dev/null +++ b/docs/models/operations/addinvoiceresponse.md @@ -0,0 +1,17 @@ +# AddInvoiceResponse + + +## Supported Types + +### `operations.AddInvoiceResponseBody` + +```typescript +const value: operations.AddInvoiceResponseBody = /* values here */ +``` + +### `components.UnifiedInvoiceOutput` + +```typescript +const value: components.UnifiedInvoiceOutput = /* values here */ +``` + 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/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..565370a17 --- /dev/null +++ b/docs/models/operations/additemresponse.md @@ -0,0 +1,17 @@ +# AddItemResponse + + +## Supported Types + +### `operations.AddItemResponseBody` + +```typescript +const value: operations.AddItemResponseBody = /* values here */ +``` + +### `components.UnifiedItemOutput` + +```typescript +const value: components.UnifiedItemOutput = /* values here */ +``` + 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/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..3e7cf8d29 --- /dev/null +++ b/docs/models/operations/addjobinterviewstageresponse.md @@ -0,0 +1,17 @@ +# AddJobInterviewStageResponse + + +## Supported Types + +### `operations.AddJobInterviewStageResponseBody` + +```typescript +const value: operations.AddJobInterviewStageResponseBody = /* values here */ +``` + +### `components.UnifiedJobInterviewStageOutput` + +```typescript +const value: components.UnifiedJobInterviewStageOutput = /* values here */ +``` + 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/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..a019b2b04 --- /dev/null +++ b/docs/models/operations/addjobresponse.md @@ -0,0 +1,17 @@ +# AddJobResponse + + +## Supported Types + +### `operations.AddJobResponseBody` + +```typescript +const value: operations.AddJobResponseBody = /* values here */ +``` + +### `components.UnifiedJobOutput` + +```typescript +const value: components.UnifiedJobOutput = /* values here */ +``` + 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/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..b1dd581d0 --- /dev/null +++ b/docs/models/operations/addjournalentryresponse.md @@ -0,0 +1,17 @@ +# AddJournalEntryResponse + + +## Supported Types + +### `operations.AddJournalEntryResponseBody` + +```typescript +const value: operations.AddJournalEntryResponseBody = /* values here */ +``` + +### `components.UnifiedJournalEntryOutput` + +```typescript +const value: components.UnifiedJournalEntryOutput = /* values here */ +``` + 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/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..61cd4aa87 --- /dev/null +++ b/docs/models/operations/addlistresponse.md @@ -0,0 +1,17 @@ +# AddListResponse + + +## Supported Types + +### `operations.AddListResponseBody` + +```typescript +const value: operations.AddListResponseBody = /* values here */ +``` + +### `components.UnifiedListOutput` + +```typescript +const value: components.UnifiedListOutput = /* values here */ +``` + 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/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..ecab52174 --- /dev/null +++ b/docs/models/operations/addlocationresponse.md @@ -0,0 +1,17 @@ +# AddLocationResponse + + +## Supported Types + +### `operations.AddLocationResponseBody` + +```typescript +const value: operations.AddLocationResponseBody = /* values here */ +``` + +### `components.UnifiedLocationOutput` + +```typescript +const value: components.UnifiedLocationOutput = /* values here */ +``` + 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/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..73501464c --- /dev/null +++ b/docs/models/operations/addmarketingautomationcontactresponse.md @@ -0,0 +1,17 @@ +# AddMarketingAutomationContactResponse + + +## Supported Types + +### `operations.AddMarketingAutomationContactResponseBody` + +```typescript +const value: operations.AddMarketingAutomationContactResponseBody = /* values here */ +``` + +### `components.UnifiedContactOutput` + +```typescript +const value: components.UnifiedContactOutput = /* values here */ +``` + 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/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..459a8fb05 --- /dev/null +++ b/docs/models/operations/addmarketingautomationuserresponse.md @@ -0,0 +1,17 @@ +# AddMarketingAutomationUserResponse + + +## Supported Types + +### `operations.AddMarketingAutomationUserResponseBody` + +```typescript +const value: operations.AddMarketingAutomationUserResponseBody = /* values here */ +``` + +### `components.UnifiedUserOutput` + +```typescript +const value: components.UnifiedUserOutput = /* values here */ +``` + 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/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..b85ff6780 --- /dev/null +++ b/docs/models/operations/addmessageresponse.md @@ -0,0 +1,17 @@ +# AddMessageResponse + + +## Supported Types + +### `operations.AddMessageResponseBody` + +```typescript +const value: operations.AddMessageResponseBody = /* values here */ +``` + +### `components.UnifiedMessageOutput` + +```typescript +const value: components.UnifiedMessageOutput = /* values here */ +``` + 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/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..f7e11dcf9 --- /dev/null +++ b/docs/models/operations/addnoteresponse.md @@ -0,0 +1,17 @@ +# AddNoteResponse + + +## Supported Types + +### `operations.AddNoteResponseBody` + +```typescript +const value: operations.AddNoteResponseBody = /* values here */ +``` + +### `components.UnifiedNoteOutput` + +```typescript +const value: components.UnifiedNoteOutput = /* values here */ +``` + 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/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..ad20df6ee --- /dev/null +++ b/docs/models/operations/addofferresponse.md @@ -0,0 +1,17 @@ +# AddOfferResponse + + +## Supported Types + +### `operations.AddOfferResponseBody` + +```typescript +const value: operations.AddOfferResponseBody = /* values here */ +``` + +### `components.UnifiedOfferOutput` + +```typescript +const value: components.UnifiedOfferOutput = /* values here */ +``` + 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/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..0087a304a --- /dev/null +++ b/docs/models/operations/addofficeresponse.md @@ -0,0 +1,17 @@ +# AddOfficeResponse + + +## Supported Types + +### `operations.AddOfficeResponseBody` + +```typescript +const value: operations.AddOfficeResponseBody = /* values here */ +``` + +### `components.UnifiedOfficeOutput` + +```typescript +const value: components.UnifiedOfficeOutput = /* values here */ +``` + 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/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..644573c50 --- /dev/null +++ b/docs/models/operations/addpaygroupresponse.md @@ -0,0 +1,17 @@ +# AddPayGroupResponse + + +## Supported Types + +### `operations.AddPayGroupResponseBody` + +```typescript +const value: operations.AddPayGroupResponseBody = /* values here */ +``` + +### `components.UnifiedPayGroupOutput` + +```typescript +const value: components.UnifiedPayGroupOutput = /* values here */ +``` + 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/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..8c7a08754 --- /dev/null +++ b/docs/models/operations/addpaymentresponse.md @@ -0,0 +1,17 @@ +# AddPaymentResponse + + +## Supported Types + +### `operations.AddPaymentResponseBody` + +```typescript +const value: operations.AddPaymentResponseBody = /* values here */ +``` + +### `components.UnifiedPaymentOutput` + +```typescript +const value: components.UnifiedPaymentOutput = /* values here */ +``` + 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/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..a4d5a6006 --- /dev/null +++ b/docs/models/operations/addpayrollrunresponse.md @@ -0,0 +1,17 @@ +# AddPayrollRunResponse + + +## Supported Types + +### `operations.AddPayrollRunResponseBody` + +```typescript +const value: operations.AddPayrollRunResponseBody = /* values here */ +``` + +### `components.UnifiedPayrollRunOutput` + +```typescript +const value: components.UnifiedPayrollRunOutput = /* values here */ +``` + 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/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..20c1e9878 --- /dev/null +++ b/docs/models/operations/addpermissionresponse.md @@ -0,0 +1,17 @@ +# AddPermissionResponse + + +## Supported Types + +### `operations.AddPermissionResponseBody` + +```typescript +const value: operations.AddPermissionResponseBody = /* values here */ +``` + +### `components.UnifiedPermissionOutput` + +```typescript +const value: components.UnifiedPermissionOutput = /* values here */ +``` + 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/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..f90ea00f8 --- /dev/null +++ b/docs/models/operations/addphonenumberresponse.md @@ -0,0 +1,17 @@ +# AddPhoneNumberResponse + + +## Supported Types + +### `operations.AddPhoneNumberResponseBody` + +```typescript +const value: operations.AddPhoneNumberResponseBody = /* values here */ +``` + +### `components.UnifiedPhoneNumberOutput` + +```typescript +const value: components.UnifiedPhoneNumberOutput = /* values here */ +``` + 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/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..3bce24cc1 --- /dev/null +++ b/docs/models/operations/addpurchaseorderresponse.md @@ -0,0 +1,17 @@ +# AddPurchaseOrderResponse + + +## Supported Types + +### `operations.AddPurchaseOrderResponseBody` + +```typescript +const value: operations.AddPurchaseOrderResponseBody = /* values here */ +``` + +### `components.UnifiedPurchaseOrderOutput` + +```typescript +const value: components.UnifiedPurchaseOrderOutput = /* values here */ +``` + 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/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..34ebb77ec --- /dev/null +++ b/docs/models/operations/addrejectreasonresponse.md @@ -0,0 +1,17 @@ +# AddRejectReasonResponse + + +## Supported Types + +### `operations.AddRejectReasonResponseBody` + +```typescript +const value: operations.AddRejectReasonResponseBody = /* values here */ +``` + +### `components.UnifiedRejectReasonOutput` + +```typescript +const value: components.UnifiedRejectReasonOutput = /* values here */ +``` + 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/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..6e4884ae6 --- /dev/null +++ b/docs/models/operations/addscorecardresponse.md @@ -0,0 +1,17 @@ +# AddScoreCardResponse + + +## Supported Types + +### `operations.AddScoreCardResponseBody` + +```typescript +const value: operations.AddScoreCardResponseBody = /* values here */ +``` + +### `components.UnifiedScoreCardOutput` + +```typescript +const value: components.UnifiedScoreCardOutput = /* values here */ +``` + 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/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..1e3e098e6 --- /dev/null +++ b/docs/models/operations/addscreeningquestionresponse.md @@ -0,0 +1,17 @@ +# AddScreeningQuestionResponse + + +## Supported Types + +### `operations.AddScreeningQuestionResponseBody` + +```typescript +const value: operations.AddScreeningQuestionResponseBody = /* values here */ +``` + +### `components.UnifiedScreeningQuestionOutput` + +```typescript +const value: components.UnifiedScreeningQuestionOutput = /* values here */ +``` + 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/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..d4559c729 --- /dev/null +++ b/docs/models/operations/addsharedlinkresponse.md @@ -0,0 +1,17 @@ +# AddSharedlinkResponse + + +## Supported Types + +### `operations.AddSharedlinkResponseBody` + +```typescript +const value: operations.AddSharedlinkResponseBody = /* values here */ +``` + +### `components.UnifiedSharedLinkOutput` + +```typescript +const value: components.UnifiedSharedLinkOutput = /* values here */ +``` + 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/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..a949eafea --- /dev/null +++ b/docs/models/operations/addtagresponse.md @@ -0,0 +1,17 @@ +# AddTagResponse + + +## Supported Types + +### `operations.AddTagResponseBody` + +```typescript +const value: operations.AddTagResponseBody = /* values here */ +``` + +### `components.UnifiedTagOutput` + +```typescript +const value: components.UnifiedTagOutput = /* values here */ +``` + 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/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..607c913c1 --- /dev/null +++ b/docs/models/operations/addtaskresponse.md @@ -0,0 +1,17 @@ +# AddTaskResponse + + +## Supported Types + +### `operations.AddTaskResponseBody` + +```typescript +const value: operations.AddTaskResponseBody = /* values here */ +``` + +### `components.UnifiedTaskOutput` + +```typescript +const value: components.UnifiedTaskOutput = /* values here */ +``` + 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/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..0cd4b3769 --- /dev/null +++ b/docs/models/operations/addtaxrateresponse.md @@ -0,0 +1,17 @@ +# AddTaxRateResponse + + +## Supported Types + +### `operations.AddTaxRateResponseBody` + +```typescript +const value: operations.AddTaxRateResponseBody = /* values here */ +``` + +### `components.UnifiedTaxRateOutput` + +```typescript +const value: components.UnifiedTaxRateOutput = /* values here */ +``` + 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/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..42a697dcb --- /dev/null +++ b/docs/models/operations/addtemplateresponse.md @@ -0,0 +1,17 @@ +# AddTemplateResponse + + +## Supported Types + +### `operations.AddTemplateResponseBody` + +```typescript +const value: operations.AddTemplateResponseBody = /* values here */ +``` + +### `components.UnifiedTemplateOutput` + +```typescript +const value: components.UnifiedTemplateOutput = /* values here */ +``` + 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/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..d2aa137ca --- /dev/null +++ b/docs/models/operations/addticketingattachmentresponse.md @@ -0,0 +1,17 @@ +# AddTicketingAttachmentResponse + + +## Supported Types + +### `operations.AddTicketingAttachmentResponseBody` + +```typescript +const value: operations.AddTicketingAttachmentResponseBody = /* values here */ +``` + +### `components.UnifiedAttachmentOutput` + +```typescript +const value: components.UnifiedAttachmentOutput = /* values here */ +``` + 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/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..e69acea4d --- /dev/null +++ b/docs/models/operations/addticketresponse.md @@ -0,0 +1,17 @@ +# AddTicketResponse + + +## Supported Types + +### `operations.AddTicketResponseBody` + +```typescript +const value: operations.AddTicketResponseBody = /* values here */ +``` + +### `components.UnifiedTicketOutput` + +```typescript +const value: components.UnifiedTicketOutput = /* values here */ +``` + 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/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..38f939734 --- /dev/null +++ b/docs/models/operations/addtimeoffbalanceresponse.md @@ -0,0 +1,17 @@ +# AddTimeoffBalanceResponse + + +## Supported Types + +### `operations.AddTimeoffBalanceResponseBody` + +```typescript +const value: operations.AddTimeoffBalanceResponseBody = /* values here */ +``` + +### `components.UnifiedTimeoffBalanceOutput` + +```typescript +const value: components.UnifiedTimeoffBalanceOutput = /* values here */ +``` + 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/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..0d718e91c --- /dev/null +++ b/docs/models/operations/addtimeoffresponse.md @@ -0,0 +1,17 @@ +# AddTimeoffResponse + + +## Supported Types + +### `operations.AddTimeoffResponseBody` + +```typescript +const value: operations.AddTimeoffResponseBody = /* values here */ +``` + +### `components.UnifiedTimeoffOutput` + +```typescript +const value: components.UnifiedTimeoffOutput = /* values here */ +``` + 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/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..407d26051 --- /dev/null +++ b/docs/models/operations/addtrackingcategoryresponse.md @@ -0,0 +1,17 @@ +# AddTrackingCategoryResponse + + +## Supported Types + +### `operations.AddTrackingCategoryResponseBody` + +```typescript +const value: operations.AddTrackingCategoryResponseBody = /* values here */ +``` + +### `components.UnifiedTrackingCategoryOutput` + +```typescript +const value: components.UnifiedTrackingCategoryOutput = /* values here */ +``` + 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/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..872863ae2 --- /dev/null +++ b/docs/models/operations/addtransactionresponse.md @@ -0,0 +1,17 @@ +# AddTransactionResponse + + +## Supported Types + +### `operations.AddTransactionResponseBody` + +```typescript +const value: operations.AddTransactionResponseBody = /* values here */ +``` + +### `components.UnifiedTransactionOutput` + +```typescript +const value: components.UnifiedTransactionOutput = /* values here */ +``` + 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/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..c4ce79e6b --- /dev/null +++ b/docs/models/operations/addvendorcreditresponse.md @@ -0,0 +1,17 @@ +# AddVendorCreditResponse + + +## Supported Types + +### `operations.AddVendorCreditResponseBody` + +```typescript +const value: operations.AddVendorCreditResponseBody = /* values here */ +``` + +### `components.UnifiedVendorCreditOutput` + +```typescript +const value: components.UnifiedVendorCreditOutput = /* values here */ +``` + 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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..57c3fe5cd --- /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. | +| `limit` | *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/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/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..cc9f51df8 --- /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. | +| `limit` | *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/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..166992c38 --- /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. | +| `limit` | *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/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/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/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/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/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/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/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/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/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/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/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/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/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..d8678a2a3 --- /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. | +| `limit` | *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/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/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/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..084cbc2da --- /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. | +| `limit` | *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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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..f7da52d11 --- /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. | +| `limit` | *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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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..a6796db3b --- /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. | +| `limit` | *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/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/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/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/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/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/getpanoracoreeventsrequest.md b/docs/models/operations/getpanoracoreeventsrequest.md new file mode 100644 index 000000000..eee21068f --- /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 | +| `limit` | *number* | :heavy_minus_sign: | 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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..ff827daba --- /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. | +| `limit` | *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/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/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/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..00fed0b25 --- /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. | +| `limit` | *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/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/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/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/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..dcd139731 --- /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. | +| `limit` | *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/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/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/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/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..847c351db --- /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. | +| `limit` | *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/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/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..c0f2fa751 --- /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. | +| `limit` | *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/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/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..cc944f026 --- /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. | +| `limit` | *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/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/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..d27e50ec7 --- /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. | +| `limit` | *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/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/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..87b07727a --- /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. | +| `limit` | *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/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/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..6dbda8eb5 --- /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. | +| `limit` | *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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/listcrmcontactsrequest.md b/docs/models/operations/listcrmcontactsrequest.md new file mode 100644 index 000000000..6b9b029d6 --- /dev/null +++ b/docs/models/operations/listcrmcontactsrequest.md @@ -0,0 +1,11 @@ +# ListCrmContactsRequest + + +## 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. | +| `limit` | *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/listcrmcontactsresponsebody.md b/docs/models/operations/listcrmcontactsresponsebody.md new file mode 100644 index 000000000..66baafe0f --- /dev/null +++ b/docs/models/operations/listcrmcontactsresponsebody.md @@ -0,0 +1,11 @@ +# ListCrmContactsResponseBody + + +## Fields + +| Field | Type | Required | 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/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/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/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/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/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/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/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..49a36e75f 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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.14.1.tgz", + "integrity": "sha512-aAJd6bIf2vvQRjUG3ZkNXkmBpN+J7Wd0mfQiiVCJMu9Z5GcZZdcc0j8XwN/BM97Fl7e3SkTXODSk4VehUv7CGw==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "7.14.1", + "@typescript-eslint/type-utils": "7.14.1", + "@typescript-eslint/utils": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.14.1.tgz", + "integrity": "sha512-8lKUOebNLcR0D7RvlcloOacTOWzOqemWEWkKSVpMZVF/XVcwjPR+3MD08QzbW9TCGJ+DwIc6zUSGZ9vd8cO1IA==", + "dev": true, "dependencies": { - "graceful-fs": "4.2.10" + "@typescript-eslint/scope-manager": "7.14.1", + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/typescript-estree": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.14.1.tgz", + "integrity": "sha512-gPrFSsoYcsffYXTOZ+hT7fyJr95rdVe4kGVX1ps/dJ+DfmlnjFN/GcMxXcVkeHDKqsq6uAcVaQaIi3cFffmAbA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.14.1.tgz", + "integrity": "sha512-/MzmgNd3nnbDbOi3LfasXWWe292+iuo+umJ0bCCMCPc1jLO/z2BQmWUUUXvXLbrQey/JgzdF/OV+I5bzEGwJkQ==", + "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.14.1", + "@typescript-eslint/utils": "7.14.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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.14.1.tgz", + "integrity": "sha512-mL7zNEOQybo5R3AavY+Am7KLv8BorIv7HCYS5rKoNZKQD9tsfGUpO4KdAn3sSUvTiS4PQkr2+K0KJbxj8H9NDg==", + "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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.14.1.tgz", + "integrity": "sha512-k5d0VuxViE2ulIO6FbxxSZaxqDVUyMbXcidC8rHvii0I56XZPv8cq+EhMns+d/EVIL41sMXqRbK3D10Oza1bbA==", + "dev": true, "dependencies": { - "defer-to-connect": "^2.0.1" + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.14.1.tgz", + "integrity": "sha512-CMmVVELns3nak3cpJhZosDkm63n+DwBlDX8g0k4QUa9BMnF+lH2lr3d130M1Zt1xxmB3LLk3NV7KQCq86ZBBhQ==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "7.14.1", + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/typescript-estree": "7.14.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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.14.1.tgz", + "integrity": "sha512-Crb+F75U1JAEtBeQGxSKwI60hZmmzaqA3z9sYsVm8X7W5cwLEm5bRe0/uXS6+MR/y8CVpKSR/ontIAIEPFcEkA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "7.14.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,223 @@ "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.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", "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": "*" + "node": ">= 0.4" }, "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 +2312,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==", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, "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==", - "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,386 +2538,328 @@ "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" - }, - "engines": { - "node": ">=8" + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.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/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": { - "get-intrinsic": "^1.2.2", - "hasown": "^2.0.0", - "side-channel": "^1.0.4" + "prelude-ls": "^1.2.1" }, "engines": { - "node": ">= 0.4" + "node": ">= 0.8.0" } }, - "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-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": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", - "is-typed-array": "^1.1.10" + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">= 0.4" } }, - "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-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": { - "has-bigints": "^1.0.1" + "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==", + "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": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" + "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" @@ -3456,2944 +2868,18 @@ "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 +2888,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.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz", + "integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==", + "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 +2916,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 +2944,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 +2956,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 +2975,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 +3060,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 +3083,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 +3101,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 }, - "@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==", + "@types/jsonpath": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@types/jsonpath/-/jsonpath-0.2.4.tgz", + "integrity": "sha512-K3hxB8Blw0qgW6ExKgMbXQv2UPZBoE2GqLpVY+yr7nMD2Pq86lsuIzyAaiQ7eMqFL5B6di6pxSkogLJEyEHoGA==", + "dev": true + }, + "@typescript-eslint/eslint-plugin": { + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.14.1.tgz", + "integrity": "sha512-aAJd6bIf2vvQRjUG3ZkNXkmBpN+J7Wd0mfQiiVCJMu9Z5GcZZdcc0j8XwN/BM97Fl7e3SkTXODSk4VehUv7CGw==", + "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.14.1", + "@typescript-eslint/type-utils": "7.14.1", + "@typescript-eslint/utils": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.14.1.tgz", + "integrity": "sha512-8lKUOebNLcR0D7RvlcloOacTOWzOqemWEWkKSVpMZVF/XVcwjPR+3MD08QzbW9TCGJ+DwIc6zUSGZ9vd8cO1IA==", + "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.14.1", + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/typescript-estree": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.14.1.tgz", + "integrity": "sha512-gPrFSsoYcsffYXTOZ+hT7fyJr95rdVe4kGVX1ps/dJ+DfmlnjFN/GcMxXcVkeHDKqsq6uAcVaQaIi3cFffmAbA==", + "dev": true, "requires": { - "defer-to-connect": "^2.0.1" + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.14.1.tgz", + "integrity": "sha512-/MzmgNd3nnbDbOi3LfasXWWe292+iuo+umJ0bCCMCPc1jLO/z2BQmWUUUXvXLbrQey/JgzdF/OV+I5bzEGwJkQ==", + "dev": true, + "requires": { + "@typescript-eslint/typescript-estree": "7.14.1", + "@typescript-eslint/utils": "7.14.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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.14.1.tgz", + "integrity": "sha512-mL7zNEOQybo5R3AavY+Am7KLv8BorIv7HCYS5rKoNZKQD9tsfGUpO4KdAn3sSUvTiS4PQkr2+K0KJbxj8H9NDg==", + "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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.14.1.tgz", + "integrity": "sha512-k5d0VuxViE2ulIO6FbxxSZaxqDVUyMbXcidC8rHvii0I56XZPv8cq+EhMns+d/EVIL41sMXqRbK3D10Oza1bbA==", + "dev": true, + "requires": { + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.14.1.tgz", + "integrity": "sha512-CMmVVELns3nak3cpJhZosDkm63n+DwBlDX8g0k4QUa9BMnF+lH2lr3d130M1Zt1xxmB3LLk3NV7KQCq86ZBBhQ==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "7.14.1", + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/typescript-estree": "7.14.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.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.14.1.tgz", + "integrity": "sha512-Crb+F75U1JAEtBeQGxSKwI60hZmmzaqA3z9sYsVm8X7W5cwLEm5bRe0/uXS6+MR/y8CVpKSR/ontIAIEPFcEkA==", + "dev": true, + "requires": { + "@typescript-eslint/types": "7.14.1", + "eslint-visitor-keys": "^3.4.3" + } }, "@ungap/structured-clone": { "version": "1.2.0", @@ -7329,14 +3267,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 +3279,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 +3341,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" - } - }, - "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==" + "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" + } }, - "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 +3428,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 +3527,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 +3639,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", @@ -8385,26 +3778,134 @@ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "requires": { - "yocto-queue": "^0.1.0" + "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" + } + } + } + }, + "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": { + "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 +3936,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 +3957,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 +3989,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 +4012,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 +4030,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 +4056,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 +4070,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 +4088,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 +4147,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 +4168,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 +4177,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 +4191,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 +4208,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,241 +4277,54 @@ } } }, - "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", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "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==" - } + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "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==", + "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 +4333,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 +4342,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 +4375,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==", - "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" - } - } - } + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true }, - "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 }, - "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-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 }, - "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-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 }, - "meow": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-6.1.1.tgz", - "integrity": "sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg==", + "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 + }, + "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 +4561,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 +4576,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==" + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "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 +4600,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 +4643,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 +4657,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 +4666,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 +4770,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 +4907,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 +4916,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 +4934,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 +4971,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.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz", + "integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==", + "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 +5041,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 +5063,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 +5072,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 +5091,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..37ee8cd43 --- /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.js"; +import { + AfterErrorContext, + AfterErrorHook, + AfterSuccessContext, + AfterSuccessHook, + BeforeRequestContext, + BeforeRequestHook, + BeforeCreateRequestHook, + BeforeCreateRequestContext, + Hooks, + SDKInitHook, + SDKInitOptions, +} from "./types.js"; + +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..d5fdd742f --- /dev/null +++ b/src/hooks/index.ts @@ -0,0 +1,6 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export * from "./types.js"; +export * from "./hooks.js"; diff --git a/src/hooks/types.ts b/src/hooks/types.ts new file mode 100644 index 000000000..dd23b024f --- /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.js"; + +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..8bc6ae3ed --- /dev/null +++ b/src/index.ts @@ -0,0 +1,6 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export * from "./sdk/sdk.js"; +export * from "./lib/config.js"; 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..f3156a225 --- /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.js"; +import { RetryConfig } from "./retries.js"; +import { Params, pathToFunc } from "./url.js"; + +/** + * 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.352.0", + userAgent: "speakeasy-sdk/typescript 0.0.1 2.352.0 1.0 openapi", +} as const; diff --git a/src/lib/encodings.ts b/src/lib/encodings.ts new file mode 100644 index 000000000..49f536b65 --- /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.js"; +import { isPlainObject } from "./is-plain-object.js"; + +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..7c5107adf --- /dev/null +++ b/src/lib/http.ts @@ -0,0 +1,504 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { never as znever } from "zod"; +import { parse } from "./schemas.js"; +import { isPlainObject } from "./is-plain-object.js"; +import { SDKError } from "../models/errors/sdkerror.js"; + +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, + // flat + 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) { + const responseBody = await response.text(); + throw new SDKError( + "Unexpected API response status or content-type", + response, + responseBody + ); + } + + 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 response.text(); + 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 SDKError("API error occurred", response, typeof raw === "string" ? raw : ""); + } 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 if (pred.hdrs) { + data = { + ...options?.extraFields, + ...(pred.hdrs ? { Headers: unpackHeaders(response.headers) } : null), + ...(isPlainObject(raw) ? raw : null), + }; + } else { + data = raw; + } + + 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..94b053540 --- /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.js"; + +/** + * 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..b6f45cfca --- /dev/null +++ b/src/lib/sdks.ts @@ -0,0 +1,148 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { ResponseMatcher, HTTPClient, matchStatusCode } from "./http.js"; +import { SecurityState, resolveSecurity, resolveGlobalSecurity } from "./security.js"; +import { pathToFunc } from "./url.js"; +import { encodeForm } from "./encodings.js"; +import { stringToBase64 } from "./base64.js"; +import { SDKHooks } from "../hooks/hooks.js"; +import { HookContext } from "../hooks/types.js"; + +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..ebe1718a9 --- /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/index.js"; + +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..5674be6e1 --- /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.js"; +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..dafa3bc46 --- /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.js"; +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..efc9de2e4 --- /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.js"; +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..b70b6eeaf --- /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.js"; +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..b745905f2 --- /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.js"; +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..37e7cef18 --- /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.js"; +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..83bab85b6 --- /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.js"; +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..6792c0aff --- /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.js"; +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/index.ts b/src/models/components/index.ts new file mode 100644 index 000000000..7df491ab4 --- /dev/null +++ b/src/models/components/index.ts @@ -0,0 +1,170 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export * from "./apikeydto.js"; +export * from "./bodydatatype.js"; +export * from "./connectionstrategycredentials.js"; +export * from "./createbatchlinkeduserdto.js"; +export * from "./createconnectionstrategydto.js"; +export * from "./createlinkeduserdto.js"; +export * from "./createmagiclinkdto.js"; +export * from "./createorganizationdto.js"; +export * from "./createprojectdto.js"; +export * from "./createuserdto.js"; +export * from "./customfieldcreatedto.js"; +export * from "./definetargetfielddto.js"; +export * from "./deletecsdto.js"; +export * from "./logindto.js"; +export * from "./managedwebhooksdto.js"; +export * from "./mapfieldtoproviderdto.js"; +export * from "./passthroughrequestdto.js"; +export * from "./passthroughresponse.js"; +export * from "./projectconnectorsdto.js"; +export * from "./refreshdto.js"; +export * from "./remotethirdpartycreationdto.js"; +export * from "./security.js"; +export * from "./signatureverificationdto.js"; +export * from "./togglestrategydto.js"; +export * from "./unifiedaccountinput.js"; +export * from "./unifiedaccountoutput.js"; +export * from "./unifiedactioninput.js"; +export * from "./unifiedactionoutput.js"; +export * from "./unifiedactivityinput.js"; +export * from "./unifiedactivityoutput.js"; +export * from "./unifiedaddressinput.js"; +export * from "./unifiedaddressoutput.js"; +export * from "./unifiedapplicationinput.js"; +export * from "./unifiedapplicationoutput.js"; +export * from "./unifiedattachmentinput.js"; +export * from "./unifiedattachmentoutput.js"; +export * from "./unifiedautomationinput.js"; +export * from "./unifiedautomationoutput.js"; +export * from "./unifiedbalancesheetinput.js"; +export * from "./unifiedbalancesheetoutput.js"; +export * from "./unifiedbankinfoinput.js"; +export * from "./unifiedbankinfooutput.js"; +export * from "./unifiedbenefitinput.js"; +export * from "./unifiedbenefitoutput.js"; +export * from "./unifiedcampaigninput.js"; +export * from "./unifiedcampaignoutput.js"; +export * from "./unifiedcandidateinput.js"; +export * from "./unifiedcandidateoutput.js"; +export * from "./unifiedcashflowstatementinput.js"; +export * from "./unifiedcashflowstatementoutput.js"; +export * from "./unifiedcollectionoutput.js"; +export * from "./unifiedcommentinput.js"; +export * from "./unifiedcommentoutput.js"; +export * from "./unifiedcompanyinfoinput.js"; +export * from "./unifiedcompanyinfooutput.js"; +export * from "./unifiedcompanyinput.js"; +export * from "./unifiedcompanyoutput.js"; +export * from "./unifiedcontactinput.js"; +export * from "./unifiedcontactoutput.js"; +export * from "./unifiedcreditnoteinput.js"; +export * from "./unifiedcreditnoteoutput.js"; +export * from "./unifieddealinput.js"; +export * from "./unifieddealoutput.js"; +export * from "./unifieddepartmentinput.js"; +export * from "./unifieddepartmentoutput.js"; +export * from "./unifieddependentinput.js"; +export * from "./unifieddependentoutput.js"; +export * from "./unifieddriveinput.js"; +export * from "./unifieddriveoutput.js"; +export * from "./unifiedeeocsinput.js"; +export * from "./unifiedeeocsoutput.js"; +export * from "./unifiedemailinput.js"; +export * from "./unifiedemailoutput.js"; +export * from "./unifiedemployeeinput.js"; +export * from "./unifiedemployeeoutput.js"; +export * from "./unifiedemployeepayrollruninput.js"; +export * from "./unifiedemployeepayrollrunoutput.js"; +export * from "./unifiedemployerbenefitinput.js"; +export * from "./unifiedemployerbenefitoutput.js"; +export * from "./unifiedemploymentinput.js"; +export * from "./unifiedemploymentoutput.js"; +export * from "./unifiedengagementinput.js"; +export * from "./unifiedengagementoutput.js"; +export * from "./unifiedeventinput.js"; +export * from "./unifiedeventoutput.js"; +export * from "./unifiedexpenseinput.js"; +export * from "./unifiedexpenseoutput.js"; +export * from "./unifiedfileinput.js"; +export * from "./unifiedfileoutput.js"; +export * from "./unifiedfolderinput.js"; +export * from "./unifiedfolderoutput.js"; +export * from "./unifiedgroupinput.js"; +export * from "./unifiedgroupoutput.js"; +export * from "./unifiedincomestatementinput.js"; +export * from "./unifiedincomestatementoutput.js"; +export * from "./unifiedinterviewinput.js"; +export * from "./unifiedinterviewoutput.js"; +export * from "./unifiedinvoiceinput.js"; +export * from "./unifiedinvoiceoutput.js"; +export * from "./unifiediteminput.js"; +export * from "./unifieditemoutput.js"; +export * from "./unifiedjobinput.js"; +export * from "./unifiedjobinterviewstageinput.js"; +export * from "./unifiedjobinterviewstageoutput.js"; +export * from "./unifiedjoboutput.js"; +export * from "./unifiedjournalentryinput.js"; +export * from "./unifiedjournalentryoutput.js"; +export * from "./unifiedlistinput.js"; +export * from "./unifiedlistoutput.js"; +export * from "./unifiedlocationinput.js"; +export * from "./unifiedlocationoutput.js"; +export * from "./unifiedmessageinput.js"; +export * from "./unifiedmessageoutput.js"; +export * from "./unifiednoteinput.js"; +export * from "./unifiednoteoutput.js"; +export * from "./unifiedofferinput.js"; +export * from "./unifiedofferoutput.js"; +export * from "./unifiedofficeinput.js"; +export * from "./unifiedofficeoutput.js"; +export * from "./unifiedpaygroupinput.js"; +export * from "./unifiedpaygroupoutput.js"; +export * from "./unifiedpaymentinput.js"; +export * from "./unifiedpaymentoutput.js"; +export * from "./unifiedpayrollruninput.js"; +export * from "./unifiedpayrollrunoutput.js"; +export * from "./unifiedpermissioninput.js"; +export * from "./unifiedpermissionoutput.js"; +export * from "./unifiedphonenumberinput.js"; +export * from "./unifiedphonenumberoutput.js"; +export * from "./unifiedpurchaseorderinput.js"; +export * from "./unifiedpurchaseorderoutput.js"; +export * from "./unifiedrejectreasoninput.js"; +export * from "./unifiedrejectreasonoutput.js"; +export * from "./unifiedscorecardinput.js"; +export * from "./unifiedscorecardoutput.js"; +export * from "./unifiedscreeningquestioninput.js"; +export * from "./unifiedscreeningquestionoutput.js"; +export * from "./unifiedsharedlinkinput.js"; +export * from "./unifiedsharedlinkoutput.js"; +export * from "./unifiedstageoutput.js"; +export * from "./unifiedtaginput.js"; +export * from "./unifiedtagoutput.js"; +export * from "./unifiedtaskinput.js"; +export * from "./unifiedtaskoutput.js"; +export * from "./unifiedtaxrateinput.js"; +export * from "./unifiedtaxrateoutput.js"; +export * from "./unifiedteamoutput.js"; +export * from "./unifiedtemplateinput.js"; +export * from "./unifiedtemplateoutput.js"; +export * from "./unifiedticketinput.js"; +export * from "./unifiedticketoutput.js"; +export * from "./unifiedtimeoffbalanceinput.js"; +export * from "./unifiedtimeoffbalanceoutput.js"; +export * from "./unifiedtimeoffinput.js"; +export * from "./unifiedtimeoffoutput.js"; +export * from "./unifiedtrackingcategoryinput.js"; +export * from "./unifiedtrackingcategoryoutput.js"; +export * from "./unifiedtransactioninput.js"; +export * from "./unifiedtransactionoutput.js"; +export * from "./unifieduserinput.js"; +export * from "./unifieduseroutput.js"; +export * from "./unifiedvendorcreditinput.js"; +export * from "./unifiedvendorcreditoutput.js"; +export * from "./updatecsdto.js"; +export * from "./verifyuserdto.js"; +export * from "./webhookdto.js"; diff --git a/src/models/components/logindto.ts b/src/models/components/logindto.ts new file mode 100644 index 000000000..1f391ab06 --- /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.js"; +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..562b793b2 --- /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.js"; +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..9a77bb62f --- /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.js"; +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..b8e4e201a --- /dev/null +++ b/src/models/components/passthroughrequestdto.ts @@ -0,0 +1,75 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { ClosedEnum } from "../../types/enums.js"; +import * as z from "zod"; + +export const Method = { + Get: "GET", + Post: "POST", + Patch: "PATCH", + Delete: "DELETE", + Put: "PUT", +} as const; +export type Method = ClosedEnum; + +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.ZodNativeEnum = z.nativeEnum(Method); + export const outboundSchema: z.ZodNativeEnum = 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..b2cca45c2 --- /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.js"; +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..1af893eb2 --- /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.js"; +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..d35d664ad --- /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.js"; +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..4d1d60ca1 --- /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.js"; +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..a191bddfe --- /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.js"; +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..e23290023 --- /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.js"; +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..2e0b05533 --- /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.js"; +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..8367d5a94 --- /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.js"; +import { UnifiedAttachmentOutput, UnifiedAttachmentOutput$ } from "./unifiedattachmentoutput.js"; +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..a9c388923 --- /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.js"; +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..fe7d29468 --- /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.js"; +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..4143ec36d --- /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.js"; +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..22374a4b4 --- /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.js"; +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..d037782ec --- /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.js"; +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..22879d03c --- /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.js"; +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..52eb88ce8 --- /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.js"; +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..5a577975e --- /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.js"; +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..c2456810f --- /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.js"; +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..547e534ff --- /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.js"; +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..e624d453e --- /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.js"; +import { UnifiedCommentInput, UnifiedCommentInput$ } from "./unifiedcommentinput.js"; +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..45a373c81 --- /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.js"; +import { UnifiedCommentInput, UnifiedCommentInput$ } from "./unifiedcommentinput.js"; +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..ca27b0382 --- /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.js"; +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..9ec80a9bf --- /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.js"; +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..25c586c69 --- /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.js"; +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..629f225cc --- /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.js"; +export * from "./sdkvalidationerror.js"; diff --git a/src/models/errors/sdkerror.ts b/src/models/errors/sdkerror.ts new file mode 100644 index 000000000..5a94e842a --- /dev/null +++ b/src/models/errors/sdkerror.ts @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export class SDKError extends Error { + public readonly statusCode: number; + public readonly contentType: string; + + constructor( + message: string, + public readonly rawResponse: Response, + public readonly body: string = "" + ) { + const statusCode = rawResponse.status; + const contentType = rawResponse.headers.get("content-type") || ""; + const bodyString = body.length > 0 ? `\n${body}` : ""; + + super(`${message}: Status ${statusCode} Content-Type ${contentType} Body ${bodyString}`); + + this.statusCode = statusCode; + this.contentType = contentType; + + 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..05f0e9617 --- /dev/null +++ b/src/models/operations/addaccount.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedAccountOutput | AddAccountResponseBody; + +/** @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.union([ + components.UnifiedAccountOutput$.inboundSchema, + z.lazy(() => AddAccountResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedAccountOutput$.Outbound + | AddAccountResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedAccountOutput$.outboundSchema, + z.lazy(() => AddAccountResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addaccountingattachment.ts b/src/models/operations/addaccountingattachment.ts new file mode 100644 index 000000000..e0afcc19b --- /dev/null +++ b/src/models/operations/addaccountingattachment.ts @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | AddAccountingAttachmentResponseBody + | components.UnifiedAttachmentOutput; + +/** @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.union([ + z.lazy(() => AddAccountingAttachmentResponseBody$.inboundSchema), + components.UnifiedAttachmentOutput$.inboundSchema, + ]); + + export type Outbound = + | AddAccountingAttachmentResponseBody$.Outbound + | components.UnifiedAttachmentOutput$.Outbound; + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddAccountingAttachmentResponse + > = z.union([ + z.lazy(() => AddAccountingAttachmentResponseBody$.outboundSchema), + components.UnifiedAttachmentOutput$.outboundSchema, + ]); +} diff --git a/src/models/operations/addaccountingcontact.ts b/src/models/operations/addaccountingcontact.ts new file mode 100644 index 000000000..707988640 --- /dev/null +++ b/src/models/operations/addaccountingcontact.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedContactOutput + | AddAccountingContactResponseBody; + +/** @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.union([ + components.UnifiedContactOutput$.inboundSchema, + z.lazy(() => AddAccountingContactResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedContactOutput$.Outbound + | AddAccountingContactResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedContactOutput$.outboundSchema, + z.lazy(() => AddAccountingContactResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addaction.ts b/src/models/operations/addaction.ts new file mode 100644 index 000000000..4cc79a177 --- /dev/null +++ b/src/models/operations/addaction.ts @@ -0,0 +1,106 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedActionOutput | AddActionResponseBody; + +/** @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.union([ + components.UnifiedActionOutput$.inboundSchema, + z.lazy(() => AddActionResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedActionOutput$.Outbound + | AddActionResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedActionOutput$.outboundSchema, + z.lazy(() => AddActionResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addactivity.ts b/src/models/operations/addactivity.ts new file mode 100644 index 000000000..59c66d038 --- /dev/null +++ b/src/models/operations/addactivity.ts @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedActivityOutput | AddActivityResponseBody; + +/** @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.union([ + components.UnifiedActivityOutput$.inboundSchema, + z.lazy(() => AddActivityResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedActivityOutput$.Outbound + | AddActivityResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedActivityOutput$.outboundSchema, + z.lazy(() => AddActivityResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addaddress.ts b/src/models/operations/addaddress.ts new file mode 100644 index 000000000..bc01d6c24 --- /dev/null +++ b/src/models/operations/addaddress.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedAddressOutput | AddAddressResponseBody; + +/** @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.union([ + components.UnifiedAddressOutput$.inboundSchema, + z.lazy(() => AddAddressResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedAddressOutput$.Outbound + | AddAddressResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedAddressOutput$.outboundSchema, + z.lazy(() => AddAddressResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addapplication.ts b/src/models/operations/addapplication.ts new file mode 100644 index 000000000..fc73a26d7 --- /dev/null +++ b/src/models/operations/addapplication.ts @@ -0,0 +1,110 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedApplicationOutput + | AddApplicationResponseBody; + +/** @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.union([ + components.UnifiedApplicationOutput$.inboundSchema, + z.lazy(() => AddApplicationResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedApplicationOutput$.Outbound + | AddApplicationResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedApplicationOutput$.outboundSchema, + z.lazy(() => AddApplicationResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addatsattachment.ts b/src/models/operations/addatsattachment.ts new file mode 100644 index 000000000..55eb5055a --- /dev/null +++ b/src/models/operations/addatsattachment.ts @@ -0,0 +1,111 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | AddAtsAttachmentResponseBody + | components.UnifiedAttachmentOutput; + +/** @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.union([ + z.lazy(() => AddAtsAttachmentResponseBody$.inboundSchema), + components.UnifiedAttachmentOutput$.inboundSchema, + ]); + + export type Outbound = + | AddAtsAttachmentResponseBody$.Outbound + | components.UnifiedAttachmentOutput$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + z.lazy(() => AddAtsAttachmentResponseBody$.outboundSchema), + components.UnifiedAttachmentOutput$.outboundSchema, + ]); +} diff --git a/src/models/operations/addatsuser.ts b/src/models/operations/addatsuser.ts new file mode 100644 index 000000000..0b8ec18cd --- /dev/null +++ b/src/models/operations/addatsuser.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedUserOutput | AddAtsUserResponseBody; + +/** @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.union([ + components.UnifiedUserOutput$.inboundSchema, + z.lazy(() => AddAtsUserResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedUserOutput$.Outbound + | AddAtsUserResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedUserOutput$.outboundSchema, + z.lazy(() => AddAtsUserResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addautomation.ts b/src/models/operations/addautomation.ts new file mode 100644 index 000000000..2210dffe0 --- /dev/null +++ b/src/models/operations/addautomation.ts @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedAutomationOutput | AddAutomationResponseBody; + +/** @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.union([ + components.UnifiedAutomationOutput$.inboundSchema, + z.lazy(() => AddAutomationResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedAutomationOutput$.Outbound + | AddAutomationResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union( + [ + components.UnifiedAutomationOutput$.outboundSchema, + z.lazy(() => AddAutomationResponseBody$.outboundSchema), + ] + ); +} diff --git a/src/models/operations/addbalancesheet.ts b/src/models/operations/addbalancesheet.ts new file mode 100644 index 000000000..4211bca46 --- /dev/null +++ b/src/models/operations/addbalancesheet.ts @@ -0,0 +1,112 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedBalanceSheetOutput + | AddBalanceSheetResponseBody; + +/** @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.union( + [ + components.UnifiedBalanceSheetOutput$.inboundSchema, + z.lazy(() => AddBalanceSheetResponseBody$.inboundSchema), + ] + ); + + export type Outbound = + | components.UnifiedBalanceSheetOutput$.Outbound + | AddBalanceSheetResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedBalanceSheetOutput$.outboundSchema, + z.lazy(() => AddBalanceSheetResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addbankinfo.ts b/src/models/operations/addbankinfo.ts new file mode 100644 index 000000000..6ff543fd9 --- /dev/null +++ b/src/models/operations/addbankinfo.ts @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedBankInfoOutput | AddBankinfoResponseBody; + +/** @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.union([ + components.UnifiedBankInfoOutput$.inboundSchema, + z.lazy(() => AddBankinfoResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedBankInfoOutput$.Outbound + | AddBankinfoResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedBankInfoOutput$.outboundSchema, + z.lazy(() => AddBankinfoResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addbenefit.ts b/src/models/operations/addbenefit.ts new file mode 100644 index 000000000..935df1492 --- /dev/null +++ b/src/models/operations/addbenefit.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedBenefitOutput | AddBenefitResponseBody; + +/** @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.union([ + components.UnifiedBenefitOutput$.inboundSchema, + z.lazy(() => AddBenefitResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedBenefitOutput$.Outbound + | AddBenefitResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedBenefitOutput$.outboundSchema, + z.lazy(() => AddBenefitResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addcampaign.ts b/src/models/operations/addcampaign.ts new file mode 100644 index 000000000..740f4fd05 --- /dev/null +++ b/src/models/operations/addcampaign.ts @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedCampaignOutput | AddCampaignResponseBody; + +/** @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.union([ + components.UnifiedCampaignOutput$.inboundSchema, + z.lazy(() => AddCampaignResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedCampaignOutput$.Outbound + | AddCampaignResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedCampaignOutput$.outboundSchema, + z.lazy(() => AddCampaignResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addcandidate.ts b/src/models/operations/addcandidate.ts new file mode 100644 index 000000000..ce1494552 --- /dev/null +++ b/src/models/operations/addcandidate.ts @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedCandidateOutput | AddCandidateResponseBody; + +/** @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.union([ + components.UnifiedCandidateOutput$.inboundSchema, + z.lazy(() => AddCandidateResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedCandidateOutput$.Outbound + | AddCandidateResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedCandidateOutput$.outboundSchema, + z.lazy(() => AddCandidateResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addcashflowstatement.ts b/src/models/operations/addcashflowstatement.ts new file mode 100644 index 000000000..33acf5496 --- /dev/null +++ b/src/models/operations/addcashflowstatement.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedCashflowStatementOutput + | AddCashflowStatementResponseBody; + +/** @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.union([ + components.UnifiedCashflowStatementOutput$.inboundSchema, + z.lazy(() => AddCashflowStatementResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedCashflowStatementOutput$.Outbound + | AddCashflowStatementResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedCashflowStatementOutput$.outboundSchema, + z.lazy(() => AddCashflowStatementResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addcomment.ts b/src/models/operations/addcomment.ts new file mode 100644 index 000000000..4bf37d792 --- /dev/null +++ b/src/models/operations/addcomment.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = AddCommentResponseBody | components.UnifiedCommentOutput; + +/** @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.union([ + z.lazy(() => AddCommentResponseBody$.inboundSchema), + components.UnifiedCommentOutput$.inboundSchema, + ]); + + export type Outbound = + | AddCommentResponseBody$.Outbound + | components.UnifiedCommentOutput$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + z.lazy(() => AddCommentResponseBody$.outboundSchema), + components.UnifiedCommentOutput$.outboundSchema, + ]); +} diff --git a/src/models/operations/addcompanyinfo.ts b/src/models/operations/addcompanyinfo.ts new file mode 100644 index 000000000..44f6e2957 --- /dev/null +++ b/src/models/operations/addcompanyinfo.ts @@ -0,0 +1,110 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedCompanyInfoOutput + | AddCompanyInfoResponseBody; + +/** @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.union([ + components.UnifiedCompanyInfoOutput$.inboundSchema, + z.lazy(() => AddCompanyInfoResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedCompanyInfoOutput$.Outbound + | AddCompanyInfoResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedCompanyInfoOutput$.outboundSchema, + z.lazy(() => AddCompanyInfoResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addcreditnote.ts b/src/models/operations/addcreditnote.ts new file mode 100644 index 000000000..91b255ad4 --- /dev/null +++ b/src/models/operations/addcreditnote.ts @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedCreditNoteOutput | AddCreditNoteResponseBody; + +/** @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.union([ + components.UnifiedCreditNoteOutput$.inboundSchema, + z.lazy(() => AddCreditNoteResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedCreditNoteOutput$.Outbound + | AddCreditNoteResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union( + [ + components.UnifiedCreditNoteOutput$.outboundSchema, + z.lazy(() => AddCreditNoteResponseBody$.outboundSchema), + ] + ); +} diff --git a/src/models/operations/addcrmcompany.ts b/src/models/operations/addcrmcompany.ts new file mode 100644 index 000000000..e4072c199 --- /dev/null +++ b/src/models/operations/addcrmcompany.ts @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedCompanyOutput | AddCrmCompanyResponseBody; + +/** @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.union([ + components.UnifiedCompanyOutput$.inboundSchema, + z.lazy(() => AddCrmCompanyResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedCompanyOutput$.Outbound + | AddCrmCompanyResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union( + [ + components.UnifiedCompanyOutput$.outboundSchema, + z.lazy(() => AddCrmCompanyResponseBody$.outboundSchema), + ] + ); +} diff --git a/src/models/operations/addcrmcontact.ts b/src/models/operations/addcrmcontact.ts new file mode 100644 index 000000000..6020e55c7 --- /dev/null +++ b/src/models/operations/addcrmcontact.ts @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedContactOutput | AddCrmContactResponseBody; + +/** @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.union([ + components.UnifiedContactOutput$.inboundSchema, + z.lazy(() => AddCrmContactResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedContactOutput$.Outbound + | AddCrmContactResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union( + [ + components.UnifiedContactOutput$.outboundSchema, + z.lazy(() => AddCrmContactResponseBody$.outboundSchema), + ] + ); +} diff --git a/src/models/operations/adddeal.ts b/src/models/operations/adddeal.ts new file mode 100644 index 000000000..6b8da3200 --- /dev/null +++ b/src/models/operations/adddeal.ts @@ -0,0 +1,103 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = AddDealResponseBody | components.UnifiedDealOutput; + +/** @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.union([ + z.lazy(() => AddDealResponseBody$.inboundSchema), + components.UnifiedDealOutput$.inboundSchema, + ]); + + export type Outbound = AddDealResponseBody$.Outbound | components.UnifiedDealOutput$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + z.lazy(() => AddDealResponseBody$.outboundSchema), + components.UnifiedDealOutput$.outboundSchema, + ]); +} diff --git a/src/models/operations/adddepartment.ts b/src/models/operations/adddepartment.ts new file mode 100644 index 000000000..13cd00979 --- /dev/null +++ b/src/models/operations/adddepartment.ts @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedDepartmentOutput | AddDepartmentResponseBody; + +/** @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.union([ + components.UnifiedDepartmentOutput$.inboundSchema, + z.lazy(() => AddDepartmentResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedDepartmentOutput$.Outbound + | AddDepartmentResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union( + [ + components.UnifiedDepartmentOutput$.outboundSchema, + z.lazy(() => AddDepartmentResponseBody$.outboundSchema), + ] + ); +} diff --git a/src/models/operations/adddependent.ts b/src/models/operations/adddependent.ts new file mode 100644 index 000000000..57c13c939 --- /dev/null +++ b/src/models/operations/adddependent.ts @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedDependentOutput | AddDependentResponseBody; + +/** @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.union([ + components.UnifiedDependentOutput$.inboundSchema, + z.lazy(() => AddDependentResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedDependentOutput$.Outbound + | AddDependentResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedDependentOutput$.outboundSchema, + z.lazy(() => AddDependentResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/adddrive.ts b/src/models/operations/adddrive.ts new file mode 100644 index 000000000..bee1b4efd --- /dev/null +++ b/src/models/operations/adddrive.ts @@ -0,0 +1,105 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedDriveOutput | AddDriveResponseBody; + +/** @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.union([ + components.UnifiedDriveOutput$.inboundSchema, + z.lazy(() => AddDriveResponseBody$.inboundSchema), + ]); + + export type Outbound = components.UnifiedDriveOutput$.Outbound | AddDriveResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedDriveOutput$.outboundSchema, + z.lazy(() => AddDriveResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addeeocs.ts b/src/models/operations/addeeocs.ts new file mode 100644 index 000000000..597b62a44 --- /dev/null +++ b/src/models/operations/addeeocs.ts @@ -0,0 +1,105 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedEeocsOutput | AddEeocsResponseBody; + +/** @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.union([ + components.UnifiedEeocsOutput$.inboundSchema, + z.lazy(() => AddEeocsResponseBody$.inboundSchema), + ]); + + export type Outbound = components.UnifiedEeocsOutput$.Outbound | AddEeocsResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedEeocsOutput$.outboundSchema, + z.lazy(() => AddEeocsResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addemail.ts b/src/models/operations/addemail.ts new file mode 100644 index 000000000..bcc8cd30b --- /dev/null +++ b/src/models/operations/addemail.ts @@ -0,0 +1,105 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedEmailOutput | AddEmailResponseBody; + +/** @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.union([ + components.UnifiedEmailOutput$.inboundSchema, + z.lazy(() => AddEmailResponseBody$.inboundSchema), + ]); + + export type Outbound = components.UnifiedEmailOutput$.Outbound | AddEmailResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedEmailOutput$.outboundSchema, + z.lazy(() => AddEmailResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addemployee.ts b/src/models/operations/addemployee.ts new file mode 100644 index 000000000..baac188f0 --- /dev/null +++ b/src/models/operations/addemployee.ts @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedEmployeeOutput | AddEmployeeResponseBody; + +/** @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.union([ + components.UnifiedEmployeeOutput$.inboundSchema, + z.lazy(() => AddEmployeeResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedEmployeeOutput$.Outbound + | AddEmployeeResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedEmployeeOutput$.outboundSchema, + z.lazy(() => AddEmployeeResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addemployeepayrollrun.ts b/src/models/operations/addemployeepayrollrun.ts new file mode 100644 index 000000000..2cb62de7f --- /dev/null +++ b/src/models/operations/addemployeepayrollrun.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedEmployeePayrollRunOutput + | AddEmployeePayrollRunResponseBody; + +/** @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.union([ + components.UnifiedEmployeePayrollRunOutput$.inboundSchema, + z.lazy(() => AddEmployeePayrollRunResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedEmployeePayrollRunOutput$.Outbound + | AddEmployeePayrollRunResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedEmployeePayrollRunOutput$.outboundSchema, + z.lazy(() => AddEmployeePayrollRunResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addemployerbenefit.ts b/src/models/operations/addemployerbenefit.ts new file mode 100644 index 000000000..f7c3eb8b9 --- /dev/null +++ b/src/models/operations/addemployerbenefit.ts @@ -0,0 +1,111 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedEmployerBenefitOutput + | AddEmployerBenefitResponseBody; + +/** @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.union([ + components.UnifiedEmployerBenefitOutput$.inboundSchema, + z.lazy(() => AddEmployerBenefitResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedEmployerBenefitOutput$.Outbound + | AddEmployerBenefitResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedEmployerBenefitOutput$.outboundSchema, + z.lazy(() => AddEmployerBenefitResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addemployment.ts b/src/models/operations/addemployment.ts new file mode 100644 index 000000000..d8652e6b2 --- /dev/null +++ b/src/models/operations/addemployment.ts @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedEmploymentOutput | AddEmploymentResponseBody; + +/** @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.union([ + components.UnifiedEmploymentOutput$.inboundSchema, + z.lazy(() => AddEmploymentResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedEmploymentOutput$.Outbound + | AddEmploymentResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union( + [ + components.UnifiedEmploymentOutput$.outboundSchema, + z.lazy(() => AddEmploymentResponseBody$.outboundSchema), + ] + ); +} diff --git a/src/models/operations/addengagement.ts b/src/models/operations/addengagement.ts new file mode 100644 index 000000000..bb63c5131 --- /dev/null +++ b/src/models/operations/addengagement.ts @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = AddEngagementResponseBody | components.UnifiedEngagementOutput; + +/** @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.union([ + z.lazy(() => AddEngagementResponseBody$.inboundSchema), + components.UnifiedEngagementOutput$.inboundSchema, + ]); + + export type Outbound = + | AddEngagementResponseBody$.Outbound + | components.UnifiedEngagementOutput$.Outbound; + export const outboundSchema: z.ZodType = z.union( + [ + z.lazy(() => AddEngagementResponseBody$.outboundSchema), + components.UnifiedEngagementOutput$.outboundSchema, + ] + ); +} diff --git a/src/models/operations/addevent.ts b/src/models/operations/addevent.ts new file mode 100644 index 000000000..1fb40b006 --- /dev/null +++ b/src/models/operations/addevent.ts @@ -0,0 +1,105 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedEventOutput | AddEventResponseBody; + +/** @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.union([ + components.UnifiedEventOutput$.inboundSchema, + z.lazy(() => AddEventResponseBody$.inboundSchema), + ]); + + export type Outbound = components.UnifiedEventOutput$.Outbound | AddEventResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedEventOutput$.outboundSchema, + z.lazy(() => AddEventResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addexpense.ts b/src/models/operations/addexpense.ts new file mode 100644 index 000000000..116ef1b35 --- /dev/null +++ b/src/models/operations/addexpense.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedExpenseOutput | AddExpenseResponseBody; + +/** @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.union([ + components.UnifiedExpenseOutput$.inboundSchema, + z.lazy(() => AddExpenseResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedExpenseOutput$.Outbound + | AddExpenseResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedExpenseOutput$.outboundSchema, + z.lazy(() => AddExpenseResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addfile.ts b/src/models/operations/addfile.ts new file mode 100644 index 000000000..3e31db254 --- /dev/null +++ b/src/models/operations/addfile.ts @@ -0,0 +1,103 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedFileOutput | AddFileResponseBody; + +/** @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.union([ + components.UnifiedFileOutput$.inboundSchema, + z.lazy(() => AddFileResponseBody$.inboundSchema), + ]); + + export type Outbound = components.UnifiedFileOutput$.Outbound | AddFileResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedFileOutput$.outboundSchema, + z.lazy(() => AddFileResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addfolder.ts b/src/models/operations/addfolder.ts new file mode 100644 index 000000000..63ddc9e9e --- /dev/null +++ b/src/models/operations/addfolder.ts @@ -0,0 +1,106 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedFolderOutput | AddFolderResponseBody; + +/** @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.union([ + components.UnifiedFolderOutput$.inboundSchema, + z.lazy(() => AddFolderResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedFolderOutput$.Outbound + | AddFolderResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedFolderOutput$.outboundSchema, + z.lazy(() => AddFolderResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addgroup.ts b/src/models/operations/addgroup.ts new file mode 100644 index 000000000..c173e2d65 --- /dev/null +++ b/src/models/operations/addgroup.ts @@ -0,0 +1,105 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedGroupOutput | AddGroupResponseBody; + +/** @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.union([ + components.UnifiedGroupOutput$.inboundSchema, + z.lazy(() => AddGroupResponseBody$.inboundSchema), + ]); + + export type Outbound = components.UnifiedGroupOutput$.Outbound | AddGroupResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedGroupOutput$.outboundSchema, + z.lazy(() => AddGroupResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addhriscompany.ts b/src/models/operations/addhriscompany.ts new file mode 100644 index 000000000..3b69dc06d --- /dev/null +++ b/src/models/operations/addhriscompany.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedCompanyOutput | AddHrisCompanyResponseBody; + +/** @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.union([ + components.UnifiedCompanyOutput$.inboundSchema, + z.lazy(() => AddHrisCompanyResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedCompanyOutput$.Outbound + | AddHrisCompanyResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedCompanyOutput$.outboundSchema, + z.lazy(() => AddHrisCompanyResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addincomestatement.ts b/src/models/operations/addincomestatement.ts new file mode 100644 index 000000000..8e2caac42 --- /dev/null +++ b/src/models/operations/addincomestatement.ts @@ -0,0 +1,111 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedIncomeStatementOutput + | AddIncomeStatementResponseBody; + +/** @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.union([ + components.UnifiedIncomeStatementOutput$.inboundSchema, + z.lazy(() => AddIncomeStatementResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedIncomeStatementOutput$.Outbound + | AddIncomeStatementResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedIncomeStatementOutput$.outboundSchema, + z.lazy(() => AddIncomeStatementResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addinterview.ts b/src/models/operations/addinterview.ts new file mode 100644 index 000000000..9e5aebc03 --- /dev/null +++ b/src/models/operations/addinterview.ts @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedInterviewOutput | AddInterviewResponseBody; + +/** @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.union([ + components.UnifiedInterviewOutput$.inboundSchema, + z.lazy(() => AddInterviewResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedInterviewOutput$.Outbound + | AddInterviewResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedInterviewOutput$.outboundSchema, + z.lazy(() => AddInterviewResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addinvoice.ts b/src/models/operations/addinvoice.ts new file mode 100644 index 000000000..aafadaa64 --- /dev/null +++ b/src/models/operations/addinvoice.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedInvoiceOutput | AddInvoiceResponseBody; + +/** @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.union([ + components.UnifiedInvoiceOutput$.inboundSchema, + z.lazy(() => AddInvoiceResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedInvoiceOutput$.Outbound + | AddInvoiceResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedInvoiceOutput$.outboundSchema, + z.lazy(() => AddInvoiceResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/additem.ts b/src/models/operations/additem.ts new file mode 100644 index 000000000..b7174e297 --- /dev/null +++ b/src/models/operations/additem.ts @@ -0,0 +1,103 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedItemOutput | AddItemResponseBody; + +/** @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.union([ + components.UnifiedItemOutput$.inboundSchema, + z.lazy(() => AddItemResponseBody$.inboundSchema), + ]); + + export type Outbound = components.UnifiedItemOutput$.Outbound | AddItemResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedItemOutput$.outboundSchema, + z.lazy(() => AddItemResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addjob.ts b/src/models/operations/addjob.ts new file mode 100644 index 000000000..6abe5a12b --- /dev/null +++ b/src/models/operations/addjob.ts @@ -0,0 +1,103 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedJobOutput | AddJobResponseBody; + +/** @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.union([ + components.UnifiedJobOutput$.inboundSchema, + z.lazy(() => AddJobResponseBody$.inboundSchema), + ]); + + export type Outbound = components.UnifiedJobOutput$.Outbound | AddJobResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedJobOutput$.outboundSchema, + z.lazy(() => AddJobResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addjobinterviewstage.ts b/src/models/operations/addjobinterviewstage.ts new file mode 100644 index 000000000..ba91d7022 --- /dev/null +++ b/src/models/operations/addjobinterviewstage.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedJobInterviewStageOutput + | AddJobInterviewStageResponseBody; + +/** @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.union([ + components.UnifiedJobInterviewStageOutput$.inboundSchema, + z.lazy(() => AddJobInterviewStageResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedJobInterviewStageOutput$.Outbound + | AddJobInterviewStageResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedJobInterviewStageOutput$.outboundSchema, + z.lazy(() => AddJobInterviewStageResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addjournalentry.ts b/src/models/operations/addjournalentry.ts new file mode 100644 index 000000000..c31425de3 --- /dev/null +++ b/src/models/operations/addjournalentry.ts @@ -0,0 +1,112 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedJournalEntryOutput + | AddJournalEntryResponseBody; + +/** @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.union( + [ + components.UnifiedJournalEntryOutput$.inboundSchema, + z.lazy(() => AddJournalEntryResponseBody$.inboundSchema), + ] + ); + + export type Outbound = + | components.UnifiedJournalEntryOutput$.Outbound + | AddJournalEntryResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedJournalEntryOutput$.outboundSchema, + z.lazy(() => AddJournalEntryResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addlist.ts b/src/models/operations/addlist.ts new file mode 100644 index 000000000..ea939765d --- /dev/null +++ b/src/models/operations/addlist.ts @@ -0,0 +1,103 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedListOutput | AddListResponseBody; + +/** @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.union([ + components.UnifiedListOutput$.inboundSchema, + z.lazy(() => AddListResponseBody$.inboundSchema), + ]); + + export type Outbound = components.UnifiedListOutput$.Outbound | AddListResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedListOutput$.outboundSchema, + z.lazy(() => AddListResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addlocation.ts b/src/models/operations/addlocation.ts new file mode 100644 index 000000000..5254ca655 --- /dev/null +++ b/src/models/operations/addlocation.ts @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedLocationOutput | AddLocationResponseBody; + +/** @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.union([ + components.UnifiedLocationOutput$.inboundSchema, + z.lazy(() => AddLocationResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedLocationOutput$.Outbound + | AddLocationResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedLocationOutput$.outboundSchema, + z.lazy(() => AddLocationResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addmarketingautomationcontact.ts b/src/models/operations/addmarketingautomationcontact.ts new file mode 100644 index 000000000..0042e44c3 --- /dev/null +++ b/src/models/operations/addmarketingautomationcontact.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedContactOutput + | AddMarketingAutomationContactResponseBody; + +/** @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.union([ + components.UnifiedContactOutput$.inboundSchema, + z.lazy(() => AddMarketingAutomationContactResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedContactOutput$.Outbound + | AddMarketingAutomationContactResponseBody$.Outbound; + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationContactResponse + > = z.union([ + components.UnifiedContactOutput$.outboundSchema, + z.lazy(() => AddMarketingAutomationContactResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addmarketingautomationuser.ts b/src/models/operations/addmarketingautomationuser.ts new file mode 100644 index 000000000..65ae390f2 --- /dev/null +++ b/src/models/operations/addmarketingautomationuser.ts @@ -0,0 +1,131 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedUserOutput + | AddMarketingAutomationUserResponseBody; + +/** @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.union([ + components.UnifiedUserOutput$.inboundSchema, + z.lazy(() => AddMarketingAutomationUserResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedUserOutput$.Outbound + | AddMarketingAutomationUserResponseBody$.Outbound; + export const outboundSchema: z.ZodType< + Outbound, + z.ZodTypeDef, + AddMarketingAutomationUserResponse + > = z.union([ + components.UnifiedUserOutput$.outboundSchema, + z.lazy(() => AddMarketingAutomationUserResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addmessage.ts b/src/models/operations/addmessage.ts new file mode 100644 index 000000000..ccc40cfa3 --- /dev/null +++ b/src/models/operations/addmessage.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedMessageOutput | AddMessageResponseBody; + +/** @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.union([ + components.UnifiedMessageOutput$.inboundSchema, + z.lazy(() => AddMessageResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedMessageOutput$.Outbound + | AddMessageResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedMessageOutput$.outboundSchema, + z.lazy(() => AddMessageResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addnote.ts b/src/models/operations/addnote.ts new file mode 100644 index 000000000..1cda839d6 --- /dev/null +++ b/src/models/operations/addnote.ts @@ -0,0 +1,103 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = AddNoteResponseBody | components.UnifiedNoteOutput; + +/** @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.union([ + z.lazy(() => AddNoteResponseBody$.inboundSchema), + components.UnifiedNoteOutput$.inboundSchema, + ]); + + export type Outbound = AddNoteResponseBody$.Outbound | components.UnifiedNoteOutput$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + z.lazy(() => AddNoteResponseBody$.outboundSchema), + components.UnifiedNoteOutput$.outboundSchema, + ]); +} diff --git a/src/models/operations/addoffer.ts b/src/models/operations/addoffer.ts new file mode 100644 index 000000000..d365ea090 --- /dev/null +++ b/src/models/operations/addoffer.ts @@ -0,0 +1,105 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedOfferOutput | AddOfferResponseBody; + +/** @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.union([ + components.UnifiedOfferOutput$.inboundSchema, + z.lazy(() => AddOfferResponseBody$.inboundSchema), + ]); + + export type Outbound = components.UnifiedOfferOutput$.Outbound | AddOfferResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedOfferOutput$.outboundSchema, + z.lazy(() => AddOfferResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addoffice.ts b/src/models/operations/addoffice.ts new file mode 100644 index 000000000..0a3b54fd1 --- /dev/null +++ b/src/models/operations/addoffice.ts @@ -0,0 +1,106 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedOfficeOutput | AddOfficeResponseBody; + +/** @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.union([ + components.UnifiedOfficeOutput$.inboundSchema, + z.lazy(() => AddOfficeResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedOfficeOutput$.Outbound + | AddOfficeResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedOfficeOutput$.outboundSchema, + z.lazy(() => AddOfficeResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addpaygroup.ts b/src/models/operations/addpaygroup.ts new file mode 100644 index 000000000..fa3121a27 --- /dev/null +++ b/src/models/operations/addpaygroup.ts @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedPayGroupOutput | AddPayGroupResponseBody; + +/** @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.union([ + components.UnifiedPayGroupOutput$.inboundSchema, + z.lazy(() => AddPayGroupResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedPayGroupOutput$.Outbound + | AddPayGroupResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedPayGroupOutput$.outboundSchema, + z.lazy(() => AddPayGroupResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addpayment.ts b/src/models/operations/addpayment.ts new file mode 100644 index 000000000..ffafb793a --- /dev/null +++ b/src/models/operations/addpayment.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedPaymentOutput | AddPaymentResponseBody; + +/** @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.union([ + components.UnifiedPaymentOutput$.inboundSchema, + z.lazy(() => AddPaymentResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedPaymentOutput$.Outbound + | AddPaymentResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedPaymentOutput$.outboundSchema, + z.lazy(() => AddPaymentResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addpayrollrun.ts b/src/models/operations/addpayrollrun.ts new file mode 100644 index 000000000..bdce83260 --- /dev/null +++ b/src/models/operations/addpayrollrun.ts @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedPayrollRunOutput | AddPayrollRunResponseBody; + +/** @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.union([ + components.UnifiedPayrollRunOutput$.inboundSchema, + z.lazy(() => AddPayrollRunResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedPayrollRunOutput$.Outbound + | AddPayrollRunResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union( + [ + components.UnifiedPayrollRunOutput$.outboundSchema, + z.lazy(() => AddPayrollRunResponseBody$.outboundSchema), + ] + ); +} diff --git a/src/models/operations/addpermission.ts b/src/models/operations/addpermission.ts new file mode 100644 index 000000000..6233e44ad --- /dev/null +++ b/src/models/operations/addpermission.ts @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedPermissionOutput | AddPermissionResponseBody; + +/** @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.union([ + components.UnifiedPermissionOutput$.inboundSchema, + z.lazy(() => AddPermissionResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedPermissionOutput$.Outbound + | AddPermissionResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union( + [ + components.UnifiedPermissionOutput$.outboundSchema, + z.lazy(() => AddPermissionResponseBody$.outboundSchema), + ] + ); +} diff --git a/src/models/operations/addphonenumber.ts b/src/models/operations/addphonenumber.ts new file mode 100644 index 000000000..af7a53151 --- /dev/null +++ b/src/models/operations/addphonenumber.ts @@ -0,0 +1,110 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedPhoneNumberOutput + | AddPhoneNumberResponseBody; + +/** @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.union([ + components.UnifiedPhoneNumberOutput$.inboundSchema, + z.lazy(() => AddPhoneNumberResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedPhoneNumberOutput$.Outbound + | AddPhoneNumberResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedPhoneNumberOutput$.outboundSchema, + z.lazy(() => AddPhoneNumberResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addpurchaseorder.ts b/src/models/operations/addpurchaseorder.ts new file mode 100644 index 000000000..f13a8c63f --- /dev/null +++ b/src/models/operations/addpurchaseorder.ts @@ -0,0 +1,111 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedPurchaseOrderOutput + | AddPurchaseOrderResponseBody; + +/** @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.union([ + components.UnifiedPurchaseOrderOutput$.inboundSchema, + z.lazy(() => AddPurchaseOrderResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedPurchaseOrderOutput$.Outbound + | AddPurchaseOrderResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedPurchaseOrderOutput$.outboundSchema, + z.lazy(() => AddPurchaseOrderResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addrejectreason.ts b/src/models/operations/addrejectreason.ts new file mode 100644 index 000000000..27b23935e --- /dev/null +++ b/src/models/operations/addrejectreason.ts @@ -0,0 +1,112 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedRejectReasonOutput + | AddRejectReasonResponseBody; + +/** @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.union( + [ + components.UnifiedRejectReasonOutput$.inboundSchema, + z.lazy(() => AddRejectReasonResponseBody$.inboundSchema), + ] + ); + + export type Outbound = + | components.UnifiedRejectReasonOutput$.Outbound + | AddRejectReasonResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedRejectReasonOutput$.outboundSchema, + z.lazy(() => AddRejectReasonResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addscorecard.ts b/src/models/operations/addscorecard.ts new file mode 100644 index 000000000..ca0dd12e7 --- /dev/null +++ b/src/models/operations/addscorecard.ts @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedScoreCardOutput | AddScoreCardResponseBody; + +/** @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.union([ + components.UnifiedScoreCardOutput$.inboundSchema, + z.lazy(() => AddScoreCardResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedScoreCardOutput$.Outbound + | AddScoreCardResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedScoreCardOutput$.outboundSchema, + z.lazy(() => AddScoreCardResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addscreeningquestion.ts b/src/models/operations/addscreeningquestion.ts new file mode 100644 index 000000000..bfaa729e1 --- /dev/null +++ b/src/models/operations/addscreeningquestion.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedScreeningQuestionOutput + | AddScreeningQuestionResponseBody; + +/** @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.union([ + components.UnifiedScreeningQuestionOutput$.inboundSchema, + z.lazy(() => AddScreeningQuestionResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedScreeningQuestionOutput$.Outbound + | AddScreeningQuestionResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedScreeningQuestionOutput$.outboundSchema, + z.lazy(() => AddScreeningQuestionResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addsharedlink.ts b/src/models/operations/addsharedlink.ts new file mode 100644 index 000000000..ca2e99af9 --- /dev/null +++ b/src/models/operations/addsharedlink.ts @@ -0,0 +1,109 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedSharedLinkOutput | AddSharedlinkResponseBody; + +/** @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.union([ + components.UnifiedSharedLinkOutput$.inboundSchema, + z.lazy(() => AddSharedlinkResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedSharedLinkOutput$.Outbound + | AddSharedlinkResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union( + [ + components.UnifiedSharedLinkOutput$.outboundSchema, + z.lazy(() => AddSharedlinkResponseBody$.outboundSchema), + ] + ); +} diff --git a/src/models/operations/addtag.ts b/src/models/operations/addtag.ts new file mode 100644 index 000000000..442805695 --- /dev/null +++ b/src/models/operations/addtag.ts @@ -0,0 +1,103 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedTagOutput | AddTagResponseBody; + +/** @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.union([ + components.UnifiedTagOutput$.inboundSchema, + z.lazy(() => AddTagResponseBody$.inboundSchema), + ]); + + export type Outbound = components.UnifiedTagOutput$.Outbound | AddTagResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedTagOutput$.outboundSchema, + z.lazy(() => AddTagResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addtask.ts b/src/models/operations/addtask.ts new file mode 100644 index 000000000..f0f06453b --- /dev/null +++ b/src/models/operations/addtask.ts @@ -0,0 +1,103 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = AddTaskResponseBody | components.UnifiedTaskOutput; + +/** @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.union([ + z.lazy(() => AddTaskResponseBody$.inboundSchema), + components.UnifiedTaskOutput$.inboundSchema, + ]); + + export type Outbound = AddTaskResponseBody$.Outbound | components.UnifiedTaskOutput$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + z.lazy(() => AddTaskResponseBody$.outboundSchema), + components.UnifiedTaskOutput$.outboundSchema, + ]); +} diff --git a/src/models/operations/addtaxrate.ts b/src/models/operations/addtaxrate.ts new file mode 100644 index 000000000..e66bd4a51 --- /dev/null +++ b/src/models/operations/addtaxrate.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedTaxRateOutput | AddTaxRateResponseBody; + +/** @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.union([ + components.UnifiedTaxRateOutput$.inboundSchema, + z.lazy(() => AddTaxRateResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedTaxRateOutput$.Outbound + | AddTaxRateResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedTaxRateOutput$.outboundSchema, + z.lazy(() => AddTaxRateResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addtemplate.ts b/src/models/operations/addtemplate.ts new file mode 100644 index 000000000..572df94ef --- /dev/null +++ b/src/models/operations/addtemplate.ts @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedTemplateOutput | AddTemplateResponseBody; + +/** @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.union([ + components.UnifiedTemplateOutput$.inboundSchema, + z.lazy(() => AddTemplateResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedTemplateOutput$.Outbound + | AddTemplateResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedTemplateOutput$.outboundSchema, + z.lazy(() => AddTemplateResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addticket.ts b/src/models/operations/addticket.ts new file mode 100644 index 000000000..40bd54965 --- /dev/null +++ b/src/models/operations/addticket.ts @@ -0,0 +1,106 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = AddTicketResponseBody | components.UnifiedTicketOutput; + +/** @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.union([ + z.lazy(() => AddTicketResponseBody$.inboundSchema), + components.UnifiedTicketOutput$.inboundSchema, + ]); + + export type Outbound = + | AddTicketResponseBody$.Outbound + | components.UnifiedTicketOutput$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + z.lazy(() => AddTicketResponseBody$.outboundSchema), + components.UnifiedTicketOutput$.outboundSchema, + ]); +} diff --git a/src/models/operations/addticketingattachment.ts b/src/models/operations/addticketingattachment.ts new file mode 100644 index 000000000..c74980af6 --- /dev/null +++ b/src/models/operations/addticketingattachment.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | AddTicketingAttachmentResponseBody + | components.UnifiedAttachmentOutput; + +/** @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.union([ + z.lazy(() => AddTicketingAttachmentResponseBody$.inboundSchema), + components.UnifiedAttachmentOutput$.inboundSchema, + ]); + + export type Outbound = + | AddTicketingAttachmentResponseBody$.Outbound + | components.UnifiedAttachmentOutput$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + z.lazy(() => AddTicketingAttachmentResponseBody$.outboundSchema), + components.UnifiedAttachmentOutput$.outboundSchema, + ]); +} diff --git a/src/models/operations/addtimeoff.ts b/src/models/operations/addtimeoff.ts new file mode 100644 index 000000000..4c1bf8fb9 --- /dev/null +++ b/src/models/operations/addtimeoff.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = components.UnifiedTimeoffOutput | AddTimeoffResponseBody; + +/** @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.union([ + components.UnifiedTimeoffOutput$.inboundSchema, + z.lazy(() => AddTimeoffResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedTimeoffOutput$.Outbound + | AddTimeoffResponseBody$.Outbound; + export const outboundSchema: z.ZodType = z.union([ + components.UnifiedTimeoffOutput$.outboundSchema, + z.lazy(() => AddTimeoffResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addtimeoffbalance.ts b/src/models/operations/addtimeoffbalance.ts new file mode 100644 index 000000000..7bbbf0f28 --- /dev/null +++ b/src/models/operations/addtimeoffbalance.ts @@ -0,0 +1,111 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedTimeoffBalanceOutput + | AddTimeoffBalanceResponseBody; + +/** @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.union([ + components.UnifiedTimeoffBalanceOutput$.inboundSchema, + z.lazy(() => AddTimeoffBalanceResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedTimeoffBalanceOutput$.Outbound + | AddTimeoffBalanceResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedTimeoffBalanceOutput$.outboundSchema, + z.lazy(() => AddTimeoffBalanceResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addtrackingcategory.ts b/src/models/operations/addtrackingcategory.ts new file mode 100644 index 000000000..271ec481c --- /dev/null +++ b/src/models/operations/addtrackingcategory.ts @@ -0,0 +1,114 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedTrackingCategoryOutput + | AddTrackingCategoryResponseBody; + +/** @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.union([ + components.UnifiedTrackingCategoryOutput$.inboundSchema, + z.lazy(() => AddTrackingCategoryResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedTrackingCategoryOutput$.Outbound + | AddTrackingCategoryResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedTrackingCategoryOutput$.outboundSchema, + z.lazy(() => AddTrackingCategoryResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addtransaction.ts b/src/models/operations/addtransaction.ts new file mode 100644 index 000000000..0b98a521d --- /dev/null +++ b/src/models/operations/addtransaction.ts @@ -0,0 +1,110 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedTransactionOutput + | AddTransactionResponseBody; + +/** @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.union([ + components.UnifiedTransactionOutput$.inboundSchema, + z.lazy(() => AddTransactionResponseBody$.inboundSchema), + ]); + + export type Outbound = + | components.UnifiedTransactionOutput$.Outbound + | AddTransactionResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedTransactionOutput$.outboundSchema, + z.lazy(() => AddTransactionResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/addvendorcredit.ts b/src/models/operations/addvendorcredit.ts new file mode 100644 index 000000000..f1c4c447a --- /dev/null +++ b/src/models/operations/addvendorcredit.ts @@ -0,0 +1,112 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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 = + | components.UnifiedVendorCreditOutput + | AddVendorCreditResponseBody; + +/** @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.union( + [ + components.UnifiedVendorCreditOutput$.inboundSchema, + z.lazy(() => AddVendorCreditResponseBody$.inboundSchema), + ] + ); + + export type Outbound = + | components.UnifiedVendorCreditOutput$.Outbound + | AddVendorCreditResponseBody$.Outbound; + export const outboundSchema: z.ZodType = + z.union([ + components.UnifiedVendorCreditOutput$.outboundSchema, + z.lazy(() => AddVendorCreditResponseBody$.outboundSchema), + ]); +} diff --git a/src/models/operations/deleteapikey.ts b/src/models/operations/deleteapikey.ts new file mode 100644 index 000000000..6e67bda91 --- /dev/null +++ b/src/models/operations/deleteapikey.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type DeleteApiKeyRequest = { + id: string; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/deletewebhook.ts b/src/models/operations/deletewebhook.ts new file mode 100644 index 000000000..3383613fd --- /dev/null +++ b/src/models/operations/deletewebhook.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type DeleteWebhookRequest = { + id: string; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/downloadattachment.ts b/src/models/operations/downloadattachment.ts new file mode 100644 index 000000000..26e574d65 --- /dev/null +++ b/src/models/operations/downloadattachment.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getaccountingaccount.ts b/src/models/operations/getaccountingaccount.ts new file mode 100644 index 000000000..d1d679cf8 --- /dev/null +++ b/src/models/operations/getaccountingaccount.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getaccountingaccounts.ts b/src/models/operations/getaccountingaccounts.ts new file mode 100644 index 000000000..848be55dc --- /dev/null +++ b/src/models/operations/getaccountingaccounts.ts @@ -0,0 +1,89 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getaccountingattachment.ts b/src/models/operations/getaccountingattachment.ts new file mode 100644 index 000000000..579428cd7 --- /dev/null +++ b/src/models/operations/getaccountingattachment.ts @@ -0,0 +1,88 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getaccountingattachments.ts b/src/models/operations/getaccountingattachments.ts new file mode 100644 index 000000000..4684a75f5 --- /dev/null +++ b/src/models/operations/getaccountingattachments.ts @@ -0,0 +1,94 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getaccountingcontact.ts b/src/models/operations/getaccountingcontact.ts new file mode 100644 index 000000000..ba676271e --- /dev/null +++ b/src/models/operations/getaccountingcontact.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getaccountingcontacts.ts b/src/models/operations/getaccountingcontacts.ts new file mode 100644 index 000000000..ca796a3fa --- /dev/null +++ b/src/models/operations/getaccountingcontacts.ts @@ -0,0 +1,89 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getaction.ts b/src/models/operations/getaction.ts new file mode 100644 index 000000000..d3dce5668 --- /dev/null +++ b/src/models/operations/getaction.ts @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getactions.ts b/src/models/operations/getactions.ts new file mode 100644 index 000000000..bb3dc33d9 --- /dev/null +++ b/src/models/operations/getactions.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getactivity.ts b/src/models/operations/getactivity.ts new file mode 100644 index 000000000..4074ca162 --- /dev/null +++ b/src/models/operations/getactivity.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getactivitys.ts b/src/models/operations/getactivitys.ts new file mode 100644 index 000000000..5bd17c9ed --- /dev/null +++ b/src/models/operations/getactivitys.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getaddress.ts b/src/models/operations/getaddress.ts new file mode 100644 index 000000000..7f9198d99 --- /dev/null +++ b/src/models/operations/getaddress.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getaddresss.ts b/src/models/operations/getaddresss.ts new file mode 100644 index 000000000..f1e9ef741 --- /dev/null +++ b/src/models/operations/getaddresss.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getapplication.ts b/src/models/operations/getapplication.ts new file mode 100644 index 000000000..19580bbe3 --- /dev/null +++ b/src/models/operations/getapplication.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getapplications.ts b/src/models/operations/getapplications.ts new file mode 100644 index 000000000..3acaf3b77 --- /dev/null +++ b/src/models/operations/getapplications.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getatsattachment.ts b/src/models/operations/getatsattachment.ts new file mode 100644 index 000000000..843b61968 --- /dev/null +++ b/src/models/operations/getatsattachment.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getatsattachments.ts b/src/models/operations/getatsattachments.ts new file mode 100644 index 000000000..cb0d51afa --- /dev/null +++ b/src/models/operations/getatsattachments.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getatstag.ts b/src/models/operations/getatstag.ts new file mode 100644 index 000000000..75477b5ab --- /dev/null +++ b/src/models/operations/getatstag.ts @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getatstags.ts b/src/models/operations/getatstags.ts new file mode 100644 index 000000000..88cd08128 --- /dev/null +++ b/src/models/operations/getatstags.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getatsuser.ts b/src/models/operations/getatsuser.ts new file mode 100644 index 000000000..ed42ce710 --- /dev/null +++ b/src/models/operations/getatsuser.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getatsusers.ts b/src/models/operations/getatsusers.ts new file mode 100644 index 000000000..3e0567ecf --- /dev/null +++ b/src/models/operations/getatsusers.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getautomation.ts b/src/models/operations/getautomation.ts new file mode 100644 index 000000000..12f5a1590 --- /dev/null +++ b/src/models/operations/getautomation.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getautomations.ts b/src/models/operations/getautomations.ts new file mode 100644 index 000000000..60f1ac617 --- /dev/null +++ b/src/models/operations/getautomations.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getbalancesheet.ts b/src/models/operations/getbalancesheet.ts new file mode 100644 index 000000000..6a261b4cc --- /dev/null +++ b/src/models/operations/getbalancesheet.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getbalancesheets.ts b/src/models/operations/getbalancesheets.ts new file mode 100644 index 000000000..4ee5ff663 --- /dev/null +++ b/src/models/operations/getbalancesheets.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getbankinfo.ts b/src/models/operations/getbankinfo.ts new file mode 100644 index 000000000..ab10efc8b --- /dev/null +++ b/src/models/operations/getbankinfo.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getbankinfos.ts b/src/models/operations/getbankinfos.ts new file mode 100644 index 000000000..2567fb3d7 --- /dev/null +++ b/src/models/operations/getbankinfos.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getbenefit.ts b/src/models/operations/getbenefit.ts new file mode 100644 index 000000000..956e32321 --- /dev/null +++ b/src/models/operations/getbenefit.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getbenefits.ts b/src/models/operations/getbenefits.ts new file mode 100644 index 000000000..a28db41b2 --- /dev/null +++ b/src/models/operations/getbenefits.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcampaign.ts b/src/models/operations/getcampaign.ts new file mode 100644 index 000000000..a9544818f --- /dev/null +++ b/src/models/operations/getcampaign.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcampaigns.ts b/src/models/operations/getcampaigns.ts new file mode 100644 index 000000000..42bb2af35 --- /dev/null +++ b/src/models/operations/getcampaigns.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcandidate.ts b/src/models/operations/getcandidate.ts new file mode 100644 index 000000000..4b0fb637f --- /dev/null +++ b/src/models/operations/getcandidate.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcandidates.ts b/src/models/operations/getcandidates.ts new file mode 100644 index 000000000..94d5cb459 --- /dev/null +++ b/src/models/operations/getcandidates.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcashflowstatement.ts b/src/models/operations/getcashflowstatement.ts new file mode 100644 index 000000000..91dfccc3a --- /dev/null +++ b/src/models/operations/getcashflowstatement.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcashflowstatements.ts b/src/models/operations/getcashflowstatements.ts new file mode 100644 index 000000000..c176a4f35 --- /dev/null +++ b/src/models/operations/getcashflowstatements.ts @@ -0,0 +1,89 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcollection.ts b/src/models/operations/getcollection.ts new file mode 100644 index 000000000..3b73b8c0d --- /dev/null +++ b/src/models/operations/getcollection.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcollections.ts b/src/models/operations/getcollections.ts new file mode 100644 index 000000000..28a56dd71 --- /dev/null +++ b/src/models/operations/getcollections.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetCollectionsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + }); +} diff --git a/src/models/operations/getcomment.ts b/src/models/operations/getcomment.ts new file mode 100644 index 000000000..b83419092 --- /dev/null +++ b/src/models/operations/getcomment.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcomments.ts b/src/models/operations/getcomments.ts new file mode 100644 index 000000000..32f9c4b74 --- /dev/null +++ b/src/models/operations/getcomments.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetCommentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + }); +} diff --git a/src/models/operations/getcompanies.ts b/src/models/operations/getcompanies.ts new file mode 100644 index 000000000..a6a4f3dab --- /dev/null +++ b/src/models/operations/getcompanies.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetCompaniesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + }); +} diff --git a/src/models/operations/getcompanyinfo.ts b/src/models/operations/getcompanyinfo.ts new file mode 100644 index 000000000..238721e1c --- /dev/null +++ b/src/models/operations/getcompanyinfo.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcompanyinfos.ts b/src/models/operations/getcompanyinfos.ts new file mode 100644 index 000000000..959243f5f --- /dev/null +++ b/src/models/operations/getcompanyinfos.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcompanys.ts b/src/models/operations/getcompanys.ts new file mode 100644 index 000000000..5624fa6a1 --- /dev/null +++ b/src/models/operations/getcompanys.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getconnectorsfromproject.ts b/src/models/operations/getconnectorsfromproject.ts new file mode 100644 index 000000000..5f52e5efc --- /dev/null +++ b/src/models/operations/getconnectorsfromproject.ts @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type GetConnectorsFromProjectRequest = { + projectId: string; + getConnectorsFromProject: string; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcredentials.ts b/src/models/operations/getcredentials.ts new file mode 100644 index 000000000..b08855b19 --- /dev/null +++ b/src/models/operations/getcredentials.ts @@ -0,0 +1,29 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type GetCredentialsRequest = { + projectId: string; + type: string; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcreditnote.ts b/src/models/operations/getcreditnote.ts new file mode 100644 index 000000000..e43383618 --- /dev/null +++ b/src/models/operations/getcreditnote.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcreditnotes.ts b/src/models/operations/getcreditnotes.ts new file mode 100644 index 000000000..63777c683 --- /dev/null +++ b/src/models/operations/getcreditnotes.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcrmcompany.ts b/src/models/operations/getcrmcompany.ts new file mode 100644 index 000000000..e5e78dfb4 --- /dev/null +++ b/src/models/operations/getcrmcompany.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcrmcontact.ts b/src/models/operations/getcrmcontact.ts new file mode 100644 index 000000000..fa22b6484 --- /dev/null +++ b/src/models/operations/getcrmcontact.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcrmuser.ts b/src/models/operations/getcrmuser.ts new file mode 100644 index 000000000..630e1b97b --- /dev/null +++ b/src/models/operations/getcrmuser.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getcrmusers.ts b/src/models/operations/getcrmusers.ts new file mode 100644 index 000000000..471bb704e --- /dev/null +++ b/src/models/operations/getcrmusers.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetCrmUsersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + }); +} diff --git a/src/models/operations/getcustomproviderproperties.ts b/src/models/operations/getcustomproviderproperties.ts new file mode 100644 index 000000000..a562cbd4b --- /dev/null +++ b/src/models/operations/getcustomproviderproperties.ts @@ -0,0 +1,40 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type GetCustomProviderPropertiesRequest = { + linkedUserId: string; + providerId: string; + vertical: string; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getdeal.ts b/src/models/operations/getdeal.ts new file mode 100644 index 000000000..32653c048 --- /dev/null +++ b/src/models/operations/getdeal.ts @@ -0,0 +1,79 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getdeals.ts b/src/models/operations/getdeals.ts new file mode 100644 index 000000000..52d545fd0 --- /dev/null +++ b/src/models/operations/getdeals.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetDealsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + } + ); +} diff --git a/src/models/operations/getdepartment.ts b/src/models/operations/getdepartment.ts new file mode 100644 index 000000000..a3842025a --- /dev/null +++ b/src/models/operations/getdepartment.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getdepartments.ts b/src/models/operations/getdepartments.ts new file mode 100644 index 000000000..9d3dc0bd6 --- /dev/null +++ b/src/models/operations/getdepartments.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getdependent.ts b/src/models/operations/getdependent.ts new file mode 100644 index 000000000..d963f61f5 --- /dev/null +++ b/src/models/operations/getdependent.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getdependents.ts b/src/models/operations/getdependents.ts new file mode 100644 index 000000000..2b2a913bf --- /dev/null +++ b/src/models/operations/getdependents.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getdrive.ts b/src/models/operations/getdrive.ts new file mode 100644 index 000000000..a5082be5c --- /dev/null +++ b/src/models/operations/getdrive.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/getdrives.ts b/src/models/operations/getdrives.ts new file mode 100644 index 000000000..ad7773b00 --- /dev/null +++ b/src/models/operations/getdrives.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/geteeocs.ts b/src/models/operations/geteeocs.ts new file mode 100644 index 000000000..39a7ce742 --- /dev/null +++ b/src/models/operations/geteeocs.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/geteeocss.ts b/src/models/operations/geteeocss.ts new file mode 100644 index 000000000..1b443ed93 --- /dev/null +++ b/src/models/operations/geteeocss.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getemail.ts b/src/models/operations/getemail.ts new file mode 100644 index 000000000..e486e1edf --- /dev/null +++ b/src/models/operations/getemail.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/getemails.ts b/src/models/operations/getemails.ts new file mode 100644 index 000000000..de84b0c4d --- /dev/null +++ b/src/models/operations/getemails.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getemployee.ts b/src/models/operations/getemployee.ts new file mode 100644 index 000000000..db5477e3c --- /dev/null +++ b/src/models/operations/getemployee.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getemployeepayrollrun.ts b/src/models/operations/getemployeepayrollrun.ts new file mode 100644 index 000000000..768adc0e0 --- /dev/null +++ b/src/models/operations/getemployeepayrollrun.ts @@ -0,0 +1,87 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getemployeepayrollruns.ts b/src/models/operations/getemployeepayrollruns.ts new file mode 100644 index 000000000..98348fa44 --- /dev/null +++ b/src/models/operations/getemployeepayrollruns.ts @@ -0,0 +1,90 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getemployees.ts b/src/models/operations/getemployees.ts new file mode 100644 index 000000000..0f38cc56d --- /dev/null +++ b/src/models/operations/getemployees.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getemployerbenefit.ts b/src/models/operations/getemployerbenefit.ts new file mode 100644 index 000000000..ac031b325 --- /dev/null +++ b/src/models/operations/getemployerbenefit.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getemployerbenefits.ts b/src/models/operations/getemployerbenefits.ts new file mode 100644 index 000000000..ea839ce2b --- /dev/null +++ b/src/models/operations/getemployerbenefits.ts @@ -0,0 +1,86 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getemployment.ts b/src/models/operations/getemployment.ts new file mode 100644 index 000000000..a3a2daca7 --- /dev/null +++ b/src/models/operations/getemployment.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getemployments.ts b/src/models/operations/getemployments.ts new file mode 100644 index 000000000..96a713d5a --- /dev/null +++ b/src/models/operations/getemployments.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getengagement.ts b/src/models/operations/getengagement.ts new file mode 100644 index 000000000..5cf158fc0 --- /dev/null +++ b/src/models/operations/getengagement.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getengagements.ts b/src/models/operations/getengagements.ts new file mode 100644 index 000000000..bdf76a680 --- /dev/null +++ b/src/models/operations/getengagements.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetEngagementsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + }); +} diff --git a/src/models/operations/getevent.ts b/src/models/operations/getevent.ts new file mode 100644 index 000000000..754b51539 --- /dev/null +++ b/src/models/operations/getevent.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/getexpense.ts b/src/models/operations/getexpense.ts new file mode 100644 index 000000000..7db20d65e --- /dev/null +++ b/src/models/operations/getexpense.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getexpenses.ts b/src/models/operations/getexpenses.ts new file mode 100644 index 000000000..b5fa612d6 --- /dev/null +++ b/src/models/operations/getexpenses.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getfile.ts b/src/models/operations/getfile.ts new file mode 100644 index 000000000..71566477c --- /dev/null +++ b/src/models/operations/getfile.ts @@ -0,0 +1,79 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getfiles.ts b/src/models/operations/getfiles.ts new file mode 100644 index 000000000..0274747c8 --- /dev/null +++ b/src/models/operations/getfiles.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/getfolder.ts b/src/models/operations/getfolder.ts new file mode 100644 index 000000000..87b313215 --- /dev/null +++ b/src/models/operations/getfolder.ts @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getfolders.ts b/src/models/operations/getfolders.ts new file mode 100644 index 000000000..fb838a889 --- /dev/null +++ b/src/models/operations/getfolders.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getgroup.ts b/src/models/operations/getgroup.ts new file mode 100644 index 000000000..86186d2c9 --- /dev/null +++ b/src/models/operations/getgroup.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/getgroups.ts b/src/models/operations/getgroups.ts new file mode 100644 index 000000000..929135378 --- /dev/null +++ b/src/models/operations/getgroups.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/gethriscompany.ts b/src/models/operations/gethriscompany.ts new file mode 100644 index 000000000..ea7170aec --- /dev/null +++ b/src/models/operations/gethriscompany.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getincomestatement.ts b/src/models/operations/getincomestatement.ts new file mode 100644 index 000000000..1f0703cd5 --- /dev/null +++ b/src/models/operations/getincomestatement.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getincomestatements.ts b/src/models/operations/getincomestatements.ts new file mode 100644 index 000000000..3833df945 --- /dev/null +++ b/src/models/operations/getincomestatements.ts @@ -0,0 +1,86 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getinterview.ts b/src/models/operations/getinterview.ts new file mode 100644 index 000000000..5e969fe7a --- /dev/null +++ b/src/models/operations/getinterview.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getinterviews.ts b/src/models/operations/getinterviews.ts new file mode 100644 index 000000000..296bcf8c5 --- /dev/null +++ b/src/models/operations/getinterviews.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getinvoice.ts b/src/models/operations/getinvoice.ts new file mode 100644 index 000000000..5bfcfd9af --- /dev/null +++ b/src/models/operations/getinvoice.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getinvoices.ts b/src/models/operations/getinvoices.ts new file mode 100644 index 000000000..21dc1af0b --- /dev/null +++ b/src/models/operations/getinvoices.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getitem.ts b/src/models/operations/getitem.ts new file mode 100644 index 000000000..19125009d --- /dev/null +++ b/src/models/operations/getitem.ts @@ -0,0 +1,79 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getitems.ts b/src/models/operations/getitems.ts new file mode 100644 index 000000000..88777d8c5 --- /dev/null +++ b/src/models/operations/getitems.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/getjob.ts b/src/models/operations/getjob.ts new file mode 100644 index 000000000..2538c8403 --- /dev/null +++ b/src/models/operations/getjob.ts @@ -0,0 +1,79 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getjobinterviewstage.ts b/src/models/operations/getjobinterviewstage.ts new file mode 100644 index 000000000..9275c9386 --- /dev/null +++ b/src/models/operations/getjobinterviewstage.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getjobinterviewstages.ts b/src/models/operations/getjobinterviewstages.ts new file mode 100644 index 000000000..acfec778d --- /dev/null +++ b/src/models/operations/getjobinterviewstages.ts @@ -0,0 +1,89 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getjobs.ts b/src/models/operations/getjobs.ts new file mode 100644 index 000000000..bffc6fc64 --- /dev/null +++ b/src/models/operations/getjobs.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getjournalentry.ts b/src/models/operations/getjournalentry.ts new file mode 100644 index 000000000..55f2deb3b --- /dev/null +++ b/src/models/operations/getjournalentry.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getjournalentrys.ts b/src/models/operations/getjournalentrys.ts new file mode 100644 index 000000000..d0dd62350 --- /dev/null +++ b/src/models/operations/getjournalentrys.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getlinkeduser.ts b/src/models/operations/getlinkeduser.ts new file mode 100644 index 000000000..da11e968a --- /dev/null +++ b/src/models/operations/getlinkeduser.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type GetLinkedUserRequest = { + id: string; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/getlist.ts b/src/models/operations/getlist.ts new file mode 100644 index 000000000..ac613646f --- /dev/null +++ b/src/models/operations/getlist.ts @@ -0,0 +1,79 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getlists.ts b/src/models/operations/getlists.ts new file mode 100644 index 000000000..fffcf5d94 --- /dev/null +++ b/src/models/operations/getlists.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/getlocation.ts b/src/models/operations/getlocation.ts new file mode 100644 index 000000000..ea47481fb --- /dev/null +++ b/src/models/operations/getlocation.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getlocations.ts b/src/models/operations/getlocations.ts new file mode 100644 index 000000000..9a17d15b7 --- /dev/null +++ b/src/models/operations/getlocations.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getmagiclink.ts b/src/models/operations/getmagiclink.ts new file mode 100644 index 000000000..8ac98ebf2 --- /dev/null +++ b/src/models/operations/getmagiclink.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type GetMagicLinkRequest = { + id: string; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getmanagedwebhooks.ts b/src/models/operations/getmanagedwebhooks.ts new file mode 100644 index 000000000..344960df2 --- /dev/null +++ b/src/models/operations/getmanagedwebhooks.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as z from "zod"; + +export type GetManagedWebhooksRequest = { + idConnection: string; +}; + +/** @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", + }); + }); +} diff --git a/src/models/operations/getmarketingautomationcontact.ts b/src/models/operations/getmarketingautomationcontact.ts new file mode 100644 index 000000000..334157990 --- /dev/null +++ b/src/models/operations/getmarketingautomationcontact.ts @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getmarketingautomationcontacts.ts b/src/models/operations/getmarketingautomationcontacts.ts new file mode 100644 index 000000000..b974711e9 --- /dev/null +++ b/src/models/operations/getmarketingautomationcontacts.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getmarketingautomationevents.ts b/src/models/operations/getmarketingautomationevents.ts new file mode 100644 index 000000000..0601ed546 --- /dev/null +++ b/src/models/operations/getmarketingautomationevents.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getmarketingautomationuser.ts b/src/models/operations/getmarketingautomationuser.ts new file mode 100644 index 000000000..8142689f0 --- /dev/null +++ b/src/models/operations/getmarketingautomationuser.ts @@ -0,0 +1,95 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getmarketingautomationusers.ts b/src/models/operations/getmarketingautomationusers.ts new file mode 100644 index 000000000..578ea932d --- /dev/null +++ b/src/models/operations/getmarketingautomationusers.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getmessage.ts b/src/models/operations/getmessage.ts new file mode 100644 index 000000000..bdedf39f0 --- /dev/null +++ b/src/models/operations/getmessage.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getmessages.ts b/src/models/operations/getmessages.ts new file mode 100644 index 000000000..c92f1b8a0 --- /dev/null +++ b/src/models/operations/getmessages.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getnote.ts b/src/models/operations/getnote.ts new file mode 100644 index 000000000..2d7ed9327 --- /dev/null +++ b/src/models/operations/getnote.ts @@ -0,0 +1,79 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getnotes.ts b/src/models/operations/getnotes.ts new file mode 100644 index 000000000..4f959c8ba --- /dev/null +++ b/src/models/operations/getnotes.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetNotesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + } + ); +} diff --git a/src/models/operations/getoffer.ts b/src/models/operations/getoffer.ts new file mode 100644 index 000000000..0569c5e8f --- /dev/null +++ b/src/models/operations/getoffer.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/getoffers.ts b/src/models/operations/getoffers.ts new file mode 100644 index 000000000..7684d29b6 --- /dev/null +++ b/src/models/operations/getoffers.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getoffice.ts b/src/models/operations/getoffice.ts new file mode 100644 index 000000000..017de78f2 --- /dev/null +++ b/src/models/operations/getoffice.ts @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getoffices.ts b/src/models/operations/getoffices.ts new file mode 100644 index 000000000..0ebae4411 --- /dev/null +++ b/src/models/operations/getoffices.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getpanoracoreevents.ts b/src/models/operations/getpanoracoreevents.ts new file mode 100644 index 000000000..a847962e2 --- /dev/null +++ b/src/models/operations/getpanoracoreevents.ts @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type GetPanoraCoreEventsRequest = { + page?: number | undefined; + limit?: number | undefined; +}; + +/** @internal */ +export namespace GetPanoraCoreEventsRequest$ { + export const inboundSchema: z.ZodType = + z.object({ + page: z.number().default(1), + limit: z.number().default(10), + }); + + export type Outbound = { + page: number; + limit: number; + }; + + export const outboundSchema: z.ZodType = + z.object({ + page: z.number().default(1), + limit: z.number().default(10), + }); +} diff --git a/src/models/operations/getpaygroup.ts b/src/models/operations/getpaygroup.ts new file mode 100644 index 000000000..550e5f80d --- /dev/null +++ b/src/models/operations/getpaygroup.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getpaygroups.ts b/src/models/operations/getpaygroups.ts new file mode 100644 index 000000000..d1a61e504 --- /dev/null +++ b/src/models/operations/getpaygroups.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getpayment.ts b/src/models/operations/getpayment.ts new file mode 100644 index 000000000..4266c2146 --- /dev/null +++ b/src/models/operations/getpayment.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getpayments.ts b/src/models/operations/getpayments.ts new file mode 100644 index 000000000..1b88ebeb8 --- /dev/null +++ b/src/models/operations/getpayments.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getpayrollrun.ts b/src/models/operations/getpayrollrun.ts new file mode 100644 index 000000000..c3258b82a --- /dev/null +++ b/src/models/operations/getpayrollrun.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getpayrollruns.ts b/src/models/operations/getpayrollruns.ts new file mode 100644 index 000000000..1aab5c525 --- /dev/null +++ b/src/models/operations/getpayrollruns.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getpermission.ts b/src/models/operations/getpermission.ts new file mode 100644 index 000000000..525c43999 --- /dev/null +++ b/src/models/operations/getpermission.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getpermissions.ts b/src/models/operations/getpermissions.ts new file mode 100644 index 000000000..08f4cb243 --- /dev/null +++ b/src/models/operations/getpermissions.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getphonenumber.ts b/src/models/operations/getphonenumber.ts new file mode 100644 index 000000000..0e10ed5a1 --- /dev/null +++ b/src/models/operations/getphonenumber.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getphonenumbers.ts b/src/models/operations/getphonenumbers.ts new file mode 100644 index 000000000..decd3a502 --- /dev/null +++ b/src/models/operations/getphonenumbers.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getpurchaseorder.ts b/src/models/operations/getpurchaseorder.ts new file mode 100644 index 000000000..79f4d3896 --- /dev/null +++ b/src/models/operations/getpurchaseorder.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getpurchaseorders.ts b/src/models/operations/getpurchaseorders.ts new file mode 100644 index 000000000..2421fb72c --- /dev/null +++ b/src/models/operations/getpurchaseorders.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getrejectreason.ts b/src/models/operations/getrejectreason.ts new file mode 100644 index 000000000..50980cb63 --- /dev/null +++ b/src/models/operations/getrejectreason.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getrejectreasons.ts b/src/models/operations/getrejectreasons.ts new file mode 100644 index 000000000..fda2ed35c --- /dev/null +++ b/src/models/operations/getrejectreasons.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getscorecard.ts b/src/models/operations/getscorecard.ts new file mode 100644 index 000000000..422c2da0e --- /dev/null +++ b/src/models/operations/getscorecard.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getscorecards.ts b/src/models/operations/getscorecards.ts new file mode 100644 index 000000000..46ffc40f8 --- /dev/null +++ b/src/models/operations/getscorecards.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getscreeningquestion.ts b/src/models/operations/getscreeningquestion.ts new file mode 100644 index 000000000..5f6f28ccb --- /dev/null +++ b/src/models/operations/getscreeningquestion.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getscreeningquestions.ts b/src/models/operations/getscreeningquestions.ts new file mode 100644 index 000000000..8415e52f1 --- /dev/null +++ b/src/models/operations/getscreeningquestions.ts @@ -0,0 +1,89 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getsharedlink.ts b/src/models/operations/getsharedlink.ts new file mode 100644 index 000000000..e0d3e42bc --- /dev/null +++ b/src/models/operations/getsharedlink.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getsharedlinks.ts b/src/models/operations/getsharedlinks.ts new file mode 100644 index 000000000..7addc1551 --- /dev/null +++ b/src/models/operations/getsharedlinks.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getstage.ts b/src/models/operations/getstage.ts new file mode 100644 index 000000000..be1d56ba7 --- /dev/null +++ b/src/models/operations/getstage.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/getstages.ts b/src/models/operations/getstages.ts new file mode 100644 index 000000000..6990b80b3 --- /dev/null +++ b/src/models/operations/getstages.ts @@ -0,0 +1,96 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetStagesRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + }); +} diff --git a/src/models/operations/getsyncstatus.ts b/src/models/operations/getsyncstatus.ts new file mode 100644 index 000000000..ae7ebd1d8 --- /dev/null +++ b/src/models/operations/getsyncstatus.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type GetSyncStatusRequest = { + vertical: string; +}; + +/** @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(), + } + ); +} diff --git a/src/models/operations/gettask.ts b/src/models/operations/gettask.ts new file mode 100644 index 000000000..cc397d862 --- /dev/null +++ b/src/models/operations/gettask.ts @@ -0,0 +1,79 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/gettasks.ts b/src/models/operations/gettasks.ts new file mode 100644 index 000000000..843f4e2e8 --- /dev/null +++ b/src/models/operations/gettasks.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetTasksRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + } + ); +} diff --git a/src/models/operations/gettaxrate.ts b/src/models/operations/gettaxrate.ts new file mode 100644 index 000000000..28b222343 --- /dev/null +++ b/src/models/operations/gettaxrate.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/gettaxrates.ts b/src/models/operations/gettaxrates.ts new file mode 100644 index 000000000..cba5ade8b --- /dev/null +++ b/src/models/operations/gettaxrates.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getteam.ts b/src/models/operations/getteam.ts new file mode 100644 index 000000000..1c852236c --- /dev/null +++ b/src/models/operations/getteam.ts @@ -0,0 +1,79 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getteams.ts b/src/models/operations/getteams.ts new file mode 100644 index 000000000..7633d47e8 --- /dev/null +++ b/src/models/operations/getteams.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetTeamsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + } + ); +} diff --git a/src/models/operations/gettemplate.ts b/src/models/operations/gettemplate.ts new file mode 100644 index 000000000..549cc627a --- /dev/null +++ b/src/models/operations/gettemplate.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/gettemplates.ts b/src/models/operations/gettemplates.ts new file mode 100644 index 000000000..a72b22697 --- /dev/null +++ b/src/models/operations/gettemplates.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getticket.ts b/src/models/operations/getticket.ts new file mode 100644 index 000000000..fd41d7d5b --- /dev/null +++ b/src/models/operations/getticket.ts @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getticketingaccount.ts b/src/models/operations/getticketingaccount.ts new file mode 100644 index 000000000..4b74e847e --- /dev/null +++ b/src/models/operations/getticketingaccount.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getticketingaccounts.ts b/src/models/operations/getticketingaccounts.ts new file mode 100644 index 000000000..f4eb51d18 --- /dev/null +++ b/src/models/operations/getticketingaccounts.ts @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetTicketingAccountsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + }); +} diff --git a/src/models/operations/getticketingattachment.ts b/src/models/operations/getticketingattachment.ts new file mode 100644 index 000000000..ae888d00e --- /dev/null +++ b/src/models/operations/getticketingattachment.ts @@ -0,0 +1,88 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getticketingattachments.ts b/src/models/operations/getticketingattachments.ts new file mode 100644 index 000000000..0b04348c1 --- /dev/null +++ b/src/models/operations/getticketingattachments.ts @@ -0,0 +1,104 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetTicketingAttachmentsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = + z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + }); +} diff --git a/src/models/operations/getticketingcontact.ts b/src/models/operations/getticketingcontact.ts new file mode 100644 index 000000000..cc862bc80 --- /dev/null +++ b/src/models/operations/getticketingcontact.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getticketingcontacts.ts b/src/models/operations/getticketingcontacts.ts new file mode 100644 index 000000000..1b486677d --- /dev/null +++ b/src/models/operations/getticketingcontacts.ts @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetTicketingContactsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + }); +} diff --git a/src/models/operations/getticketingtag.ts b/src/models/operations/getticketingtag.ts new file mode 100644 index 000000000..a1a5b6bcf --- /dev/null +++ b/src/models/operations/getticketingtag.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getticketingtags.ts b/src/models/operations/getticketingtags.ts new file mode 100644 index 000000000..7a916fd10 --- /dev/null +++ b/src/models/operations/getticketingtags.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetTicketingTagsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + }); +} diff --git a/src/models/operations/getticketinguser.ts b/src/models/operations/getticketinguser.ts new file mode 100644 index 000000000..9b147adf8 --- /dev/null +++ b/src/models/operations/getticketinguser.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getticketingusers.ts b/src/models/operations/getticketingusers.ts new file mode 100644 index 000000000..2f0b374d8 --- /dev/null +++ b/src/models/operations/getticketingusers.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetTicketingUsersRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + }); +} diff --git a/src/models/operations/gettickets.ts b/src/models/operations/gettickets.ts new file mode 100644 index 000000000..6eaeb263a --- /dev/null +++ b/src/models/operations/gettickets.ts @@ -0,0 +1,98 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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. + */ + limit?: 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; +}; + +/** @internal */ +export namespace GetTicketsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: 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(), + }); +} diff --git a/src/models/operations/gettimeoff.ts b/src/models/operations/gettimeoff.ts new file mode 100644 index 000000000..7c20e5d0d --- /dev/null +++ b/src/models/operations/gettimeoff.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/gettimeoffbalance.ts b/src/models/operations/gettimeoffbalance.ts new file mode 100644 index 000000000..b75f82264 --- /dev/null +++ b/src/models/operations/gettimeoffbalance.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/gettimeoffbalances.ts b/src/models/operations/gettimeoffbalances.ts new file mode 100644 index 000000000..9ae08741c --- /dev/null +++ b/src/models/operations/gettimeoffbalances.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/gettimeoffs.ts b/src/models/operations/gettimeoffs.ts new file mode 100644 index 000000000..c1ccb0b3a --- /dev/null +++ b/src/models/operations/gettimeoffs.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/gettrackingcategory.ts b/src/models/operations/gettrackingcategory.ts new file mode 100644 index 000000000..c1e65120f --- /dev/null +++ b/src/models/operations/gettrackingcategory.ts @@ -0,0 +1,84 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/gettrackingcategorys.ts b/src/models/operations/gettrackingcategorys.ts new file mode 100644 index 000000000..167486dc3 --- /dev/null +++ b/src/models/operations/gettrackingcategorys.ts @@ -0,0 +1,86 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/gettransaction.ts b/src/models/operations/gettransaction.ts new file mode 100644 index 000000000..6971fd412 --- /dev/null +++ b/src/models/operations/gettransaction.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/gettransactions.ts b/src/models/operations/gettransactions.ts new file mode 100644 index 000000000..14c693869 --- /dev/null +++ b/src/models/operations/gettransactions.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getvendorcredit.ts b/src/models/operations/getvendorcredit.ts new file mode 100644 index 000000000..49e6c4f5f --- /dev/null +++ b/src/models/operations/getvendorcredit.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/getvendorcredits.ts b/src/models/operations/getvendorcredits.ts new file mode 100644 index 000000000..c9ef391bf --- /dev/null +++ b/src/models/operations/getvendorcredits.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/handleapikeycallback.ts b/src/models/operations/handleapikeycallback.ts new file mode 100644 index 000000000..17e75e6f1 --- /dev/null +++ b/src/models/operations/handleapikeycallback.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +import * as z from "zod"; + +export type HandleApiKeyCallbackRequest = { + state: string; + bodyDataType: components.BodyDataType; +}; + +/** @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", + }); + }); +} diff --git a/src/models/operations/handleoauthcallback.ts b/src/models/operations/handleoauthcallback.ts new file mode 100644 index 000000000..7b78eca5d --- /dev/null +++ b/src/models/operations/handleoauthcallback.ts @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type HandleOAuthCallbackRequest = { + code: string; + state: string; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/handlethirdpartywebhook.ts b/src/models/operations/handlethirdpartywebhook.ts new file mode 100644 index 000000000..ecda7ec3f --- /dev/null +++ b/src/models/operations/handlethirdpartywebhook.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as z from "zod"; + +export type HandleThirdPartyWebhookRequest = { + endpointUuid: string; +}; + +/** @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", + }); + }); +} diff --git a/src/models/operations/index.ts b/src/models/operations/index.ts new file mode 100644 index 000000000..92e665410 --- /dev/null +++ b/src/models/operations/index.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export * from "./addaccount.js"; +export * from "./addaccountingattachment.js"; +export * from "./addaccountingcontact.js"; +export * from "./addaction.js"; +export * from "./addactivity.js"; +export * from "./addaddress.js"; +export * from "./addapplication.js"; +export * from "./addatsattachment.js"; +export * from "./addatsuser.js"; +export * from "./addautomation.js"; +export * from "./addbalancesheet.js"; +export * from "./addbankinfo.js"; +export * from "./addbenefit.js"; +export * from "./addcampaign.js"; +export * from "./addcandidate.js"; +export * from "./addcashflowstatement.js"; +export * from "./addcomment.js"; +export * from "./addcompanyinfo.js"; +export * from "./addcreditnote.js"; +export * from "./addcrmcompany.js"; +export * from "./addcrmcontact.js"; +export * from "./adddeal.js"; +export * from "./adddepartment.js"; +export * from "./adddependent.js"; +export * from "./adddrive.js"; +export * from "./addeeocs.js"; +export * from "./addemail.js"; +export * from "./addemployee.js"; +export * from "./addemployeepayrollrun.js"; +export * from "./addemployerbenefit.js"; +export * from "./addemployment.js"; +export * from "./addengagement.js"; +export * from "./addevent.js"; +export * from "./addexpense.js"; +export * from "./addfile.js"; +export * from "./addfolder.js"; +export * from "./addgroup.js"; +export * from "./addhriscompany.js"; +export * from "./addincomestatement.js"; +export * from "./addinterview.js"; +export * from "./addinvoice.js"; +export * from "./additem.js"; +export * from "./addjob.js"; +export * from "./addjobinterviewstage.js"; +export * from "./addjournalentry.js"; +export * from "./addlist.js"; +export * from "./addlocation.js"; +export * from "./addmarketingautomationcontact.js"; +export * from "./addmarketingautomationuser.js"; +export * from "./addmessage.js"; +export * from "./addnote.js"; +export * from "./addoffer.js"; +export * from "./addoffice.js"; +export * from "./addpaygroup.js"; +export * from "./addpayment.js"; +export * from "./addpayrollrun.js"; +export * from "./addpermission.js"; +export * from "./addphonenumber.js"; +export * from "./addpurchaseorder.js"; +export * from "./addrejectreason.js"; +export * from "./addscorecard.js"; +export * from "./addscreeningquestion.js"; +export * from "./addsharedlink.js"; +export * from "./addtag.js"; +export * from "./addtask.js"; +export * from "./addtaxrate.js"; +export * from "./addtemplate.js"; +export * from "./addticket.js"; +export * from "./addticketingattachment.js"; +export * from "./addtimeoff.js"; +export * from "./addtimeoffbalance.js"; +export * from "./addtrackingcategory.js"; +export * from "./addtransaction.js"; +export * from "./addvendorcredit.js"; +export * from "./deleteapikey.js"; +export * from "./deletewebhook.js"; +export * from "./downloadattachment.js"; +export * from "./getaccountingaccount.js"; +export * from "./getaccountingaccounts.js"; +export * from "./getaccountingattachment.js"; +export * from "./getaccountingattachments.js"; +export * from "./getaccountingcontact.js"; +export * from "./getaccountingcontacts.js"; +export * from "./getaction.js"; +export * from "./getactions.js"; +export * from "./getactivity.js"; +export * from "./getactivitys.js"; +export * from "./getaddress.js"; +export * from "./getaddresss.js"; +export * from "./getapplication.js"; +export * from "./getapplications.js"; +export * from "./getatsattachment.js"; +export * from "./getatsattachments.js"; +export * from "./getatstag.js"; +export * from "./getatstags.js"; +export * from "./getatsuser.js"; +export * from "./getatsusers.js"; +export * from "./getautomation.js"; +export * from "./getautomations.js"; +export * from "./getbalancesheet.js"; +export * from "./getbalancesheets.js"; +export * from "./getbankinfo.js"; +export * from "./getbankinfos.js"; +export * from "./getbenefit.js"; +export * from "./getbenefits.js"; +export * from "./getcampaign.js"; +export * from "./getcampaigns.js"; +export * from "./getcandidate.js"; +export * from "./getcandidates.js"; +export * from "./getcashflowstatement.js"; +export * from "./getcashflowstatements.js"; +export * from "./getcollection.js"; +export * from "./getcollections.js"; +export * from "./getcomment.js"; +export * from "./getcomments.js"; +export * from "./getcompanies.js"; +export * from "./getcompanyinfo.js"; +export * from "./getcompanyinfos.js"; +export * from "./getcompanys.js"; +export * from "./getconnectorsfromproject.js"; +export * from "./getcredentials.js"; +export * from "./getcreditnote.js"; +export * from "./getcreditnotes.js"; +export * from "./getcrmcompany.js"; +export * from "./getcrmcontact.js"; +export * from "./getcrmuser.js"; +export * from "./getcrmusers.js"; +export * from "./getcustomproviderproperties.js"; +export * from "./getdeal.js"; +export * from "./getdeals.js"; +export * from "./getdepartment.js"; +export * from "./getdepartments.js"; +export * from "./getdependent.js"; +export * from "./getdependents.js"; +export * from "./getdrive.js"; +export * from "./getdrives.js"; +export * from "./geteeocs.js"; +export * from "./geteeocss.js"; +export * from "./getemail.js"; +export * from "./getemails.js"; +export * from "./getemployee.js"; +export * from "./getemployeepayrollrun.js"; +export * from "./getemployeepayrollruns.js"; +export * from "./getemployees.js"; +export * from "./getemployerbenefit.js"; +export * from "./getemployerbenefits.js"; +export * from "./getemployment.js"; +export * from "./getemployments.js"; +export * from "./getengagement.js"; +export * from "./getengagements.js"; +export * from "./getevent.js"; +export * from "./getexpense.js"; +export * from "./getexpenses.js"; +export * from "./getfile.js"; +export * from "./getfiles.js"; +export * from "./getfolder.js"; +export * from "./getfolders.js"; +export * from "./getgroup.js"; +export * from "./getgroups.js"; +export * from "./gethriscompany.js"; +export * from "./getincomestatement.js"; +export * from "./getincomestatements.js"; +export * from "./getinterview.js"; +export * from "./getinterviews.js"; +export * from "./getinvoice.js"; +export * from "./getinvoices.js"; +export * from "./getitem.js"; +export * from "./getitems.js"; +export * from "./getjob.js"; +export * from "./getjobinterviewstage.js"; +export * from "./getjobinterviewstages.js"; +export * from "./getjobs.js"; +export * from "./getjournalentry.js"; +export * from "./getjournalentrys.js"; +export * from "./getlinkeduser.js"; +export * from "./getlist.js"; +export * from "./getlists.js"; +export * from "./getlocation.js"; +export * from "./getlocations.js"; +export * from "./getmagiclink.js"; +export * from "./getmanagedwebhooks.js"; +export * from "./getmarketingautomationcontact.js"; +export * from "./getmarketingautomationcontacts.js"; +export * from "./getmarketingautomationevents.js"; +export * from "./getmarketingautomationuser.js"; +export * from "./getmarketingautomationusers.js"; +export * from "./getmessage.js"; +export * from "./getmessages.js"; +export * from "./getnote.js"; +export * from "./getnotes.js"; +export * from "./getoffer.js"; +export * from "./getoffers.js"; +export * from "./getoffice.js"; +export * from "./getoffices.js"; +export * from "./getpanoracoreevents.js"; +export * from "./getpaygroup.js"; +export * from "./getpaygroups.js"; +export * from "./getpayment.js"; +export * from "./getpayments.js"; +export * from "./getpayrollrun.js"; +export * from "./getpayrollruns.js"; +export * from "./getpermission.js"; +export * from "./getpermissions.js"; +export * from "./getphonenumber.js"; +export * from "./getphonenumbers.js"; +export * from "./getpurchaseorder.js"; +export * from "./getpurchaseorders.js"; +export * from "./getrejectreason.js"; +export * from "./getrejectreasons.js"; +export * from "./getscorecard.js"; +export * from "./getscorecards.js"; +export * from "./getscreeningquestion.js"; +export * from "./getscreeningquestions.js"; +export * from "./getsharedlink.js"; +export * from "./getsharedlinks.js"; +export * from "./getstage.js"; +export * from "./getstages.js"; +export * from "./getsyncstatus.js"; +export * from "./gettask.js"; +export * from "./gettasks.js"; +export * from "./gettaxrate.js"; +export * from "./gettaxrates.js"; +export * from "./getteam.js"; +export * from "./getteams.js"; +export * from "./gettemplate.js"; +export * from "./gettemplates.js"; +export * from "./getticket.js"; +export * from "./getticketingaccount.js"; +export * from "./getticketingaccounts.js"; +export * from "./getticketingattachment.js"; +export * from "./getticketingattachments.js"; +export * from "./getticketingcontact.js"; +export * from "./getticketingcontacts.js"; +export * from "./getticketingtag.js"; +export * from "./getticketingtags.js"; +export * from "./getticketinguser.js"; +export * from "./getticketingusers.js"; +export * from "./gettickets.js"; +export * from "./gettimeoff.js"; +export * from "./gettimeoffbalance.js"; +export * from "./gettimeoffbalances.js"; +export * from "./gettimeoffs.js"; +export * from "./gettrackingcategory.js"; +export * from "./gettrackingcategorys.js"; +export * from "./gettransaction.js"; +export * from "./gettransactions.js"; +export * from "./getvendorcredit.js"; +export * from "./getvendorcredits.js"; +export * from "./handleapikeycallback.js"; +export * from "./handleoauthcallback.js"; +export * from "./handlethirdpartywebhook.js"; +export * from "./linkeduserfromremoteid.js"; +export * from "./listcrmcontacts.js"; +export * from "./passthroughrequest.js"; +export * from "./resync.js"; +export * from "./updatecompany.js"; +export * from "./updatemanagedwebhooksstatus.js"; +export * from "./updatewebhookstatus.js"; diff --git a/src/models/operations/linkeduserfromremoteid.ts b/src/models/operations/linkeduserfromremoteid.ts new file mode 100644 index 000000000..98ecb7e3b --- /dev/null +++ b/src/models/operations/linkeduserfromremoteid.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type LinkedUserFromRemoteIdRequest = { + remoteId: string; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/listcrmcontacts.ts b/src/models/operations/listcrmcontacts.ts new file mode 100644 index 000000000..73cabca7b --- /dev/null +++ b/src/models/operations/listcrmcontacts.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +import * as z from "zod"; + +export type ListCrmContactsRequest = { + /** + * 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. + */ + limit?: number | undefined; + /** + * Set to get the number of records after this cursor. + */ + cursor?: string | undefined; +}; + +export type ListCrmContactsResponseBody = { + message?: string | undefined; + error?: string | undefined; + statusCode: number; + data?: components.UnifiedContactOutput | undefined; +}; + +/** @internal */ +export namespace ListCrmContactsRequest$ { + export const inboundSchema: z.ZodType = z + .object({ + "x-connection-token": z.string(), + remote_data: z.boolean().optional(), + limit: 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; + limit: number; + cursor?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + xConnectionToken: z.string(), + remoteData: z.boolean().optional(), + limit: z.number().default(50), + cursor: z.string().optional(), + }) + .transform((v) => { + return remap$(v, { + xConnectionToken: "x-connection-token", + remoteData: "remote_data", + }); + }); +} + +/** @internal */ +export namespace ListCrmContactsResponseBody$ { + 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(), + }); +} diff --git a/src/models/operations/passthroughrequest.ts b/src/models/operations/passthroughrequest.ts new file mode 100644 index 000000000..33db1595c --- /dev/null +++ b/src/models/operations/passthroughrequest.ts @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; +import * as z from "zod"; + +export type PassthroughRequestRequest = { + integrationId: string; + linkedUserId: string; + vertical: string; + passThroughRequestDto: components.PassThroughRequestDto; +}; + +/** @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", + }); + }); +} diff --git a/src/models/operations/resync.ts b/src/models/operations/resync.ts new file mode 100644 index 000000000..e6815eef9 --- /dev/null +++ b/src/models/operations/resync.ts @@ -0,0 +1,24 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type ResyncRequest = { + vertical: string; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/updatecompany.ts b/src/models/operations/updatecompany.ts new file mode 100644 index 000000000..1b35acc2c --- /dev/null +++ b/src/models/operations/updatecompany.ts @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as components from "../components/index.js"; +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; +}; + +/** @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(), + }); +} diff --git a/src/models/operations/updatemanagedwebhooksstatus.ts b/src/models/operations/updatemanagedwebhooksstatus.ts new file mode 100644 index 000000000..92c24bb81 --- /dev/null +++ b/src/models/operations/updatemanagedwebhooksstatus.ts @@ -0,0 +1,45 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as z from "zod"; + +export type UpdateManagedWebhooksStatusRequest = { + idConnection: string; +}; + +/** @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", + }); + }); +} diff --git a/src/models/operations/updatewebhookstatus.ts b/src/models/operations/updatewebhookstatus.ts new file mode 100644 index 000000000..e9e2a26bf --- /dev/null +++ b/src/models/operations/updatewebhookstatus.ts @@ -0,0 +1,26 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type UpdateWebhookStatusRequest = { + id: string; +}; + +/** @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(), + }); +} diff --git a/src/sdk/accountingaccount.ts b/src/sdk/accountingaccount.ts new file mode 100644 index 000000000..94416797c --- /dev/null +++ b/src/sdk/accountingaccount.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetAccountingAccountsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAccountingAccountsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Account + * + * @remarks + * Create a account in any supported Accounting software + */ + async addAccount( + request: operations.AddAccountRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddAccountResponse$) + .json(201, operations.AddAccountResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Account + * + * @remarks + * Retrieve a account from any connected Accounting software + */ + async getAccountingAccount( + request: operations.GetAccountingAccountRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAccountingAccountResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingaddress.ts b/src/sdk/accountingaddress.ts new file mode 100644 index 000000000..b4f949cd4 --- /dev/null +++ b/src/sdk/accountingaddress.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetAddresssRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAddresssResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Address + * + * @remarks + * Create a address in any supported Accounting software + */ + async addAddress( + request: operations.AddAddressRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddAddressResponse$) + .json(201, operations.AddAddressResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Address + * + * @remarks + * Retrieve a address from any connected Accounting software + */ + async getAddress( + request: operations.GetAddressRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAddressResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingattachment.ts b/src/sdk/accountingattachment.ts new file mode 100644 index 000000000..3d614ac7f --- /dev/null +++ b/src/sdk/accountingattachment.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetAccountingAttachmentsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAccountingAttachmentsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Attachment + * + * @remarks + * Create a attachment in any supported Accounting software + */ + async addAccountingAttachment( + request: operations.AddAccountingAttachmentRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddAccountingAttachmentResponse$) + .json(201, operations.AddAccountingAttachmentResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Attachment + * + * @remarks + * Retrieve a attachment from any connected Accounting software + */ + async getAccountingAttachment( + request: operations.GetAccountingAttachmentRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAccountingAttachmentResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingbalancesheet.ts b/src/sdk/accountingbalancesheet.ts new file mode 100644 index 000000000..ec6e67d3d --- /dev/null +++ b/src/sdk/accountingbalancesheet.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetBalanceSheetsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetBalanceSheetsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a BalanceSheet + * + * @remarks + * Create a balancesheet in any supported Accounting software + */ + async addBalanceSheet( + request: operations.AddBalanceSheetRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddBalanceSheetResponse$) + .json(201, operations.AddBalanceSheetResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a BalanceSheet + * + * @remarks + * Retrieve a balancesheet from any connected Accounting software + */ + async getBalanceSheet( + request: operations.GetBalanceSheetRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetBalanceSheetResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingcashflowstatement.ts b/src/sdk/accountingcashflowstatement.ts new file mode 100644 index 000000000..b05ed93c4 --- /dev/null +++ b/src/sdk/accountingcashflowstatement.ts @@ -0,0 +1,264 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetCashflowStatementsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCashflowStatementsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a CashflowStatement + * + * @remarks + * Create a cashflowstatement in any supported Accounting software + */ + async addCashflowStatement( + request: operations.AddCashflowStatementRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddCashflowStatementResponse$) + .json(201, operations.AddCashflowStatementResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a CashflowStatement + * + * @remarks + * Retrieve a cashflowstatement from any connected Accounting software + */ + async getCashflowStatement( + request: operations.GetCashflowStatementRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCashflowStatementResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingcompanyinfo.ts b/src/sdk/accountingcompanyinfo.ts new file mode 100644 index 000000000..dc7452bf6 --- /dev/null +++ b/src/sdk/accountingcompanyinfo.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetCompanyInfosRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCompanyInfosResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a CompanyInfo + * + * @remarks + * Create a companyinfo in any supported Accounting software + */ + async addCompanyInfo( + request: operations.AddCompanyInfoRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddCompanyInfoResponse$) + .json(201, operations.AddCompanyInfoResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a CompanyInfo + * + * @remarks + * Retrieve a companyinfo from any connected Accounting software + */ + async getCompanyInfo( + request: operations.GetCompanyInfoRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCompanyInfoResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingcontact.ts b/src/sdk/accountingcontact.ts new file mode 100644 index 000000000..b19e36643 --- /dev/null +++ b/src/sdk/accountingcontact.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetAccountingContactsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAccountingContactsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Contact + * + * @remarks + * Create a contact in any supported Accounting software + */ + async addAccountingContact( + request: operations.AddAccountingContactRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddAccountingContactResponse$) + .json(201, operations.AddAccountingContactResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Contact + * + * @remarks + * Retrieve a contact from any connected Accounting software + */ + async getAccountingContact( + request: operations.GetAccountingContactRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAccountingContactResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingcreditnote.ts b/src/sdk/accountingcreditnote.ts new file mode 100644 index 000000000..524d6be71 --- /dev/null +++ b/src/sdk/accountingcreditnote.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetCreditNotesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCreditNotesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a CreditNote + * + * @remarks + * Create a creditnote in any supported Accounting software + */ + async addCreditNote( + request: operations.AddCreditNoteRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddCreditNoteResponse$) + .json(201, operations.AddCreditNoteResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a CreditNote + * + * @remarks + * Retrieve a creditnote from any connected Accounting software + */ + async getCreditNote( + request: operations.GetCreditNoteRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCreditNoteResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingexpense.ts b/src/sdk/accountingexpense.ts new file mode 100644 index 000000000..4148e5373 --- /dev/null +++ b/src/sdk/accountingexpense.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetExpensesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetExpensesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Expense + * + * @remarks + * Create a expense in any supported Accounting software + */ + async addExpense( + request: operations.AddExpenseRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddExpenseResponse$) + .json(201, operations.AddExpenseResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Expense + * + * @remarks + * Retrieve a expense from any connected Accounting software + */ + async getExpense( + request: operations.GetExpenseRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetExpenseResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingincomestatement.ts b/src/sdk/accountingincomestatement.ts new file mode 100644 index 000000000..af74fa23d --- /dev/null +++ b/src/sdk/accountingincomestatement.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetIncomeStatementsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetIncomeStatementsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a IncomeStatement + * + * @remarks + * Create a incomestatement in any supported Accounting software + */ + async addIncomeStatement( + request: operations.AddIncomeStatementRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddIncomeStatementResponse$) + .json(201, operations.AddIncomeStatementResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a IncomeStatement + * + * @remarks + * Retrieve a incomestatement from any connected Accounting software + */ + async getIncomeStatement( + request: operations.GetIncomeStatementRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetIncomeStatementResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountinginvoice.ts b/src/sdk/accountinginvoice.ts new file mode 100644 index 000000000..a2457aa61 --- /dev/null +++ b/src/sdk/accountinginvoice.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetInvoicesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetInvoicesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Invoice + * + * @remarks + * Create a invoice in any supported Accounting software + */ + async addInvoice( + request: operations.AddInvoiceRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddInvoiceResponse$) + .json(201, operations.AddInvoiceResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Invoice + * + * @remarks + * Retrieve a invoice from any connected Accounting software + */ + async getInvoice( + request: operations.GetInvoiceRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetInvoiceResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingitem.ts b/src/sdk/accountingitem.ts new file mode 100644 index 000000000..deb0cdbb1 --- /dev/null +++ b/src/sdk/accountingitem.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetItemsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetItemsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Item + * + * @remarks + * Create a item in any supported Accounting software + */ + async addItem( + request: operations.AddItemRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddItemResponse$) + .json(201, operations.AddItemResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Item + * + * @remarks + * Retrieve a item from any connected Accounting software + */ + async getItem( + request: operations.GetItemRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetItemResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingjournalentry.ts b/src/sdk/accountingjournalentry.ts new file mode 100644 index 000000000..ff05c5e76 --- /dev/null +++ b/src/sdk/accountingjournalentry.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetJournalEntrysRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetJournalEntrysResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a JournalEntry + * + * @remarks + * Create a journalentry in any supported Accounting software + */ + async addJournalEntry( + request: operations.AddJournalEntryRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddJournalEntryResponse$) + .json(201, operations.AddJournalEntryResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a JournalEntry + * + * @remarks + * Retrieve a journalentry from any connected Accounting software + */ + async getJournalEntry( + request: operations.GetJournalEntryRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetJournalEntryResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingpayment.ts b/src/sdk/accountingpayment.ts new file mode 100644 index 000000000..400b89d21 --- /dev/null +++ b/src/sdk/accountingpayment.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetPaymentsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetPaymentsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Payment + * + * @remarks + * Create a payment in any supported Accounting software + */ + async addPayment( + request: operations.AddPaymentRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddPaymentResponse$) + .json(201, operations.AddPaymentResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Payment + * + * @remarks + * Retrieve a payment from any connected Accounting software + */ + async getPayment( + request: operations.GetPaymentRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetPaymentResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingphonenumber.ts b/src/sdk/accountingphonenumber.ts new file mode 100644 index 000000000..706a89417 --- /dev/null +++ b/src/sdk/accountingphonenumber.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetPhoneNumbersRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetPhoneNumbersResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a PhoneNumber + * + * @remarks + * Create a phonenumber in any supported Accounting software + */ + async addPhoneNumber( + request: operations.AddPhoneNumberRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddPhoneNumberResponse$) + .json(201, operations.AddPhoneNumberResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a PhoneNumber + * + * @remarks + * Retrieve a phonenumber from any connected Accounting software + */ + async getPhoneNumber( + request: operations.GetPhoneNumberRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetPhoneNumberResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingpurchaseorder.ts b/src/sdk/accountingpurchaseorder.ts new file mode 100644 index 000000000..748b75f7e --- /dev/null +++ b/src/sdk/accountingpurchaseorder.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetPurchaseOrdersRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetPurchaseOrdersResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a PurchaseOrder + * + * @remarks + * Create a purchaseorder in any supported Accounting software + */ + async addPurchaseOrder( + request: operations.AddPurchaseOrderRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddPurchaseOrderResponse$) + .json(201, operations.AddPurchaseOrderResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a PurchaseOrder + * + * @remarks + * Retrieve a purchaseorder from any connected Accounting software + */ + async getPurchaseOrder( + request: operations.GetPurchaseOrderRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetPurchaseOrderResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingtaxrate.ts b/src/sdk/accountingtaxrate.ts new file mode 100644 index 000000000..9bc853577 --- /dev/null +++ b/src/sdk/accountingtaxrate.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTaxRatesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTaxRatesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a TaxRate + * + * @remarks + * Create a taxrate in any supported Accounting software + */ + async addTaxRate( + request: operations.AddTaxRateRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddTaxRateResponse$) + .json(201, operations.AddTaxRateResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a TaxRate + * + * @remarks + * Retrieve a taxrate from any connected Accounting software + */ + async getTaxRate( + request: operations.GetTaxRateRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTaxRateResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingtrackingcategory.ts b/src/sdk/accountingtrackingcategory.ts new file mode 100644 index 000000000..4ab0a4b21 --- /dev/null +++ b/src/sdk/accountingtrackingcategory.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTrackingCategorysRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTrackingCategorysResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a TrackingCategory + * + * @remarks + * Create a trackingcategory in any supported Accounting software + */ + async addTrackingCategory( + request: operations.AddTrackingCategoryRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddTrackingCategoryResponse$) + .json(201, operations.AddTrackingCategoryResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a TrackingCategory + * + * @remarks + * Retrieve a trackingcategory from any connected Accounting software + */ + async getTrackingCategory( + request: operations.GetTrackingCategoryRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTrackingCategoryResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingtransaction.ts b/src/sdk/accountingtransaction.ts new file mode 100644 index 000000000..c032b2034 --- /dev/null +++ b/src/sdk/accountingtransaction.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTransactionsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTransactionsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Transaction + * + * @remarks + * Create a transaction in any supported Accounting software + */ + async addTransaction( + request: operations.AddTransactionRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddTransactionResponse$) + .json(201, operations.AddTransactionResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Transaction + * + * @remarks + * Retrieve a transaction from any connected Accounting software + */ + async getTransaction( + request: operations.GetTransactionRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTransactionResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/accountingvendorcredit.ts b/src/sdk/accountingvendorcredit.ts new file mode 100644 index 000000000..e33742853 --- /dev/null +++ b/src/sdk/accountingvendorcredit.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetVendorCreditsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetVendorCreditsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a VendorCredit + * + * @remarks + * Create a vendorcredit in any supported Accounting software + */ + async addVendorCredit( + request: operations.AddVendorCreditRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddVendorCreditResponse$) + .json(201, operations.AddVendorCreditResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a VendorCredit + * + * @remarks + * Retrieve a vendorcredit from any connected Accounting software + */ + async getVendorCredit( + request: operations.GetVendorCreditRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetVendorCreditResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsactivity.ts b/src/sdk/atsactivity.ts new file mode 100644 index 000000000..41f50b883 --- /dev/null +++ b/src/sdk/atsactivity.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetActivitysRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetActivitysResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Activity + * + * @remarks + * Create a activity in any supported Ats software + */ + async addActivity( + request: operations.AddActivityRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddActivityResponse$) + .json(201, operations.AddActivityResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Activity + * + * @remarks + * Retrieve a activity from any connected Ats software + */ + async getActivity( + request: operations.GetActivityRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetActivityResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsapplication.ts b/src/sdk/atsapplication.ts new file mode 100644 index 000000000..b78bb5338 --- /dev/null +++ b/src/sdk/atsapplication.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetApplicationsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetApplicationsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Application + * + * @remarks + * Create a application in any supported Ats software + */ + async addApplication( + request: operations.AddApplicationRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddApplicationResponse$) + .json(201, operations.AddApplicationResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Application + * + * @remarks + * Retrieve a application from any connected Ats software + */ + async getApplication( + request: operations.GetApplicationRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetApplicationResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsattachment.ts b/src/sdk/atsattachment.ts new file mode 100644 index 000000000..4f6f50cac --- /dev/null +++ b/src/sdk/atsattachment.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetAtsAttachmentsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAtsAttachmentsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Attachment + * + * @remarks + * Create a attachment in any supported Ats software + */ + async addAtsAttachment( + request: operations.AddAtsAttachmentRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddAtsAttachmentResponse$) + .json(201, operations.AddAtsAttachmentResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Attachment + * + * @remarks + * Retrieve a attachment from any connected Ats software + */ + async getAtsAttachment( + request: operations.GetAtsAttachmentRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAtsAttachmentResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atscandidate.ts b/src/sdk/atscandidate.ts new file mode 100644 index 000000000..bfc7e3927 --- /dev/null +++ b/src/sdk/atscandidate.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetCandidatesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCandidatesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Candidate + * + * @remarks + * Create a candidate in any supported Ats software + */ + async addCandidate( + request: operations.AddCandidateRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddCandidateResponse$) + .json(201, operations.AddCandidateResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Candidate + * + * @remarks + * Retrieve a candidate from any connected Ats software + */ + async getCandidate( + request: operations.GetCandidateRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCandidateResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsdepartment.ts b/src/sdk/atsdepartment.ts new file mode 100644 index 000000000..70055e21e --- /dev/null +++ b/src/sdk/atsdepartment.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetDepartmentsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetDepartmentsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Department + * + * @remarks + * Create a department in any supported Ats software + */ + async addDepartment( + request: operations.AddDepartmentRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddDepartmentResponse$) + .json(201, operations.AddDepartmentResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Department + * + * @remarks + * Retrieve a department from any connected Ats software + */ + async getDepartment( + request: operations.GetDepartmentRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetDepartmentResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atseeocs.ts b/src/sdk/atseeocs.ts new file mode 100644 index 000000000..ef40a16b1 --- /dev/null +++ b/src/sdk/atseeocs.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetEeocssRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEeocssResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Eeocs + * + * @remarks + * Create a eeocs in any supported Ats software + */ + async addEeocs( + request: operations.AddEeocsRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddEeocsResponse$) + .json(201, operations.AddEeocsResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Eeocs + * + * @remarks + * Retrieve a eeocs from any connected Ats software + */ + async getEeocs( + request: operations.GetEeocsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEeocsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsinterview.ts b/src/sdk/atsinterview.ts new file mode 100644 index 000000000..28724be5d --- /dev/null +++ b/src/sdk/atsinterview.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetInterviewsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetInterviewsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Interview + * + * @remarks + * Create a interview in any supported Ats software + */ + async addInterview( + request: operations.AddInterviewRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddInterviewResponse$) + .json(201, operations.AddInterviewResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Interview + * + * @remarks + * Retrieve a interview from any connected Ats software + */ + async getInterview( + request: operations.GetInterviewRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetInterviewResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsjob.ts b/src/sdk/atsjob.ts new file mode 100644 index 000000000..bc5f5930a --- /dev/null +++ b/src/sdk/atsjob.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetJobsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetJobsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Job + * + * @remarks + * Create a job in any supported Ats software + */ + async addJob( + request: operations.AddJobRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddJobResponse$) + .json(201, operations.AddJobResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Job + * + * @remarks + * Retrieve a job from any connected Ats software + */ + async getJob( + request: operations.GetJobRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetJobResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsjobinterviewstage.ts b/src/sdk/atsjobinterviewstage.ts new file mode 100644 index 000000000..c9851b08c --- /dev/null +++ b/src/sdk/atsjobinterviewstage.ts @@ -0,0 +1,264 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetJobInterviewStagesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetJobInterviewStagesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a JobInterviewStage + * + * @remarks + * Create a jobinterviewstage in any supported Ats software + */ + async addJobInterviewStage( + request: operations.AddJobInterviewStageRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddJobInterviewStageResponse$) + .json(201, operations.AddJobInterviewStageResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a JobInterviewStage + * + * @remarks + * Retrieve a jobinterviewstage from any connected Ats software + */ + async getJobInterviewStage( + request: operations.GetJobInterviewStageRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetJobInterviewStageResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsoffer.ts b/src/sdk/atsoffer.ts new file mode 100644 index 000000000..64e41c75f --- /dev/null +++ b/src/sdk/atsoffer.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetOffersRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetOffersResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Offer + * + * @remarks + * Create a offer in any supported Ats software + */ + async addOffer( + request: operations.AddOfferRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddOfferResponse$) + .json(201, operations.AddOfferResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Offer + * + * @remarks + * Retrieve a offer from any connected Ats software + */ + async getOffer( + request: operations.GetOfferRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetOfferResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsoffice.ts b/src/sdk/atsoffice.ts new file mode 100644 index 000000000..1286898e5 --- /dev/null +++ b/src/sdk/atsoffice.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetOfficesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetOfficesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Office + * + * @remarks + * Create a office in any supported Ats software + */ + async addOffice( + request: operations.AddOfficeRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddOfficeResponse$) + .json(201, operations.AddOfficeResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Office + * + * @remarks + * Retrieve a office from any connected Ats software + */ + async getOffice( + request: operations.GetOfficeRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetOfficeResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsrejectreason.ts b/src/sdk/atsrejectreason.ts new file mode 100644 index 000000000..cd53e86e5 --- /dev/null +++ b/src/sdk/atsrejectreason.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetRejectReasonsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetRejectReasonsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a RejectReason + * + * @remarks + * Create a rejectreason in any supported Ats software + */ + async addRejectReason( + request: operations.AddRejectReasonRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddRejectReasonResponse$) + .json(201, operations.AddRejectReasonResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a RejectReason + * + * @remarks + * Retrieve a rejectreason from any connected Ats software + */ + async getRejectReason( + request: operations.GetRejectReasonRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetRejectReasonResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsscorecard.ts b/src/sdk/atsscorecard.ts new file mode 100644 index 000000000..248f754cd --- /dev/null +++ b/src/sdk/atsscorecard.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetScoreCardsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetScoreCardsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a ScoreCard + * + * @remarks + * Create a scorecard in any supported Ats software + */ + async addScoreCard( + request: operations.AddScoreCardRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddScoreCardResponse$) + .json(201, operations.AddScoreCardResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a ScoreCard + * + * @remarks + * Retrieve a scorecard from any connected Ats software + */ + async getScoreCard( + request: operations.GetScoreCardRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetScoreCardResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsscreeningquestion.ts b/src/sdk/atsscreeningquestion.ts new file mode 100644 index 000000000..5e8a6e007 --- /dev/null +++ b/src/sdk/atsscreeningquestion.ts @@ -0,0 +1,264 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetScreeningQuestionsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetScreeningQuestionsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a ScreeningQuestion + * + * @remarks + * Create a screeningquestion in any supported Ats software + */ + async addScreeningQuestion( + request: operations.AddScreeningQuestionRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddScreeningQuestionResponse$) + .json(201, operations.AddScreeningQuestionResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a ScreeningQuestion + * + * @remarks + * Retrieve a screeningquestion from any connected Ats software + */ + async getScreeningQuestion( + request: operations.GetScreeningQuestionRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetScreeningQuestionResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atstag.ts b/src/sdk/atstag.ts new file mode 100644 index 000000000..16cb8e204 --- /dev/null +++ b/src/sdk/atstag.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetAtsTagsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAtsTagsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Tag + * + * @remarks + * Create a tag in any supported Ats software + */ + async addTag( + request: operations.AddTagRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddTagResponse$) + .json(201, operations.AddTagResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Tag + * + * @remarks + * Retrieve a tag from any connected Ats software + */ + async getAtsTag( + request: operations.GetAtsTagRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAtsTagResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/atsuser.ts b/src/sdk/atsuser.ts new file mode 100644 index 000000000..cb3daf398 --- /dev/null +++ b/src/sdk/atsuser.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetAtsUsersRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAtsUsersResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a User + * + * @remarks + * Create a user in any supported Ats software + */ + async addAtsUser( + request: operations.AddAtsUserRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddAtsUserResponse$) + .json(201, operations.AddAtsUserResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a User + * + * @remarks + * Retrieve a user from any connected Ats software + */ + async getAtsUser( + request: operations.GetAtsUserRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAtsUserResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/auth.ts b/src/sdk/auth.ts new file mode 100644 index 000000000..375431c3a --- /dev/null +++ b/src/sdk/auth.ts @@ -0,0 +1,499 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { encodeJSON as encodeJSON$, encodeSimple as encodeSimple$ } from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; +import * as z from "zod"; + +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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .json(200, components.VerifyUserDto$.inboundSchema.optional()) + .void(201, components.VerifyUserDto$.inboundSchema.optional()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Delete API Keys + */ + async deleteApiKey( + request: operations.DeleteApiKeyRequest, + 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.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 [result$] = await this.matcher() + .void([200, 201], z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/connections.ts b/src/sdk/connections.ts new file mode 100644 index 000000000..f562dbd40 --- /dev/null +++ b/src/sdk/connections.ts @@ -0,0 +1,223 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; +import * as z from "zod"; + +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( + request: operations.HandleOAuthCallbackRequest, + 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.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Capture api key callback + */ + async handleApiKeyCallback( + request: operations.HandleApiKeyCallbackRequest, + 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$) => 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/connectionsstrategies.ts b/src/sdk/connectionsstrategies.ts new file mode 100644 index 000000000..b2ab5d8ea --- /dev/null +++ b/src/sdk/connectionsstrategies.ts @@ -0,0 +1,476 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; +import * as z from "zod"; + +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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Fetch credentials info needed for connections + */ + async getCredentials( + request: operations.GetCredentialsRequest, + 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.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/crmcompanies.ts b/src/sdk/crmcompanies.ts new file mode 100644 index 000000000..1484a2a47 --- /dev/null +++ b/src/sdk/crmcompanies.ts @@ -0,0 +1,328 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetCompaniesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetCompaniesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Company + * + * @remarks + * Create a company in any supported Crm software + */ + async addCrmCompany( + request: operations.AddCrmCompanyRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddCrmCompanyResponse$) + .json(201, operations.AddCrmCompanyResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Update a Company + */ + async updateCompany( + request: operations.UpdateCompanyRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.UpdateCompanyResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Company + * + * @remarks + * Retrieve a company from any connected Crm software + */ + async getCrmCompany( + request: operations.GetCrmCompanyRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCrmCompanyResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/crmcontacts.ts b/src/sdk/crmcontacts.ts new file mode 100644 index 000000000..9b0940e18 --- /dev/null +++ b/src/sdk/crmcontacts.ts @@ -0,0 +1,264 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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 CRM Contacts + */ + async listCrmContacts( + request: operations.ListCrmContactsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + const headers$ = new Headers(); + headers$.set("user-agent", SDK_METADATA.userAgent); + headers$.set("Accept", "application/json"); + + const payload$ = schemas$.parse( + input$, + (value$) => operations.ListCrmContactsRequest$.outboundSchema.parse(value$), + "Input validation failed" + ); + const body$ = null; + + const path$ = this.templateURLComponent("/crm/contacts")(); + + const query$ = encodeFormQuery$({ + cursor: payload$.cursor, + limit: payload$.limit, + 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: "listCrmContacts", + 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 [result$] = await this.matcher() + .json(200, operations.ListCrmContactsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create CRM Contact + * + * @remarks + * Create a contact in any supported CRM + */ + async addCrmContact( + request: operations.AddCrmContactRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddCrmContactResponse$) + .json(201, operations.AddCrmContactResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a CRM Contact + * + * @remarks + * Retrieve a contact from any connected CRM + */ + async getCrmContact( + request: operations.GetCrmContactRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCrmContactResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/crmdeals.ts b/src/sdk/crmdeals.ts new file mode 100644 index 000000000..9e64258c3 --- /dev/null +++ b/src/sdk/crmdeals.ts @@ -0,0 +1,264 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetDealsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetDealsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Deal + * + * @remarks + * Create a deal in any supported Crm software + */ + async addDeal( + request: operations.AddDealRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddDealResponse$) + .json(201, operations.AddDealResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Deal + * + * @remarks + * Retrieve a deal from any connected Crm software + */ + async getDeal( + request: operations.GetDealRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetDealResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/crmengagements.ts b/src/sdk/crmengagements.ts new file mode 100644 index 000000000..09613d0cd --- /dev/null +++ b/src/sdk/crmengagements.ts @@ -0,0 +1,264 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetEngagementsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetEngagementsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Engagement + * + * @remarks + * Create a engagement in any supported Crm software + */ + async addEngagement( + request: operations.AddEngagementRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddEngagementResponse$) + .json(201, operations.AddEngagementResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Engagement + * + * @remarks + * Retrieve a engagement from any connected Crm software + */ + async getEngagement( + request: operations.GetEngagementRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEngagementResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/crmnotes.ts b/src/sdk/crmnotes.ts new file mode 100644 index 000000000..3afab6f8b --- /dev/null +++ b/src/sdk/crmnotes.ts @@ -0,0 +1,264 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetNotesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetNotesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Note + * + * @remarks + * Create a note in any supported Crm software + */ + async addNote( + request: operations.AddNoteRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddNoteResponse$) + .json(201, operations.AddNoteResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Note + * + * @remarks + * Retrieve a note from any connected Crm software + */ + async getNote( + request: operations.GetNoteRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetNoteResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/crmstages.ts b/src/sdk/crmstages.ts new file mode 100644 index 000000000..85dfa2b2b --- /dev/null +++ b/src/sdk/crmstages.ts @@ -0,0 +1,186 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetStagesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetStagesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Stage + * + * @remarks + * Retrieve a stage from any connected Crm software + */ + async getStage( + request: operations.GetStageRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetStageResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/crmtasks.ts b/src/sdk/crmtasks.ts new file mode 100644 index 000000000..2e29139c1 --- /dev/null +++ b/src/sdk/crmtasks.ts @@ -0,0 +1,264 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTasksRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetTasksResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Task + * + * @remarks + * Create a task in any supported Crm software + */ + async addTask( + request: operations.AddTaskRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddTaskResponse$) + .json(201, operations.AddTaskResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Task + * + * @remarks + * Retrieve a task from any connected Crm software + */ + async getTask( + request: operations.GetTaskRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTaskResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/crmusers.ts b/src/sdk/crmusers.ts new file mode 100644 index 000000000..cd5e6a1d4 --- /dev/null +++ b/src/sdk/crmusers.ts @@ -0,0 +1,186 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetCrmUsersRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetCrmUsersResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a User + * + * @remarks + * Retrieve a user from any connected Crm software + */ + async getCrmUser( + request: operations.GetCrmUserRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCrmUserResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/events.ts b/src/sdk/events.ts new file mode 100644 index 000000000..5ab1c7e67 --- /dev/null +++ b/src/sdk/events.ts @@ -0,0 +1,155 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { encodeFormQuery as encodeFormQuery$ } from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; +import * as z from "zod"; + +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( + request: operations.GetPanoraCoreEventsRequest, + options?: RequestOptions + ): Promise { + const input$ = typeof request === "undefined" ? {} : request; + 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$({ + limit: payload$.limit, + page: payload$.page, + }); + + let security$; + if (typeof this.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .json(200, z.number()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/fieldmappings.ts b/src/sdk/fieldmappings.ts new file mode 100644 index 000000000..f1314a4ea --- /dev/null +++ b/src/sdk/fieldmappings.ts @@ -0,0 +1,449 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; +import * as z from "zod"; + +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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve Custom Properties + */ + async getCustomProviderProperties( + request: operations.GetCustomProviderPropertiesRequest, + 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.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/filestoragedrive.ts b/src/sdk/filestoragedrive.ts new file mode 100644 index 000000000..3f92aa158 --- /dev/null +++ b/src/sdk/filestoragedrive.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetDrivesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetDrivesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Drive + * + * @remarks + * Create a drive in any supported Filestorage software + */ + async addDrive( + request: operations.AddDriveRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddDriveResponse$) + .json(201, operations.AddDriveResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Drive + * + * @remarks + * Retrieve a drive from any connected Filestorage software + */ + async getDrive( + request: operations.GetDriveRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetDriveResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/filestoragefile.ts b/src/sdk/filestoragefile.ts new file mode 100644 index 000000000..e1f1abd6f --- /dev/null +++ b/src/sdk/filestoragefile.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetFilesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetFilesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a File + * + * @remarks + * Create a file in any supported Filestorage software + */ + async addFile( + request: operations.AddFileRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddFileResponse$) + .json(201, operations.AddFileResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a File + * + * @remarks + * Retrieve a file from any connected Filestorage software + */ + async getFile( + request: operations.GetFileRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetFileResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/filestoragefolder.ts b/src/sdk/filestoragefolder.ts new file mode 100644 index 000000000..15d7c8ba8 --- /dev/null +++ b/src/sdk/filestoragefolder.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetFoldersRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetFoldersResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Folder + * + * @remarks + * Create a folder in any supported Filestorage software + */ + async addFolder( + request: operations.AddFolderRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddFolderResponse$) + .json(201, operations.AddFolderResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Folder + * + * @remarks + * Retrieve a folder from any connected Filestorage software + */ + async getFolder( + request: operations.GetFolderRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetFolderResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/filestoragepermission.ts b/src/sdk/filestoragepermission.ts new file mode 100644 index 000000000..9d3286c2c --- /dev/null +++ b/src/sdk/filestoragepermission.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetPermissionsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetPermissionsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Permission + * + * @remarks + * Create a permission in any supported Filestorage software + */ + async addPermission( + request: operations.AddPermissionRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddPermissionResponse$) + .json(201, operations.AddPermissionResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Permission + * + * @remarks + * Retrieve a permission from any connected Filestorage software + */ + async getPermission( + request: operations.GetPermissionRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetPermissionResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/filestoragesharedlink.ts b/src/sdk/filestoragesharedlink.ts new file mode 100644 index 000000000..aae1a37d7 --- /dev/null +++ b/src/sdk/filestoragesharedlink.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetSharedlinksRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetSharedlinksResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Sharedlink + * + * @remarks + * Create a sharedlink in any supported Filestorage software + */ + async addSharedlink( + request: operations.AddSharedlinkRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddSharedlinkResponse$) + .json(201, operations.AddSharedlinkResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Sharedlink + * + * @remarks + * Retrieve a sharedlink from any connected Filestorage software + */ + async getSharedlink( + request: operations.GetSharedlinkRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetSharedlinkResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hrisbankinfo.ts b/src/sdk/hrisbankinfo.ts new file mode 100644 index 000000000..dec44a917 --- /dev/null +++ b/src/sdk/hrisbankinfo.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetBankinfosRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetBankinfosResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Bankinfo + * + * @remarks + * Create a bankinfo in any supported Hris software + */ + async addBankinfo( + request: operations.AddBankinfoRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddBankinfoResponse$) + .json(201, operations.AddBankinfoResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Bankinfo + * + * @remarks + * Retrieve a bankinfo from any connected Hris software + */ + async getBankinfo( + request: operations.GetBankinfoRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetBankinfoResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hrisbenefit.ts b/src/sdk/hrisbenefit.ts new file mode 100644 index 000000000..5f32ae781 --- /dev/null +++ b/src/sdk/hrisbenefit.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetBenefitsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetBenefitsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Benefit + * + * @remarks + * Create a benefit in any supported Hris software + */ + async addBenefit( + request: operations.AddBenefitRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddBenefitResponse$) + .json(201, operations.AddBenefitResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Benefit + * + * @remarks + * Retrieve a benefit from any connected Hris software + */ + async getBenefit( + request: operations.GetBenefitRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetBenefitResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hriscompany.ts b/src/sdk/hriscompany.ts new file mode 100644 index 000000000..d52fd1551 --- /dev/null +++ b/src/sdk/hriscompany.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetCompanysRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCompanysResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Company + * + * @remarks + * Create a company in any supported Hris software + */ + async addHrisCompany( + request: operations.AddHrisCompanyRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddHrisCompanyResponse$) + .json(201, operations.AddHrisCompanyResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Company + * + * @remarks + * Retrieve a company from any connected Hris software + */ + async getHrisCompany( + request: operations.GetHrisCompanyRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetHrisCompanyResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hrisdependent.ts b/src/sdk/hrisdependent.ts new file mode 100644 index 000000000..f744df67f --- /dev/null +++ b/src/sdk/hrisdependent.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetDependentsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetDependentsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Dependent + * + * @remarks + * Create a dependent in any supported Hris software + */ + async addDependent( + request: operations.AddDependentRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddDependentResponse$) + .json(201, operations.AddDependentResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Dependent + * + * @remarks + * Retrieve a dependent from any connected Hris software + */ + async getDependent( + request: operations.GetDependentRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetDependentResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hrisemployee.ts b/src/sdk/hrisemployee.ts new file mode 100644 index 000000000..1542ac05b --- /dev/null +++ b/src/sdk/hrisemployee.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetEmployeesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEmployeesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Employee + * + * @remarks + * Create a employee in any supported Hris software + */ + async addEmployee( + request: operations.AddEmployeeRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddEmployeeResponse$) + .json(201, operations.AddEmployeeResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Employee + * + * @remarks + * Retrieve a employee from any connected Hris software + */ + async getEmployee( + request: operations.GetEmployeeRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEmployeeResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hrisemployeepayrollrun.ts b/src/sdk/hrisemployeepayrollrun.ts new file mode 100644 index 000000000..57af88a84 --- /dev/null +++ b/src/sdk/hrisemployeepayrollrun.ts @@ -0,0 +1,264 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetEmployeePayrollRunsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEmployeePayrollRunsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a EmployeePayrollRun + * + * @remarks + * Create a employeepayrollrun in any supported Hris software + */ + async addEmployeePayrollRun( + request: operations.AddEmployeePayrollRunRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddEmployeePayrollRunResponse$) + .json(201, operations.AddEmployeePayrollRunResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a EmployeePayrollRun + * + * @remarks + * Retrieve a employeepayrollrun from any connected Hris software + */ + async getEmployeePayrollRun( + request: operations.GetEmployeePayrollRunRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEmployeePayrollRunResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hrisemployerbenefit.ts b/src/sdk/hrisemployerbenefit.ts new file mode 100644 index 000000000..d0376901f --- /dev/null +++ b/src/sdk/hrisemployerbenefit.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetEmployerBenefitsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEmployerBenefitsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a EmployerBenefit + * + * @remarks + * Create a employerbenefit in any supported Hris software + */ + async addEmployerBenefit( + request: operations.AddEmployerBenefitRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddEmployerBenefitResponse$) + .json(201, operations.AddEmployerBenefitResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a EmployerBenefit + * + * @remarks + * Retrieve a employerbenefit from any connected Hris software + */ + async getEmployerBenefit( + request: operations.GetEmployerBenefitRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEmployerBenefitResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hrisemployment.ts b/src/sdk/hrisemployment.ts new file mode 100644 index 000000000..44e5f07af --- /dev/null +++ b/src/sdk/hrisemployment.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetEmploymentsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEmploymentsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Employment + * + * @remarks + * Create a employment in any supported Hris software + */ + async addEmployment( + request: operations.AddEmploymentRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddEmploymentResponse$) + .json(201, operations.AddEmploymentResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Employment + * + * @remarks + * Retrieve a employment from any connected Hris software + */ + async getEmployment( + request: operations.GetEmploymentRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEmploymentResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hrisgroup.ts b/src/sdk/hrisgroup.ts new file mode 100644 index 000000000..80d9254eb --- /dev/null +++ b/src/sdk/hrisgroup.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetGroupsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetGroupsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Group + * + * @remarks + * Create a group in any supported Hris software + */ + async addGroup( + request: operations.AddGroupRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddGroupResponse$) + .json(201, operations.AddGroupResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Group + * + * @remarks + * Retrieve a group from any connected Hris software + */ + async getGroup( + request: operations.GetGroupRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetGroupResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hrislocation.ts b/src/sdk/hrislocation.ts new file mode 100644 index 000000000..723b3bd79 --- /dev/null +++ b/src/sdk/hrislocation.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetLocationsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetLocationsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Location + * + * @remarks + * Create a location in any supported Hris software + */ + async addLocation( + request: operations.AddLocationRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddLocationResponse$) + .json(201, operations.AddLocationResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Location + * + * @remarks + * Retrieve a location from any connected Hris software + */ + async getLocation( + request: operations.GetLocationRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetLocationResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hrispaygroup.ts b/src/sdk/hrispaygroup.ts new file mode 100644 index 000000000..de0096b46 --- /dev/null +++ b/src/sdk/hrispaygroup.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetPayGroupsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetPayGroupsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a PayGroup + * + * @remarks + * Create a paygroup in any supported Hris software + */ + async addPayGroup( + request: operations.AddPayGroupRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddPayGroupResponse$) + .json(201, operations.AddPayGroupResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a PayGroup + * + * @remarks + * Retrieve a paygroup from any connected Hris software + */ + async getPayGroup( + request: operations.GetPayGroupRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetPayGroupResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hrispayrollrun.ts b/src/sdk/hrispayrollrun.ts new file mode 100644 index 000000000..5cd7a04ea --- /dev/null +++ b/src/sdk/hrispayrollrun.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetPayrollRunsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetPayrollRunsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a PayrollRun + * + * @remarks + * Create a payrollrun in any supported Hris software + */ + async addPayrollRun( + request: operations.AddPayrollRunRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddPayrollRunResponse$) + .json(201, operations.AddPayrollRunResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a PayrollRun + * + * @remarks + * Retrieve a payrollrun from any connected Hris software + */ + async getPayrollRun( + request: operations.GetPayrollRunRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetPayrollRunResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hristimeoff.ts b/src/sdk/hristimeoff.ts new file mode 100644 index 000000000..d28f32410 --- /dev/null +++ b/src/sdk/hristimeoff.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTimeoffsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTimeoffsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Timeoff + * + * @remarks + * Create a timeoff in any supported Hris software + */ + async addTimeoff( + request: operations.AddTimeoffRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddTimeoffResponse$) + .json(201, operations.AddTimeoffResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Timeoff + * + * @remarks + * Retrieve a timeoff from any connected Hris software + */ + async getTimeoff( + request: operations.GetTimeoffRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTimeoffResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/hristimeoffbalance.ts b/src/sdk/hristimeoffbalance.ts new file mode 100644 index 000000000..6743bfcb7 --- /dev/null +++ b/src/sdk/hristimeoffbalance.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTimeoffBalancesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTimeoffBalancesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a TimeoffBalance + * + * @remarks + * Create a timeoffbalance in any supported Hris software + */ + async addTimeoffBalance( + request: operations.AddTimeoffBalanceRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddTimeoffBalanceResponse$) + .json(201, operations.AddTimeoffBalanceResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a TimeoffBalance + * + * @remarks + * Retrieve a timeoffbalance from any connected Hris software + */ + async getTimeoffBalance( + request: operations.GetTimeoffBalanceRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTimeoffBalanceResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/index.ts b/src/sdk/index.ts new file mode 100644 index 000000000..34a84fc27 --- /dev/null +++ b/src/sdk/index.ts @@ -0,0 +1,5 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +export * from "./sdk.js"; diff --git a/src/sdk/linkedusers.ts b/src/sdk/linkedusers.ts new file mode 100644 index 000000000..9d2750eaa --- /dev/null +++ b/src/sdk/linkedusers.ts @@ -0,0 +1,348 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; +import * as z from "zod"; + +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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Linked User + */ + async getLinkedUser( + request: operations.GetLinkedUserRequest, + 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.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Linked User From A Remote Id + */ + async linkedUserFromRemoteId( + request: operations.LinkedUserFromRemoteIdRequest, + 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.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/magiclinks.ts b/src/sdk/magiclinks.ts new file mode 100644 index 000000000..0238c48cc --- /dev/null +++ b/src/sdk/magiclinks.ts @@ -0,0 +1,221 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; +import * as z from "zod"; + +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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Magic Link + */ + async getMagicLink( + request: operations.GetMagicLinkRequest, + 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.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/managedwebhooks.ts b/src/sdk/managedwebhooks.ts new file mode 100644 index 000000000..b91b8445f --- /dev/null +++ b/src/sdk/managedwebhooks.ts @@ -0,0 +1,303 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { encodeJSON as encodeJSON$, encodeSimple as encodeSimple$ } from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; +import * as z from "zod"; + +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( + request: operations.GetManagedWebhooksRequest, + 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.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Update managed webhook status + */ + async updateManagedWebhooksStatus( + request: operations.UpdateManagedWebhooksStatusRequest, + 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.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/marketingautomationaction.ts b/src/sdk/marketingautomationaction.ts new file mode 100644 index 000000000..30de32b52 --- /dev/null +++ b/src/sdk/marketingautomationaction.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetActionsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetActionsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Action + * + * @remarks + * Create a action in any supported Marketingautomation software + */ + async addAction( + request: operations.AddActionRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddActionResponse$) + .json(201, operations.AddActionResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Action + * + * @remarks + * Retrieve a action from any connected Marketingautomation software + */ + async getAction( + request: operations.GetActionRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetActionResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/marketingautomationautomation.ts b/src/sdk/marketingautomationautomation.ts new file mode 100644 index 000000000..83604d6e5 --- /dev/null +++ b/src/sdk/marketingautomationautomation.ts @@ -0,0 +1,264 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetAutomationsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAutomationsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Automation + * + * @remarks + * Create a automation in any supported Marketingautomation software + */ + async addAutomation( + request: operations.AddAutomationRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddAutomationResponse$) + .json(201, operations.AddAutomationResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Automation + * + * @remarks + * Retrieve a automation from any connected Marketingautomation software + */ + async getAutomation( + request: operations.GetAutomationRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetAutomationResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/marketingautomationcampaign.ts b/src/sdk/marketingautomationcampaign.ts new file mode 100644 index 000000000..34fc6c292 --- /dev/null +++ b/src/sdk/marketingautomationcampaign.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetCampaignsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCampaignsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Campaign + * + * @remarks + * Create a campaign in any supported Marketingautomation software + */ + async addCampaign( + request: operations.AddCampaignRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddCampaignResponse$) + .json(201, operations.AddCampaignResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Campaign + * + * @remarks + * Retrieve a campaign from any connected Marketingautomation software + */ + async getCampaign( + request: operations.GetCampaignRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCampaignResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/marketingautomationcontact.ts b/src/sdk/marketingautomationcontact.ts new file mode 100644 index 000000000..fae933fd1 --- /dev/null +++ b/src/sdk/marketingautomationcontact.ts @@ -0,0 +1,266 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetMarketingAutomationContactsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = + await this.matcher() + .json(200, operations.GetMarketingAutomationContactsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Contact + * + * @remarks + * Create a contact in any supported Marketingautomation software + */ + async addMarketingAutomationContact( + request: operations.AddMarketingAutomationContactRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddMarketingAutomationContactResponse$) + .json(201, operations.AddMarketingAutomationContactResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Contact + * + * @remarks + * Retrieve a contact from any connected Marketingautomation software + */ + async getMarketingAutomationContact( + request: operations.GetMarketingAutomationContactRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetMarketingAutomationContactResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/marketingautomationemail.ts b/src/sdk/marketingautomationemail.ts new file mode 100644 index 000000000..fd7cdb481 --- /dev/null +++ b/src/sdk/marketingautomationemail.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetEmailsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEmailsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Email + * + * @remarks + * Create a email in any supported Marketingautomation software + */ + async addEmail( + request: operations.AddEmailRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddEmailResponse$) + .json(201, operations.AddEmailResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Email + * + * @remarks + * Retrieve a email from any connected Marketingautomation software + */ + async getEmail( + request: operations.GetEmailRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEmailResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/marketingautomationevent.ts b/src/sdk/marketingautomationevent.ts new file mode 100644 index 000000000..3ce66bb0c --- /dev/null +++ b/src/sdk/marketingautomationevent.ts @@ -0,0 +1,263 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetMarketingAutomationEventsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetMarketingAutomationEventsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Event + * + * @remarks + * Create a event in any supported Marketingautomation software + */ + async addEvent( + request: operations.AddEventRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddEventResponse$) + .json(201, operations.AddEventResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Event + * + * @remarks + * Retrieve a event from any connected Marketingautomation software + */ + async getEvent( + request: operations.GetEventRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetEventResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/marketingautomationlist.ts b/src/sdk/marketingautomationlist.ts new file mode 100644 index 000000000..dac53441a --- /dev/null +++ b/src/sdk/marketingautomationlist.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetListsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetListsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a List + * + * @remarks + * Create a list in any supported Marketingautomation software + */ + async addList( + request: operations.AddListRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddListResponse$) + .json(201, operations.AddListResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a List + * + * @remarks + * Retrieve a list from any connected Marketingautomation software + */ + async getList( + request: operations.GetListRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetListResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/marketingautomationmessage.ts b/src/sdk/marketingautomationmessage.ts new file mode 100644 index 000000000..8b32eb0a2 --- /dev/null +++ b/src/sdk/marketingautomationmessage.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetMessagesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetMessagesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Message + * + * @remarks + * Create a message in any supported Marketingautomation software + */ + async addMessage( + request: operations.AddMessageRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddMessageResponse$) + .json(201, operations.AddMessageResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Message + * + * @remarks + * Retrieve a message from any connected Marketingautomation software + */ + async getMessage( + request: operations.GetMessageRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetMessageResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/marketingautomationtemplate.ts b/src/sdk/marketingautomationtemplate.ts new file mode 100644 index 000000000..167589267 --- /dev/null +++ b/src/sdk/marketingautomationtemplate.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTemplatesRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTemplatesResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Template + * + * @remarks + * Create a template in any supported Marketingautomation software + */ + async addTemplate( + request: operations.AddTemplateRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddTemplateResponse$) + .json(201, operations.AddTemplateResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Template + * + * @remarks + * Retrieve a template from any connected Marketingautomation software + */ + async getTemplate( + request: operations.GetTemplateRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTemplateResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/marketingautomationuser.ts b/src/sdk/marketingautomationuser.ts new file mode 100644 index 000000000..4b6afc5fa --- /dev/null +++ b/src/sdk/marketingautomationuser.ts @@ -0,0 +1,262 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetMarketingAutomationUsersRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetMarketingAutomationUsersResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a User + * + * @remarks + * Create a user in any supported Marketingautomation software + */ + async addMarketingAutomationUser( + request: operations.AddMarketingAutomationUserRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddMarketingAutomationUserResponse$) + .json(201, operations.AddMarketingAutomationUserResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a User + * + * @remarks + * Retrieve a user from any connected Marketingautomation software + */ + async getMarketingAutomationUser( + request: operations.GetMarketingAutomationUserRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetMarketingAutomationUserResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/mw.ts b/src/sdk/mw.ts new file mode 100644 index 000000000..8dfb0845c --- /dev/null +++ b/src/sdk/mw.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { encodeSimple as encodeSimple$ } from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; +import * as z from "zod"; + +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( + request: operations.HandleThirdPartyWebhookRequest, + 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.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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/organisations.ts b/src/sdk/organisations.ts new file mode 100644 index 000000000..44597041f --- /dev/null +++ b/src/sdk/organisations.ts @@ -0,0 +1,153 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { encodeJSON as encodeJSON$ } from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as z from "zod"; + +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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/passthrough.ts b/src/sdk/passthrough.ts new file mode 100644 index 000000000..fbe8b00db --- /dev/null +++ b/src/sdk/passthrough.ts @@ -0,0 +1,110 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.PassthroughRequestRequest, + 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", "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 [result$] = await this.matcher() + .json([200, 201], components.PassThroughResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/projectconnectors.ts b/src/sdk/projectconnectors.ts new file mode 100644 index 000000000..1adfab5d1 --- /dev/null +++ b/src/sdk/projectconnectors.ts @@ -0,0 +1,172 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; +import * as z from "zod"; + +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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve connectors by Project Id + */ + async getConnectorsFromProject( + request: operations.GetConnectorsFromProjectRequest, + 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.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/projects.ts b/src/sdk/projects.ts new file mode 100644 index 000000000..a4dd8c285 --- /dev/null +++ b/src/sdk/projects.ts @@ -0,0 +1,153 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { encodeJSON as encodeJSON$ } from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as z from "zod"; + +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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts new file mode 100644 index 000000000..3c30fcef9 --- /dev/null +++ b/src/sdk/sdk.ts @@ -0,0 +1,768 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { HTTPClient } from "../lib/http.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { AccountingAccount } from "./accountingaccount.js"; +import { AccountingAddress } from "./accountingaddress.js"; +import { AccountingAttachment } from "./accountingattachment.js"; +import { AccountingBalancesheet } from "./accountingbalancesheet.js"; +import { AccountingCashflowstatement } from "./accountingcashflowstatement.js"; +import { AccountingCompanyinfo } from "./accountingcompanyinfo.js"; +import { AccountingContact } from "./accountingcontact.js"; +import { AccountingCreditnote } from "./accountingcreditnote.js"; +import { AccountingExpense } from "./accountingexpense.js"; +import { AccountingIncomestatement } from "./accountingincomestatement.js"; +import { AccountingInvoice } from "./accountinginvoice.js"; +import { AccountingItem } from "./accountingitem.js"; +import { AccountingJournalentry } from "./accountingjournalentry.js"; +import { AccountingPayment } from "./accountingpayment.js"; +import { AccountingPhonenumber } from "./accountingphonenumber.js"; +import { AccountingPurchaseorder } from "./accountingpurchaseorder.js"; +import { AccountingTaxrate } from "./accountingtaxrate.js"; +import { AccountingTrackingcategory } from "./accountingtrackingcategory.js"; +import { AccountingTransaction } from "./accountingtransaction.js"; +import { AccountingVendorcredit } from "./accountingvendorcredit.js"; +import { AtsActivity } from "./atsactivity.js"; +import { AtsApplication } from "./atsapplication.js"; +import { AtsAttachment } from "./atsattachment.js"; +import { AtsCandidate } from "./atscandidate.js"; +import { AtsDepartment } from "./atsdepartment.js"; +import { AtsEeocs } from "./atseeocs.js"; +import { AtsInterview } from "./atsinterview.js"; +import { AtsJob } from "./atsjob.js"; +import { AtsJobinterviewstage } from "./atsjobinterviewstage.js"; +import { AtsOffer } from "./atsoffer.js"; +import { AtsOffice } from "./atsoffice.js"; +import { AtsRejectreason } from "./atsrejectreason.js"; +import { AtsScorecard } from "./atsscorecard.js"; +import { AtsScreeningquestion } from "./atsscreeningquestion.js"; +import { AtsTag } from "./atstag.js"; +import { AtsUser } from "./atsuser.js"; +import { Auth } from "./auth.js"; +import { Connections } from "./connections.js"; +import { ConnectionsStrategies } from "./connectionsstrategies.js"; +import { CrmCompanies } from "./crmcompanies.js"; +import { CrmContacts } from "./crmcontacts.js"; +import { CrmDeals } from "./crmdeals.js"; +import { CrmEngagements } from "./crmengagements.js"; +import { CrmNotes } from "./crmnotes.js"; +import { CrmStages } from "./crmstages.js"; +import { CrmTasks } from "./crmtasks.js"; +import { CrmUsers } from "./crmusers.js"; +import { Events } from "./events.js"; +import { FieldMappings } from "./fieldmappings.js"; +import { FilestorageDrive } from "./filestoragedrive.js"; +import { FilestorageFile } from "./filestoragefile.js"; +import { FilestorageFolder } from "./filestoragefolder.js"; +import { FilestoragePermission } from "./filestoragepermission.js"; +import { FilestorageSharedlink } from "./filestoragesharedlink.js"; +import { HrisBankinfo } from "./hrisbankinfo.js"; +import { HrisBenefit } from "./hrisbenefit.js"; +import { HrisCompany } from "./hriscompany.js"; +import { HrisDependent } from "./hrisdependent.js"; +import { HrisEmployee } from "./hrisemployee.js"; +import { HrisEmployeepayrollrun } from "./hrisemployeepayrollrun.js"; +import { HrisEmployerbenefit } from "./hrisemployerbenefit.js"; +import { HrisEmployment } from "./hrisemployment.js"; +import { HrisGroup } from "./hrisgroup.js"; +import { HrisLocation } from "./hrislocation.js"; +import { HrisPaygroup } from "./hrispaygroup.js"; +import { HrisPayrollrun } from "./hrispayrollrun.js"; +import { HrisTimeoff } from "./hristimeoff.js"; +import { HrisTimeoffbalance } from "./hristimeoffbalance.js"; +import { LinkedUsers } from "./linkedusers.js"; +import { MagicLinks } from "./magiclinks.js"; +import { ManagedWebhooks } from "./managedwebhooks.js"; +import { MarketingautomationAction } from "./marketingautomationaction.js"; +import { MarketingautomationAutomation } from "./marketingautomationautomation.js"; +import { MarketingautomationCampaign } from "./marketingautomationcampaign.js"; +import { MarketingautomationContact } from "./marketingautomationcontact.js"; +import { MarketingautomationEmail } from "./marketingautomationemail.js"; +import { MarketingautomationEvent } from "./marketingautomationevent.js"; +import { MarketingautomationList } from "./marketingautomationlist.js"; +import { MarketingautomationMessage } from "./marketingautomationmessage.js"; +import { MarketingautomationTemplate } from "./marketingautomationtemplate.js"; +import { MarketingautomationUser } from "./marketingautomationuser.js"; +import { Mw } from "./mw.js"; +import { Organisations } from "./organisations.js"; +import { Passthrough } from "./passthrough.js"; +import { ProjectConnectors } from "./projectconnectors.js"; +import { Projects } from "./projects.js"; +import { Syncs } from "./syncs.js"; +import { TicketingAccounts } from "./ticketingaccounts.js"; +import { TicketingAttachments } from "./ticketingattachments.js"; +import { TicketingCollections } from "./ticketingcollections.js"; +import { TicketingComments } from "./ticketingcomments.js"; +import { TicketingContacts } from "./ticketingcontacts.js"; +import { TicketingTags } from "./ticketingtags.js"; +import { TicketingTeams } from "./ticketingteams.js"; +import { TicketingTickets } from "./ticketingtickets.js"; +import { TicketingUsers } from "./ticketingusers.js"; +import { Webhook } from "./webhook.js"; +import * as z from "zod"; + +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 appControllerHello(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: "AppController_hello", + 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 [result$] = await this.matcher() + .json(200, z.string()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .json(200, z.number()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .json(200, z.string()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/syncs.ts b/src/sdk/syncs.ts new file mode 100644 index 000000000..ca17c53ec --- /dev/null +++ b/src/sdk/syncs.ts @@ -0,0 +1,173 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { encodeSimple as encodeSimple$ } from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; +import * as z from "zod"; + +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( + request: operations.GetSyncStatusRequest, + 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.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Resync common objects across a vertical + */ + async resync(request: operations.ResyncRequest, 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.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/ticketingaccounts.ts b/src/sdk/ticketingaccounts.ts new file mode 100644 index 000000000..e8fdb0198 --- /dev/null +++ b/src/sdk/ticketingaccounts.ts @@ -0,0 +1,186 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTicketingAccountsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetTicketingAccountsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve an Account + * + * @remarks + * Retrieve an account from any connected Ticketing software + */ + async getTicketingAccount( + request: operations.GetTicketingAccountRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTicketingAccountResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/ticketingattachments.ts b/src/sdk/ticketingattachments.ts new file mode 100644 index 000000000..8b21b6c73 --- /dev/null +++ b/src/sdk/ticketingattachments.ts @@ -0,0 +1,336 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTicketingAttachmentsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetTicketingAttachmentsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Attachment + * + * @remarks + * Create a attachment in any supported Ticketing software + */ + async addTicketingAttachment( + request: operations.AddTicketingAttachmentRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddTicketingAttachmentResponse$) + .json(201, operations.AddTicketingAttachmentResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Attachment + * + * @remarks + * Retrieve a attachment from any connected Ticketing software + */ + async getTicketingAttachment( + request: operations.GetTicketingAttachmentRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTicketingAttachmentResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Download a Attachment + * + * @remarks + * Download a attachment from any connected Ticketing software + */ + async downloadAttachment( + request: operations.DownloadAttachmentRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.DownloadAttachmentResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/ticketingcollections.ts b/src/sdk/ticketingcollections.ts new file mode 100644 index 000000000..70ea34513 --- /dev/null +++ b/src/sdk/ticketingcollections.ts @@ -0,0 +1,186 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetCollectionsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetCollectionsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Collection + * + * @remarks + * Retrieve a collection from any connected Ticketing software + */ + async getCollection( + request: operations.GetCollectionRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCollectionResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/ticketingcomments.ts b/src/sdk/ticketingcomments.ts new file mode 100644 index 000000000..786bea3f0 --- /dev/null +++ b/src/sdk/ticketingcomments.ts @@ -0,0 +1,264 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetCommentsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetCommentsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Comment + * + * @remarks + * Create a comment in any supported Ticketing software + */ + async addComment( + request: operations.AddCommentRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddCommentResponse$) + .json(201, operations.AddCommentResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Comment + * + * @remarks + * Retrieve a comment from any connected Ticketing software + */ + async getComment( + request: operations.GetCommentRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetCommentResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/ticketingcontacts.ts b/src/sdk/ticketingcontacts.ts new file mode 100644 index 000000000..ccdd8bc7d --- /dev/null +++ b/src/sdk/ticketingcontacts.ts @@ -0,0 +1,186 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTicketingContactsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetTicketingContactsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Contact + * + * @remarks + * Retrieve a contact from any connected Ticketing software + */ + async getTicketingContact( + request: operations.GetTicketingContactRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTicketingContactResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/ticketingtags.ts b/src/sdk/ticketingtags.ts new file mode 100644 index 000000000..fa84dc061 --- /dev/null +++ b/src/sdk/ticketingtags.ts @@ -0,0 +1,186 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTicketingTagsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetTicketingTagsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Tag + * + * @remarks + * Retrieve a tag from any connected Ticketing software + */ + async getTicketingTag( + request: operations.GetTicketingTagRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTicketingTagResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/ticketingteams.ts b/src/sdk/ticketingteams.ts new file mode 100644 index 000000000..bfb5878a6 --- /dev/null +++ b/src/sdk/ticketingteams.ts @@ -0,0 +1,186 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTeamsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetTeamsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Team + * + * @remarks + * Retrieve a team from any connected Ticketing software + */ + async getTeam( + request: operations.GetTeamRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTeamResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/ticketingtickets.ts b/src/sdk/ticketingtickets.ts new file mode 100644 index 000000000..f38c22e40 --- /dev/null +++ b/src/sdk/ticketingtickets.ts @@ -0,0 +1,264 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeJSON as encodeJSON$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTicketsRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetTicketsResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Create a Ticket + * + * @remarks + * Create a ticket in any supported Ticketing software + */ + async addTicket( + request: operations.AddTicketRequest, + 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", "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 [result$] = await this.matcher() + .json(200, operations.AddTicketResponse$) + .json(201, operations.AddTicketResponse$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a Ticket + * + * @remarks + * Retrieve a ticket from any connected Ticketing software + */ + async getTicket( + request: operations.GetTicketRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTicketResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/ticketingusers.ts b/src/sdk/ticketingusers.ts new file mode 100644 index 000000000..c895b6a51 --- /dev/null +++ b/src/sdk/ticketingusers.ts @@ -0,0 +1,186 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { + encodeFormQuery as encodeFormQuery$, + encodeSimple as encodeSimple$, +} from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as operations from "../models/operations/index.js"; + +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( + request: operations.GetTicketingUsersRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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, + limit: payload$.limit, + 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 [result$] = await this.matcher() + .json(200, operations.GetTicketingUsersResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Retrieve a User + * + * @remarks + * Retrieve a user from any connected Ticketing software + */ + async getTicketingUser( + request: operations.GetTicketingUserRequest, + options?: RequestOptions + ): Promise { + const input$ = request; + 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 [result$] = await this.matcher() + .json(200, operations.GetTicketingUserResponseBody$) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } +} diff --git a/src/sdk/webhook.ts b/src/sdk/webhook.ts new file mode 100644 index 000000000..9031c34da --- /dev/null +++ b/src/sdk/webhook.ts @@ -0,0 +1,347 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SDKHooks } from "../hooks/hooks.js"; +import { SDK_METADATA, SDKOptions, serverURLFromOptions } from "../lib/config.js"; +import { encodeJSON as encodeJSON$, encodeSimple as encodeSimple$ } from "../lib/encodings.js"; +import { HTTPClient } from "../lib/http.js"; +import * as schemas$ from "../lib/schemas.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; +import * as z from "zod"; + +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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Delete Webhook + */ + async deleteWebhook( + request: operations.DeleteWebhookRequest, + 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.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 [result$] = await this.matcher() + .void([200, 201], z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + return result$; + } + + /** + * Update webhook status + */ + async updateWebhookStatus( + request: operations.UpdateWebhookStatusRequest, + 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.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 [result$] = await this.matcher() + .void(200, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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 [result$] = await this.matcher() + .void(201, z.void()) + .fail(["4XX", "5XX"]) + .match(response); + + 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..374373e9b --- /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.js"; +export { blobLikeSchema, isBlobLike } from "./blobs.js"; +export type { Paginator, PageIterator } from "./operations.js"; +export { createPageIterator } from "./operations.js"; +export { catchUnrecognizedEnum } from "./enums.js"; +export type { OpenEnum, ClosedEnum, Unrecognized } from "./enums.js"; 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"] +}