From e2b72817b125ff920f38259437f6c90fda55d298 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 2 Aug 2024 01:02:44 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.351.3 --- .speakeasy/gen.lock | 185 +- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 12 +- RELEASES.md | 12 +- codeSamples.yaml | 1650 ++++++++--------- docs/models/components/comment.md | 17 + docs/models/components/createdat.md | 2 + docs/models/components/customfieldresponse.md | 21 + docs/models/components/data.md | 16 +- docs/models/components/eventpayload.md | 7 - docs/models/components/fieldmappings.md | 7 - docs/models/components/linkeduserresponse.md | 11 + .../components/mapfieldtoproviderdto.md | 8 +- docs/models/components/modifiedat.md | 2 + .../components/{headers.md => numbert.md} | 2 +- .../components/passthroughrequestdto.md | 12 +- docs/models/components/payload.md | 9 - docs/models/components/resyncstatusdto.md | 11 + .../components/signatureverificationdto.md | 10 +- .../components/{remotedata.md => string.md} | 2 +- .../components/unifiedatsactivityinput.md | 18 +- .../unifiedatsactivityinputfieldmappings.md | 7 - .../components/unifiedatsactivityoutput.md | 28 +- .../unifiedatsactivityoutputcreatedat.md | 7 - .../unifiedatsactivityoutputfieldmappings.md | 7 - .../unifiedatsactivityoutputmodifiedat.md | 7 - .../unifiedatsactivityoutputremotedata.md | 7 - .../components/unifiedatsapplicationinput.md | 24 +- ...unifiedatsapplicationinputfieldmappings.md | 7 - .../components/unifiedatsapplicationoutput.md | 36 +- .../unifiedatsapplicationoutputcreatedat.md | 7 - ...nifiedatsapplicationoutputfieldmappings.md | 7 - .../unifiedatsapplicationoutputmodifiedat.md | 7 - .../unifiedatsapplicationoutputremotedata.md | 7 - .../components/unifiedatsattachmentinput.md | 18 +- .../unifiedatsattachmentinputfieldmappings.md | 7 - .../components/unifiedatsattachmentoutput.md | 28 +- .../unifiedatsattachmentoutputcreatedat.md | 7 - ...unifiedatsattachmentoutputfieldmappings.md | 7 - .../unifiedatsattachmentoutputmodifiedat.md | 7 - .../unifiedatsattachmentoutputremotedata.md | 7 - .../components/unifiedatscandidateinput.md | 38 +- .../unifiedatscandidateinputfieldmappings.md | 7 - .../components/unifiedatscandidateoutput.md | 48 +- .../unifiedatscandidateoutputcreatedat.md | 7 - .../unifiedatscandidateoutputfieldmappings.md | 7 - .../unifiedatscandidateoutputmodifiedat.md | 7 - .../unifiedatscandidateoutputremotedata.md | 7 - .../components/unifiedatsdepartmentoutput.md | 18 +- .../unifiedatsdepartmentoutputcreatedat.md | 7 - ...unifiedatsdepartmentoutputfieldmappings.md | 7 - .../unifiedatsdepartmentoutputmodifiedat.md | 7 - .../unifiedatsdepartmentoutputremotedata.md | 7 - .../components/unifiedatseeocsoutput.md | 28 +- .../unifiedatseeocsoutputcreatedat.md | 7 - .../unifiedatseeocsoutputfieldmappings.md | 7 - .../unifiedatseeocsoutputmodifiedat.md | 7 - .../unifiedatseeocsoutputremotedata.md | 7 - .../components/unifiedatsinterviewinput.md | 26 +- .../unifiedatsinterviewinputfieldmappings.md | 7 - .../components/unifiedatsinterviewoutput.md | 36 +- .../unifiedatsinterviewoutputcreatedat.md | 7 - .../unifiedatsinterviewoutputfieldmappings.md | 7 - .../unifiedatsinterviewoutputmodifiedat.md | 7 - .../unifiedatsinterviewoutputremotedata.md | 7 - .../unifiedatsjobinterviewstageoutput.md | 22 +- ...fiedatsjobinterviewstageoutputcreatedat.md | 7 - ...atsjobinterviewstageoutputfieldmappings.md | 7 - ...iedatsjobinterviewstageoutputmodifiedat.md | 7 - ...iedatsjobinterviewstageoutputremotedata.md | 7 - docs/models/components/unifiedatsjoboutput.md | 40 +- .../unifiedatsjoboutputcreatedat.md | 7 - .../unifiedatsjoboutputfieldmappings.md | 7 - .../unifiedatsjoboutputmodifiedat.md | 7 - .../unifiedatsjoboutputremotedata.md | 7 - .../components/unifiedatsofferoutput.md | 30 +- .../unifiedatsofferoutputcreatedat.md | 2 + .../unifiedatsofferoutputfieldmappings.md | 7 - .../unifiedatsofferoutputmodifiedat.md | 2 + .../unifiedatsofferoutputremotedata.md | 7 - .../components/unifiedatsofficeoutput.md | 20 +- .../unifiedatsofficeoutputcreatedat.md | 7 - .../unifiedatsofficeoutputfieldmappings.md | 7 - .../unifiedatsofficeoutputmodifiedat.md | 7 - .../unifiedatsofficeoutputremotedata.md | 7 - .../unifiedatsrejectreasonoutput.md | 18 +- .../unifiedatsrejectreasonoutputcreatedat.md | 7 - ...ifiedatsrejectreasonoutputfieldmappings.md | 7 - .../unifiedatsrejectreasonoutputmodifiedat.md | 7 - .../unifiedatsrejectreasonoutputremotedata.md | 7 - .../components/unifiedatsscorecardoutput.md | 26 +- .../unifiedatsscorecardoutputcreatedat.md | 7 - .../unifiedatsscorecardoutputfieldmappings.md | 7 - .../unifiedatsscorecardoutputmodifiedat.md | 7 - .../unifiedatsscorecardoutputremotedata.md | 7 - docs/models/components/unifiedatstagoutput.md | 20 +- .../unifiedatstagoutputfieldmappings.md | 7 - .../unifiedatstagoutputremotedata.md | 7 - .../models/components/unifiedatsuseroutput.md | 30 +- .../unifiedatsuseroutputcreatedat.md | 7 - .../unifiedatsuseroutputfieldmappings.md | 7 - .../unifiedatsuseroutputmodifiedat.md | 7 - .../unifiedatsuseroutputremotedata.md | 7 - .../components/unifiedcrmcompanyinput.md | 20 +- .../unifiedcrmcompanyinputfieldmappings.md | 7 - .../components/unifiedcrmcompanyoutput.md | 30 +- .../unifiedcrmcompanyoutputcreatedat.md | 7 - .../unifiedcrmcompanyoutputfieldmappings.md | 7 - .../unifiedcrmcompanyoutputmodifiedat.md | 7 - .../unifiedcrmcompanyoutputremotedata.md | 7 - .../components/unifiedcrmcontactinput.md | 18 +- .../unifiedcrmcontactinputfieldmappings.md | 7 - .../components/unifiedcrmcontactoutput.md | 28 +- .../unifiedcrmcontactoutputcreatedat.md | 7 - .../unifiedcrmcontactoutputfieldmappings.md | 7 - .../unifiedcrmcontactoutputmodifiedat.md | 7 - .../unifiedcrmcontactoutputremotedata.md | 7 - docs/models/components/unifiedcrmdealinput.md | 18 +- .../unifiedcrmdealinputfieldmappings.md | 7 - .../models/components/unifiedcrmdealoutput.md | 28 +- .../unifiedcrmdealoutputcreatedat.md | 7 - .../unifiedcrmdealoutputfieldmappings.md | 7 - .../unifiedcrmdealoutputmodifiedat.md | 7 - .../unifiedcrmdealoutputremotedata.md | 7 - .../components/unifiedcrmengagementinput.md | 24 +- .../unifiedcrmengagementinputfieldmappings.md | 7 - .../components/unifiedcrmengagementoutput.md | 34 +- .../unifiedcrmengagementoutputcreatedat.md | 7 - ...unifiedcrmengagementoutputfieldmappings.md | 7 - .../unifiedcrmengagementoutputmodifiedat.md | 7 - .../unifiedcrmengagementoutputremotedata.md | 7 - docs/models/components/unifiedcrmnoteinput.md | 16 +- .../unifiedcrmnoteinputfieldmappings.md | 7 - .../models/components/unifiedcrmnoteoutput.md | 26 +- .../unifiedcrmnoteoutputcreatedat.md | 7 - .../unifiedcrmnoteoutputfieldmappings.md | 7 - .../unifiedcrmnoteoutputmodifiedat.md | 7 - .../unifiedcrmnoteoutputremotedata.md | 7 - .../components/unifiedcrmstageoutput.md | 18 +- .../unifiedcrmstageoutputcreatedat.md | 2 + .../unifiedcrmstageoutputfieldmappings.md | 7 - .../unifiedcrmstageoutputmodifiedat.md | 2 + .../unifiedcrmstageoutputremotedata.md | 7 - docs/models/components/unifiedcrmtaskinput.md | 22 +- .../unifiedcrmtaskinputfieldmappings.md | 7 - .../models/components/unifiedcrmtaskoutput.md | 32 +- .../unifiedcrmtaskoutputcreatedat.md | 2 + .../unifiedcrmtaskoutputfieldmappings.md | 7 - .../unifiedcrmtaskoutputmodifiedat.md | 2 + .../unifiedcrmtaskoutputremotedata.md | 7 - .../models/components/unifiedcrmuseroutput.md | 20 +- .../unifiedcrmuseroutputcreatedat.md | 7 - .../unifiedcrmuseroutputfieldmappings.md | 7 - .../unifiedcrmuseroutputmodifiedat.md | 7 - .../unifiedcrmuseroutputremotedata.md | 7 - .../unifiedfilestoragedriveoutput.md | 22 +- .../unifiedfilestoragedriveoutputcreatedat.md | 7 - ...fiedfilestoragedriveoutputfieldmappings.md | 7 - ...unifiedfilestoragedriveoutputmodifiedat.md | 7 - ...unifiedfilestoragedriveoutputremotedata.md | 7 - .../components/unifiedfilestoragefileinput.md | 20 +- ...nifiedfilestoragefileinputfieldmappings.md | 7 - .../unifiedfilestoragefileoutput.md | 30 +- .../unifiedfilestoragefileoutputcreatedat.md | 7 - ...ifiedfilestoragefileoutputfieldmappings.md | 7 - .../unifiedfilestoragefileoutputmodifiedat.md | 7 - .../unifiedfilestoragefileoutputremotedata.md | 7 - .../unifiedfilestoragefolderinput.md | 22 +- ...fiedfilestoragefolderinputfieldmappings.md | 7 - .../unifiedfilestoragefolderoutput.md | 32 +- ...unifiedfilestoragefolderoutputcreatedat.md | 7 - ...iedfilestoragefolderoutputfieldmappings.md | 7 - ...nifiedfilestoragefolderoutputmodifiedat.md | 7 - ...nifiedfilestoragefolderoutputremotedata.md | 7 - .../unifiedfilestoragegroupoutput.md | 22 +- .../unifiedfilestoragegroupoutputcreatedat.md | 7 - ...fiedfilestoragegroupoutputfieldmappings.md | 7 - ...unifiedfilestoragegroupoutputmodifiedat.md | 7 - ...unifiedfilestoragegroupoutputremotedata.md | 7 - .../unifiedticketingaccountoutput.md | 20 +- .../unifiedticketingaccountoutputcreatedat.md | 7 - ...fiedticketingaccountoutputfieldmappings.md | 7 - ...unifiedticketingaccountoutputmodifiedat.md | 7 - ...unifiedticketingaccountoutputremotedata.md | 7 - .../unifiedticketingattachmentinput.md | 16 +- ...edticketingattachmentinputfieldmappings.md | 7 - .../unifiedticketingattachmentoutput.md | 26 +- ...ifiedticketingattachmentoutputcreatedat.md | 7 - ...dticketingattachmentoutputfieldmappings.md | 7 - ...fiedticketingattachmentoutputmodifiedat.md | 7 - ...fiedticketingattachmentoutputremotedata.md | 7 - .../unifiedticketingcollectionoutput.md | 20 +- ...ifiedticketingcollectionoutputcreatedat.md | 7 - ...fiedticketingcollectionoutputmodifiedat.md | 7 - ...fiedticketingcollectionoutputremotedata.md | 7 - .../unifiedticketingcommentoutput.md | 30 +- .../unifiedticketingcommentoutputcreatedat.md | 7 - ...unifiedticketingcommentoutputmodifiedat.md | 7 - ...unifiedticketingcommentoutputremotedata.md | 7 - .../unifiedticketingcontactoutput.md | 24 +- .../unifiedticketingcontactoutputcreatedat.md | 7 - ...fiedticketingcontactoutputfieldmappings.md | 7 - ...unifiedticketingcontactoutputmodifiedat.md | 7 - ...unifiedticketingcontactoutputremotedata.md | 7 - .../components/unifiedticketingtagoutput.md | 18 +- .../unifiedticketingtagoutputcreatedat.md | 7 - .../unifiedticketingtagoutputfieldmappings.md | 7 - .../unifiedticketingtagoutputmodifiedat.md | 7 - .../unifiedticketingtagoutputremotedata.md | 7 - .../components/unifiedticketingteamoutput.md | 20 +- .../unifiedticketingteamoutputcreatedat.md | 7 - ...unifiedticketingteamoutputfieldmappings.md | 7 - .../unifiedticketingteamoutputmodifiedat.md | 7 - .../unifiedticketingteamoutputremotedata.md | 7 - .../components/unifiedticketingticketinput.md | 36 +- .../unifiedticketingticketinputcomment.md | 17 + ...nifiedticketingticketinputfieldmappings.md | 7 - .../unifiedticketingticketoutput.md | 46 +- .../components/unifiedticketinguseroutput.md | 24 +- .../unifiedticketinguseroutputcreatedat.md | 7 - ...unifiedticketinguseroutputfieldmappings.md | 7 - .../unifiedticketinguseroutputmodifiedat.md | 7 - .../unifiedticketinguseroutputremotedata.md | 7 - docs/models/components/unifieduseroutput.md | 22 +- .../components/unifieduseroutputcreatedat.md | 7 - .../unifieduseroutputfieldmappings.md | 7 - .../components/unifieduseroutputmodifiedat.md | 7 - .../components/unifieduseroutputremotedata.md | 7 - docs/models/components/url.md | 6 +- .../operations/createlinkeduserresponse.md | 7 +- .../operations/definecustomfieldresponse.md | 7 +- docs/models/operations/definitionsresponse.md | 7 +- docs/models/operations/healthresponse.md | 2 +- docs/models/operations/helloresponse.md | 2 +- docs/models/operations/importbatchresponse.md | 7 +- .../operations/listlinkedusersresponse.md | 7 +- docs/models/operations/mapresponse.md | 7 +- docs/models/operations/remoteidresponse.md | 7 +- docs/models/operations/resyncresponse.md | 7 +- .../operations/retrievelinkeduserresponse.md | 7 +- docs/models/operations/verifyeventresponse.md | 8 +- .../operations/verifyeventresponsebody.md | 8 + docs/sdks/activities/README.md | 4 +- docs/sdks/applications/README.md | 4 +- docs/sdks/attachments/README.md | 4 +- docs/sdks/candidates/README.md | 4 +- docs/sdks/companies/README.md | 1 - docs/sdks/deals/README.md | 1 - docs/sdks/engagements/README.md | 1 - docs/sdks/files/README.md | 1 - docs/sdks/folders/README.md | 1 - docs/sdks/interviews/README.md | 4 +- docs/sdks/notes/README.md | 1 - docs/sdks/panoracontacts/README.md | 1 - .../sdks/panoraticketingattachments/README.md | 1 - docs/sdks/tasks/README.md | 1 - docs/sdks/tickets/README.md | 1 - docs/sdks/verifyevent/README.md | 4 +- jsr.json | 2 +- package-lock.json | 4 +- package.json | 2 +- src/lib/config.ts | 4 +- src/models/components/address.ts | 64 +- .../components/createbatchlinkeduserdto.ts | 16 +- src/models/components/createlinkeduserdto.ts | 16 +- src/models/components/customfieldcreatedto.ts | 56 +- src/models/components/customfieldresponse.ts | 178 ++ src/models/components/definetargetfielddto.ts | 32 +- src/models/components/email.ts | 24 +- src/models/components/eventpayload.ts | 35 - src/models/components/index.ts | 6 +- src/models/components/linkeduserresponse.ts | 74 + .../components/mapfieldtoproviderdto.ts | 44 +- src/models/components/number.ts | 31 + .../components/passthroughrequestdto.ts | 64 +- src/models/components/passthroughresponse.ts | 24 +- src/models/components/phone.ts | 24 +- src/models/components/resyncstatusdto.ts | 59 + .../components/signatureverificationdto.ts | 53 +- src/models/components/string.ts | 29 + .../components/unifiedatsactivityinput.ts | 101 +- .../components/unifiedatsactivityoutput.ts | 260 +-- .../components/unifiedatsapplicationinput.ts | 127 +- .../components/unifiedatsapplicationoutput.ts | 318 ++-- .../components/unifiedatsattachmentinput.ts | 111 +- .../components/unifiedatsattachmentoutput.ts | 270 +-- .../components/unifiedatscandidateinput.ts | 201 +- .../components/unifiedatscandidateoutput.ts | 360 ++-- .../components/unifiedatsdepartmentoutput.ts | 210 +-- .../components/unifiedatseeocsoutput.ts | 260 +-- .../components/unifiedatsinterviewinput.ts | 163 +- .../components/unifiedatsinterviewoutput.ts | 322 ++-- .../unifiedatsjobinterviewstageoutput.ts | 226 +-- src/models/components/unifiedatsjoboutput.ts | 318 ++-- .../components/unifiedatsofferoutput.ts | 230 +-- .../components/unifiedatsofficeoutput.ts | 210 +-- .../unifiedatsrejectreasonoutput.ts | 210 +-- .../components/unifiedatsscorecardoutput.ts | 246 +-- src/models/components/unifiedatstagoutput.ts | 154 +- src/models/components/unifiedatsuseroutput.ts | 278 +-- .../components/unifiedcrmcompanyinput.ts | 99 +- .../components/unifiedcrmcompanyoutput.ts | 248 +-- .../components/unifiedcrmcontactinput.ts | 91 +- .../components/unifiedcrmcontactoutput.ts | 250 +-- src/models/components/unifiedcrmdealinput.ts | 91 +- src/models/components/unifiedcrmdealoutput.ts | 250 +-- .../components/unifiedcrmengagementinput.ts | 135 +- .../components/unifiedcrmengagementoutput.ts | 294 +-- src/models/components/unifiedcrmnoteinput.ts | 83 +- src/models/components/unifiedcrmnoteoutput.ts | 242 +-- .../components/unifiedcrmstageoutput.ts | 146 +- src/models/components/unifiedcrmtaskinput.ts | 129 +- src/models/components/unifiedcrmtaskoutput.ts | 220 +-- src/models/components/unifiedcrmuseroutput.ts | 218 +-- .../unifiedfilestoragedriveoutput.ts | 226 +-- .../components/unifiedfilestoragefileinput.ts | 99 +- .../unifiedfilestoragefileoutput.ts | 258 +-- .../unifiedfilestoragefolderinput.ts | 99 +- .../unifiedfilestoragefolderoutput.ts | 258 +-- .../unifiedfilestoragegroupoutput.ts | 218 +-- .../unifiedticketingaccountoutput.ts | 218 +-- .../unifiedticketingattachmentinput.ts | 83 +- .../unifiedticketingattachmentoutput.ts | 242 +-- .../unifiedticketingcollectionoutput.ts | 183 +- .../unifiedticketingcommentinput.ts | 64 +- .../unifiedticketingcommentoutput.ts | 223 +-- .../unifiedticketingcontactoutput.ts | 226 +-- .../components/unifiedticketingtagoutput.ts | 210 +-- .../components/unifiedticketingteamoutput.ts | 218 +-- .../components/unifiedticketingticketinput.ts | 278 ++- .../unifiedticketingticketoutput.ts | 409 ++-- .../components/unifiedticketinguseroutput.ts | 234 +-- src/models/components/unifieduseroutput.ts | 226 +-- src/models/components/url.ts | 39 +- src/models/components/webhookdto.ts | 24 +- src/models/components/webhookresponse.ts | 64 +- src/models/operations/createlinkeduser.ts | 6 + src/models/operations/definecustomfield.ts | 6 + src/models/operations/definitions.ts | 6 + src/models/operations/health.ts | 10 +- src/models/operations/hello.ts | 10 +- src/models/operations/importbatch.ts | 6 + src/models/operations/listlinkedusers.ts | 6 + src/models/operations/map.ts | 6 + src/models/operations/remoteid.ts | 6 + src/models/operations/resync.ts | 6 + src/models/operations/retrievelinkeduser.ts | 6 + src/models/operations/verifyevent.ts | 53 +- src/sdk/batch.ts | 4 +- src/sdk/define.ts | 4 +- src/sdk/fieldmappings.ts | 6 +- src/sdk/fromremoteid.ts | 4 +- src/sdk/linkedusers.ts | 12 +- src/sdk/map.ts | 4 +- src/sdk/passthrough.ts | 4 +- src/sdk/sdk.ts | 4 +- src/sdk/single.ts | 6 +- src/sdk/sync.ts | 4 +- src/sdk/verifyevent.ts | 3 +- 359 files changed, 6221 insertions(+), 10501 deletions(-) create mode 100644 docs/models/components/comment.md create mode 100644 docs/models/components/customfieldresponse.md delete mode 100644 docs/models/components/eventpayload.md delete mode 100644 docs/models/components/fieldmappings.md create mode 100644 docs/models/components/linkeduserresponse.md rename docs/models/components/{headers.md => numbert.md} (92%) delete mode 100644 docs/models/components/payload.md create mode 100644 docs/models/components/resyncstatusdto.md rename docs/models/components/{remotedata.md => string.md} (90%) delete mode 100644 docs/models/components/unifiedatsactivityinputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsactivityoutputcreatedat.md delete mode 100644 docs/models/components/unifiedatsactivityoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsactivityoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatsactivityoutputremotedata.md delete mode 100644 docs/models/components/unifiedatsapplicationinputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsapplicationoutputcreatedat.md delete mode 100644 docs/models/components/unifiedatsapplicationoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsapplicationoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatsapplicationoutputremotedata.md delete mode 100644 docs/models/components/unifiedatsattachmentinputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsattachmentoutputcreatedat.md delete mode 100644 docs/models/components/unifiedatsattachmentoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsattachmentoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatsattachmentoutputremotedata.md delete mode 100644 docs/models/components/unifiedatscandidateinputfieldmappings.md delete mode 100644 docs/models/components/unifiedatscandidateoutputcreatedat.md delete mode 100644 docs/models/components/unifiedatscandidateoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatscandidateoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatscandidateoutputremotedata.md delete mode 100644 docs/models/components/unifiedatsdepartmentoutputcreatedat.md delete mode 100644 docs/models/components/unifiedatsdepartmentoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsdepartmentoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatsdepartmentoutputremotedata.md delete mode 100644 docs/models/components/unifiedatseeocsoutputcreatedat.md delete mode 100644 docs/models/components/unifiedatseeocsoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatseeocsoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatseeocsoutputremotedata.md delete mode 100644 docs/models/components/unifiedatsinterviewinputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsinterviewoutputcreatedat.md delete mode 100644 docs/models/components/unifiedatsinterviewoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsinterviewoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatsinterviewoutputremotedata.md delete mode 100644 docs/models/components/unifiedatsjobinterviewstageoutputcreatedat.md delete mode 100644 docs/models/components/unifiedatsjobinterviewstageoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsjobinterviewstageoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatsjobinterviewstageoutputremotedata.md delete mode 100644 docs/models/components/unifiedatsjoboutputcreatedat.md delete mode 100644 docs/models/components/unifiedatsjoboutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsjoboutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatsjoboutputremotedata.md delete mode 100644 docs/models/components/unifiedatsofferoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsofferoutputremotedata.md delete mode 100644 docs/models/components/unifiedatsofficeoutputcreatedat.md delete mode 100644 docs/models/components/unifiedatsofficeoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsofficeoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatsofficeoutputremotedata.md delete mode 100644 docs/models/components/unifiedatsrejectreasonoutputcreatedat.md delete mode 100644 docs/models/components/unifiedatsrejectreasonoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsrejectreasonoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatsrejectreasonoutputremotedata.md delete mode 100644 docs/models/components/unifiedatsscorecardoutputcreatedat.md delete mode 100644 docs/models/components/unifiedatsscorecardoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsscorecardoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatsscorecardoutputremotedata.md delete mode 100644 docs/models/components/unifiedatstagoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatstagoutputremotedata.md delete mode 100644 docs/models/components/unifiedatsuseroutputcreatedat.md delete mode 100644 docs/models/components/unifiedatsuseroutputfieldmappings.md delete mode 100644 docs/models/components/unifiedatsuseroutputmodifiedat.md delete mode 100644 docs/models/components/unifiedatsuseroutputremotedata.md delete mode 100644 docs/models/components/unifiedcrmcompanyinputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmcompanyoutputcreatedat.md delete mode 100644 docs/models/components/unifiedcrmcompanyoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmcompanyoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedcrmcompanyoutputremotedata.md delete mode 100644 docs/models/components/unifiedcrmcontactinputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmcontactoutputcreatedat.md delete mode 100644 docs/models/components/unifiedcrmcontactoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmcontactoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedcrmcontactoutputremotedata.md delete mode 100644 docs/models/components/unifiedcrmdealinputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmdealoutputcreatedat.md delete mode 100644 docs/models/components/unifiedcrmdealoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmdealoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedcrmdealoutputremotedata.md delete mode 100644 docs/models/components/unifiedcrmengagementinputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmengagementoutputcreatedat.md delete mode 100644 docs/models/components/unifiedcrmengagementoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmengagementoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedcrmengagementoutputremotedata.md delete mode 100644 docs/models/components/unifiedcrmnoteinputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmnoteoutputcreatedat.md delete mode 100644 docs/models/components/unifiedcrmnoteoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmnoteoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedcrmnoteoutputremotedata.md delete mode 100644 docs/models/components/unifiedcrmstageoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmstageoutputremotedata.md delete mode 100644 docs/models/components/unifiedcrmtaskinputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmtaskoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmtaskoutputremotedata.md delete mode 100644 docs/models/components/unifiedcrmuseroutputcreatedat.md delete mode 100644 docs/models/components/unifiedcrmuseroutputfieldmappings.md delete mode 100644 docs/models/components/unifiedcrmuseroutputmodifiedat.md delete mode 100644 docs/models/components/unifiedcrmuseroutputremotedata.md delete mode 100644 docs/models/components/unifiedfilestoragedriveoutputcreatedat.md delete mode 100644 docs/models/components/unifiedfilestoragedriveoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedfilestoragedriveoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedfilestoragedriveoutputremotedata.md delete mode 100644 docs/models/components/unifiedfilestoragefileinputfieldmappings.md delete mode 100644 docs/models/components/unifiedfilestoragefileoutputcreatedat.md delete mode 100644 docs/models/components/unifiedfilestoragefileoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedfilestoragefileoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedfilestoragefileoutputremotedata.md delete mode 100644 docs/models/components/unifiedfilestoragefolderinputfieldmappings.md delete mode 100644 docs/models/components/unifiedfilestoragefolderoutputcreatedat.md delete mode 100644 docs/models/components/unifiedfilestoragefolderoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedfilestoragefolderoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedfilestoragefolderoutputremotedata.md delete mode 100644 docs/models/components/unifiedfilestoragegroupoutputcreatedat.md delete mode 100644 docs/models/components/unifiedfilestoragegroupoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedfilestoragegroupoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedfilestoragegroupoutputremotedata.md delete mode 100644 docs/models/components/unifiedticketingaccountoutputcreatedat.md delete mode 100644 docs/models/components/unifiedticketingaccountoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedticketingaccountoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedticketingaccountoutputremotedata.md delete mode 100644 docs/models/components/unifiedticketingattachmentinputfieldmappings.md delete mode 100644 docs/models/components/unifiedticketingattachmentoutputcreatedat.md delete mode 100644 docs/models/components/unifiedticketingattachmentoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedticketingattachmentoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedticketingattachmentoutputremotedata.md delete mode 100644 docs/models/components/unifiedticketingcollectionoutputcreatedat.md delete mode 100644 docs/models/components/unifiedticketingcollectionoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedticketingcollectionoutputremotedata.md delete mode 100644 docs/models/components/unifiedticketingcommentoutputcreatedat.md delete mode 100644 docs/models/components/unifiedticketingcommentoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedticketingcommentoutputremotedata.md delete mode 100644 docs/models/components/unifiedticketingcontactoutputcreatedat.md delete mode 100644 docs/models/components/unifiedticketingcontactoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedticketingcontactoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedticketingcontactoutputremotedata.md delete mode 100644 docs/models/components/unifiedticketingtagoutputcreatedat.md delete mode 100644 docs/models/components/unifiedticketingtagoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedticketingtagoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedticketingtagoutputremotedata.md delete mode 100644 docs/models/components/unifiedticketingteamoutputcreatedat.md delete mode 100644 docs/models/components/unifiedticketingteamoutputfieldmappings.md delete mode 100644 docs/models/components/unifiedticketingteamoutputmodifiedat.md delete mode 100644 docs/models/components/unifiedticketingteamoutputremotedata.md create mode 100644 docs/models/components/unifiedticketingticketinputcomment.md delete mode 100644 docs/models/components/unifiedticketingticketinputfieldmappings.md delete mode 100644 docs/models/components/unifiedticketinguseroutputcreatedat.md delete mode 100644 docs/models/components/unifiedticketinguseroutputfieldmappings.md delete mode 100644 docs/models/components/unifiedticketinguseroutputmodifiedat.md delete mode 100644 docs/models/components/unifiedticketinguseroutputremotedata.md delete mode 100644 docs/models/components/unifieduseroutputcreatedat.md delete mode 100644 docs/models/components/unifieduseroutputfieldmappings.md delete mode 100644 docs/models/components/unifieduseroutputmodifiedat.md delete mode 100644 docs/models/components/unifieduseroutputremotedata.md create mode 100644 docs/models/operations/verifyeventresponsebody.md create mode 100644 src/models/components/customfieldresponse.ts delete mode 100644 src/models/components/eventpayload.ts create mode 100644 src/models/components/linkeduserresponse.ts create mode 100644 src/models/components/number.ts create mode 100644 src/models/components/resyncstatusdto.ts create mode 100644 src/models/components/string.ts diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 38efbed3..5b59ad5b 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: caaaa8c3-6dd7-43a5-841e-c3193e68cc73 management: - docChecksum: 196f7d6b9c0dc41ae1dd4f17faa5663d + docChecksum: 2327b64fd91c4a57b10876dd6c0a4c6b docVersion: "1.0" - speakeasyVersion: 1.351.2 + speakeasyVersion: 1.351.3 generationVersion: 2.384.4 - releaseVersion: 0.2.0 - configChecksum: 2821e75ba7e9bf939804c6cac848d076 + releaseVersion: 0.3.0 + configChecksum: 2e831490eaeecbb0396e649e5d3c7781 repoURL: https://github.com/panoratech/typescript-sdk.git installationURL: https://github.com/panoratech/typescript-sdk published: true @@ -25,6 +25,7 @@ features: responseFormat: 0.2.3 retries: 2.83.0 sdkHooks: 0.1.0 + unions: 2.85.6 generatedFiles: - src/sdk/id.ts - src/sdk/verifyevent.ts @@ -364,23 +365,25 @@ generatedFiles: - src/models/operations/retrievefilestoragegroup.ts - src/models/operations/listfilestorageusers.ts - src/models/operations/retrievefilestorageuser.ts + - src/models/components/string.ts - src/models/components/httpmetadata.ts + - src/models/components/number.ts - src/models/components/webhookresponse.ts - src/models/components/webhookdto.ts - - src/models/components/eventpayload.ts - src/models/components/signatureverificationdto.ts - src/models/components/unifiedticketingticketoutput.ts - - src/models/components/unifiedticketingcommentinput.ts - src/models/components/unifiedticketingticketinput.ts - src/models/components/unifiedticketinguseroutput.ts - src/models/components/unifiedticketingaccountoutput.ts - src/models/components/unifiedticketingcontactoutput.ts - src/models/components/unifiedticketingcollectionoutput.ts - src/models/components/unifiedticketingcommentoutput.ts + - src/models/components/unifiedticketingcommentinput.ts - src/models/components/unifiedticketingtagoutput.ts - src/models/components/unifiedticketingteamoutput.ts - src/models/components/unifiedticketingattachmentoutput.ts - src/models/components/unifiedticketingattachmentinput.ts + - src/models/components/resyncstatusdto.ts - src/models/components/unifiedcrmcompanyoutput.ts - src/models/components/phone.ts - src/models/components/address.ts @@ -398,8 +401,10 @@ generatedFiles: - src/models/components/unifiedcrmtaskoutput.ts - src/models/components/unifiedcrmtaskinput.ts - src/models/components/unifiedcrmuseroutput.ts + - src/models/components/linkeduserresponse.ts - src/models/components/createlinkeduserdto.ts - src/models/components/createbatchlinkeduserdto.ts + - src/models/components/customfieldresponse.ts - src/models/components/customfieldcreatedto.ts - src/models/components/definetargetfielddto.ts - src/models/components/mapfieldtoproviderdto.ts @@ -504,6 +509,7 @@ generatedFiles: - docs/models/operations/deleteresponse.md - docs/models/operations/updatestatusrequest.md - docs/models/operations/updatestatusresponse.md + - docs/models/operations/verifyeventresponsebody.md - docs/models/operations/verifyeventresponse.md - docs/models/operations/listticketingticketrequest.md - docs/models/operations/listticketingticketresponsebody.md @@ -987,117 +993,54 @@ generatedFiles: - docs/models/operations/listfilestorageusersresponse.md - docs/models/operations/retrievefilestorageuserrequest.md - docs/models/operations/retrievefilestorageuserresponse.md + - docs/models/components/string.md - docs/models/components/httpmetadata.md + - docs/models/components/numbert.md - docs/models/components/webhookresponse.md - docs/models/components/webhookdto.md - - docs/models/components/eventpayload.md - - docs/models/components/payload.md - docs/models/components/signatureverificationdto.md - - docs/models/components/fieldmappings.md - - docs/models/components/remotedata.md - - docs/models/components/createdat.md - - docs/models/components/modifiedat.md + - docs/models/components/comment.md - docs/models/components/unifiedticketingticketoutput.md - - docs/models/components/unifiedticketingcommentinput.md - - docs/models/components/unifiedticketingticketinputfieldmappings.md + - docs/models/components/unifiedticketingticketinputcomment.md - docs/models/components/unifiedticketingticketinput.md - - docs/models/components/unifiedticketinguseroutputfieldmappings.md - - docs/models/components/unifiedticketinguseroutputremotedata.md - - docs/models/components/unifiedticketinguseroutputcreatedat.md - - docs/models/components/unifiedticketinguseroutputmodifiedat.md - docs/models/components/unifiedticketinguseroutput.md - - docs/models/components/unifiedticketingaccountoutputfieldmappings.md - - docs/models/components/unifiedticketingaccountoutputremotedata.md - - docs/models/components/unifiedticketingaccountoutputcreatedat.md - - docs/models/components/unifiedticketingaccountoutputmodifiedat.md - docs/models/components/unifiedticketingaccountoutput.md - - docs/models/components/unifiedticketingcontactoutputfieldmappings.md - - docs/models/components/unifiedticketingcontactoutputremotedata.md - - docs/models/components/unifiedticketingcontactoutputcreatedat.md - - docs/models/components/unifiedticketingcontactoutputmodifiedat.md - docs/models/components/unifiedticketingcontactoutput.md - - docs/models/components/unifiedticketingcollectionoutputremotedata.md - - docs/models/components/unifiedticketingcollectionoutputcreatedat.md - - docs/models/components/unifiedticketingcollectionoutputmodifiedat.md - docs/models/components/unifiedticketingcollectionoutput.md - - docs/models/components/unifiedticketingcommentoutputremotedata.md - - docs/models/components/unifiedticketingcommentoutputcreatedat.md - - docs/models/components/unifiedticketingcommentoutputmodifiedat.md - docs/models/components/unifiedticketingcommentoutput.md - - docs/models/components/unifiedticketingtagoutputfieldmappings.md - - docs/models/components/unifiedticketingtagoutputremotedata.md - - docs/models/components/unifiedticketingtagoutputcreatedat.md - - docs/models/components/unifiedticketingtagoutputmodifiedat.md + - docs/models/components/unifiedticketingcommentinput.md - docs/models/components/unifiedticketingtagoutput.md - - docs/models/components/unifiedticketingteamoutputfieldmappings.md - - docs/models/components/unifiedticketingteamoutputremotedata.md - - docs/models/components/unifiedticketingteamoutputcreatedat.md - - docs/models/components/unifiedticketingteamoutputmodifiedat.md - docs/models/components/unifiedticketingteamoutput.md - - docs/models/components/unifiedticketingattachmentoutputfieldmappings.md - - docs/models/components/unifiedticketingattachmentoutputremotedata.md - - docs/models/components/unifiedticketingattachmentoutputcreatedat.md - - docs/models/components/unifiedticketingattachmentoutputmodifiedat.md - docs/models/components/unifiedticketingattachmentoutput.md - - docs/models/components/unifiedticketingattachmentinputfieldmappings.md - docs/models/components/unifiedticketingattachmentinput.md - - docs/models/components/unifiedcrmcompanyoutputfieldmappings.md - - docs/models/components/unifiedcrmcompanyoutputremotedata.md - - docs/models/components/unifiedcrmcompanyoutputcreatedat.md - - docs/models/components/unifiedcrmcompanyoutputmodifiedat.md + - docs/models/components/resyncstatusdto.md + - docs/models/components/createdat.md + - docs/models/components/modifiedat.md - docs/models/components/unifiedcrmcompanyoutput.md - docs/models/components/phone.md - docs/models/components/address.md - docs/models/components/email.md - - docs/models/components/unifiedcrmcompanyinputfieldmappings.md - docs/models/components/unifiedcrmcompanyinput.md - - docs/models/components/unifiedcrmcontactoutputfieldmappings.md - - docs/models/components/unifiedcrmcontactoutputremotedata.md - - docs/models/components/unifiedcrmcontactoutputcreatedat.md - - docs/models/components/unifiedcrmcontactoutputmodifiedat.md - docs/models/components/unifiedcrmcontactoutput.md - - docs/models/components/unifiedcrmcontactinputfieldmappings.md - docs/models/components/unifiedcrmcontactinput.md - - docs/models/components/unifiedcrmdealoutputfieldmappings.md - - docs/models/components/unifiedcrmdealoutputremotedata.md - - docs/models/components/unifiedcrmdealoutputcreatedat.md - - docs/models/components/unifiedcrmdealoutputmodifiedat.md - docs/models/components/unifiedcrmdealoutput.md - - docs/models/components/unifiedcrmdealinputfieldmappings.md - docs/models/components/unifiedcrmdealinput.md - - docs/models/components/unifiedcrmengagementoutputfieldmappings.md - - docs/models/components/unifiedcrmengagementoutputremotedata.md - - docs/models/components/unifiedcrmengagementoutputcreatedat.md - - docs/models/components/unifiedcrmengagementoutputmodifiedat.md - docs/models/components/unifiedcrmengagementoutput.md - - docs/models/components/unifiedcrmengagementinputfieldmappings.md - docs/models/components/unifiedcrmengagementinput.md - - docs/models/components/unifiedcrmnoteoutputfieldmappings.md - - docs/models/components/unifiedcrmnoteoutputremotedata.md - - docs/models/components/unifiedcrmnoteoutputcreatedat.md - - docs/models/components/unifiedcrmnoteoutputmodifiedat.md - docs/models/components/unifiedcrmnoteoutput.md - - docs/models/components/unifiedcrmnoteinputfieldmappings.md - docs/models/components/unifiedcrmnoteinput.md - - docs/models/components/unifiedcrmstageoutputfieldmappings.md - - docs/models/components/unifiedcrmstageoutputremotedata.md - docs/models/components/unifiedcrmstageoutputcreatedat.md - docs/models/components/unifiedcrmstageoutputmodifiedat.md - docs/models/components/unifiedcrmstageoutput.md - - docs/models/components/unifiedcrmtaskoutputfieldmappings.md - - docs/models/components/unifiedcrmtaskoutputremotedata.md - docs/models/components/unifiedcrmtaskoutputcreatedat.md - docs/models/components/unifiedcrmtaskoutputmodifiedat.md - docs/models/components/unifiedcrmtaskoutput.md - - docs/models/components/unifiedcrmtaskinputfieldmappings.md - docs/models/components/unifiedcrmtaskinput.md - - docs/models/components/unifiedcrmuseroutputfieldmappings.md - - docs/models/components/unifiedcrmuseroutputremotedata.md - - docs/models/components/unifiedcrmuseroutputcreatedat.md - - docs/models/components/unifiedcrmuseroutputmodifiedat.md - docs/models/components/unifiedcrmuseroutput.md + - docs/models/components/linkeduserresponse.md - docs/models/components/createlinkeduserdto.md - docs/models/components/createbatchlinkeduserdto.md + - docs/models/components/customfieldresponse.md - docs/models/components/customfieldcreatedto.md - docs/models/components/definetargetfielddto.md - docs/models/components/mapfieldtoproviderdto.md @@ -1105,7 +1048,6 @@ generatedFiles: - 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/unifiedhrisbankinfooutput.md - docs/models/components/unifiedhrisbenefitoutput.md @@ -1139,89 +1081,28 @@ generatedFiles: - docs/models/components/unifiedmarketingautomationtemplateoutput.md - docs/models/components/unifiedmarketingautomationtemplateinput.md - docs/models/components/unifiedmarketingautomationuseroutput.md - - docs/models/components/unifiedatsactivityoutputfieldmappings.md - - docs/models/components/unifiedatsactivityoutputremotedata.md - - docs/models/components/unifiedatsactivityoutputcreatedat.md - - docs/models/components/unifiedatsactivityoutputmodifiedat.md - docs/models/components/unifiedatsactivityoutput.md - - docs/models/components/unifiedatsactivityinputfieldmappings.md - docs/models/components/unifiedatsactivityinput.md - - docs/models/components/unifiedatsapplicationoutputfieldmappings.md - - docs/models/components/unifiedatsapplicationoutputremotedata.md - - docs/models/components/unifiedatsapplicationoutputcreatedat.md - - docs/models/components/unifiedatsapplicationoutputmodifiedat.md - docs/models/components/unifiedatsapplicationoutput.md - - docs/models/components/unifiedatsapplicationinputfieldmappings.md - docs/models/components/unifiedatsapplicationinput.md - - docs/models/components/unifiedatsattachmentoutputfieldmappings.md - - docs/models/components/unifiedatsattachmentoutputremotedata.md - - docs/models/components/unifiedatsattachmentoutputcreatedat.md - - docs/models/components/unifiedatsattachmentoutputmodifiedat.md - docs/models/components/unifiedatsattachmentoutput.md - - docs/models/components/unifiedatsattachmentinputfieldmappings.md - docs/models/components/unifiedatsattachmentinput.md - - docs/models/components/unifiedatscandidateoutputfieldmappings.md - - docs/models/components/unifiedatscandidateoutputremotedata.md - - docs/models/components/unifiedatscandidateoutputcreatedat.md - - docs/models/components/unifiedatscandidateoutputmodifiedat.md - docs/models/components/unifiedatscandidateoutput.md - docs/models/components/url.md - - docs/models/components/unifiedatscandidateinputfieldmappings.md - docs/models/components/unifiedatscandidateinput.md - - docs/models/components/unifiedatsdepartmentoutputfieldmappings.md - - docs/models/components/unifiedatsdepartmentoutputremotedata.md - - docs/models/components/unifiedatsdepartmentoutputcreatedat.md - - docs/models/components/unifiedatsdepartmentoutputmodifiedat.md - docs/models/components/unifiedatsdepartmentoutput.md - - docs/models/components/unifiedatsinterviewoutputfieldmappings.md - - docs/models/components/unifiedatsinterviewoutputremotedata.md - - docs/models/components/unifiedatsinterviewoutputcreatedat.md - - docs/models/components/unifiedatsinterviewoutputmodifiedat.md - docs/models/components/unifiedatsinterviewoutput.md - - docs/models/components/unifiedatsinterviewinputfieldmappings.md - docs/models/components/unifiedatsinterviewinput.md - - docs/models/components/unifiedatsjobinterviewstageoutputfieldmappings.md - - docs/models/components/unifiedatsjobinterviewstageoutputremotedata.md - - docs/models/components/unifiedatsjobinterviewstageoutputcreatedat.md - - docs/models/components/unifiedatsjobinterviewstageoutputmodifiedat.md - docs/models/components/unifiedatsjobinterviewstageoutput.md - - docs/models/components/unifiedatsjoboutputfieldmappings.md - - docs/models/components/unifiedatsjoboutputremotedata.md - - docs/models/components/unifiedatsjoboutputcreatedat.md - - docs/models/components/unifiedatsjoboutputmodifiedat.md - docs/models/components/unifiedatsjoboutput.md - - docs/models/components/unifiedatsofferoutputfieldmappings.md - - docs/models/components/unifiedatsofferoutputremotedata.md - docs/models/components/unifiedatsofferoutputcreatedat.md - docs/models/components/unifiedatsofferoutputmodifiedat.md - docs/models/components/unifiedatsofferoutput.md - - docs/models/components/unifiedatsofficeoutputfieldmappings.md - - docs/models/components/unifiedatsofficeoutputremotedata.md - - docs/models/components/unifiedatsofficeoutputcreatedat.md - - docs/models/components/unifiedatsofficeoutputmodifiedat.md - docs/models/components/unifiedatsofficeoutput.md - - docs/models/components/unifiedatsrejectreasonoutputfieldmappings.md - - docs/models/components/unifiedatsrejectreasonoutputremotedata.md - - docs/models/components/unifiedatsrejectreasonoutputcreatedat.md - - docs/models/components/unifiedatsrejectreasonoutputmodifiedat.md - docs/models/components/unifiedatsrejectreasonoutput.md - - docs/models/components/unifiedatsscorecardoutputfieldmappings.md - - docs/models/components/unifiedatsscorecardoutputremotedata.md - - docs/models/components/unifiedatsscorecardoutputcreatedat.md - - docs/models/components/unifiedatsscorecardoutputmodifiedat.md - docs/models/components/unifiedatsscorecardoutput.md - - docs/models/components/unifiedatstagoutputfieldmappings.md - - docs/models/components/unifiedatstagoutputremotedata.md - docs/models/components/unifiedatstagoutput.md - - docs/models/components/unifiedatsuseroutputfieldmappings.md - - docs/models/components/unifiedatsuseroutputremotedata.md - - docs/models/components/unifiedatsuseroutputcreatedat.md - - docs/models/components/unifiedatsuseroutputmodifiedat.md - docs/models/components/unifiedatsuseroutput.md - - docs/models/components/unifiedatseeocsoutputfieldmappings.md - - docs/models/components/unifiedatseeocsoutputremotedata.md - - docs/models/components/unifiedatseeocsoutputcreatedat.md - - docs/models/components/unifiedatseeocsoutputmodifiedat.md - docs/models/components/unifiedatseeocsoutput.md - docs/models/components/unifiedaccountingaccountoutput.md - docs/models/components/unifiedaccountingaccountinput.md @@ -1251,34 +1132,12 @@ generatedFiles: - docs/models/components/unifiedaccountingtrackingcategoryoutput.md - docs/models/components/unifiedaccountingtransactionoutput.md - docs/models/components/unifiedaccountingvendorcreditoutput.md - - docs/models/components/unifiedfilestoragedriveoutputfieldmappings.md - - docs/models/components/unifiedfilestoragedriveoutputremotedata.md - - docs/models/components/unifiedfilestoragedriveoutputcreatedat.md - - docs/models/components/unifiedfilestoragedriveoutputmodifiedat.md - docs/models/components/unifiedfilestoragedriveoutput.md - - docs/models/components/unifiedfilestoragefileoutputfieldmappings.md - - docs/models/components/unifiedfilestoragefileoutputremotedata.md - - docs/models/components/unifiedfilestoragefileoutputcreatedat.md - - docs/models/components/unifiedfilestoragefileoutputmodifiedat.md - docs/models/components/unifiedfilestoragefileoutput.md - - docs/models/components/unifiedfilestoragefileinputfieldmappings.md - docs/models/components/unifiedfilestoragefileinput.md - - docs/models/components/unifiedfilestoragefolderoutputfieldmappings.md - - docs/models/components/unifiedfilestoragefolderoutputremotedata.md - - docs/models/components/unifiedfilestoragefolderoutputcreatedat.md - - docs/models/components/unifiedfilestoragefolderoutputmodifiedat.md - docs/models/components/unifiedfilestoragefolderoutput.md - - docs/models/components/unifiedfilestoragefolderinputfieldmappings.md - docs/models/components/unifiedfilestoragefolderinput.md - - docs/models/components/unifiedfilestoragegroupoutputfieldmappings.md - - docs/models/components/unifiedfilestoragegroupoutputremotedata.md - - docs/models/components/unifiedfilestoragegroupoutputcreatedat.md - - docs/models/components/unifiedfilestoragegroupoutputmodifiedat.md - docs/models/components/unifiedfilestoragegroupoutput.md - - docs/models/components/unifieduseroutputfieldmappings.md - - docs/models/components/unifieduseroutputremotedata.md - - docs/models/components/unifieduseroutputcreatedat.md - - docs/models/components/unifieduseroutputmodifiedat.md - docs/models/components/unifieduseroutput.md - docs/lib/utils/retryconfig.md - docs/sdks/panora/README.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 505a90c9..a64b16e3 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false typescript: - version: 0.2.0 + version: 0.3.0 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 4545bb08..4df7aa37 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.351.2 +speakeasyVersion: 1.351.3 sources: panora-open-api-swagger: sourceNamespace: panora-open-api-swagger - sourceRevisionDigest: sha256:39584cb34818e18c6126946b3d39389b19f2a73c0db363744d2460f4246d8223 - sourceBlobDigest: sha256:4413c4da097f3298bedb42b0b6402bd4dfb73f006e1c0e3b269cce2072974432 + sourceRevisionDigest: sha256:c2c1ab1c70d9e9a0d8455bebb77a54a27072daa069423008323637118ee88920 + sourceBlobDigest: sha256:37410b694be7e94fa01ec091967925e7803d959652d3343927470e7b19a61aab tags: - latest - main @@ -11,10 +11,10 @@ targets: my-first-target: source: panora-open-api-swagger sourceNamespace: panora-open-api-swagger - sourceRevisionDigest: sha256:39584cb34818e18c6126946b3d39389b19f2a73c0db363744d2460f4246d8223 - sourceBlobDigest: sha256:4413c4da097f3298bedb42b0b6402bd4dfb73f006e1c0e3b269cce2072974432 + sourceRevisionDigest: sha256:c2c1ab1c70d9e9a0d8455bebb77a54a27072daa069423008323637118ee88920 + sourceBlobDigest: sha256:37410b694be7e94fa01ec091967925e7803d959652d3343927470e7b19a61aab codeSamplesNamespace: code-samples-typescript-my-first-target - codeSamplesRevisionDigest: sha256:e223653270235ca1fbb03ee9342214df7970e70484eb88527e86852d5826ae49 + codeSamplesRevisionDigest: sha256:be82a7124c2f614d47a6c81575c95cd5ab58ea24f2ea2779b24729a98709539b outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 diff --git a/RELEASES.md b/RELEASES.md index 4814c57d..e0f0a68c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -48,4 +48,14 @@ Based on: ### Generated - [typescript v0.2.0] . ### Releases -- [NPM v0.2.0] https://www.npmjs.com/package/@panora/sdk/v/0.2.0 - . \ No newline at end of file +- [NPM v0.2.0] https://www.npmjs.com/package/@panora/sdk/v/0.2.0 - . + +## 2024-08-02 00:59:57 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.351.3 (2.384.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.3.0] . +### Releases +- [NPM v0.3.0] https://www.npmjs.com/package/@panora/sdk/v/0.3.0 - . \ No newline at end of file diff --git a/codeSamples.yaml b/codeSamples.yaml index 9fc43df3..6b58fc5b 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -3,20 +3,19 @@ info: title: CodeSamples overlay for typescript target version: 0.0.0 actions: - - target: $["paths"]["/accounting/incomestatements/{id}"]["get"] + - target: $["paths"]["/ats/rejectreasons"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingIncomeStatement + label: listAtsRejectReasons source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.incomestatements.retrieve({ + const result = await panora.ats.rejectreasons.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -24,20 +23,19 @@ actions: } run(); - - target: $["paths"]["/accounting/invoices"]["post"] + - target: $["paths"]["/accounting/contacts"]["get"] update: x-codeSamples: - lang: typescript - label: createAccountingInvoice + label: listAccountingContacts source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.invoices.create({ + const result = await panora.accounting.contacts.list({ xConnectionToken: "", - unifiedAccountingInvoiceInput: {}, }); // Handle the result @@ -45,22 +43,20 @@ actions: } run(); - - target: $["paths"]["/field_mappings/map"]["post"] + - target: $["paths"]["/ticketing/tickets/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: map + label: retrieveTicketingTicket source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.fieldMappings.map.map({ - attributeId: "", - sourceCustomFieldId: "", - sourceProvider: "", - linkedUserId: "", + const result = await panora.ticketing.tickets.retrieve({ + xConnectionToken: "", + id: "", }); // Handle the result @@ -68,19 +64,20 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/automations"]["get"] + - target: $["paths"]["/ticketing/collections/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationAutomation + label: retrieveCollection source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.automations.list({ + const result = await panora.ticketing.collections.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -88,20 +85,20 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/campaigns"]["post"] + - target: $["paths"]["/ats/interviews"]["post"] update: x-codeSamples: - lang: typescript - label: createMarketingautomationCampaign + label: createAtsInterview source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.campaigns.create({ + const result = await panora.ats.interviews.create({ xConnectionToken: "", - unifiedMarketingautomationCampaignInput: {}, + unifiedAtsInterviewInput: {}, }); // Handle the result @@ -109,20 +106,19 @@ actions: } run(); - - target: $["paths"]["/ats/departments/{id}"]["get"] + - target: $["paths"]["/ats/offices"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsDepartment + label: listAtsOffice source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.departments.retrieve({ + const result = await panora.ats.offices.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -130,20 +126,26 @@ actions: } run(); - - target: $["paths"]["/hris/employments/{id}"]["get"] + - target: $["paths"]["/passthrough"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveHrisEmployment + label: request source: |- import { Panora } from "@panora/sdk"; + import { Method } from "@panora/sdk/models/components"; const panora = new Panora(); async function run() { - const result = await panora.hris.employments.retrieve({ - xConnectionToken: "", - id: "", + const result = await panora.passthrough.request({ + integrationId: "", + linkedUserId: "", + vertical: "", + passThroughRequestDto: { + method: Method.Get, + path: "/dev", + }, }); // Handle the result @@ -151,20 +153,19 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/messages/{id}"]["get"] + - target: $["paths"]["/marketingautomation/actions"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationMessage + label: listMarketingautomationAction source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.messages.retrieve({ + const result = await panora.marketingautomation.actions.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -172,19 +173,20 @@ actions: } run(); - - target: $["paths"]["/ats/rejectreasons"]["get"] + - target: $["paths"]["/ats/candidates/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsRejectReasons + label: retrieveAtsCandidate source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.rejectreasons.list({ + const result = await panora.ats.candidates.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -192,20 +194,20 @@ actions: } run(); - - target: $["paths"]["/accounting/transactions/{id}"]["get"] + - target: $["paths"]["/marketingautomation/lists"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingTransaction + label: createMarketingautomationList source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.transactions.retrieve({ + const result = await panora.marketingautomation.lists.create({ xConnectionToken: "", - id: "", + unifiedMarketingautomationListInput: {}, }); // Handle the result @@ -213,22 +215,20 @@ actions: } run(); - - target: $["paths"]["/ats/activities"]["post"] + - target: $["paths"]["/accounting/journalentries/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createAtsActivity + label: retrieveAccountingJournalEntry source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.activities.create({ + const result = await panora.accounting.journalentries.retrieve({ xConnectionToken: "", - unifiedAtsActivityInput: { - fieldMappings: {}, - }, + id: "", }); // Handle the result @@ -236,18 +236,18 @@ actions: } run(); - - target: $["paths"]["/ats/candidates/{id}"]["get"] + - target: $["paths"]["/crm/users/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsCandidate + label: retrieveCrmUser source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.candidates.retrieve({ + const result = await panora.crm.users.retrieve({ xConnectionToken: "", id: "", }); @@ -257,20 +257,20 @@ actions: } run(); - - target: $["paths"]["/accounting/taxrates/{id}"]["get"] + - target: $["paths"]["/marketingautomation/campaigns"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingTaxRate + label: createMarketingautomationCampaign source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.taxrates.retrieve({ + const result = await panora.marketingautomation.campaigns.create({ xConnectionToken: "", - id: "", + unifiedMarketingautomationCampaignInput: {}, }); // Handle the result @@ -278,19 +278,20 @@ actions: } run(); - - target: $["paths"]["/ticketing/tags"]["get"] + - target: $["paths"]["/accounting/invoices"]["post"] update: x-codeSamples: - lang: typescript - label: listTicketingTags + label: createAccountingInvoice source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.tags.list({ + const result = await panora.accounting.invoices.create({ xConnectionToken: "", + unifiedAccountingInvoiceInput: {}, }); // Handle the result @@ -298,18 +299,18 @@ actions: } run(); - - target: $["paths"]["/ats/scorecards"]["get"] + - target: $["paths"]["/ticketing/accounts"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsScorecard + label: listTicketingAccount source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.scorecards.list({ + const result = await panora.ticketing.accounts.list({ xConnectionToken: "", }); @@ -318,19 +319,20 @@ actions: } run(); - - target: $["paths"]["/filestorage/users"]["get"] + - target: $["paths"]["/marketingautomation/messages/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listFilestorageUsers + label: retrieveMarketingautomationMessage source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.filestorage.users.list({ + const result = await panora.marketingautomation.messages.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -338,20 +340,19 @@ actions: } run(); - - target: $["paths"]["/crm/engagements/{id}"]["get"] + - target: $["paths"]["/accounting/cashflowstatements"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmEngagement + label: listAccountingCashflowStatement source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.engagements.retrieve({ + const result = await panora.accounting.cashflowstatements.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -359,19 +360,19 @@ actions: } run(); - - target: $["paths"]["/crm/notes"]["get"] + - target: $["paths"]["/webhooks/{id}"]["put"] update: x-codeSamples: - lang: typescript - label: listCrmNote + label: updateStatus source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.notes.list({ - xConnectionToken: "", + const result = await panora.webhooks.id.updateStatus({ + id: "", }); // Handle the result @@ -379,23 +380,20 @@ actions: } run(); - - target: $["paths"]["/crm/notes"]["post"] + - target: $["paths"]["/crm/stages/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createCrmNote + label: retrieveCrmStage source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.notes.create({ + const result = await panora.crm.stages.retrieve({ xConnectionToken: "", - unifiedCrmNoteInput: { - content: "", - fieldMappings: {}, - }, + id: "", }); // Handle the result @@ -403,19 +401,20 @@ actions: } run(); - - target: $["paths"]["/hris/companies"]["get"] + - target: $["paths"]["/accounting/payments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisCompanys + label: retrieveAccountingPayment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.companies.list({ + const result = await panora.accounting.payments.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -423,18 +422,18 @@ actions: } run(); - - target: $["paths"]["/ats/jobs"]["get"] + - target: $["paths"]["/hris/companies"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsJob + label: listHrisCompanys source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.jobs.list({ + const result = await panora.hris.companies.list({ xConnectionToken: "", }); @@ -443,19 +442,20 @@ actions: } run(); - - target: $["paths"]["/ats/eeocs"]["get"] + - target: $["paths"]["/ats/applications/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsEeocs + label: retrieveAtsApplication source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.eeocs.list({ + const result = await panora.ats.applications.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -463,20 +463,19 @@ actions: } run(); - - target: $["paths"]["/ats/eeocs/{id}"]["get"] + - target: $["paths"]["/accounting/expenses"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsEeocs + label: listAccountingExpense source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.eeocs.retrieve({ + const result = await panora.accounting.expenses.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -484,20 +483,19 @@ actions: } run(); - - target: $["paths"]["/accounting/expenses"]["post"] + - target: $["paths"]["/accounting/trackingcategories"]["get"] update: x-codeSamples: - lang: typescript - label: createAccountingExpense + label: listAccountingTrackingCategorys source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.expenses.create({ + const result = await panora.accounting.trackingcategories.list({ xConnectionToken: "", - unifiedAccountingExpenseInput: {}, }); // Handle the result @@ -505,20 +503,19 @@ actions: } run(); - - target: $["paths"]["/hris/benefits/{id}"]["get"] + - target: $["paths"]["/ticketing/teams"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisBenefit + label: listTicketingTeams source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.benefits.retrieve({ + const result = await panora.ticketing.teams.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -526,19 +523,20 @@ actions: } run(); - - target: $["paths"]["/accounting/contacts"]["get"] + - target: $["paths"]["/crm/deals/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingContacts + label: retrieveCrmDeal source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.contacts.list({ + const result = await panora.crm.deals.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -546,20 +544,25 @@ actions: } run(); - - target: $["paths"]["/linked_users"]["post"] + - target: $["paths"]["/field_mappings"]["post"] update: x-codeSamples: - lang: typescript - label: createLinkedUser + label: defineCustomField source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.linkedUsers.create({ - linkedUserOriginId: "", - alias: "", + const result = await panora.fieldMappings.defineCustomField({ + objectTypeOwner: "", + name: "", + description: "Balanced multimedia policy", + dataType: "point", + sourceCustomFieldId: "", + sourceProvider: "", + linkedUserId: "", }); // Handle the result @@ -567,20 +570,19 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/lists"]["post"] + - target: $["paths"]["/marketingautomation/lists"]["get"] update: x-codeSamples: - lang: typescript - label: createMarketingautomationList + label: listMarketingautomationLists source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.lists.create({ + const result = await panora.marketingautomation.lists.list({ xConnectionToken: "", - unifiedMarketingautomationListInput: {}, }); // Handle the result @@ -588,19 +590,20 @@ actions: } run(); - - target: $["paths"]["/accounting/creditnotes"]["get"] + - target: $["paths"]["/ats/activities"]["post"] update: x-codeSamples: - lang: typescript - label: listAccountingCreditNote + label: createAtsActivity source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.creditnotes.list({ + const result = await panora.ats.activities.create({ xConnectionToken: "", + unifiedAtsActivityInput: {}, }); // Handle the result @@ -608,31 +611,19 @@ actions: } run(); - - target: $["paths"]["/filestorage/folders"]["post"] + - target: $["paths"]["/ats/applications"]["get"] update: x-codeSamples: - lang: typescript - label: createFilestorageFolder + label: listAtsApplication source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.filestorage.folders.create({ + const result = await panora.ats.applications.list({ xConnectionToken: "", - remoteData: false, - unifiedFilestorageFolderInput: { - name: "", - size: "", - folderUrl: "", - description: "Multi-tiered human-resource model", - driveId: "", - parentFolderId: "", - sharedLink: "", - permission: "", - fieldMappings: {}, - }, }); // Handle the result @@ -640,18 +631,18 @@ actions: } run(); - - target: $["paths"]["/crm/tasks"]["get"] + - target: $["paths"]["/ticketing/collections"]["get"] update: x-codeSamples: - lang: typescript - label: listCrmTask + label: listTicketingCollections source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.tasks.list({ + const result = await panora.ticketing.collections.list({ xConnectionToken: "", }); @@ -660,19 +651,20 @@ actions: } run(); - - target: $["paths"]["/hris/employerbenefits"]["get"] + - target: $["paths"]["/linked_users"]["post"] update: x-codeSamples: - lang: typescript - label: listHrisEmployerBenefit + label: createLinkedUser source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.employerbenefits.list({ - xConnectionToken: "", + const result = await panora.linkedUsers.create({ + linkedUserOriginId: "", + alias: "", }); // Handle the result @@ -680,38 +672,40 @@ actions: } run(); - - target: $["paths"]["/linked_users"]["get"] + - target: $["paths"]["/marketingautomation/emails/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listLinkedUsers + label: retrieveMarketingautomationEmail source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.linkedUsers.list(); + const result = await panora.marketingautomation.emails.retrieve({ + xConnectionToken: "", + id: "", + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/hris/paygroups/{id}"]["get"] + - target: $["paths"]["/marketingautomation/events"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisPaygroup + label: listMarketingAutomationEvents source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.paygroups.retrieve({ + const result = await panora.marketingautomation.events.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -719,19 +713,20 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/emails"]["get"] + - target: $["paths"]["/accounting/trackingcategories/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationEmails + label: retrieveAccountingTrackingCategory source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.emails.list({ + const result = await panora.accounting.trackingcategories.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -739,20 +734,22 @@ actions: } run(); - - target: $["paths"]["/accounting/expenses/{id}"]["get"] + - target: $["paths"]["/webhooks"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingExpense + label: createWebhookPublic source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.expenses.retrieve({ - xConnectionToken: "", - id: "", + const result = await panora.webhooks.create({ + url: "http://limp-pastry.org", + scope: [ + "", + ], }); // Handle the result @@ -760,20 +757,19 @@ actions: } run(); - - target: $["paths"]["/accounting/trackingcategories/{id}"]["get"] + - target: $["paths"]["/ticketing/tickets"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingTrackingCategory + label: listTicketingTicket source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.trackingcategories.retrieve({ + const result = await panora.ticketing.tickets.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -781,19 +777,20 @@ actions: } run(); - - target: $["paths"]["/ticketing/attachments"]["get"] + - target: $["paths"]["/crm/contacts/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingAttachments + label: retrieveCrmContact source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.attachments.list({ + const result = await panora.crm.contacts.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -801,18 +798,18 @@ actions: } run(); - - target: $["paths"]["/crm/companies/{id}"]["get"] + - target: $["paths"]["/ats/tags/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmCompany + label: retrieveAtsTag source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.companies.retrieve({ + const result = await panora.ats.tags.retrieve({ xConnectionToken: "", id: "", }); @@ -822,18 +819,18 @@ actions: } run(); - - target: $["paths"]["/hris/locations"]["get"] + - target: $["paths"]["/accounting/journalentries"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisLocation + label: listAccountingJournalEntry source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.locations.list({ + const result = await panora.accounting.journalentries.list({ xConnectionToken: "", }); @@ -842,19 +839,20 @@ actions: } run(); - - target: $["paths"]["/hris/timeoffbalances"]["get"] + - target: $["paths"]["/accounting/payments"]["post"] update: x-codeSamples: - lang: typescript - label: listHrisTimeoffbalance + label: createAccountingPayment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.timeoffbalances.list({ + const result = await panora.accounting.payments.create({ xConnectionToken: "", + unifiedAccountingPaymentInput: {}, }); // Handle the result @@ -862,18 +860,18 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/events/{id}"]["get"] + - target: $["paths"]["/filestorage/groups/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationEvent + label: retrieveFilestorageGroup source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.events.retrieve({ + const result = await panora.filestorage.groups.retrieve({ xConnectionToken: "", id: "", }); @@ -883,18 +881,18 @@ actions: } run(); - - target: $["paths"]["/hris/employees/{id}"]["get"] + - target: $["paths"]["/ticketing/accounts/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisEmployee + label: retrieveTicketingAccount source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.employees.retrieve({ + const result = await panora.ticketing.accounts.retrieve({ xConnectionToken: "", id: "", }); @@ -904,20 +902,22 @@ actions: } run(); - - target: $["paths"]["/accounting/payments"]["post"] + - target: $["paths"]["/crm/engagements"]["post"] update: x-codeSamples: - lang: typescript - label: createAccountingPayment + label: createCrmEngagement source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.payments.create({ + const result = await panora.crm.engagements.create({ xConnectionToken: "", - unifiedAccountingPaymentInput: {}, + unifiedCrmEngagementInput: { + type: "", + }, }); // Handle the result @@ -925,20 +925,19 @@ actions: } run(); - - target: $["paths"]["/filestorage/files/{id}"]["get"] + - target: $["paths"]["/accounting/balancesheets"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveFilestorageFile + label: listAccountingBalanceSheets source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.filestorage.files.retrieve({ + const result = await panora.accounting.balancesheets.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -946,19 +945,20 @@ actions: } run(); - - target: $["paths"]["/accounting/transactions"]["get"] + - target: $["paths"]["/hris/employments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingTransaction + label: retrieveHrisEmployment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.transactions.list({ + const result = await panora.hris.employments.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -966,19 +966,20 @@ actions: } run(); - - target: $["paths"]["/ticketing/tickets"]["get"] + - target: $["paths"]["/marketingautomation/automations"]["post"] update: x-codeSamples: - lang: typescript - label: listTicketingTicket + label: createMarketingautomationAutomation source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.tickets.list({ + const result = await panora.marketingautomation.automations.create({ xConnectionToken: "", + unifiedMarketingautomationAutomationInput: {}, }); // Handle the result @@ -986,20 +987,23 @@ actions: } run(); - - target: $["paths"]["/ats/users/{id}"]["get"] + - target: $["paths"]["/ticketing/tickets"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAtsUser + label: createTicketingTicket source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.users.retrieve({ + const result = await panora.ticketing.tickets.create({ xConnectionToken: "", - id: "", + unifiedTicketingTicketInput: { + name: "", + description: "Multi-tiered human-resource model", + }, }); // Handle the result @@ -1007,20 +1011,19 @@ actions: } run(); - - target: $["paths"]["/filestorage/folders/{id}"]["get"] + - target: $["paths"]["/marketingautomation/automations"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveFilestorageFolder + label: listMarketingautomationAutomation source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.filestorage.folders.retrieve({ + const result = await panora.marketingautomation.automations.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -1028,20 +1031,19 @@ actions: } run(); - - target: $["paths"]["/ats/tags/{id}"]["get"] + - target: $["paths"]["/ats/attachments"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsTag + label: listAtsAttachment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.tags.retrieve({ + const result = await panora.ats.attachments.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -1049,19 +1051,20 @@ actions: } run(); - - target: $["paths"]["/accounting/balancesheets"]["get"] + - target: $["paths"]["/accounting/expenses/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingBalanceSheets + label: retrieveAccountingExpense source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.balancesheets.list({ + const result = await panora.accounting.expenses.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1069,20 +1072,19 @@ actions: } run(); - - target: $["paths"]["/accounting/payments/{id}"]["get"] + - target: $["paths"]["/accounting/transactions"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingPayment + label: listAccountingTransaction source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.payments.retrieve({ + const result = await panora.accounting.transactions.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -1090,18 +1092,19 @@ actions: } run(); - - target: $["paths"]["/webhooks/{id}"]["put"] + - target: $["paths"]["/filestorage/files/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: updateStatus + label: retrieveFilestorageFile source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.webhooks.id.updateStatus({ + const result = await panora.filestorage.files.retrieve({ + xConnectionToken: "", id: "", }); @@ -1110,20 +1113,23 @@ actions: } run(); - - target: $["paths"]["/ats/offers/{id}"]["get"] + - target: $["paths"]["/crm/contacts"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAtsOffer + label: createCrmContact source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.offers.retrieve({ + const result = await panora.crm.contacts.create({ xConnectionToken: "", - id: "", + unifiedCrmContactInput: { + firstName: "Jed", + lastName: "Kuhn", + }, }); // Handle the result @@ -1131,25 +1137,19 @@ actions: } run(); - - target: $["paths"]["/ticketing/attachments"]["post"] + - target: $["paths"]["/hris/paygroups"]["get"] update: x-codeSamples: - lang: typescript - label: createTicketingAttachment + label: listHrisPaygroup source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.attachments.create({ + const result = await panora.hris.paygroups.list({ xConnectionToken: "", - unifiedTicketingAttachmentInput: { - fileName: "your_file_here", - fileUrl: "", - uploader: "", - fieldMappings: {}, - }, }); // Handle the result @@ -1157,19 +1157,19 @@ actions: } run(); - - target: $["paths"]["/linked_users/fromRemoteId"]["get"] + - target: $["paths"]["/hris/timeoffs"]["get"] update: x-codeSamples: - lang: typescript - label: remoteId + label: listHrisTimeoffs source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.linkedUsers.fromremoteid.remoteId({ - remoteId: "", + const result = await panora.hris.timeoffs.list({ + xConnectionToken: "", }); // Handle the result @@ -1177,19 +1177,20 @@ actions: } run(); - - target: $["paths"]["/hris/dependents"]["get"] + - target: $["paths"]["/ats/departments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisDependents + label: retrieveAtsDepartment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.dependents.list({ + const result = await panora.ats.departments.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1197,18 +1198,18 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/emails/{id}"]["get"] + - target: $["paths"]["/ats/offers/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationEmail + label: retrieveAtsOffer source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.emails.retrieve({ + const result = await panora.ats.offers.retrieve({ xConnectionToken: "", id: "", }); @@ -1218,18 +1219,18 @@ actions: } run(); - - target: $["paths"]["/ats/offers"]["get"] + - target: $["paths"]["/accounting/purchaseorders"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsOffer + label: listAccountingPurchaseOrder source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.offers.list({ + const result = await panora.accounting.purchaseorders.list({ xConnectionToken: "", }); @@ -1238,18 +1239,18 @@ actions: } run(); - - target: $["paths"]["/ticketing/attachments/{id}"]["get"] + - target: $["paths"]["/filestorage/folders/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingAttachment + label: retrieveFilestorageFolder source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.attachments.retrieve({ + const result = await panora.filestorage.folders.retrieve({ xConnectionToken: "", id: "", }); @@ -1259,19 +1260,20 @@ actions: } run(); - - target: $["paths"]["/hris/paygroups"]["get"] + - target: $["paths"]["/hris/employeepayrollruns/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisPaygroup + label: retrieveHrisEmployeePayrollRun source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.paygroups.list({ + const result = await panora.hris.employeepayrollruns.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1279,19 +1281,20 @@ actions: } run(); - - target: $["paths"]["/ats/interviews"]["get"] + - target: $["paths"]["/accounting/addresses/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsInterview + label: retrieveAccountingAddress source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.interviews.list({ + const result = await panora.accounting.addresses.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1299,18 +1302,18 @@ actions: } run(); - - target: $["paths"]["/accounting/accounts"]["get"] + - target: $["paths"]["/accounting/taxrates"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingAccounts + label: listAccountingTaxRate source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.accounts.list({ + const result = await panora.accounting.taxrates.list({ xConnectionToken: "", }); @@ -1319,18 +1322,18 @@ actions: } run(); - - target: $["paths"]["/accounting/invoices"]["get"] + - target: $["paths"]["/crm/stages"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingInvoice + label: listCrmStages source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.invoices.list({ + const result = await panora.crm.stages.list({ xConnectionToken: "", }); @@ -1339,18 +1342,18 @@ actions: } run(); - - target: $["paths"]["/accounting/payments"]["get"] + - target: $["paths"]["/hris/timeoffbalances"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingPayment + label: listHrisTimeoffbalance source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.payments.list({ + const result = await panora.hris.timeoffbalances.list({ xConnectionToken: "", }); @@ -1359,20 +1362,20 @@ actions: } run(); - - target: $["paths"]["/accounting/purchaseorders"]["post"] + - target: $["paths"]["/ats/applications"]["post"] update: x-codeSamples: - lang: typescript - label: createAccountingPurchaseOrder + label: createAtsApplication source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.purchaseorders.create({ + const result = await panora.ats.applications.create({ xConnectionToken: "", - unifiedAccountingPurchaseorderInput: {}, + unifiedAtsApplicationInput: {}, }); // Handle the result @@ -1380,29 +1383,21 @@ actions: } run(); - - target: $["paths"]["/filestorage/files"]["post"] + - target: $["paths"]["/crm/notes"]["post"] update: x-codeSamples: - lang: typescript - label: createFilestorageFile + label: createCrmNote source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.filestorage.files.create({ + const result = await panora.crm.notes.create({ xConnectionToken: "", - remoteData: false, - unifiedFilestorageFileInput: { - name: "", - fileUrl: "", - mimeType: "", - size: "", - folderId: "", - permission: "", - sharedLink: "", - fieldMappings: {}, + unifiedCrmNoteInput: { + content: "", }, }); @@ -1411,20 +1406,19 @@ actions: } run(); - - target: $["paths"]["/accounting/attachments"]["post"] + - target: $["paths"]["/ats/offers"]["get"] update: x-codeSamples: - lang: typescript - label: createAccountingAttachment + label: listAtsOffer source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.attachments.create({ + const result = await panora.ats.offers.list({ xConnectionToken: "", - unifiedAccountingAttachmentInput: {}, }); // Handle the result @@ -1432,36 +1426,39 @@ actions: } run(); - - target: $["paths"]["/webhooks"]["get"] + - target: $["paths"]["/ats/rejectreasons/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listWebhooks + label: retrieveAtsRejectReason source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.webhooks.list(); + const result = await panora.ats.rejectreasons.retrieve({ + xConnectionToken: "", + id: "", + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/marketingautomation/automations/{id}"]["get"] + - target: $["paths"]["/ticketing/users/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationAutomation + label: retrieveTicketingUser source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.automations.retrieve({ + const result = await panora.ticketing.users.retrieve({ xConnectionToken: "", id: "", }); @@ -1471,19 +1468,20 @@ actions: } run(); - - target: $["paths"]["/ats/jobinterviewstages"]["get"] + - target: $["paths"]["/ticketing/teams/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsJobInterviewStage + label: retrieveTicketingTeam source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.jobinterviewstages.list({ + const result = await panora.ticketing.teams.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1491,19 +1489,24 @@ actions: } run(); - - target: $["paths"]["/ats/users"]["get"] + - target: $["paths"]["/crm/deals"]["post"] update: x-codeSamples: - lang: typescript - label: listAtsUsers + label: createCrmDeal source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.users.list({ + const result = await panora.crm.deals.create({ xConnectionToken: "", + unifiedCrmDealInput: { + name: "", + description: "Multi-tiered human-resource model", + amount: 8592.13, + }, }); // Handle the result @@ -1511,19 +1514,20 @@ actions: } run(); - - target: $["paths"]["/hris/benefits"]["get"] + - target: $["paths"]["/ats/candidates"]["post"] update: x-codeSamples: - lang: typescript - label: listHrisBenefit + label: createAtsCandidate source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.benefits.list({ + const result = await panora.ats.candidates.create({ xConnectionToken: "", + unifiedAtsCandidateInput: {}, }); // Handle the result @@ -1531,18 +1535,18 @@ actions: } run(); - - target: $["paths"]["/crm/contacts"]["get"] + - target: $["paths"]["/hris/employees"]["get"] update: x-codeSamples: - lang: typescript - label: listCrmContacts + label: listHrisEmployee source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.contacts.list({ + const result = await panora.hris.employees.list({ xConnectionToken: "", }); @@ -1551,18 +1555,18 @@ actions: } run(); - - target: $["paths"]["/crm/users"]["get"] + - target: $["paths"]["/hris/employments"]["get"] update: x-codeSamples: - lang: typescript - label: listCrmUsers + label: listHrisEmployment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.users.list({ + const result = await panora.hris.employments.list({ xConnectionToken: "", }); @@ -1571,18 +1575,18 @@ actions: } run(); - - target: $["paths"]["/accounting/cashflowstatements/{id}"]["get"] + - target: $["paths"]["/accounting/attachments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingCashflowStatement + label: retrieveAccountingAttachment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.cashflowstatements.retrieve({ + const result = await panora.accounting.attachments.retrieve({ xConnectionToken: "", id: "", }); @@ -1592,19 +1596,20 @@ actions: } run(); - - target: $["paths"]["/accounting/items"]["get"] + - target: $["paths"]["/hris/benefits/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingItem + label: retrieveHrisBenefit source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.items.list({ + const result = await panora.hris.benefits.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1612,18 +1617,18 @@ actions: } run(); - - target: $["paths"]["/ticketing/tags/{id}"]["get"] + - target: $["paths"]["/ats/activities/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingTag + label: retrieveAtsActivity source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.tags.retrieve({ + const result = await panora.ats.activities.retrieve({ xConnectionToken: "", id: "", }); @@ -1633,26 +1638,20 @@ actions: } run(); - - target: $["paths"]["/passthrough"]["post"] + - target: $["paths"]["/ats/scorecards/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: request + label: retrieveAtsScorecard source: |- import { Panora } from "@panora/sdk"; - import { Method } from "@panora/sdk/models/components"; const panora = new Panora(); async function run() { - const result = await panora.passthrough.request({ - integrationId: "", - linkedUserId: "", - vertical: "", - passThroughRequestDto: { - method: Method.Get, - path: "/dev", - }, + const result = await panora.ats.scorecards.retrieve({ + xConnectionToken: "", + id: "", }); // Handle the result @@ -1660,18 +1659,18 @@ actions: } run(); - - target: $["paths"]["/ats/candidates"]["get"] + - target: $["paths"]["/hris/dependents"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsCandidate + label: listHrisDependents source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.candidates.list({ + const result = await panora.hris.dependents.list({ xConnectionToken: "", }); @@ -1680,18 +1679,18 @@ actions: } run(); - - target: $["paths"]["/ats/jobinterviewstages/{id}"]["get"] + - target: $["paths"]["/hris/employees/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsJobInterviewStage + label: retrieveHrisEmployee source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.jobinterviewstages.retrieve({ + const result = await panora.hris.employees.retrieve({ xConnectionToken: "", id: "", }); @@ -1701,20 +1700,20 @@ actions: } run(); - - target: $["paths"]["/accounting/accounts"]["post"] + - target: $["paths"]["/hris/timeoffs"]["post"] update: x-codeSamples: - lang: typescript - label: createAccountingAccount + label: createHrisTimeoff source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.accounts.create({ + const result = await panora.hris.timeoffs.create({ xConnectionToken: "", - unifiedAccountingAccountInput: {}, + unifiedHrisTimeoffInput: {}, }); // Handle the result @@ -1722,18 +1721,18 @@ actions: } run(); - - target: $["paths"]["/accounting/invoices/{id}"]["get"] + - target: $["paths"]["/ats/jobinterviewstages/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingInvoice + label: retrieveAtsJobInterviewStage source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.invoices.retrieve({ + const result = await panora.ats.jobinterviewstages.retrieve({ xConnectionToken: "", id: "", }); @@ -1743,41 +1742,37 @@ actions: } run(); - - target: $["paths"]["/filestorage/groups/{id}"]["get"] + - target: $["paths"]["/"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveFilestorageGroup + label: hello source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.filestorage.groups.retrieve({ - xConnectionToken: "", - id: "", - }); + const result = await panora.hello(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/ticketing/tickets/{id}"]["get"] + - target: $["paths"]["/hris/benefits"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingTicket + label: listHrisBenefit source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.tickets.retrieve({ + const result = await panora.hris.benefits.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -1785,25 +1780,20 @@ actions: } run(); - - target: $["paths"]["/crm/tasks"]["post"] + - target: $["paths"]["/crm/engagements/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createCrmTask + label: retrieveCrmEngagement source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.tasks.create({ + const result = await panora.crm.engagements.retrieve({ xConnectionToken: "", - unifiedCrmTaskInput: { - subject: "", - content: "", - status: "", - fieldMappings: {}, - }, + id: "", }); // Handle the result @@ -1811,18 +1801,18 @@ actions: } run(); - - target: $["paths"]["/filestorage/groups"]["get"] + - target: $["paths"]["/ats/activities"]["get"] update: x-codeSamples: - lang: typescript - label: listFilestorageGroup + label: listAtsActivity source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.filestorage.groups.list({ + const result = await panora.ats.activities.list({ xConnectionToken: "", }); @@ -1831,21 +1821,20 @@ actions: } run(); - - target: $["paths"]["/webhooks/verifyEvent"]["post"] + - target: $["paths"]["/ats/jobs/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: verifyEvent + label: retrieveAtsJob source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.webhooks.verifyevent.verifyEvent({ - payload: {}, - signature: "", - secret: "", + const result = await panora.ats.jobs.retrieve({ + xConnectionToken: "", + id: "", }); // Handle the result @@ -1853,19 +1842,22 @@ actions: } run(); - - target: $["paths"]["/ticketing/users"]["get"] + - target: $["paths"]["/linked_users/batch"]["post"] update: x-codeSamples: - lang: typescript - label: listTicketingUsers + label: importBatch source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.users.list({ - xConnectionToken: "", + const result = await panora.linkedUsers.batch.importBatch({ + linkedUserOriginIds: [ + "", + ], + alias: "", }); // Handle the result @@ -1873,23 +1865,20 @@ actions: } run(); - - target: $["paths"]["/crm/companies"]["post"] + - target: $["paths"]["/accounting/expenses"]["post"] update: x-codeSamples: - lang: typescript - label: createCrmCompany + label: createAccountingExpense source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.companies.create({ + const result = await panora.accounting.expenses.create({ xConnectionToken: "", - unifiedCrmCompanyInput: { - name: "", - fieldMappings: {}, - }, + unifiedAccountingExpenseInput: {}, }); // Handle the result @@ -1897,18 +1886,18 @@ actions: } run(); - - target: $["paths"]["/crm/stages"]["get"] + - target: $["paths"]["/filestorage/groups"]["get"] update: x-codeSamples: - lang: typescript - label: listCrmStages + label: listFilestorageGroup source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.stages.list({ + const result = await panora.filestorage.groups.list({ xConnectionToken: "", }); @@ -1917,20 +1906,19 @@ actions: } run(); - - target: $["paths"]["/accounting/companyinfos/{id}"]["get"] + - target: $["paths"]["/crm/notes"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingCompanyInfo + label: listCrmNote source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.companyinfos.retrieve({ + const result = await panora.crm.notes.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -1938,19 +1926,19 @@ actions: } run(); - - target: $["paths"]["/accounting/taxrates"]["get"] + - target: $["paths"]["/linked_users/fromRemoteId"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingTaxRate + label: remoteId source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.taxrates.list({ - xConnectionToken: "", + const result = await panora.linkedUsers.fromremoteid.remoteId({ + remoteId: "", }); // Handle the result @@ -1958,19 +1946,20 @@ actions: } run(); - - target: $["paths"]["/crm/companies"]["get"] + - target: $["paths"]["/marketingautomation/contacts"]["post"] update: x-codeSamples: - lang: typescript - label: listCrmCompany + label: createMarketingAutomationContact source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.companies.list({ + const result = await panora.marketingautomation.contacts.create({ xConnectionToken: "", + unifiedMarketingautomationContactInput: {}, }); // Handle the result @@ -1978,19 +1967,19 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/templates"]["get"] + - target: $["paths"]["/webhooks/{id}"]["delete"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationTemplates + label: delete source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.templates.list({ - xConnectionToken: "", + const result = await panora.webhooks.id.delete({ + id: "", }); // Handle the result @@ -1998,20 +1987,22 @@ actions: } run(); - - target: $["paths"]["/accounting/items/{id}"]["get"] + - target: $["paths"]["/ticketing/comments"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingItem + label: createTicketingComment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.items.retrieve({ + const result = await panora.ticketing.comments.create({ xConnectionToken: "", - id: "", + unifiedTicketingCommentInput: { + body: "", + }, }); // Handle the result @@ -2019,18 +2010,18 @@ actions: } run(); - - target: $["paths"]["/filestorage/drives/{id}"]["get"] + - target: $["paths"]["/accounting/transactions/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveFilestorageDrive + label: retrieveAccountingTransaction source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.filestorage.drives.retrieve({ + const result = await panora.accounting.transactions.retrieve({ xConnectionToken: "", id: "", }); @@ -2040,20 +2031,19 @@ actions: } run(); - - target: $["paths"]["/ticketing/accounts/{id}"]["get"] + - target: $["paths"]["/accounting/companyinfos"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingAccount + label: listAccountingCompanyInfos source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.accounts.retrieve({ + const result = await panora.accounting.companyinfos.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2061,20 +2051,19 @@ actions: } run(); - - target: $["paths"]["/crm/deals/{id}"]["get"] + - target: $["paths"]["/accounting/invoices"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmDeal + label: listAccountingInvoice source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.deals.retrieve({ + const result = await panora.accounting.invoices.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2082,25 +2071,20 @@ actions: } run(); - - target: $["paths"]["/field_mappings"]["post"] + - target: $["paths"]["/crm/companies/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: defineCustomField + label: retrieveCrmCompany source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.fieldMappings.defineCustomField({ - objectTypeOwner: "", - name: "", - description: "Balanced multimedia policy", - dataType: "point", - sourceCustomFieldId: "", - sourceProvider: "", - linkedUserId: "", + const result = await panora.crm.companies.retrieve({ + xConnectionToken: "", + id: "", }); // Handle the result @@ -2108,20 +2092,22 @@ actions: } run(); - - target: $["paths"]["/ats/applications/{id}"]["get"] + - target: $["paths"]["/field_mappings/map"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAtsApplication + label: map source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.applications.retrieve({ - xConnectionToken: "", - id: "", + const result = await panora.fieldMappings.map.map({ + attributeId: "", + sourceCustomFieldId: "", + sourceProvider: "", + linkedUserId: "", }); // Handle the result @@ -2129,18 +2115,18 @@ actions: } run(); - - target: $["paths"]["/accounting/addresses/{id}"]["get"] + - target: $["paths"]["/marketingautomation/events/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingAddress + label: retrieveMarketingautomationEvent source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.addresses.retrieve({ + const result = await panora.marketingautomation.events.retrieve({ xConnectionToken: "", id: "", }); @@ -2150,18 +2136,18 @@ actions: } run(); - - target: $["paths"]["/accounting/expenses"]["get"] + - target: $["paths"]["/hris/employeepayrollruns"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingExpense + label: listHrisEmployeePayrollRun source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.expenses.list({ + const result = await panora.hris.employeepayrollruns.list({ xConnectionToken: "", }); @@ -2170,18 +2156,18 @@ actions: } run(); - - target: $["paths"]["/accounting/phonenumbers/{id}"]["get"] + - target: $["paths"]["/accounting/purchaseorders/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingPhonenumber + label: retrieveAccountingPurchaseOrder source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.phonenumbers.retrieve({ + const result = await panora.accounting.purchaseorders.retrieve({ xConnectionToken: "", id: "", }); @@ -2191,20 +2177,19 @@ actions: } run(); - - target: $["paths"]["/ats/activities/{id}"]["get"] + - target: $["paths"]["/filestorage/drives"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsActivity + label: listFilestorageDrives source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.activities.retrieve({ + const result = await panora.filestorage.drives.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2212,19 +2197,30 @@ actions: } run(); - - target: $["paths"]["/accounting/companyinfos"]["get"] + - target: $["paths"]["/filestorage/folders"]["post"] update: x-codeSamples: - lang: typescript - label: listAccountingCompanyInfos + label: createFilestorageFolder source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.companyinfos.list({ + const result = await panora.filestorage.folders.create({ xConnectionToken: "", + remoteData: false, + unifiedFilestorageFolderInput: { + name: "", + size: "", + folderUrl: "", + description: "Multi-tiered human-resource model", + driveId: "", + parentFolderId: "", + sharedLink: "", + permission: "", + }, }); // Handle the result @@ -2232,20 +2228,19 @@ actions: } run(); - - target: $["paths"]["/crm/notes/{id}"]["get"] + - target: $["paths"]["/ticketing/comments"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmNote + label: listTicketingComments source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.notes.retrieve({ + const result = await panora.ticketing.comments.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2253,18 +2248,18 @@ actions: } run(); - - target: $["paths"]["/hris/employments"]["get"] + - target: $["paths"]["/hris/locations"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisEmployment + label: listHrisLocation source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.employments.list({ + const result = await panora.hris.locations.list({ xConnectionToken: "", }); @@ -2273,19 +2268,20 @@ actions: } run(); - - target: $["paths"]["/hris/groups"]["get"] + - target: $["paths"]["/accounting/contacts/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisGroup + label: retrieveAccountingContact source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.groups.list({ + const result = await panora.accounting.contacts.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -2293,19 +2289,20 @@ actions: } run(); - - target: $["paths"]["/hris/timeoffs"]["get"] + - target: $["paths"]["/accounting/invoices/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisTimeoffs + label: retrieveAccountingInvoice source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.timeoffs.list({ + const result = await panora.accounting.invoices.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -2313,43 +2310,38 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/actions"]["post"] + - target: $["paths"]["/health"]["get"] update: x-codeSamples: - lang: typescript - label: createMarketingautomationAction + label: health source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.actions.create({ - xConnectionToken: "", - unifiedMarketingautomationActionInput: {}, - }); + const result = await panora.health(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/ats/applications"]["post"] + - target: $["paths"]["/ats/users/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createAtsApplication + label: retrieveAtsUser source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.applications.create({ + const result = await panora.ats.users.retrieve({ xConnectionToken: "", - unifiedAtsApplicationInput: { - fieldMappings: {}, - }, + id: "", }); // Handle the result @@ -2357,18 +2349,18 @@ actions: } run(); - - target: $["paths"]["/accounting/attachments"]["get"] + - target: $["paths"]["/ats/eeocs"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingAttachments + label: listAtsEeocs source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.attachments.list({ + const result = await panora.ats.eeocs.list({ xConnectionToken: "", }); @@ -2377,20 +2369,20 @@ actions: } run(); - - target: $["paths"]["/accounting/journalentries/{id}"]["get"] + - target: $["paths"]["/accounting/accounts"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingJournalEntry + label: createAccountingAccount source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.journalentries.retrieve({ + const result = await panora.accounting.accounts.create({ xConnectionToken: "", - id: "", + unifiedAccountingAccountInput: {}, }); // Handle the result @@ -2398,18 +2390,18 @@ actions: } run(); - - target: $["paths"]["/accounting/trackingcategories"]["get"] + - target: $["paths"]["/marketingautomation/campaigns"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingTrackingCategorys + label: listMarketingautomationCampaign source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.trackingcategories.list({ + const result = await panora.marketingautomation.campaigns.list({ xConnectionToken: "", }); @@ -2418,18 +2410,18 @@ actions: } run(); - - target: $["paths"]["/ticketing/collections/{id}"]["get"] + - target: $["paths"]["/hris/employerbenefits/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCollection + label: retrieveHrisEmployerBenefit source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.collections.retrieve({ + const result = await panora.hris.employerbenefits.retrieve({ xConnectionToken: "", id: "", }); @@ -2439,20 +2431,19 @@ actions: } run(); - - target: $["paths"]["/ticketing/teams/{id}"]["get"] + - target: $["paths"]["/accounting/payments"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingTeam + label: listAccountingPayment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.teams.retrieve({ + const result = await panora.accounting.payments.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2460,18 +2451,18 @@ actions: } run(); - - target: $["paths"]["/accounting/incomestatements"]["get"] + - target: $["paths"]["/crm/tasks"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingIncomeStatement + label: listCrmTask source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.incomestatements.list({ + const result = await panora.crm.tasks.list({ xConnectionToken: "", }); @@ -2480,19 +2471,20 @@ actions: } run(); - - target: $["paths"]["/ticketing/teams"]["get"] + - target: $["paths"]["/crm/tasks/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingTeams + label: retrieveCrmTask source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.teams.list({ + const result = await panora.crm.tasks.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -2500,19 +2492,20 @@ actions: } run(); - - target: $["paths"]["/crm/deals"]["get"] + - target: $["paths"]["/marketingautomation/templates"]["post"] update: x-codeSamples: - lang: typescript - label: listCrmDeals + label: createMarketingautomationTemplate source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.deals.list({ + const result = await panora.marketingautomation.templates.create({ xConnectionToken: "", + unifiedMarketingautomationTemplateInput: {}, }); // Handle the result @@ -2520,25 +2513,20 @@ actions: } run(); - - target: $["paths"]["/crm/deals"]["post"] + - target: $["paths"]["/marketingautomation/templates/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createCrmDeal + label: retrieveMarketingautomationTemplate source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.deals.create({ + const result = await panora.marketingautomation.templates.retrieve({ xConnectionToken: "", - unifiedCrmDealInput: { - name: "", - description: "Multi-tiered human-resource model", - amount: 8592.13, - fieldMappings: {}, - }, + id: "", }); // Handle the result @@ -2546,19 +2534,20 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/users"]["get"] + - target: $["paths"]["/ticketing/comments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingAutomationUsers + label: retrieveTicketingComment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.users.list({ + const result = await panora.ticketing.comments.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -2566,22 +2555,19 @@ actions: } run(); - - target: $["paths"]["/ats/attachments"]["post"] + - target: $["paths"]["/hris/groups"]["get"] update: x-codeSamples: - lang: typescript - label: createAtsAttachment + label: listHrisGroup source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.attachments.create({ + const result = await panora.hris.groups.list({ xConnectionToken: "", - unifiedAtsAttachmentInput: { - fieldMappings: {}, - }, }); // Handle the result @@ -2589,18 +2575,18 @@ actions: } run(); - - target: $["paths"]["/accounting/accounts/{id}"]["get"] + - target: $["paths"]["/hris/timeoffs/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingAccount + label: retrieveHrisTimeoff source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.accounts.retrieve({ + const result = await panora.hris.timeoffs.retrieve({ xConnectionToken: "", id: "", }); @@ -2610,18 +2596,18 @@ actions: } run(); - - target: $["paths"]["/accounting/creditnotes/{id}"]["get"] + - target: $["paths"]["/ticketing/tags/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingCreditNote + label: retrieveTicketingTag source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.creditnotes.retrieve({ + const result = await panora.ticketing.tags.retrieve({ xConnectionToken: "", id: "", }); @@ -2631,38 +2617,39 @@ actions: } run(); - - target: $["paths"]["/"]["get"] + - target: $["paths"]["/accounting/accounts"]["get"] update: x-codeSamples: - lang: typescript - label: hello + label: listAccountingAccounts source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hello(); + const result = await panora.accounting.accounts.list({ + xConnectionToken: "", + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/hris/employerbenefits/{id}"]["get"] + - target: $["paths"]["/ticketing/attachments"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisEmployerBenefit + label: listTicketingAttachments source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.employerbenefits.retrieve({ + const result = await panora.ticketing.attachments.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2670,20 +2657,22 @@ actions: } run(); - - target: $["paths"]["/hris/timeoffs/{id}"]["get"] + - target: $["paths"]["/field_mappings/define"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveHrisTimeoff + label: definitions source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.timeoffs.retrieve({ - xConnectionToken: "", - id: "", + const result = await panora.fieldMappings.define.definitions({ + objectTypeOwner: "", + name: "", + description: "Universal heuristic matrices", + dataType: "decimal", }); // Handle the result @@ -2691,18 +2680,18 @@ actions: } run(); - - target: $["paths"]["/accounting/attachments/{id}"]["get"] + - target: $["paths"]["/hris/timeoffbalances/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingAttachment + label: retrieveHrisTimeoffbalance source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.attachments.retrieve({ + const result = await panora.hris.timeoffbalances.retrieve({ xConnectionToken: "", id: "", }); @@ -2712,20 +2701,19 @@ actions: } run(); - - target: $["paths"]["/ticketing/comments/{id}"]["get"] + - target: $["paths"]["/marketingautomation/templates"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingComment + label: listMarketingautomationTemplates source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.comments.retrieve({ + const result = await panora.marketingautomation.templates.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2733,22 +2721,19 @@ actions: } run(); - - target: $["paths"]["/linked_users/batch"]["post"] + - target: $["paths"]["/accounting/addresses"]["get"] update: x-codeSamples: - lang: typescript - label: importBatch + label: listAccountingAddress source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.linkedUsers.batch.importBatch({ - linkedUserOriginIds: [ - "", - ], - alias: "", + const result = await panora.accounting.addresses.list({ + xConnectionToken: "", }); // Handle the result @@ -2756,20 +2741,20 @@ actions: } run(); - - target: $["paths"]["/accounting/journalentries"]["post"] + - target: $["paths"]["/hris/bankinfos/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createAccountingJournalEntry + label: retrieveHrisBankinfo source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.journalentries.create({ + const result = await panora.hris.bankinfos.retrieve({ xConnectionToken: "", - unifiedAccountingJournalentryInput: {}, + id: "", }); // Handle the result @@ -2777,18 +2762,18 @@ actions: } run(); - - target: $["paths"]["/ticketing/contacts"]["get"] + - target: $["paths"]["/filestorage/folders"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingContacts + label: listFilestorageFolder source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.contacts.list({ + const result = await panora.filestorage.folders.list({ xConnectionToken: "", }); @@ -2797,18 +2782,18 @@ actions: } run(); - - target: $["paths"]["/hris/timeoffbalances/{id}"]["get"] + - target: $["paths"]["/marketingautomation/actions/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisTimeoffbalance + label: retrieveMarketingautomationAction source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.timeoffbalances.retrieve({ + const result = await panora.marketingautomation.actions.retrieve({ xConnectionToken: "", id: "", }); @@ -2818,19 +2803,20 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/messages"]["get"] + - target: $["paths"]["/ats/attachments"]["post"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationMessages + label: createAtsAttachment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.messages.list({ + const result = await panora.ats.attachments.create({ xConnectionToken: "", + unifiedAtsAttachmentInput: {}, }); // Handle the result @@ -2838,20 +2824,19 @@ actions: } run(); - - target: $["paths"]["/hris/timeoffs"]["post"] + - target: $["paths"]["/ats/candidates"]["get"] update: x-codeSamples: - lang: typescript - label: createHrisTimeoff + label: listAtsCandidate source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.timeoffs.create({ + const result = await panora.ats.candidates.list({ xConnectionToken: "", - unifiedHrisTimeoffInput: {}, }); // Handle the result @@ -2859,20 +2844,19 @@ actions: } run(); - - target: $["paths"]["/crm/tasks/{id}"]["get"] + - target: $["paths"]["/crm/engagements"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmTask + label: listCrmEngagements source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.tasks.retrieve({ + const result = await panora.crm.engagements.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2880,18 +2864,18 @@ actions: } run(); - - target: $["paths"]["/hris/dependents/{id}"]["get"] + - target: $["paths"]["/accounting/balancesheets/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisDependent + label: retrieveAccountingBalanceSheet source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.dependents.retrieve({ + const result = await panora.accounting.balancesheets.retrieve({ xConnectionToken: "", id: "", }); @@ -2901,20 +2885,20 @@ actions: } run(); - - target: $["paths"]["/hris/groups/{id}"]["get"] + - target: $["paths"]["/marketingautomation/actions"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveHrisGroup + label: createMarketingautomationAction source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.groups.retrieve({ + const result = await panora.marketingautomation.actions.create({ xConnectionToken: "", - id: "", + unifiedMarketingautomationActionInput: {}, }); // Handle the result @@ -2922,19 +2906,20 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/contacts"]["get"] + - target: $["paths"]["/marketingautomation/users/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingAutomationContacts + label: retrieveMarketingAutomationUser source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.contacts.list({ + const result = await panora.marketingautomation.users.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -2942,19 +2927,20 @@ actions: } run(); - - target: $["paths"]["/ats/tags"]["get"] + - target: $["paths"]["/accounting/taxrates/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsTags + label: retrieveAccountingTaxRate source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.tags.list({ + const result = await panora.accounting.taxrates.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -2962,37 +2948,41 @@ actions: } run(); - - target: $["paths"]["/health"]["get"] + - target: $["paths"]["/accounting/attachments"]["post"] update: x-codeSamples: - lang: typescript - label: health + label: createAccountingAttachment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.health(); + const result = await panora.accounting.attachments.create({ + xConnectionToken: "", + unifiedAccountingAttachmentInput: {}, + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/crm/engagements"]["get"] + - target: $["paths"]["/accounting/creditnotes/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listCrmEngagements + label: retrieveAccountingCreditNote source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.engagements.list({ + const result = await panora.accounting.creditnotes.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -3000,20 +2990,19 @@ actions: } run(); - - target: $["paths"]["/ats/attachments/{id}"]["get"] + - target: $["paths"]["/accounting/items"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsAttachment + label: listAccountingItem source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.attachments.retrieve({ + const result = await panora.accounting.items.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3021,20 +3010,19 @@ actions: } run(); - - target: $["paths"]["/ats/scorecards/{id}"]["get"] + - target: $["paths"]["/sync/status/{vertical}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsScorecard + label: status source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.scorecards.retrieve({ - xConnectionToken: "", - id: "", + const result = await panora.sync.status({ + vertical: "", }); // Handle the result @@ -3042,18 +3030,18 @@ actions: } run(); - - target: $["paths"]["/accounting/vendorcredits"]["get"] + - target: $["paths"]["/crm/deals"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingVendorCredit + label: listCrmDeals source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.vendorcredits.list({ + const result = await panora.crm.deals.list({ xConnectionToken: "", }); @@ -3062,18 +3050,18 @@ actions: } run(); - - target: $["paths"]["/filestorage/users/{id}"]["get"] + - target: $["paths"]["/hris/groups/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveFilestorageUser + label: retrieveHrisGroup source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.filestorage.users.retrieve({ + const result = await panora.hris.groups.retrieve({ xConnectionToken: "", id: "", }); @@ -3083,19 +3071,20 @@ actions: } run(); - - target: $["paths"]["/sync/status/{vertical}"]["get"] + - target: $["paths"]["/marketingautomation/automations/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: status + label: retrieveMarketingautomationAutomation source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.sync.status({ - vertical: "", + const result = await panora.marketingautomation.automations.retrieve({ + xConnectionToken: "", + id: "", }); // Handle the result @@ -3103,18 +3092,18 @@ actions: } run(); - - target: $["paths"]["/crm/contacts/{id}"]["get"] + - target: $["paths"]["/ats/eeocs/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmContact + label: retrieveAtsEeocs source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.contacts.retrieve({ + const result = await panora.ats.eeocs.retrieve({ xConnectionToken: "", id: "", }); @@ -3124,20 +3113,20 @@ actions: } run(); - - target: $["paths"]["/hris/employees"]["post"] + - target: $["paths"]["/hris/locations/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createHrisEmployee + label: retrieveHrisLocation source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.employees.create({ + const result = await panora.hris.locations.retrieve({ xConnectionToken: "", - unifiedHrisEmployeeInput: {}, + id: "", }); // Handle the result @@ -3145,19 +3134,20 @@ actions: } run(); - - target: $["paths"]["/accounting/journalentries"]["get"] + - target: $["paths"]["/accounting/journalentries"]["post"] update: x-codeSamples: - lang: typescript - label: listAccountingJournalEntry + label: createAccountingJournalEntry source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.journalentries.list({ + const result = await panora.accounting.journalentries.create({ xConnectionToken: "", + unifiedAccountingJournalentryInput: {}, }); // Handle the result @@ -3165,19 +3155,18 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/campaigns/{id}"]["get"] + - target: $["paths"]["/linked_users/single"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationCampaign + label: retrieveLinkedUser source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.campaigns.retrieve({ - xConnectionToken: "", + const result = await panora.linkedUsers.single.retrieve({ id: "", }); @@ -3186,20 +3175,19 @@ actions: } run(); - - target: $["paths"]["/ats/offices/{id}"]["get"] + - target: $["paths"]["/accounting/phonenumbers"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsOffice + label: listAccountingPhonenumber source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.offices.retrieve({ + const result = await panora.accounting.phonenumbers.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3207,19 +3195,20 @@ actions: } run(); - - target: $["paths"]["/accounting/phonenumbers"]["get"] + - target: $["paths"]["/crm/notes/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingPhonenumber + label: retrieveCrmNote source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.phonenumbers.list({ + const result = await panora.crm.notes.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -3227,18 +3216,18 @@ actions: } run(); - - target: $["paths"]["/accounting/purchaseorders"]["get"] + - target: $["paths"]["/crm/users"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingPurchaseOrder + label: listCrmUsers source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.purchaseorders.list({ + const result = await panora.crm.users.list({ xConnectionToken: "", }); @@ -3247,18 +3236,18 @@ actions: } run(); - - target: $["paths"]["/filestorage/folders"]["get"] + - target: $["paths"]["/hris/payrollruns"]["get"] update: x-codeSamples: - lang: typescript - label: listFilestorageFolder + label: listHrisPayrollRuns source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.filestorage.folders.list({ + const result = await panora.hris.payrollruns.list({ xConnectionToken: "", }); @@ -3267,18 +3256,18 @@ actions: } run(); - - target: $["paths"]["/ticketing/comments"]["get"] + - target: $["paths"]["/ticketing/contacts"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingComments + label: listTicketingContacts source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.comments.list({ + const result = await panora.ticketing.contacts.list({ xConnectionToken: "", }); @@ -3287,24 +3276,20 @@ actions: } run(); - - target: $["paths"]["/crm/contacts"]["post"] + - target: $["paths"]["/accounting/vendorcredits/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createCrmContact + label: retrieveAccountingVendorCredit source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.contacts.create({ + const result = await panora.accounting.vendorcredits.retrieve({ xConnectionToken: "", - unifiedCrmContactInput: { - firstName: "Jed", - lastName: "Kuhn", - fieldMappings: {}, - }, + id: "", }); // Handle the result @@ -3312,18 +3297,18 @@ actions: } run(); - - target: $["paths"]["/hris/bankinfos/{id}"]["get"] + - target: $["paths"]["/filestorage/users/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisBankinfo + label: retrieveFilestorageUser source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.bankinfos.retrieve({ + const result = await panora.filestorage.users.retrieve({ xConnectionToken: "", id: "", }); @@ -3333,20 +3318,19 @@ actions: } run(); - - target: $["paths"]["/hris/locations/{id}"]["get"] + - target: $["paths"]["/filestorage/users"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisLocation + label: listFilestorageUsers source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.locations.retrieve({ + const result = await panora.filestorage.users.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3354,18 +3338,18 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/lists/{id}"]["get"] + - target: $["paths"]["/marketingautomation/campaigns/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationList + label: retrieveMarketingautomationCampaign source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.lists.retrieve({ + const result = await panora.marketingautomation.campaigns.retrieve({ xConnectionToken: "", id: "", }); @@ -3375,20 +3359,19 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/users/{id}"]["get"] + - target: $["paths"]["/marketingautomation/contacts"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingAutomationUser + label: listMarketingAutomationContacts source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.users.retrieve({ + const result = await panora.marketingautomation.contacts.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3396,22 +3379,19 @@ actions: } run(); - - target: $["paths"]["/ats/interviews"]["post"] + - target: $["paths"]["/accounting/incomestatements"]["get"] update: x-codeSamples: - lang: typescript - label: createAtsInterview + label: listAccountingIncomeStatement source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.interviews.create({ + const result = await panora.accounting.incomestatements.list({ xConnectionToken: "", - unifiedAtsInterviewInput: { - fieldMappings: {}, - }, }); // Handle the result @@ -3419,20 +3399,19 @@ actions: } run(); - - target: $["paths"]["/ats/rejectreasons/{id}"]["get"] + - target: $["paths"]["/marketingautomation/users"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsRejectReason + label: listMarketingAutomationUsers source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.rejectreasons.retrieve({ + const result = await panora.marketingautomation.users.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3440,18 +3419,18 @@ actions: } run(); - - target: $["paths"]["/filestorage/files"]["get"] + - target: $["paths"]["/ticketing/tags"]["get"] update: x-codeSamples: - lang: typescript - label: listFilestorageFile + label: listTicketingTags source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.filestorage.files.list({ + const result = await panora.ticketing.tags.list({ xConnectionToken: "", }); @@ -3460,20 +3439,24 @@ actions: } run(); - - target: $["paths"]["/crm/users/{id}"]["get"] + - target: $["paths"]["/crm/tasks"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveCrmUser + label: createCrmTask source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.users.retrieve({ + const result = await panora.crm.tasks.create({ xConnectionToken: "", - id: "", + unifiedCrmTaskInput: { + subject: "", + content: "", + status: "", + }, }); // Handle the result @@ -3481,19 +3464,20 @@ actions: } run(); - - target: $["paths"]["/ats/applications"]["get"] + - target: $["paths"]["/accounting/contacts"]["post"] update: x-codeSamples: - lang: typescript - label: listAtsApplication + label: createAccountingContact source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.applications.list({ + const result = await panora.accounting.contacts.create({ xConnectionToken: "", + unifiedAccountingContactInput: {}, }); // Handle the result @@ -3501,19 +3485,20 @@ actions: } run(); - - target: $["paths"]["/ats/attachments"]["get"] + - target: $["paths"]["/ticketing/contacts/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsAttachment + label: retrieveTicketingContact source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.attachments.list({ + const result = await panora.ticketing.contacts.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -3521,18 +3506,18 @@ actions: } run(); - - target: $["paths"]["/accounting/vendorcredits/{id}"]["get"] + - target: $["paths"]["/accounting/companyinfos/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingVendorCredit + label: retrieveAccountingCompanyInfo source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.vendorcredits.retrieve({ + const result = await panora.accounting.companyinfos.retrieve({ xConnectionToken: "", id: "", }); @@ -3542,19 +3527,24 @@ actions: } run(); - - target: $["paths"]["/ats/activities"]["get"] + - target: $["paths"]["/ticketing/attachments"]["post"] update: x-codeSamples: - lang: typescript - label: listAtsActivity + label: createTicketingAttachment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.activities.list({ + const result = await panora.ticketing.attachments.create({ xConnectionToken: "", + unifiedTicketingAttachmentInput: { + fileName: "your_file_here", + fileUrl: "", + uploader: "", + }, }); // Handle the result @@ -3562,42 +3552,47 @@ actions: } run(); - - target: $["paths"]["/filestorage/drives"]["get"] + - target: $["paths"]["/sync/resync"]["post"] update: x-codeSamples: - lang: typescript - label: listFilestorageDrives + label: resync source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.filestorage.drives.list({ - xConnectionToken: "", - }); + const result = await panora.sync.resync(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/webhooks"]["post"] + - target: $["paths"]["/filestorage/files"]["post"] update: x-codeSamples: - lang: typescript - label: createWebhookPublic + label: createFilestorageFile source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.webhooks.create({ - url: "http://limp-pastry.org", - scope: [ - "", - ], + const result = await panora.filestorage.files.create({ + xConnectionToken: "", + remoteData: false, + unifiedFilestorageFileInput: { + name: "", + fileUrl: "", + mimeType: "", + size: "", + folderId: "", + permission: "", + sharedLink: "", + }, }); // Handle the result @@ -3605,18 +3600,18 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/actions"]["get"] + - target: $["paths"]["/marketingautomation/emails"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationAction + label: listMarketingautomationEmails source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.actions.list({ + const result = await panora.marketingautomation.emails.list({ xConnectionToken: "", }); @@ -3625,18 +3620,18 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/contacts/{id}"]["get"] + - target: $["paths"]["/ats/interviews/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingAutomationContact + label: retrieveAtsInterview source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.contacts.retrieve({ + const result = await panora.ats.interviews.retrieve({ xConnectionToken: "", id: "", }); @@ -3646,20 +3641,19 @@ actions: } run(); - - target: $["paths"]["/accounting/balancesheets/{id}"]["get"] + - target: $["paths"]["/accounting/attachments"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingBalanceSheet + label: listAccountingAttachments source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.balancesheets.retrieve({ + const result = await panora.accounting.attachments.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3667,18 +3661,18 @@ actions: } run(); - - target: $["paths"]["/accounting/cashflowstatements"]["get"] + - target: $["paths"]["/accounting/creditnotes"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingCashflowStatement + label: listAccountingCreditNote source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.cashflowstatements.list({ + const result = await panora.accounting.creditnotes.list({ xConnectionToken: "", }); @@ -3687,21 +3681,21 @@ actions: } run(); - - target: $["paths"]["/ticketing/comments"]["post"] + - target: $["paths"]["/crm/companies"]["post"] update: x-codeSamples: - lang: typescript - label: createTicketingComment + label: createCrmCompany source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.comments.create({ + const result = await panora.crm.companies.create({ xConnectionToken: "", - unifiedTicketingCommentInput: { - body: "", + unifiedCrmCompanyInput: { + name: "", }, }); @@ -3710,18 +3704,18 @@ actions: } run(); - - target: $["paths"]["/hris/employeepayrollruns"]["get"] + - target: $["paths"]["/ats/tags"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisEmployeePayrollRun + label: listAtsTags source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.employeepayrollruns.list({ + const result = await panora.ats.tags.list({ xConnectionToken: "", }); @@ -3730,18 +3724,18 @@ actions: } run(); - - target: $["paths"]["/hris/employees"]["get"] + - target: $["paths"]["/crm/contacts"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisEmployee + label: listCrmContacts source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.employees.list({ + const result = await panora.crm.contacts.list({ xConnectionToken: "", }); @@ -3750,18 +3744,18 @@ actions: } run(); - - target: $["paths"]["/accounting/contacts/{id}"]["get"] + - target: $["paths"]["/ats/attachments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingContact + label: retrieveAtsAttachment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.contacts.retrieve({ + const result = await panora.ats.attachments.retrieve({ xConnectionToken: "", id: "", }); @@ -3771,24 +3765,19 @@ actions: } run(); - - target: $["paths"]["/ticketing/tickets"]["post"] + - target: $["paths"]["/ats/jobs"]["get"] update: x-codeSamples: - lang: typescript - label: createTicketingTicket + label: listAtsJob source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.tickets.create({ + const result = await panora.ats.jobs.list({ xConnectionToken: "", - unifiedTicketingTicketInput: { - name: "", - description: "Multi-tiered human-resource model", - fieldMappings: {}, - }, }); // Handle the result @@ -3796,23 +3785,20 @@ actions: } run(); - - target: $["paths"]["/crm/engagements"]["post"] + - target: $["paths"]["/accounting/cashflowstatements/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createCrmEngagement + label: retrieveAccountingCashflowStatement source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.engagements.create({ + const result = await panora.accounting.cashflowstatements.retrieve({ xConnectionToken: "", - unifiedCrmEngagementInput: { - type: "", - fieldMappings: {}, - }, + id: "", }); // Handle the result @@ -3820,41 +3806,37 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/contacts"]["post"] + - target: $["paths"]["/linked_users"]["get"] update: x-codeSamples: - lang: typescript - label: createMarketingAutomationContact + label: listLinkedUsers source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.contacts.create({ - xConnectionToken: "", - unifiedMarketingautomationContactInput: {}, - }); + const result = await panora.linkedUsers.list(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/marketingautomation/templates"]["post"] + - target: $["paths"]["/marketingautomation/messages"]["get"] update: x-codeSamples: - lang: typescript - label: createMarketingautomationTemplate + label: listMarketingautomationMessages source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.templates.create({ + const result = await panora.marketingautomation.messages.list({ xConnectionToken: "", - unifiedMarketingautomationTemplateInput: {}, }); // Handle the result @@ -3862,20 +3844,19 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/templates/{id}"]["get"] + - target: $["paths"]["/hris/employerbenefits"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationTemplate + label: listHrisEmployerBenefit source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.templates.retrieve({ + const result = await panora.hris.employerbenefits.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3883,19 +3864,20 @@ actions: } run(); - - target: $["paths"]["/accounting/addresses"]["get"] + - target: $["paths"]["/ats/offices/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingAddress + label: retrieveAtsOffice source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.addresses.list({ + const result = await panora.ats.offices.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -3903,18 +3885,18 @@ actions: } run(); - - target: $["paths"]["/ticketing/accounts"]["get"] + - target: $["paths"]["/ats/users"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingAccount + label: listAtsUsers source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.accounts.list({ + const result = await panora.ats.users.list({ xConnectionToken: "", }); @@ -3923,22 +3905,19 @@ actions: } run(); - - target: $["paths"]["/field_mappings/define"]["post"] + - target: $["paths"]["/accounting/vendorcredits"]["get"] update: x-codeSamples: - lang: typescript - label: definitions + label: listAccountingVendorCredit source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.fieldMappings.define.definitions({ - objectTypeOwner: "", - name: "", - description: "Universal heuristic matrices", - dataType: "decimal", + const result = await panora.accounting.vendorcredits.list({ + xConnectionToken: "", }); // Handle the result @@ -3946,19 +3925,20 @@ actions: } run(); - - target: $["paths"]["/hris/payrollruns"]["get"] + - target: $["paths"]["/accounting/phonenumbers/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisPayrollRuns + label: retrieveAccountingPhonenumber source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.payrollruns.list({ + const result = await panora.accounting.phonenumbers.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -3966,18 +3946,18 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/events"]["get"] + - target: $["paths"]["/ticketing/users"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingAutomationEvents + label: listTicketingUsers source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.events.list({ + const result = await panora.ticketing.users.list({ xConnectionToken: "", }); @@ -3986,18 +3966,18 @@ actions: } run(); - - target: $["paths"]["/ats/departments"]["get"] + - target: $["paths"]["/ats/scorecards"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsDepartments + label: listAtsScorecard source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.departments.list({ + const result = await panora.ats.scorecards.list({ xConnectionToken: "", }); @@ -4006,20 +3986,20 @@ actions: } run(); - - target: $["paths"]["/accounting/contacts"]["post"] + - target: $["paths"]["/accounting/purchaseorders"]["post"] update: x-codeSamples: - lang: typescript - label: createAccountingContact + label: createAccountingPurchaseOrder source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.contacts.create({ + const result = await panora.accounting.purchaseorders.create({ xConnectionToken: "", - unifiedAccountingContactInput: {}, + unifiedAccountingPurchaseorderInput: {}, }); // Handle the result @@ -4027,19 +4007,20 @@ actions: } run(); - - target: $["paths"]["/ticketing/collections"]["get"] + - target: $["paths"]["/hris/paygroups/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingCollections + label: retrieveHrisPaygroup source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.collections.list({ + const result = await panora.hris.paygroups.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -4047,38 +4028,40 @@ actions: } run(); - - target: $["paths"]["/sync/resync"]["post"] + - target: $["paths"]["/marketingautomation/contacts/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: resync + label: retrieveMarketingAutomationContact source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.sync.resync(); + const result = await panora.marketingautomation.contacts.retrieve({ + xConnectionToken: "", + id: "", + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/hris/employeepayrollruns/{id}"]["get"] + - target: $["paths"]["/ats/departments"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisEmployeePayrollRun + label: listAtsDepartments source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.employeepayrollruns.retrieve({ + const result = await panora.ats.departments.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -4086,20 +4069,19 @@ actions: } run(); - - target: $["paths"]["/ats/jobs/{id}"]["get"] + - target: $["paths"]["/hris/bankinfos"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsJob + label: listHrisBankinfo source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.jobs.retrieve({ + const result = await panora.hris.bankinfos.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -4107,19 +4089,20 @@ actions: } run(); - - target: $["paths"]["/hris/bankinfos"]["get"] + - target: $["paths"]["/hris/dependents/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisBankinfo + label: retrieveHrisDependent source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.hris.bankinfos.list({ + const result = await panora.hris.dependents.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -4127,40 +4110,38 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/actions/{id}"]["get"] + - target: $["paths"]["/webhooks"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationAction + label: listWebhooks source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.actions.retrieve({ - xConnectionToken: "", - id: "", - }); + const result = await panora.webhooks.list(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/marketingautomation/lists"]["get"] + - target: $["paths"]["/marketingautomation/lists/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationLists + label: retrieveMarketingautomationList source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.lists.list({ + const result = await panora.marketingautomation.lists.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -4168,19 +4149,19 @@ actions: } run(); - - target: $["paths"]["/webhooks/{id}"]["delete"] + - target: $["paths"]["/ats/interviews"]["get"] update: x-codeSamples: - lang: typescript - label: delete + label: listAtsInterview source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.webhooks.id.delete({ - id: "", + const result = await panora.ats.interviews.list({ + xConnectionToken: "", }); // Handle the result @@ -4188,20 +4169,20 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/automations"]["post"] + - target: $["paths"]["/accounting/accounts/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createMarketingautomationAutomation + label: retrieveAccountingAccount source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.automations.create({ + const result = await panora.accounting.accounts.retrieve({ xConnectionToken: "", - unifiedMarketingautomationAutomationInput: {}, + id: "", }); // Handle the result @@ -4209,22 +4190,20 @@ actions: } run(); - - target: $["paths"]["/ats/candidates"]["post"] + - target: $["paths"]["/hris/employees"]["post"] update: x-codeSamples: - lang: typescript - label: createAtsCandidate + label: createHrisEmployee source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.candidates.create({ + const result = await panora.hris.employees.create({ xConnectionToken: "", - unifiedAtsCandidateInput: { - fieldMappings: {}, - }, + unifiedHrisEmployeeInput: {}, }); // Handle the result @@ -4232,18 +4211,18 @@ actions: } run(); - - target: $["paths"]["/ats/interviews/{id}"]["get"] + - target: $["paths"]["/accounting/incomestatements/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsInterview + label: retrieveAccountingIncomeStatement source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.interviews.retrieve({ + const result = await panora.accounting.incomestatements.retrieve({ xConnectionToken: "", id: "", }); @@ -4253,20 +4232,19 @@ actions: } run(); - - target: $["paths"]["/crm/stages/{id}"]["get"] + - target: $["paths"]["/filestorage/files"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmStage + label: listFilestorageFile source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.crm.stages.retrieve({ + const result = await panora.filestorage.files.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -4274,19 +4252,23 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/campaigns"]["get"] + - target: $["paths"]["/webhooks/verifyEvent"]["post"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationCampaign + label: verifyEvent source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.marketingautomation.campaigns.list({ - xConnectionToken: "", + const result = await panora.webhooks.verifyevent.verifyEvent({ + payload: { + "key": "", + }, + signature: "", + secret: "", }); // Handle the result @@ -4294,18 +4276,18 @@ actions: } run(); - - target: $["paths"]["/ticketing/users/{id}"]["get"] + - target: $["paths"]["/ticketing/attachments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingUser + label: retrieveTicketingAttachment source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.users.retrieve({ + const result = await panora.ticketing.attachments.retrieve({ xConnectionToken: "", id: "", }); @@ -4315,20 +4297,19 @@ actions: } run(); - - target: $["paths"]["/ticketing/contacts/{id}"]["get"] + - target: $["paths"]["/crm/companies"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingContact + label: listCrmCompany source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ticketing.contacts.retrieve({ + const result = await panora.crm.companies.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -4336,18 +4317,19 @@ actions: } run(); - - target: $["paths"]["/linked_users/single"]["get"] + - target: $["paths"]["/filestorage/drives/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveLinkedUser + label: retrieveFilestorageDrive source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.linkedUsers.single.retrieve({ + const result = await panora.filestorage.drives.retrieve({ + xConnectionToken: "", id: "", }); @@ -4356,18 +4338,18 @@ actions: } run(); - - target: $["paths"]["/ats/offices"]["get"] + - target: $["paths"]["/ats/jobinterviewstages"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsOffice + label: listAtsJobInterviewStage source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.ats.offices.list({ + const result = await panora.ats.jobinterviewstages.list({ xConnectionToken: "", }); @@ -4376,18 +4358,18 @@ actions: } run(); - - target: $["paths"]["/accounting/purchaseorders/{id}"]["get"] + - target: $["paths"]["/accounting/items/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingPurchaseOrder + label: retrieveAccountingItem source: |- import { Panora } from "@panora/sdk"; const panora = new Panora(); async function run() { - const result = await panora.accounting.purchaseorders.retrieve({ + const result = await panora.accounting.items.retrieve({ xConnectionToken: "", id: "", }); diff --git a/docs/models/components/comment.md b/docs/models/components/comment.md new file mode 100644 index 00000000..80bf935a --- /dev/null +++ b/docs/models/components/comment.md @@ -0,0 +1,17 @@ +# Comment + +The comment of the ticket + + +## 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/createdat.md b/docs/models/components/createdat.md index fe6c4c85..273feb58 100644 --- a/docs/models/components/createdat.md +++ b/docs/models/components/createdat.md @@ -1,5 +1,7 @@ # CreatedAt +The created date of the object + ## Fields diff --git a/docs/models/components/customfieldresponse.md b/docs/models/components/customfieldresponse.md new file mode 100644 index 00000000..74a25358 --- /dev/null +++ b/docs/models/components/customfieldresponse.md @@ -0,0 +1,21 @@ +# CustomFieldResponse + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `idAttribute` | *string* | :heavy_check_mark: | Attribute Id | +| `status` | *string* | :heavy_check_mark: | Attribute Status | +| `ressourceOwnerType` | *string* | :heavy_check_mark: | Attribute Ressource Owner Type | +| `slug` | *string* | :heavy_check_mark: | Attribute Slug | +| `description` | *string* | :heavy_check_mark: | Attribute Description | +| `dataType` | *string* | :heavy_check_mark: | Attribute Data Type | +| `remoteId` | *string* | :heavy_check_mark: | Attribute Remote Id | +| `source` | *string* | :heavy_check_mark: | Attribute Source | +| `idEntity` | *string* | :heavy_check_mark: | Attribute Id Entity | +| `idProject` | *string* | :heavy_check_mark: | Attribute Id Project | +| `scope` | *string* | :heavy_check_mark: | Attribute Scope | +| `idConsumer` | *string* | :heavy_check_mark: | Attribute Id Consumer | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | Attribute Created Date | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | Attribute Modified Date | \ No newline at end of file diff --git a/docs/models/components/data.md b/docs/models/components/data.md index 5f132f03..63a5c63a 100644 --- a/docs/models/components/data.md +++ b/docs/models/components/data.md @@ -1,7 +1,17 @@ # Data -## Fields +## Supported Types + +### `{ [k: string]: any }` + +```typescript +const value: { [k: string]: any } = /* values here */ +``` + +### `{ [k: string]: any }[]` + +```typescript +const value: { [k: string]: any }[] = /* values here */ +``` -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/eventpayload.md b/docs/models/components/eventpayload.md deleted file mode 100644 index 0a9ca139..00000000 --- a/docs/models/components/eventpayload.md +++ /dev/null @@ -1,7 +0,0 @@ -# EventPayload - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/fieldmappings.md b/docs/models/components/fieldmappings.md deleted file mode 100644 index ff23cd71..00000000 --- a/docs/models/components/fieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# FieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/linkeduserresponse.md b/docs/models/components/linkeduserresponse.md new file mode 100644 index 00000000..e5256a6d --- /dev/null +++ b/docs/models/components/linkeduserresponse.md @@ -0,0 +1,11 @@ +# LinkedUserResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `idLinkedUser` | *string* | :heavy_check_mark: | N/A | +| `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/mapfieldtoproviderdto.md b/docs/models/components/mapfieldtoproviderdto.md index de7db8fa..a840f2d9 100644 --- a/docs/models/components/mapfieldtoproviderdto.md +++ b/docs/models/components/mapfieldtoproviderdto.md @@ -5,7 +5,7 @@ | 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 +| `attributeId` | *string* | :heavy_check_mark: | Attribute Id | +| `sourceCustomFieldId` | *string* | :heavy_check_mark: | Attribute Id | +| `sourceProvider` | *string* | :heavy_check_mark: | Attribute Id | +| `linkedUserId` | *string* | :heavy_check_mark: | Attribute Id | \ No newline at end of file diff --git a/docs/models/components/modifiedat.md b/docs/models/components/modifiedat.md index 9718ead8..34c9db08 100644 --- a/docs/models/components/modifiedat.md +++ b/docs/models/components/modifiedat.md @@ -1,5 +1,7 @@ # ModifiedAt +The modified date of the object + ## Fields diff --git a/docs/models/components/headers.md b/docs/models/components/numbert.md similarity index 92% rename from docs/models/components/headers.md rename to docs/models/components/numbert.md index a95ff212..3450d986 100644 --- a/docs/models/components/headers.md +++ b/docs/models/components/numbert.md @@ -1,4 +1,4 @@ -# Headers +# NumberT ## Fields diff --git a/docs/models/components/passthroughrequestdto.md b/docs/models/components/passthroughrequestdto.md index 445a26e2..8af070f4 100644 --- a/docs/models/components/passthroughrequestdto.md +++ b/docs/models/components/passthroughrequestdto.md @@ -3,9 +3,9 @@ ## 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 +| 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* | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/payload.md b/docs/models/components/payload.md deleted file mode 100644 index 1b120a0a..00000000 --- a/docs/models/components/payload.md +++ /dev/null @@ -1,9 +0,0 @@ -# Payload - -The payload event of the webhook. - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/resyncstatusdto.md b/docs/models/components/resyncstatusdto.md new file mode 100644 index 00000000..5eb5850c --- /dev/null +++ b/docs/models/components/resyncstatusdto.md @@ -0,0 +1,11 @@ +# ResyncStatusDto + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `timestamp` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A | +| `vertical` | *string* | :heavy_check_mark: | N/A | +| `provider` | *string* | :heavy_check_mark: | N/A | +| `status` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/signatureverificationdto.md b/docs/models/components/signatureverificationdto.md index 9645432b..f011747d 100644 --- a/docs/models/components/signatureverificationdto.md +++ b/docs/models/components/signatureverificationdto.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `payload` | [components.Payload](../../models/components/payload.md) | :heavy_check_mark: | The payload event of the webhook. | -| `signature` | *string* | :heavy_check_mark: | The signature of the webhook. | -| `secret` | *string* | :heavy_check_mark: | The secret of the webhook. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `payload` | Record | :heavy_check_mark: | The payload event of the webhook. | +| `signature` | *string* | :heavy_check_mark: | The signature of the webhook. | +| `secret` | *string* | :heavy_check_mark: | The secret of the webhook. | \ No newline at end of file diff --git a/docs/models/components/remotedata.md b/docs/models/components/string.md similarity index 90% rename from docs/models/components/remotedata.md rename to docs/models/components/string.md index effa4963..b13a613c 100644 --- a/docs/models/components/remotedata.md +++ b/docs/models/components/string.md @@ -1,4 +1,4 @@ -# RemoteData +# String ## Fields diff --git a/docs/models/components/unifiedatsactivityinput.md b/docs/models/components/unifiedatsactivityinput.md index 9a2c72b5..716641d3 100644 --- a/docs/models/components/unifiedatsactivityinput.md +++ b/docs/models/components/unifiedatsactivityinput.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `activityType` | *string* | :heavy_minus_sign: | The type of activity | -| `subject` | *string* | :heavy_minus_sign: | The subject of the activity | -| `body` | *string* | :heavy_minus_sign: | The body of the activity | -| `visibility` | *string* | :heavy_minus_sign: | The visibility of the activity | -| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | -| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the activity | -| `fieldMappings` | [components.UnifiedAtsActivityInputFieldMappings](../../models/components/unifiedatsactivityinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `activityType` | *string* | :heavy_minus_sign: | The type of activity | +| `subject` | *string* | :heavy_minus_sign: | The subject of the activity | +| `body` | *string* | :heavy_minus_sign: | The body of the activity | +| `visibility` | *string* | :heavy_minus_sign: | The visibility of the activity | +| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | +| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the activity | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedatsactivityinputfieldmappings.md b/docs/models/components/unifiedatsactivityinputfieldmappings.md deleted file mode 100644 index c54be515..00000000 --- a/docs/models/components/unifiedatsactivityinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsActivityInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsactivityoutput.md b/docs/models/components/unifiedatsactivityoutput.md index 8107b191..6e0b0ae2 100644 --- a/docs/models/components/unifiedatsactivityoutput.md +++ b/docs/models/components/unifiedatsactivityoutput.md @@ -3,17 +3,17 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `activityType` | *string* | :heavy_minus_sign: | The type of activity | -| `subject` | *string* | :heavy_minus_sign: | The subject of the activity | -| `body` | *string* | :heavy_minus_sign: | The body of the activity | -| `visibility` | *string* | :heavy_minus_sign: | The visibility of the activity | -| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | -| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the activity | -| `fieldMappings` | [components.UnifiedAtsActivityOutputFieldMappings](../../models/components/unifiedatsactivityoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the activity | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the activity in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsActivityOutputRemoteData](../../models/components/unifiedatsactivityoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsActivityOutputCreatedAt](../../models/components/unifiedatsactivityoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsActivityOutputModifiedAt](../../models/components/unifiedatsactivityoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `activityType` | *string* | :heavy_minus_sign: | The type of activity | +| `subject` | *string* | :heavy_minus_sign: | The subject of the activity | +| `body` | *string* | :heavy_minus_sign: | The body of the activity | +| `visibility` | *string* | :heavy_minus_sign: | The visibility of the activity | +| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | +| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the activity | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the activity | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the activity in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the activity in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatsactivityoutputcreatedat.md b/docs/models/components/unifiedatsactivityoutputcreatedat.md deleted file mode 100644 index 36ee5ee0..00000000 --- a/docs/models/components/unifiedatsactivityoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsActivityOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsactivityoutputfieldmappings.md b/docs/models/components/unifiedatsactivityoutputfieldmappings.md deleted file mode 100644 index 2b1c7a56..00000000 --- a/docs/models/components/unifiedatsactivityoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsActivityOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsactivityoutputmodifiedat.md b/docs/models/components/unifiedatsactivityoutputmodifiedat.md deleted file mode 100644 index 96c40bf0..00000000 --- a/docs/models/components/unifiedatsactivityoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsActivityOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsactivityoutputremotedata.md b/docs/models/components/unifiedatsactivityoutputremotedata.md deleted file mode 100644 index e36b20a0..00000000 --- a/docs/models/components/unifiedatsactivityoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsActivityOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsapplicationinput.md b/docs/models/components/unifiedatsapplicationinput.md index af6bd748..f262339d 100644 --- a/docs/models/components/unifiedatsapplicationinput.md +++ b/docs/models/components/unifiedatsapplicationinput.md @@ -3,15 +3,15 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `appliedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The application date | -| `rejectedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The rejection date | -| `offers` | *string*[] | :heavy_minus_sign: | The offers UUIDs for the application | -| `source` | *string* | :heavy_minus_sign: | The source of the application | -| `creditedTo` | *string* | :heavy_minus_sign: | The UUID of the person credited for the application | -| `currentStage` | *string* | :heavy_minus_sign: | The UUID of the current stage of the application | -| `rejectReason` | *string* | :heavy_minus_sign: | The rejection reason for the application | -| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | -| `jobId` | *string* | :heavy_minus_sign: | The UUID of the job | -| `fieldMappings` | [components.UnifiedAtsApplicationInputFieldMappings](../../models/components/unifiedatsapplicationinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `appliedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The application date | +| `rejectedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The rejection date | +| `offers` | *string*[] | :heavy_minus_sign: | The offers UUIDs for the application | +| `source` | *string* | :heavy_minus_sign: | The source of the application | +| `creditedTo` | *string* | :heavy_minus_sign: | The UUID of the person credited for the application | +| `currentStage` | *string* | :heavy_minus_sign: | The UUID of the current stage of the application | +| `rejectReason` | *string* | :heavy_minus_sign: | The rejection reason for the application | +| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | +| `jobId` | *string* | :heavy_minus_sign: | The UUID of the job | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedatsapplicationinputfieldmappings.md b/docs/models/components/unifiedatsapplicationinputfieldmappings.md deleted file mode 100644 index 88e550a2..00000000 --- a/docs/models/components/unifiedatsapplicationinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsApplicationInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsapplicationoutput.md b/docs/models/components/unifiedatsapplicationoutput.md index 2d429dd1..2baf7c65 100644 --- a/docs/models/components/unifiedatsapplicationoutput.md +++ b/docs/models/components/unifiedatsapplicationoutput.md @@ -3,20 +3,22 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `appliedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The application date | -| `rejectedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The rejection date | -| `offers` | *string*[] | :heavy_minus_sign: | The offers UUIDs for the application | -| `source` | *string* | :heavy_minus_sign: | The source of the application | -| `creditedTo` | *string* | :heavy_minus_sign: | The UUID of the person credited for the application | -| `currentStage` | *string* | :heavy_minus_sign: | The UUID of the current stage of the application | -| `rejectReason` | *string* | :heavy_minus_sign: | The rejection reason for the application | -| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | -| `jobId` | *string* | :heavy_minus_sign: | The UUID of the job | -| `fieldMappings` | [components.UnifiedAtsApplicationOutputFieldMappings](../../models/components/unifiedatsapplicationoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the application | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the application in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsApplicationOutputRemoteData](../../models/components/unifiedatsapplicationoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsApplicationOutputCreatedAt](../../models/components/unifiedatsapplicationoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsApplicationOutputModifiedAt](../../models/components/unifiedatsapplicationoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `appliedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The application date | +| `rejectedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The rejection date | +| `offers` | *string*[] | :heavy_minus_sign: | The offers UUIDs for the application | +| `source` | *string* | :heavy_minus_sign: | The source of the application | +| `creditedTo` | *string* | :heavy_minus_sign: | The UUID of the person credited for the application | +| `currentStage` | *string* | :heavy_minus_sign: | The UUID of the current stage of the application | +| `rejectReason` | *string* | :heavy_minus_sign: | The rejection reason for the application | +| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | +| `jobId` | *string* | :heavy_minus_sign: | The UUID of the job | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the application | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the application in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the application in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | +| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote created date of the object | +| `remoteModifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatsapplicationoutputcreatedat.md b/docs/models/components/unifiedatsapplicationoutputcreatedat.md deleted file mode 100644 index 0d7da28c..00000000 --- a/docs/models/components/unifiedatsapplicationoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsApplicationOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsapplicationoutputfieldmappings.md b/docs/models/components/unifiedatsapplicationoutputfieldmappings.md deleted file mode 100644 index 3028807b..00000000 --- a/docs/models/components/unifiedatsapplicationoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsApplicationOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsapplicationoutputmodifiedat.md b/docs/models/components/unifiedatsapplicationoutputmodifiedat.md deleted file mode 100644 index 09126f0f..00000000 --- a/docs/models/components/unifiedatsapplicationoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsApplicationOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsapplicationoutputremotedata.md b/docs/models/components/unifiedatsapplicationoutputremotedata.md deleted file mode 100644 index 0d811359..00000000 --- a/docs/models/components/unifiedatsapplicationoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsApplicationOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsattachmentinput.md b/docs/models/components/unifiedatsattachmentinput.md index 39457cad..e77c2188 100644 --- a/docs/models/components/unifiedatsattachmentinput.md +++ b/docs/models/components/unifiedatsattachmentinput.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `fileUrl` | *string* | :heavy_minus_sign: | The URL of the file | -| `fileName` | *string* | :heavy_minus_sign: | The name of the file | -| `attachmentType` | *string* | :heavy_minus_sign: | The type of the file | -| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the attachment | -| `remoteModifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the attachment | -| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | -| `fieldMappings` | [components.UnifiedAtsAttachmentInputFieldMappings](../../models/components/unifiedatsattachmentinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `fileUrl` | *string* | :heavy_minus_sign: | The URL of the file | +| `fileName` | *string* | :heavy_minus_sign: | The name of the file | +| `attachmentType` | *string* | :heavy_minus_sign: | The type of the file | +| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the attachment | +| `remoteModifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the attachment | +| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedatsattachmentinputfieldmappings.md b/docs/models/components/unifiedatsattachmentinputfieldmappings.md deleted file mode 100644 index 4d73edc1..00000000 --- a/docs/models/components/unifiedatsattachmentinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsAttachmentInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsattachmentoutput.md b/docs/models/components/unifiedatsattachmentoutput.md index d1bcc201..b8937751 100644 --- a/docs/models/components/unifiedatsattachmentoutput.md +++ b/docs/models/components/unifiedatsattachmentoutput.md @@ -3,17 +3,17 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `fileUrl` | *string* | :heavy_minus_sign: | The URL of the file | -| `fileName` | *string* | :heavy_minus_sign: | The name of the file | -| `attachmentType` | *string* | :heavy_minus_sign: | The type of the file | -| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the attachment | -| `remoteModifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the attachment | -| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | -| `fieldMappings` | [components.UnifiedAtsAttachmentOutputFieldMappings](../../models/components/unifiedatsattachmentoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the attachment | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the attachment | -| `remoteData` | [components.UnifiedAtsAttachmentOutputRemoteData](../../models/components/unifiedatsattachmentoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsAttachmentOutputCreatedAt](../../models/components/unifiedatsattachmentoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsAttachmentOutputModifiedAt](../../models/components/unifiedatsattachmentoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `fileUrl` | *string* | :heavy_minus_sign: | The URL of the file | +| `fileName` | *string* | :heavy_minus_sign: | The name of the file | +| `attachmentType` | *string* | :heavy_minus_sign: | The type of the file | +| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the attachment | +| `remoteModifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the attachment | +| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the attachment | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the attachment | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the attachment in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatsattachmentoutputcreatedat.md b/docs/models/components/unifiedatsattachmentoutputcreatedat.md deleted file mode 100644 index dbfe6c6a..00000000 --- a/docs/models/components/unifiedatsattachmentoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsAttachmentOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsattachmentoutputfieldmappings.md b/docs/models/components/unifiedatsattachmentoutputfieldmappings.md deleted file mode 100644 index 38c9566f..00000000 --- a/docs/models/components/unifiedatsattachmentoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsAttachmentOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsattachmentoutputmodifiedat.md b/docs/models/components/unifiedatsattachmentoutputmodifiedat.md deleted file mode 100644 index a93d26ee..00000000 --- a/docs/models/components/unifiedatsattachmentoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsAttachmentOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsattachmentoutputremotedata.md b/docs/models/components/unifiedatsattachmentoutputremotedata.md deleted file mode 100644 index 055bec37..00000000 --- a/docs/models/components/unifiedatsattachmentoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsAttachmentOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatscandidateinput.md b/docs/models/components/unifiedatscandidateinput.md index 78f076be..adcb9f62 100644 --- a/docs/models/components/unifiedatscandidateinput.md +++ b/docs/models/components/unifiedatscandidateinput.md @@ -3,22 +3,22 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `firstName` | *string* | :heavy_minus_sign: | The first name of the candidate | -| `lastName` | *string* | :heavy_minus_sign: | The last name of the candidate | -| `company` | *string* | :heavy_minus_sign: | The company of the candidate | -| `title` | *string* | :heavy_minus_sign: | The title of the candidate | -| `locations` | *string* | :heavy_minus_sign: | The locations of the candidate | -| `isPrivate` | *boolean* | :heavy_minus_sign: | Whether the candidate is private | -| `emailReachable` | *boolean* | :heavy_minus_sign: | Whether the candidate is reachable by email | -| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the candidate | -| `remoteModifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the candidate | -| `lastInteractionAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The last interaction date with the candidate | -| `attachments` | *string*[] | :heavy_minus_sign: | The attachments UUIDs of the candidate | -| `applications` | *string*[] | :heavy_minus_sign: | The applications UUIDs of the candidate | -| `tags` | *string*[] | :heavy_minus_sign: | The tags of the candidate | -| `urls` | [components.Url](../../models/components/url.md)[] | :heavy_minus_sign: | The urls of the candidate, possible values for Url type are WEBSITE, BLOG, LINKEDIN, GITHUB, or OTHER | -| `phoneNumbers` | [components.Phone](../../models/components/phone.md)[] | :heavy_minus_sign: | The phone numbers of the candidate | -| `emailAddresses` | [components.Email](../../models/components/email.md)[] | :heavy_minus_sign: | The email addresses of the candidate | -| `fieldMappings` | [components.UnifiedAtsCandidateInputFieldMappings](../../models/components/unifiedatscandidateinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `firstName` | *string* | :heavy_minus_sign: | The first name of the candidate | +| `lastName` | *string* | :heavy_minus_sign: | The last name of the candidate | +| `company` | *string* | :heavy_minus_sign: | The company of the candidate | +| `title` | *string* | :heavy_minus_sign: | The title of the candidate | +| `locations` | *string* | :heavy_minus_sign: | The locations of the candidate | +| `isPrivate` | *boolean* | :heavy_minus_sign: | Whether the candidate is private | +| `emailReachable` | *boolean* | :heavy_minus_sign: | Whether the candidate is reachable by email | +| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the candidate | +| `remoteModifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the candidate | +| `lastInteractionAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The last interaction date with the candidate | +| `attachments` | *string*[] | :heavy_minus_sign: | The attachments UUIDs of the candidate | +| `applications` | *string*[] | :heavy_minus_sign: | The applications UUIDs of the candidate | +| `tags` | *string*[] | :heavy_minus_sign: | The tags of the candidate | +| `urls` | [components.Url](../../models/components/url.md)[] | :heavy_minus_sign: | The urls of the candidate, possible values for Url type are WEBSITE, BLOG, LINKEDIN, GITHUB, or OTHER | +| `phoneNumbers` | [components.Phone](../../models/components/phone.md)[] | :heavy_minus_sign: | The phone numbers of the candidate | +| `emailAddresses` | [components.Email](../../models/components/email.md)[] | :heavy_minus_sign: | The email addresses of the candidate | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedatscandidateinputfieldmappings.md b/docs/models/components/unifiedatscandidateinputfieldmappings.md deleted file mode 100644 index 9f9b45c2..00000000 --- a/docs/models/components/unifiedatscandidateinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsCandidateInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatscandidateoutput.md b/docs/models/components/unifiedatscandidateoutput.md index 964bfa2b..cdc104de 100644 --- a/docs/models/components/unifiedatscandidateoutput.md +++ b/docs/models/components/unifiedatscandidateoutput.md @@ -3,27 +3,27 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `firstName` | *string* | :heavy_minus_sign: | The first name of the candidate | -| `lastName` | *string* | :heavy_minus_sign: | The last name of the candidate | -| `company` | *string* | :heavy_minus_sign: | The company of the candidate | -| `title` | *string* | :heavy_minus_sign: | The title of the candidate | -| `locations` | *string* | :heavy_minus_sign: | The locations of the candidate | -| `isPrivate` | *boolean* | :heavy_minus_sign: | Whether the candidate is private | -| `emailReachable` | *boolean* | :heavy_minus_sign: | Whether the candidate is reachable by email | -| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the candidate | -| `remoteModifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the candidate | -| `lastInteractionAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The last interaction date with the candidate | -| `attachments` | *string*[] | :heavy_minus_sign: | The attachments UUIDs of the candidate | -| `applications` | *string*[] | :heavy_minus_sign: | The applications UUIDs of the candidate | -| `tags` | *string*[] | :heavy_minus_sign: | The tags of the candidate | -| `urls` | [components.Url](../../models/components/url.md)[] | :heavy_minus_sign: | The urls of the candidate, possible values for Url type are WEBSITE, BLOG, LINKEDIN, GITHUB, or OTHER | -| `phoneNumbers` | [components.Phone](../../models/components/phone.md)[] | :heavy_minus_sign: | The phone numbers of the candidate | -| `emailAddresses` | [components.Email](../../models/components/email.md)[] | :heavy_minus_sign: | The email addresses of the candidate | -| `fieldMappings` | [components.UnifiedAtsCandidateOutputFieldMappings](../../models/components/unifiedatscandidateoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the candidate | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the candidate in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsCandidateOutputRemoteData](../../models/components/unifiedatscandidateoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsCandidateOutputCreatedAt](../../models/components/unifiedatscandidateoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsCandidateOutputModifiedAt](../../models/components/unifiedatscandidateoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `firstName` | *string* | :heavy_minus_sign: | The first name of the candidate | +| `lastName` | *string* | :heavy_minus_sign: | The last name of the candidate | +| `company` | *string* | :heavy_minus_sign: | The company of the candidate | +| `title` | *string* | :heavy_minus_sign: | The title of the candidate | +| `locations` | *string* | :heavy_minus_sign: | The locations of the candidate | +| `isPrivate` | *boolean* | :heavy_minus_sign: | Whether the candidate is private | +| `emailReachable` | *boolean* | :heavy_minus_sign: | Whether the candidate is reachable by email | +| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the candidate | +| `remoteModifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the candidate | +| `lastInteractionAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The last interaction date with the candidate | +| `attachments` | *string*[] | :heavy_minus_sign: | The attachments UUIDs of the candidate | +| `applications` | *string*[] | :heavy_minus_sign: | The applications UUIDs of the candidate | +| `tags` | *string*[] | :heavy_minus_sign: | The tags of the candidate | +| `urls` | [components.Url](../../models/components/url.md)[] | :heavy_minus_sign: | The urls of the candidate, possible values for Url type are WEBSITE, BLOG, LINKEDIN, GITHUB, or OTHER | +| `phoneNumbers` | [components.Phone](../../models/components/phone.md)[] | :heavy_minus_sign: | The phone numbers of the candidate | +| `emailAddresses` | [components.Email](../../models/components/email.md)[] | :heavy_minus_sign: | The email addresses of the candidate | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the candidate | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the candidate in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the candidate in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatscandidateoutputcreatedat.md b/docs/models/components/unifiedatscandidateoutputcreatedat.md deleted file mode 100644 index 94986870..00000000 --- a/docs/models/components/unifiedatscandidateoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsCandidateOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatscandidateoutputfieldmappings.md b/docs/models/components/unifiedatscandidateoutputfieldmappings.md deleted file mode 100644 index 44d75a45..00000000 --- a/docs/models/components/unifiedatscandidateoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsCandidateOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatscandidateoutputmodifiedat.md b/docs/models/components/unifiedatscandidateoutputmodifiedat.md deleted file mode 100644 index e9549838..00000000 --- a/docs/models/components/unifiedatscandidateoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsCandidateOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatscandidateoutputremotedata.md b/docs/models/components/unifiedatscandidateoutputremotedata.md deleted file mode 100644 index c89fc936..00000000 --- a/docs/models/components/unifiedatscandidateoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsCandidateOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsdepartmentoutput.md b/docs/models/components/unifiedatsdepartmentoutput.md index af58034a..114143d6 100644 --- a/docs/models/components/unifiedatsdepartmentoutput.md +++ b/docs/models/components/unifiedatsdepartmentoutput.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_minus_sign: | The name of the department | -| `fieldMappings` | [components.UnifiedAtsDepartmentOutputFieldMappings](../../models/components/unifiedatsdepartmentoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the department | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the department in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsDepartmentOutputRemoteData](../../models/components/unifiedatsdepartmentoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsDepartmentOutputCreatedAt](../../models/components/unifiedatsdepartmentoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsDepartmentOutputModifiedAt](../../models/components/unifiedatsdepartmentoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | The name of the department | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the department | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the department in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the department in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatsdepartmentoutputcreatedat.md b/docs/models/components/unifiedatsdepartmentoutputcreatedat.md deleted file mode 100644 index 7d32eb94..00000000 --- a/docs/models/components/unifiedatsdepartmentoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsDepartmentOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsdepartmentoutputfieldmappings.md b/docs/models/components/unifiedatsdepartmentoutputfieldmappings.md deleted file mode 100644 index 596d4716..00000000 --- a/docs/models/components/unifiedatsdepartmentoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsDepartmentOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsdepartmentoutputmodifiedat.md b/docs/models/components/unifiedatsdepartmentoutputmodifiedat.md deleted file mode 100644 index 413c83f5..00000000 --- a/docs/models/components/unifiedatsdepartmentoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsDepartmentOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsdepartmentoutputremotedata.md b/docs/models/components/unifiedatsdepartmentoutputremotedata.md deleted file mode 100644 index fd554d7b..00000000 --- a/docs/models/components/unifiedatsdepartmentoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsDepartmentOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatseeocsoutput.md b/docs/models/components/unifiedatseeocsoutput.md index 48cb0efe..3c9b6094 100644 --- a/docs/models/components/unifiedatseeocsoutput.md +++ b/docs/models/components/unifiedatseeocsoutput.md @@ -3,17 +3,17 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | -| `submittedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The submission date of the EEOC | -| `race` | *string* | :heavy_minus_sign: | The race of the candidate | -| `gender` | *string* | :heavy_minus_sign: | The gender of the candidate | -| `veteranStatus` | *string* | :heavy_minus_sign: | The veteran status of the candidate | -| `disabilityStatus` | *string* | :heavy_minus_sign: | The disability status of the candidate | -| `fieldMappings` | [components.UnifiedAtsEeocsOutputFieldMappings](../../models/components/unifiedatseeocsoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the EEOC | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the EEOC in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsEeocsOutputRemoteData](../../models/components/unifiedatseeocsoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsEeocsOutputCreatedAt](../../models/components/unifiedatseeocsoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsEeocsOutputModifiedAt](../../models/components/unifiedatseeocsoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `candidateId` | *string* | :heavy_minus_sign: | The UUID of the candidate | +| `submittedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The submission date of the EEOC | +| `race` | *string* | :heavy_minus_sign: | The race of the candidate | +| `gender` | *string* | :heavy_minus_sign: | The gender of the candidate | +| `veteranStatus` | *string* | :heavy_minus_sign: | The veteran status of the candidate | +| `disabilityStatus` | *string* | :heavy_minus_sign: | The disability status of the candidate | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the EEOC | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the EEOC in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the EEOC in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatseeocsoutputcreatedat.md b/docs/models/components/unifiedatseeocsoutputcreatedat.md deleted file mode 100644 index 274fd8f2..00000000 --- a/docs/models/components/unifiedatseeocsoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsEeocsOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatseeocsoutputfieldmappings.md b/docs/models/components/unifiedatseeocsoutputfieldmappings.md deleted file mode 100644 index 707618d1..00000000 --- a/docs/models/components/unifiedatseeocsoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsEeocsOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatseeocsoutputmodifiedat.md b/docs/models/components/unifiedatseeocsoutputmodifiedat.md deleted file mode 100644 index 4cee4148..00000000 --- a/docs/models/components/unifiedatseeocsoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsEeocsOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatseeocsoutputremotedata.md b/docs/models/components/unifiedatseeocsoutputremotedata.md deleted file mode 100644 index 2c07836c..00000000 --- a/docs/models/components/unifiedatseeocsoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsEeocsOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsinterviewinput.md b/docs/models/components/unifiedatsinterviewinput.md index 7ed0bf77..83c12335 100644 --- a/docs/models/components/unifiedatsinterviewinput.md +++ b/docs/models/components/unifiedatsinterviewinput.md @@ -3,16 +3,16 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `status` | *string* | :heavy_minus_sign: | The status of the interview | -| `applicationId` | *string* | :heavy_minus_sign: | The UUID of the application | -| `jobInterviewStageId` | *string* | :heavy_minus_sign: | The UUID of the job interview stage | -| `organizedBy` | *string* | :heavy_minus_sign: | The UUID of the organizer | -| `interviewers` | *string*[] | :heavy_minus_sign: | The UUIDs of the interviewers | -| `location` | *string* | :heavy_minus_sign: | The location of the interview | -| `startAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The start date and time of the interview | -| `endAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The end date and time of the interview | -| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the interview | -| `remoteUpdatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the interview | -| `fieldMappings` | [components.UnifiedAtsInterviewInputFieldMappings](../../models/components/unifiedatsinterviewinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `status` | *string* | :heavy_minus_sign: | The status of the interview | +| `applicationId` | *string* | :heavy_minus_sign: | The UUID of the application | +| `jobInterviewStageId` | *string* | :heavy_minus_sign: | The UUID of the job interview stage | +| `organizedBy` | *string* | :heavy_minus_sign: | The UUID of the organizer | +| `interviewers` | *string*[] | :heavy_minus_sign: | The UUIDs of the interviewers | +| `location` | *string* | :heavy_minus_sign: | The location of the interview | +| `startAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The start date and time of the interview | +| `endAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The end date and time of the interview | +| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the interview | +| `remoteUpdatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the interview | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedatsinterviewinputfieldmappings.md b/docs/models/components/unifiedatsinterviewinputfieldmappings.md deleted file mode 100644 index bf36dbe1..00000000 --- a/docs/models/components/unifiedatsinterviewinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsInterviewInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsinterviewoutput.md b/docs/models/components/unifiedatsinterviewoutput.md index 2245028e..e4c33857 100644 --- a/docs/models/components/unifiedatsinterviewoutput.md +++ b/docs/models/components/unifiedatsinterviewoutput.md @@ -3,21 +3,21 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `status` | *string* | :heavy_minus_sign: | The status of the interview | -| `applicationId` | *string* | :heavy_minus_sign: | The UUID of the application | -| `jobInterviewStageId` | *string* | :heavy_minus_sign: | The UUID of the job interview stage | -| `organizedBy` | *string* | :heavy_minus_sign: | The UUID of the organizer | -| `interviewers` | *string*[] | :heavy_minus_sign: | The UUIDs of the interviewers | -| `location` | *string* | :heavy_minus_sign: | The location of the interview | -| `startAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The start date and time of the interview | -| `endAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The end date and time of the interview | -| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the interview | -| `remoteUpdatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the interview | -| `fieldMappings` | [components.UnifiedAtsInterviewOutputFieldMappings](../../models/components/unifiedatsinterviewoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the interview | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the interview in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsInterviewOutputRemoteData](../../models/components/unifiedatsinterviewoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsInterviewOutputCreatedAt](../../models/components/unifiedatsinterviewoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsInterviewOutputModifiedAt](../../models/components/unifiedatsinterviewoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `status` | *string* | :heavy_minus_sign: | The status of the interview | +| `applicationId` | *string* | :heavy_minus_sign: | The UUID of the application | +| `jobInterviewStageId` | *string* | :heavy_minus_sign: | The UUID of the job interview stage | +| `organizedBy` | *string* | :heavy_minus_sign: | The UUID of the organizer | +| `interviewers` | *string*[] | :heavy_minus_sign: | The UUIDs of the interviewers | +| `location` | *string* | :heavy_minus_sign: | The location of the interview | +| `startAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The start date and time of the interview | +| `endAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The end date and time of the interview | +| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the interview | +| `remoteUpdatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the interview | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the interview | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the interview in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the interview in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatsinterviewoutputcreatedat.md b/docs/models/components/unifiedatsinterviewoutputcreatedat.md deleted file mode 100644 index 3408b575..00000000 --- a/docs/models/components/unifiedatsinterviewoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsInterviewOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsinterviewoutputfieldmappings.md b/docs/models/components/unifiedatsinterviewoutputfieldmappings.md deleted file mode 100644 index 020d08f4..00000000 --- a/docs/models/components/unifiedatsinterviewoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsInterviewOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsinterviewoutputmodifiedat.md b/docs/models/components/unifiedatsinterviewoutputmodifiedat.md deleted file mode 100644 index 15a71293..00000000 --- a/docs/models/components/unifiedatsinterviewoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsInterviewOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsinterviewoutputremotedata.md b/docs/models/components/unifiedatsinterviewoutputremotedata.md deleted file mode 100644 index b862133e..00000000 --- a/docs/models/components/unifiedatsinterviewoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsInterviewOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsjobinterviewstageoutput.md b/docs/models/components/unifiedatsjobinterviewstageoutput.md index 45fb400c..ce0813ff 100644 --- a/docs/models/components/unifiedatsjobinterviewstageoutput.md +++ b/docs/models/components/unifiedatsjobinterviewstageoutput.md @@ -3,14 +3,14 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | The name of the job interview stage | -| `stageOrder` | *number* | :heavy_minus_sign: | The order of the stage | -| `jobId` | *string* | :heavy_minus_sign: | The UUID of the job | -| `fieldMappings` | [components.UnifiedAtsJobinterviewstageOutputFieldMappings](../../models/components/unifiedatsjobinterviewstageoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the job interview stage | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the job interview stage in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsJobinterviewstageOutputRemoteData](../../models/components/unifiedatsjobinterviewstageoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsJobinterviewstageOutputCreatedAt](../../models/components/unifiedatsjobinterviewstageoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsJobinterviewstageOutputModifiedAt](../../models/components/unifiedatsjobinterviewstageoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | The name of the job interview stage | +| `stageOrder` | *number* | :heavy_minus_sign: | The order of the stage | +| `jobId` | *string* | :heavy_minus_sign: | The UUID of the job | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the job interview stage | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the job interview stage in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the job interview stage in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatsjobinterviewstageoutputcreatedat.md b/docs/models/components/unifiedatsjobinterviewstageoutputcreatedat.md deleted file mode 100644 index 7f3968e2..00000000 --- a/docs/models/components/unifiedatsjobinterviewstageoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsJobinterviewstageOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsjobinterviewstageoutputfieldmappings.md b/docs/models/components/unifiedatsjobinterviewstageoutputfieldmappings.md deleted file mode 100644 index ea2b311d..00000000 --- a/docs/models/components/unifiedatsjobinterviewstageoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsJobinterviewstageOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsjobinterviewstageoutputmodifiedat.md b/docs/models/components/unifiedatsjobinterviewstageoutputmodifiedat.md deleted file mode 100644 index 84dff7d7..00000000 --- a/docs/models/components/unifiedatsjobinterviewstageoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsJobinterviewstageOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsjobinterviewstageoutputremotedata.md b/docs/models/components/unifiedatsjobinterviewstageoutputremotedata.md deleted file mode 100644 index 552eed91..00000000 --- a/docs/models/components/unifiedatsjobinterviewstageoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsJobinterviewstageOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsjoboutput.md b/docs/models/components/unifiedatsjoboutput.md index 4547ea60..511a9f01 100644 --- a/docs/models/components/unifiedatsjoboutput.md +++ b/docs/models/components/unifiedatsjoboutput.md @@ -3,23 +3,23 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | The name of the job | -| `description` | *string* | :heavy_minus_sign: | The description of the job | -| `code` | *string* | :heavy_minus_sign: | The code of the job | -| `status` | *string* | :heavy_minus_sign: | The status of the job | -| `type` | *string* | :heavy_minus_sign: | The type of the job | -| `confidential` | *boolean* | :heavy_minus_sign: | Whether the job is confidential | -| `departments` | *string*[] | :heavy_minus_sign: | The departments UUIDs associated with the job | -| `offices` | *string*[] | :heavy_minus_sign: | The offices UUIDs associated with the job | -| `managers` | *string*[] | :heavy_minus_sign: | The managers UUIDs associated with the job | -| `recruiters` | *string*[] | :heavy_minus_sign: | The recruiters UUIDs associated with the job | -| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the job | -| `remoteUpdatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the job | -| `fieldMappings` | [components.UnifiedAtsJobOutputFieldMappings](../../models/components/unifiedatsjoboutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the job | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the job in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsJobOutputRemoteData](../../models/components/unifiedatsjoboutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsJobOutputCreatedAt](../../models/components/unifiedatsjoboutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsJobOutputModifiedAt](../../models/components/unifiedatsjoboutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | The name of the job | +| `description` | *string* | :heavy_minus_sign: | The description of the job | +| `code` | *string* | :heavy_minus_sign: | The code of the job | +| `status` | *string* | :heavy_minus_sign: | The status of the job | +| `type` | *string* | :heavy_minus_sign: | The type of the job | +| `confidential` | *boolean* | :heavy_minus_sign: | Whether the job is confidential | +| `departments` | *string*[] | :heavy_minus_sign: | The departments UUIDs associated with the job | +| `offices` | *string*[] | :heavy_minus_sign: | The offices UUIDs associated with the job | +| `managers` | *string*[] | :heavy_minus_sign: | The managers UUIDs associated with the job | +| `recruiters` | *string*[] | :heavy_minus_sign: | The recruiters UUIDs associated with the job | +| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the job | +| `remoteUpdatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the job | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the job | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the job in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the job in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatsjoboutputcreatedat.md b/docs/models/components/unifiedatsjoboutputcreatedat.md deleted file mode 100644 index 4998674f..00000000 --- a/docs/models/components/unifiedatsjoboutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsJobOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsjoboutputfieldmappings.md b/docs/models/components/unifiedatsjoboutputfieldmappings.md deleted file mode 100644 index 2c152144..00000000 --- a/docs/models/components/unifiedatsjoboutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsJobOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsjoboutputmodifiedat.md b/docs/models/components/unifiedatsjoboutputmodifiedat.md deleted file mode 100644 index 68332c8c..00000000 --- a/docs/models/components/unifiedatsjoboutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsJobOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsjoboutputremotedata.md b/docs/models/components/unifiedatsjoboutputremotedata.md deleted file mode 100644 index c9137eb2..00000000 --- a/docs/models/components/unifiedatsjoboutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsJobOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsofferoutput.md b/docs/models/components/unifiedatsofferoutput.md index 4ee757aa..80b7a8c0 100644 --- a/docs/models/components/unifiedatsofferoutput.md +++ b/docs/models/components/unifiedatsofferoutput.md @@ -3,18 +3,18 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `createdBy` | *string* | :heavy_minus_sign: | The UUID of the creator | -| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the offer | -| `closedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The closing date of the offer | -| `sentAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The sending date of the offer | -| `startDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The start date of the offer | -| `status` | *string* | :heavy_minus_sign: | The status of the offer | -| `applicationId` | *string* | :heavy_minus_sign: | The UUID of the application | -| `fieldMappings` | [components.UnifiedAtsOfferOutputFieldMappings](../../models/components/unifiedatsofferoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the offer | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the offer in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsOfferOutputRemoteData](../../models/components/unifiedatsofferoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsOfferOutputCreatedAt](../../models/components/unifiedatsofferoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsOfferOutputModifiedAt](../../models/components/unifiedatsofferoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `createdBy` | *string* | :heavy_minus_sign: | The UUID of the creator | +| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the offer | +| `closedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The closing date of the offer | +| `sentAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The sending date of the offer | +| `startDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The start date of the offer | +| `status` | *string* | :heavy_minus_sign: | The status of the offer | +| `applicationId` | *string* | :heavy_minus_sign: | The UUID of the application | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the offer | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the offer in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the offer in the context of the 3rd Party | +| `createdAt` | [components.UnifiedAtsOfferOutputCreatedAt](../../models/components/unifiedatsofferoutputcreatedat.md) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [components.UnifiedAtsOfferOutputModifiedAt](../../models/components/unifiedatsofferoutputmodifiedat.md) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatsofferoutputcreatedat.md b/docs/models/components/unifiedatsofferoutputcreatedat.md index 5a5b9d3d..edd5213b 100644 --- a/docs/models/components/unifiedatsofferoutputcreatedat.md +++ b/docs/models/components/unifiedatsofferoutputcreatedat.md @@ -1,5 +1,7 @@ # UnifiedAtsOfferOutputCreatedAt +The created date of the object + ## Fields diff --git a/docs/models/components/unifiedatsofferoutputfieldmappings.md b/docs/models/components/unifiedatsofferoutputfieldmappings.md deleted file mode 100644 index ae6d1f75..00000000 --- a/docs/models/components/unifiedatsofferoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsOfferOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsofferoutputmodifiedat.md b/docs/models/components/unifiedatsofferoutputmodifiedat.md index 1fa38c03..409dffa2 100644 --- a/docs/models/components/unifiedatsofferoutputmodifiedat.md +++ b/docs/models/components/unifiedatsofferoutputmodifiedat.md @@ -1,5 +1,7 @@ # UnifiedAtsOfferOutputModifiedAt +The modified date of the object + ## Fields diff --git a/docs/models/components/unifiedatsofferoutputremotedata.md b/docs/models/components/unifiedatsofferoutputremotedata.md deleted file mode 100644 index 5be25a6f..00000000 --- a/docs/models/components/unifiedatsofferoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsOfferOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsofficeoutput.md b/docs/models/components/unifiedatsofficeoutput.md index 0bc07f87..8c5bd1d9 100644 --- a/docs/models/components/unifiedatsofficeoutput.md +++ b/docs/models/components/unifiedatsofficeoutput.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | The name of the office | -| `location` | *string* | :heavy_minus_sign: | The location of the office | -| `fieldMappings` | [components.UnifiedAtsOfficeOutputFieldMappings](../../models/components/unifiedatsofficeoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the office | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the office in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsOfficeOutputRemoteData](../../models/components/unifiedatsofficeoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsOfficeOutputCreatedAt](../../models/components/unifiedatsofficeoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsOfficeOutputModifiedAt](../../models/components/unifiedatsofficeoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | The name of the office | +| `location` | *string* | :heavy_minus_sign: | The location of the office | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the office | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the office in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the office in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatsofficeoutputcreatedat.md b/docs/models/components/unifiedatsofficeoutputcreatedat.md deleted file mode 100644 index 06d3a443..00000000 --- a/docs/models/components/unifiedatsofficeoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsOfficeOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsofficeoutputfieldmappings.md b/docs/models/components/unifiedatsofficeoutputfieldmappings.md deleted file mode 100644 index f4728e60..00000000 --- a/docs/models/components/unifiedatsofficeoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsOfficeOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsofficeoutputmodifiedat.md b/docs/models/components/unifiedatsofficeoutputmodifiedat.md deleted file mode 100644 index 046a5831..00000000 --- a/docs/models/components/unifiedatsofficeoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsOfficeOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsofficeoutputremotedata.md b/docs/models/components/unifiedatsofficeoutputremotedata.md deleted file mode 100644 index 064492f1..00000000 --- a/docs/models/components/unifiedatsofficeoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsOfficeOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsrejectreasonoutput.md b/docs/models/components/unifiedatsrejectreasonoutput.md index c9a28a36..30599345 100644 --- a/docs/models/components/unifiedatsrejectreasonoutput.md +++ b/docs/models/components/unifiedatsrejectreasonoutput.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | The name of the reject reason | -| `fieldMappings` | [components.UnifiedAtsRejectreasonOutputFieldMappings](../../models/components/unifiedatsrejectreasonoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the reject reason | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the reject reason in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsRejectreasonOutputRemoteData](../../models/components/unifiedatsrejectreasonoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsRejectreasonOutputCreatedAt](../../models/components/unifiedatsrejectreasonoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsRejectreasonOutputModifiedAt](../../models/components/unifiedatsrejectreasonoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | The name of the reject reason | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the reject reason | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the reject reason in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the reject reason in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatsrejectreasonoutputcreatedat.md b/docs/models/components/unifiedatsrejectreasonoutputcreatedat.md deleted file mode 100644 index 01d2f640..00000000 --- a/docs/models/components/unifiedatsrejectreasonoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsRejectreasonOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsrejectreasonoutputfieldmappings.md b/docs/models/components/unifiedatsrejectreasonoutputfieldmappings.md deleted file mode 100644 index b0b5686a..00000000 --- a/docs/models/components/unifiedatsrejectreasonoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsRejectreasonOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsrejectreasonoutputmodifiedat.md b/docs/models/components/unifiedatsrejectreasonoutputmodifiedat.md deleted file mode 100644 index f415eb43..00000000 --- a/docs/models/components/unifiedatsrejectreasonoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsRejectreasonOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsrejectreasonoutputremotedata.md b/docs/models/components/unifiedatsrejectreasonoutputremotedata.md deleted file mode 100644 index de6b9534..00000000 --- a/docs/models/components/unifiedatsrejectreasonoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsRejectreasonOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsscorecardoutput.md b/docs/models/components/unifiedatsscorecardoutput.md index 0714645c..2f4fa779 100644 --- a/docs/models/components/unifiedatsscorecardoutput.md +++ b/docs/models/components/unifiedatsscorecardoutput.md @@ -3,16 +3,16 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `overallRecommendation` | *string* | :heavy_minus_sign: | The overall recommendation | -| `applicationId` | *string* | :heavy_minus_sign: | The UUID of the application | -| `interviewId` | *string* | :heavy_minus_sign: | The UUID of the interview | -| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the scorecard | -| `submittedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The submission date of the scorecard | -| `fieldMappings` | [components.UnifiedAtsScorecardOutputFieldMappings](../../models/components/unifiedatsscorecardoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the scorecard | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the scorecard in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsScorecardOutputRemoteData](../../models/components/unifiedatsscorecardoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsScorecardOutputCreatedAt](../../models/components/unifiedatsscorecardoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsScorecardOutputModifiedAt](../../models/components/unifiedatsscorecardoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `overallRecommendation` | *string* | :heavy_minus_sign: | The overall recommendation | +| `applicationId` | *string* | :heavy_minus_sign: | The UUID of the application | +| `interviewId` | *string* | :heavy_minus_sign: | The UUID of the interview | +| `remoteCreatedAt` | *string* | :heavy_minus_sign: | The remote creation date of the scorecard | +| `submittedAt` | *string* | :heavy_minus_sign: | The submission date of the scorecard | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the scorecard | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the scorecard in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the scorecard in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatsscorecardoutputcreatedat.md b/docs/models/components/unifiedatsscorecardoutputcreatedat.md deleted file mode 100644 index dc734a3b..00000000 --- a/docs/models/components/unifiedatsscorecardoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsScorecardOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsscorecardoutputfieldmappings.md b/docs/models/components/unifiedatsscorecardoutputfieldmappings.md deleted file mode 100644 index e4ce1640..00000000 --- a/docs/models/components/unifiedatsscorecardoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsScorecardOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsscorecardoutputmodifiedat.md b/docs/models/components/unifiedatsscorecardoutputmodifiedat.md deleted file mode 100644 index 83a1d588..00000000 --- a/docs/models/components/unifiedatsscorecardoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsScorecardOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsscorecardoutputremotedata.md b/docs/models/components/unifiedatsscorecardoutputremotedata.md deleted file mode 100644 index 1b2f9674..00000000 --- a/docs/models/components/unifiedatsscorecardoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsScorecardOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatstagoutput.md b/docs/models/components/unifiedatstagoutput.md index b2853b0b..09815208 100644 --- a/docs/models/components/unifiedatstagoutput.md +++ b/docs/models/components/unifiedatstagoutput.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | The name of the tag | -| `idAtsCandidate` | *string* | :heavy_minus_sign: | The UUID of the candidate | -| `fieldMappings` | [components.UnifiedAtsTagOutputFieldMappings](../../models/components/unifiedatstagoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the tag | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the tag in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsTagOutputRemoteData](../../models/components/unifiedatstagoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The creation date of the tag | -| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modification date of the tag | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | The name of the tag | +| `idAtsCandidate` | *string* | :heavy_minus_sign: | The UUID of the candidate | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the tag | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the tag in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the tag in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The creation date of the tag | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modification date of the tag | \ No newline at end of file diff --git a/docs/models/components/unifiedatstagoutputfieldmappings.md b/docs/models/components/unifiedatstagoutputfieldmappings.md deleted file mode 100644 index b9739eaa..00000000 --- a/docs/models/components/unifiedatstagoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsTagOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatstagoutputremotedata.md b/docs/models/components/unifiedatstagoutputremotedata.md deleted file mode 100644 index c10eef50..00000000 --- a/docs/models/components/unifiedatstagoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsTagOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsuseroutput.md b/docs/models/components/unifiedatsuseroutput.md index 282d66b8..e4e7df52 100644 --- a/docs/models/components/unifiedatsuseroutput.md +++ b/docs/models/components/unifiedatsuseroutput.md @@ -3,18 +3,18 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `firstName` | *string* | :heavy_minus_sign: | The first name of the user | -| `lastName` | *string* | :heavy_minus_sign: | The last name of the user | -| `email` | *string* | :heavy_minus_sign: | The email of the user | -| `disabled` | *boolean* | :heavy_minus_sign: | Whether the user is disabled | -| `accessRole` | *string* | :heavy_minus_sign: | The access role of the user | -| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the user | -| `remoteModifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the user | -| `fieldMappings` | [components.UnifiedAtsUserOutputFieldMappings](../../models/components/unifiedatsuseroutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the user | -| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the user in the context of the 3rd Party | -| `remoteData` | [components.UnifiedAtsUserOutputRemoteData](../../models/components/unifiedatsuseroutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedAtsUserOutputCreatedAt](../../models/components/unifiedatsuseroutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedAtsUserOutputModifiedAt](../../models/components/unifiedatsuseroutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `firstName` | *string* | :heavy_minus_sign: | The first name of the user | +| `lastName` | *string* | :heavy_minus_sign: | The last name of the user | +| `email` | *string* | :heavy_minus_sign: | The email of the user | +| `disabled` | *boolean* | :heavy_minus_sign: | Whether the user is disabled | +| `accessRole` | *string* | :heavy_minus_sign: | The access role of the user | +| `remoteCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote creation date of the user | +| `remoteModifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The remote modification date of the user | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the user | +| `remoteId` | *string* | :heavy_minus_sign: | The remote ID of the user in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the user in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedatsuseroutputcreatedat.md b/docs/models/components/unifiedatsuseroutputcreatedat.md deleted file mode 100644 index ac9bd7b5..00000000 --- a/docs/models/components/unifiedatsuseroutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsUserOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsuseroutputfieldmappings.md b/docs/models/components/unifiedatsuseroutputfieldmappings.md deleted file mode 100644 index 19337015..00000000 --- a/docs/models/components/unifiedatsuseroutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsUserOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsuseroutputmodifiedat.md b/docs/models/components/unifiedatsuseroutputmodifiedat.md deleted file mode 100644 index 6a725a1a..00000000 --- a/docs/models/components/unifiedatsuseroutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsUserOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedatsuseroutputremotedata.md b/docs/models/components/unifiedatsuseroutputremotedata.md deleted file mode 100644 index 000081e8..00000000 --- a/docs/models/components/unifiedatsuseroutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedAtsUserOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcompanyinput.md b/docs/models/components/unifiedcrmcompanyinput.md index ccdf99a4..e3d5ab45 100644 --- a/docs/models/components/unifiedcrmcompanyinput.md +++ b/docs/models/components/unifiedcrmcompanyinput.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The name of the company | -| `industry` | *string* | :heavy_minus_sign: | The industry of the company. Authorized values can be found in the Industry enum. | -| `numberOfEmployees` | *number* | :heavy_minus_sign: | The number of employees of the company | -| `userId` | *string* | :heavy_minus_sign: | The UUID of the user who owns the company | -| `emailAddresses` | [components.Email](../../models/components/email.md)[] | :heavy_minus_sign: | The email addresses of the company | -| `addresses` | [components.Address](../../models/components/address.md)[] | :heavy_minus_sign: | The addresses of the company | -| `phoneNumbers` | [components.Phone](../../models/components/phone.md)[] | :heavy_minus_sign: | The phone numbers of the company | -| `fieldMappings` | [components.UnifiedCrmCompanyInputFieldMappings](../../models/components/unifiedcrmcompanyinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the company | +| `industry` | *string* | :heavy_minus_sign: | The industry of the company. Authorized values can be found in the Industry enum. | +| `numberOfEmployees` | *number* | :heavy_minus_sign: | The number of employees of the company | +| `userId` | *string* | :heavy_minus_sign: | The UUID of the user who owns the company | +| `emailAddresses` | [components.Email](../../models/components/email.md)[] | :heavy_minus_sign: | The email addresses of the company | +| `addresses` | [components.Address](../../models/components/address.md)[] | :heavy_minus_sign: | The addresses of the company | +| `phoneNumbers` | [components.Phone](../../models/components/phone.md)[] | :heavy_minus_sign: | The phone numbers of the company | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the company between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcompanyinputfieldmappings.md b/docs/models/components/unifiedcrmcompanyinputfieldmappings.md deleted file mode 100644 index 3c0a14bc..00000000 --- a/docs/models/components/unifiedcrmcompanyinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmCompanyInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcompanyoutput.md b/docs/models/components/unifiedcrmcompanyoutput.md index 1ec6262b..1de5e592 100644 --- a/docs/models/components/unifiedcrmcompanyoutput.md +++ b/docs/models/components/unifiedcrmcompanyoutput.md @@ -3,18 +3,18 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_check_mark: | The name of the company | -| `industry` | *string* | :heavy_minus_sign: | The industry of the company. Authorized values can be found in the Industry enum. | -| `numberOfEmployees` | *number* | :heavy_minus_sign: | The number of employees of the company | -| `userId` | *string* | :heavy_minus_sign: | The UUID of the user who owns the company | -| `emailAddresses` | [components.Email](../../models/components/email.md)[] | :heavy_minus_sign: | The email addresses of the company | -| `addresses` | [components.Address](../../models/components/address.md)[] | :heavy_minus_sign: | The addresses of the company | -| `phoneNumbers` | [components.Phone](../../models/components/phone.md)[] | :heavy_minus_sign: | The phone numbers of the company | -| `fieldMappings` | [components.UnifiedCrmCompanyOutputFieldMappings](../../models/components/unifiedcrmcompanyoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the company | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the company in the context of the Crm 3rd Party | -| `remoteData` | [components.UnifiedCrmCompanyOutputRemoteData](../../models/components/unifiedcrmcompanyoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedCrmCompanyOutputCreatedAt](../../models/components/unifiedcrmcompanyoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedCrmCompanyOutputModifiedAt](../../models/components/unifiedcrmcompanyoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the company | +| `industry` | *string* | :heavy_minus_sign: | The industry of the company. Authorized values can be found in the Industry enum. | +| `numberOfEmployees` | *number* | :heavy_minus_sign: | The number of employees of the company | +| `userId` | *string* | :heavy_minus_sign: | The UUID of the user who owns the company | +| `emailAddresses` | [components.Email](../../models/components/email.md)[] | :heavy_minus_sign: | The email addresses of the company | +| `addresses` | [components.Address](../../models/components/address.md)[] | :heavy_minus_sign: | The addresses of the company | +| `phoneNumbers` | [components.Phone](../../models/components/phone.md)[] | :heavy_minus_sign: | The phone numbers of the company | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the company between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the company | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the company in the context of the Crm 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the company in the context of the Crm 3rd Party | +| `createdAt` | [components.CreatedAt](../../models/components/createdat.md) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [components.ModifiedAt](../../models/components/modifiedat.md) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcompanyoutputcreatedat.md b/docs/models/components/unifiedcrmcompanyoutputcreatedat.md deleted file mode 100644 index 5e301be0..00000000 --- a/docs/models/components/unifiedcrmcompanyoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmCompanyOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcompanyoutputfieldmappings.md b/docs/models/components/unifiedcrmcompanyoutputfieldmappings.md deleted file mode 100644 index 6dff9acc..00000000 --- a/docs/models/components/unifiedcrmcompanyoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmCompanyOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcompanyoutputmodifiedat.md b/docs/models/components/unifiedcrmcompanyoutputmodifiedat.md deleted file mode 100644 index 939ea0a9..00000000 --- a/docs/models/components/unifiedcrmcompanyoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmCompanyOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcompanyoutputremotedata.md b/docs/models/components/unifiedcrmcompanyoutputremotedata.md deleted file mode 100644 index c049d447..00000000 --- a/docs/models/components/unifiedcrmcompanyoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmCompanyOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcontactinput.md b/docs/models/components/unifiedcrmcontactinput.md index 6f4a15f7..4bd5b2eb 100644 --- a/docs/models/components/unifiedcrmcontactinput.md +++ b/docs/models/components/unifiedcrmcontactinput.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `firstName` | *string* | :heavy_check_mark: | The first name of the contact | -| `lastName` | *string* | :heavy_check_mark: | The last name of the contact | -| `emailAddresses` | [components.Email](../../models/components/email.md)[] | :heavy_minus_sign: | The email addresses of the contact | -| `phoneNumbers` | [components.Phone](../../models/components/phone.md)[] | :heavy_minus_sign: | The phone numbers of the contact | -| `addresses` | [components.Address](../../models/components/address.md)[] | :heavy_minus_sign: | The addresses of the contact | -| `userId` | *string* | :heavy_minus_sign: | The UUID of the user who owns the contact | -| `fieldMappings` | [components.UnifiedCrmContactInputFieldMappings](../../models/components/unifiedcrmcontactinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `firstName` | *string* | :heavy_check_mark: | The first name of the contact | +| `lastName` | *string* | :heavy_check_mark: | The last name of the contact | +| `emailAddresses` | [components.Email](../../models/components/email.md)[] | :heavy_minus_sign: | The email addresses of the contact | +| `phoneNumbers` | [components.Phone](../../models/components/phone.md)[] | :heavy_minus_sign: | The phone numbers of the contact | +| `addresses` | [components.Address](../../models/components/address.md)[] | :heavy_minus_sign: | The addresses of the contact | +| `userId` | *string* | :heavy_minus_sign: | The UUID of the user who owns the contact | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the contact between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcontactinputfieldmappings.md b/docs/models/components/unifiedcrmcontactinputfieldmappings.md deleted file mode 100644 index 07b70b06..00000000 --- a/docs/models/components/unifiedcrmcontactinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmContactInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcontactoutput.md b/docs/models/components/unifiedcrmcontactoutput.md index 069e0624..b7f54feb 100644 --- a/docs/models/components/unifiedcrmcontactoutput.md +++ b/docs/models/components/unifiedcrmcontactoutput.md @@ -3,17 +3,17 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `firstName` | *string* | :heavy_check_mark: | The first name of the contact | -| `lastName` | *string* | :heavy_check_mark: | The last name of the contact | -| `emailAddresses` | [components.Email](../../models/components/email.md)[] | :heavy_minus_sign: | The email addresses of the contact | -| `phoneNumbers` | [components.Phone](../../models/components/phone.md)[] | :heavy_minus_sign: | The phone numbers of the contact | -| `addresses` | [components.Address](../../models/components/address.md)[] | :heavy_minus_sign: | The addresses of the contact | -| `userId` | *string* | :heavy_minus_sign: | The UUID of the user who owns the contact | -| `fieldMappings` | [components.UnifiedCrmContactOutputFieldMappings](../../models/components/unifiedcrmcontactoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the contact | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the contact in the context of the Crm 3rd Party | -| `remoteData` | [components.UnifiedCrmContactOutputRemoteData](../../models/components/unifiedcrmcontactoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedCrmContactOutputCreatedAt](../../models/components/unifiedcrmcontactoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedCrmContactOutputModifiedAt](../../models/components/unifiedcrmcontactoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `firstName` | *string* | :heavy_check_mark: | The first name of the contact | +| `lastName` | *string* | :heavy_check_mark: | The last name of the contact | +| `emailAddresses` | [components.Email](../../models/components/email.md)[] | :heavy_minus_sign: | The email addresses of the contact | +| `phoneNumbers` | [components.Phone](../../models/components/phone.md)[] | :heavy_minus_sign: | The phone numbers of the contact | +| `addresses` | [components.Address](../../models/components/address.md)[] | :heavy_minus_sign: | The addresses of the contact | +| `userId` | *string* | :heavy_minus_sign: | The UUID of the user who owns the contact | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the contact between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the contact | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the contact in the context of the Crm 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the contact in the context of the Crm 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcontactoutputcreatedat.md b/docs/models/components/unifiedcrmcontactoutputcreatedat.md deleted file mode 100644 index 3677b928..00000000 --- a/docs/models/components/unifiedcrmcontactoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmContactOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcontactoutputfieldmappings.md b/docs/models/components/unifiedcrmcontactoutputfieldmappings.md deleted file mode 100644 index 234e1ed3..00000000 --- a/docs/models/components/unifiedcrmcontactoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmContactOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcontactoutputmodifiedat.md b/docs/models/components/unifiedcrmcontactoutputmodifiedat.md deleted file mode 100644 index 6611b23a..00000000 --- a/docs/models/components/unifiedcrmcontactoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmContactOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmcontactoutputremotedata.md b/docs/models/components/unifiedcrmcontactoutputremotedata.md deleted file mode 100644 index 7c440113..00000000 --- a/docs/models/components/unifiedcrmcontactoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmContactOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmdealinput.md b/docs/models/components/unifiedcrmdealinput.md index 8122f438..144318ef 100644 --- a/docs/models/components/unifiedcrmdealinput.md +++ b/docs/models/components/unifiedcrmdealinput.md @@ -3,12 +3,12 @@ ## 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.UnifiedCrmDealInputFieldMappings](../../models/components/unifiedcrmdealinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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` | Record | :heavy_minus_sign: | The custom field mappings of the company between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmdealinputfieldmappings.md b/docs/models/components/unifiedcrmdealinputfieldmappings.md deleted file mode 100644 index c4be1589..00000000 --- a/docs/models/components/unifiedcrmdealinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmDealInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmdealoutput.md b/docs/models/components/unifiedcrmdealoutput.md index 3579e5e9..4e1fe93f 100644 --- a/docs/models/components/unifiedcrmdealoutput.md +++ b/docs/models/components/unifiedcrmdealoutput.md @@ -3,17 +3,17 @@ ## 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.UnifiedCrmDealOutputFieldMappings](../../models/components/unifiedcrmdealoutputfieldmappings.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.UnifiedCrmDealOutputRemoteData](../../models/components/unifiedcrmdealoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedCrmDealOutputCreatedAt](../../models/components/unifiedcrmdealoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedCrmDealOutputModifiedAt](../../models/components/unifiedcrmdealoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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` | Record | :heavy_minus_sign: | The custom field mappings of the company between the remote 3rd party & Panora | +| `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` | Record | :heavy_minus_sign: | The remote data of the deal in the context of the Crm 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmdealoutputcreatedat.md b/docs/models/components/unifiedcrmdealoutputcreatedat.md deleted file mode 100644 index 4e4c7491..00000000 --- a/docs/models/components/unifiedcrmdealoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmDealOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmdealoutputfieldmappings.md b/docs/models/components/unifiedcrmdealoutputfieldmappings.md deleted file mode 100644 index efec8ab6..00000000 --- a/docs/models/components/unifiedcrmdealoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmDealOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmdealoutputmodifiedat.md b/docs/models/components/unifiedcrmdealoutputmodifiedat.md deleted file mode 100644 index 89b49941..00000000 --- a/docs/models/components/unifiedcrmdealoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmDealOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmdealoutputremotedata.md b/docs/models/components/unifiedcrmdealoutputremotedata.md deleted file mode 100644 index dc1019e3..00000000 --- a/docs/models/components/unifiedcrmdealoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmDealOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmengagementinput.md b/docs/models/components/unifiedcrmengagementinput.md index df2b3c38..18fd4289 100644 --- a/docs/models/components/unifiedcrmengagementinput.md +++ b/docs/models/components/unifiedcrmengagementinput.md @@ -3,15 +3,15 @@ ## 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.UnifiedCrmEngagementInputFieldMappings](../../models/components/unifiedcrmengagementinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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` | Record | :heavy_minus_sign: | The custom field mappings of the engagement between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmengagementinputfieldmappings.md b/docs/models/components/unifiedcrmengagementinputfieldmappings.md deleted file mode 100644 index e21ed891..00000000 --- a/docs/models/components/unifiedcrmengagementinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmEngagementInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmengagementoutput.md b/docs/models/components/unifiedcrmengagementoutput.md index 9dbd313b..e21fd85d 100644 --- a/docs/models/components/unifiedcrmengagementoutput.md +++ b/docs/models/components/unifiedcrmengagementoutput.md @@ -3,20 +3,20 @@ ## 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.UnifiedCrmEngagementOutputFieldMappings](../../models/components/unifiedcrmengagementoutputfieldmappings.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.UnifiedCrmEngagementOutputRemoteData](../../models/components/unifiedcrmengagementoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedCrmEngagementOutputCreatedAt](../../models/components/unifiedcrmengagementoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedCrmEngagementOutputModifiedAt](../../models/components/unifiedcrmengagementoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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` | Record | :heavy_minus_sign: | The custom field mappings of the engagement between the remote 3rd party & Panora | +| `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` | Record | :heavy_minus_sign: | The remote data of the engagement in the context of the Crm 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmengagementoutputcreatedat.md b/docs/models/components/unifiedcrmengagementoutputcreatedat.md deleted file mode 100644 index 3d73da00..00000000 --- a/docs/models/components/unifiedcrmengagementoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmEngagementOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmengagementoutputfieldmappings.md b/docs/models/components/unifiedcrmengagementoutputfieldmappings.md deleted file mode 100644 index 92b6673e..00000000 --- a/docs/models/components/unifiedcrmengagementoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmEngagementOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmengagementoutputmodifiedat.md b/docs/models/components/unifiedcrmengagementoutputmodifiedat.md deleted file mode 100644 index 5dfee64c..00000000 --- a/docs/models/components/unifiedcrmengagementoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmEngagementOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmengagementoutputremotedata.md b/docs/models/components/unifiedcrmengagementoutputremotedata.md deleted file mode 100644 index fd9b5d95..00000000 --- a/docs/models/components/unifiedcrmengagementoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmEngagementOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmnoteinput.md b/docs/models/components/unifiedcrmnoteinput.md index da35c442..6568d5b2 100644 --- a/docs/models/components/unifiedcrmnoteinput.md +++ b/docs/models/components/unifiedcrmnoteinput.md @@ -3,11 +3,11 @@ ## 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.UnifiedCrmNoteInputFieldMappings](../../models/components/unifiedcrmnoteinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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` | Record | :heavy_minus_sign: | The custom field mappings of the note between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmnoteinputfieldmappings.md b/docs/models/components/unifiedcrmnoteinputfieldmappings.md deleted file mode 100644 index efbdac4f..00000000 --- a/docs/models/components/unifiedcrmnoteinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmNoteInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmnoteoutput.md b/docs/models/components/unifiedcrmnoteoutput.md index b797e5bc..00c13f60 100644 --- a/docs/models/components/unifiedcrmnoteoutput.md +++ b/docs/models/components/unifiedcrmnoteoutput.md @@ -3,16 +3,16 @@ ## 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.UnifiedCrmNoteOutputFieldMappings](../../models/components/unifiedcrmnoteoutputfieldmappings.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.UnifiedCrmNoteOutputRemoteData](../../models/components/unifiedcrmnoteoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedCrmNoteOutputCreatedAt](../../models/components/unifiedcrmnoteoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedCrmNoteOutputModifiedAt](../../models/components/unifiedcrmnoteoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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` | Record | :heavy_minus_sign: | The custom field mappings of the note between the remote 3rd party & Panora | +| `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` | Record | :heavy_minus_sign: | The remote data of the note in the context of the Crm 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmnoteoutputcreatedat.md b/docs/models/components/unifiedcrmnoteoutputcreatedat.md deleted file mode 100644 index 0ebac4c3..00000000 --- a/docs/models/components/unifiedcrmnoteoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmNoteOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmnoteoutputfieldmappings.md b/docs/models/components/unifiedcrmnoteoutputfieldmappings.md deleted file mode 100644 index 2133d89c..00000000 --- a/docs/models/components/unifiedcrmnoteoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmNoteOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmnoteoutputmodifiedat.md b/docs/models/components/unifiedcrmnoteoutputmodifiedat.md deleted file mode 100644 index ee206b77..00000000 --- a/docs/models/components/unifiedcrmnoteoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmNoteOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmnoteoutputremotedata.md b/docs/models/components/unifiedcrmnoteoutputremotedata.md deleted file mode 100644 index d6bbe813..00000000 --- a/docs/models/components/unifiedcrmnoteoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmNoteOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmstageoutput.md b/docs/models/components/unifiedcrmstageoutput.md index b150b33f..8a264f49 100644 --- a/docs/models/components/unifiedcrmstageoutput.md +++ b/docs/models/components/unifiedcrmstageoutput.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `stageName` | *string* | :heavy_check_mark: | The name of the stage | -| `fieldMappings` | [components.UnifiedCrmStageOutputFieldMappings](../../models/components/unifiedcrmstageoutputfieldmappings.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.UnifiedCrmStageOutputRemoteData](../../models/components/unifiedcrmstageoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedCrmStageOutputCreatedAt](../../models/components/unifiedcrmstageoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedCrmStageOutputModifiedAt](../../models/components/unifiedcrmstageoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `stageName` | *string* | :heavy_check_mark: | The name of the stage | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the stage between the remote 3rd party & Panora | +| `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` | Record | :heavy_minus_sign: | The remote data of the stage in the context of the Crm 3rd Party | +| `createdAt` | [components.UnifiedCrmStageOutputCreatedAt](../../models/components/unifiedcrmstageoutputcreatedat.md) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [components.UnifiedCrmStageOutputModifiedAt](../../models/components/unifiedcrmstageoutputmodifiedat.md) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmstageoutputcreatedat.md b/docs/models/components/unifiedcrmstageoutputcreatedat.md index 68d12fa5..73e3ef5e 100644 --- a/docs/models/components/unifiedcrmstageoutputcreatedat.md +++ b/docs/models/components/unifiedcrmstageoutputcreatedat.md @@ -1,5 +1,7 @@ # UnifiedCrmStageOutputCreatedAt +The created date of the object + ## Fields diff --git a/docs/models/components/unifiedcrmstageoutputfieldmappings.md b/docs/models/components/unifiedcrmstageoutputfieldmappings.md deleted file mode 100644 index f2336589..00000000 --- a/docs/models/components/unifiedcrmstageoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmStageOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmstageoutputmodifiedat.md b/docs/models/components/unifiedcrmstageoutputmodifiedat.md index 88c140ba..2111f08d 100644 --- a/docs/models/components/unifiedcrmstageoutputmodifiedat.md +++ b/docs/models/components/unifiedcrmstageoutputmodifiedat.md @@ -1,5 +1,7 @@ # UnifiedCrmStageOutputModifiedAt +The modified date of the object + ## Fields diff --git a/docs/models/components/unifiedcrmstageoutputremotedata.md b/docs/models/components/unifiedcrmstageoutputremotedata.md deleted file mode 100644 index 470e4122..00000000 --- a/docs/models/components/unifiedcrmstageoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmStageOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmtaskinput.md b/docs/models/components/unifiedcrmtaskinput.md index 6d62e8a0..2257a855 100644 --- a/docs/models/components/unifiedcrmtaskinput.md +++ b/docs/models/components/unifiedcrmtaskinput.md @@ -3,14 +3,14 @@ ## 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.UnifiedCrmTaskInputFieldMappings](../../models/components/unifiedcrmtaskinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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 of the company tied to the task | +| `dealId` | *string* | :heavy_minus_sign: | The UUID of the deal tied to the task | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the task between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmtaskinputfieldmappings.md b/docs/models/components/unifiedcrmtaskinputfieldmappings.md deleted file mode 100644 index 5e0d47ba..00000000 --- a/docs/models/components/unifiedcrmtaskinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmTaskInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmtaskoutput.md b/docs/models/components/unifiedcrmtaskoutput.md index 7cd0eedc..a2a51354 100644 --- a/docs/models/components/unifiedcrmtaskoutput.md +++ b/docs/models/components/unifiedcrmtaskoutput.md @@ -3,19 +3,19 @@ ## 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.UnifiedCrmTaskOutputFieldMappings](../../models/components/unifiedcrmtaskoutputfieldmappings.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.UnifiedCrmTaskOutputRemoteData](../../models/components/unifiedcrmtaskoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedCrmTaskOutputCreatedAt](../../models/components/unifiedcrmtaskoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedCrmTaskOutputModifiedAt](../../models/components/unifiedcrmtaskoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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 of the company tied to the task | +| `dealId` | *string* | :heavy_minus_sign: | The UUID of the deal tied to the task | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the task between the remote 3rd party & Panora | +| `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` | Record | :heavy_minus_sign: | The remote data of the task in the context of the Crm 3rd Party | +| `createdAt` | [components.UnifiedCrmTaskOutputCreatedAt](../../models/components/unifiedcrmtaskoutputcreatedat.md) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [components.UnifiedCrmTaskOutputModifiedAt](../../models/components/unifiedcrmtaskoutputmodifiedat.md) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmtaskoutputcreatedat.md b/docs/models/components/unifiedcrmtaskoutputcreatedat.md index e9b024fc..e5b80ea8 100644 --- a/docs/models/components/unifiedcrmtaskoutputcreatedat.md +++ b/docs/models/components/unifiedcrmtaskoutputcreatedat.md @@ -1,5 +1,7 @@ # UnifiedCrmTaskOutputCreatedAt +The created date of the object + ## Fields diff --git a/docs/models/components/unifiedcrmtaskoutputfieldmappings.md b/docs/models/components/unifiedcrmtaskoutputfieldmappings.md deleted file mode 100644 index 14fd0d89..00000000 --- a/docs/models/components/unifiedcrmtaskoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmTaskOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmtaskoutputmodifiedat.md b/docs/models/components/unifiedcrmtaskoutputmodifiedat.md index 12b7d2ab..ada1bbe5 100644 --- a/docs/models/components/unifiedcrmtaskoutputmodifiedat.md +++ b/docs/models/components/unifiedcrmtaskoutputmodifiedat.md @@ -1,5 +1,7 @@ # UnifiedCrmTaskOutputModifiedAt +The modified date of the object + ## Fields diff --git a/docs/models/components/unifiedcrmtaskoutputremotedata.md b/docs/models/components/unifiedcrmtaskoutputremotedata.md deleted file mode 100644 index 175599e3..00000000 --- a/docs/models/components/unifiedcrmtaskoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmTaskOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmuseroutput.md b/docs/models/components/unifiedcrmuseroutput.md index f3799cb2..3c93997b 100644 --- a/docs/models/components/unifiedcrmuseroutput.md +++ b/docs/models/components/unifiedcrmuseroutput.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_check_mark: | The name of the user | -| `email` | *string* | :heavy_check_mark: | The email of the user | -| `fieldMappings` | [components.UnifiedCrmUserOutputFieldMappings](../../models/components/unifiedcrmuseroutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the user | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the user in the context of the Crm 3rd Party | -| `remoteData` | [components.UnifiedCrmUserOutputRemoteData](../../models/components/unifiedcrmuseroutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedCrmUserOutputCreatedAt](../../models/components/unifiedcrmuseroutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedCrmUserOutputModifiedAt](../../models/components/unifiedcrmuseroutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the user | +| `email` | *string* | :heavy_check_mark: | The email of the user | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the user between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the user | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the user in the context of the Crm 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the user in the context of the Crm 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmuseroutputcreatedat.md b/docs/models/components/unifiedcrmuseroutputcreatedat.md deleted file mode 100644 index 1d2265ef..00000000 --- a/docs/models/components/unifiedcrmuseroutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmUserOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmuseroutputfieldmappings.md b/docs/models/components/unifiedcrmuseroutputfieldmappings.md deleted file mode 100644 index 48fa2b35..00000000 --- a/docs/models/components/unifiedcrmuseroutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmUserOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmuseroutputmodifiedat.md b/docs/models/components/unifiedcrmuseroutputmodifiedat.md deleted file mode 100644 index e6b637c8..00000000 --- a/docs/models/components/unifiedcrmuseroutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmUserOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedcrmuseroutputremotedata.md b/docs/models/components/unifiedcrmuseroutputremotedata.md deleted file mode 100644 index 3e5b01d5..00000000 --- a/docs/models/components/unifiedcrmuseroutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedCrmUserOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragedriveoutput.md b/docs/models/components/unifiedfilestoragedriveoutput.md index ae0b970c..a570c6e3 100644 --- a/docs/models/components/unifiedfilestoragedriveoutput.md +++ b/docs/models/components/unifiedfilestoragedriveoutput.md @@ -3,14 +3,14 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_check_mark: | The name of the drive | -| `remoteCreatedAt` | *string* | :heavy_check_mark: | When the third party s drive was created. | -| `driveUrl` | *string* | :heavy_check_mark: | The url of the drive | -| `fieldMappings` | [components.UnifiedFilestorageDriveOutputFieldMappings](../../models/components/unifiedfilestoragedriveoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the drive | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the drive in the context of the 3rd Party | -| `remoteData` | [components.UnifiedFilestorageDriveOutputRemoteData](../../models/components/unifiedfilestoragedriveoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedFilestorageDriveOutputCreatedAt](../../models/components/unifiedfilestoragedriveoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedFilestorageDriveOutputModifiedAt](../../models/components/unifiedfilestoragedriveoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the drive | +| `remoteCreatedAt` | *string* | :heavy_check_mark: | When the third party s drive was created. | +| `driveUrl` | *string* | :heavy_check_mark: | The url of the drive | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the drive | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the drive in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the drive in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragedriveoutputcreatedat.md b/docs/models/components/unifiedfilestoragedriveoutputcreatedat.md deleted file mode 100644 index b24092a9..00000000 --- a/docs/models/components/unifiedfilestoragedriveoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageDriveOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragedriveoutputfieldmappings.md b/docs/models/components/unifiedfilestoragedriveoutputfieldmappings.md deleted file mode 100644 index d130f097..00000000 --- a/docs/models/components/unifiedfilestoragedriveoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageDriveOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragedriveoutputmodifiedat.md b/docs/models/components/unifiedfilestoragedriveoutputmodifiedat.md deleted file mode 100644 index a23b1f61..00000000 --- a/docs/models/components/unifiedfilestoragedriveoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageDriveOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragedriveoutputremotedata.md b/docs/models/components/unifiedfilestoragedriveoutputremotedata.md deleted file mode 100644 index 18866db8..00000000 --- a/docs/models/components/unifiedfilestoragedriveoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageDriveOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefileinput.md b/docs/models/components/unifiedfilestoragefileinput.md index 6dc575fc..0af4c6db 100644 --- a/docs/models/components/unifiedfilestoragefileinput.md +++ b/docs/models/components/unifiedfilestoragefileinput.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The name of the file | -| `fileUrl` | *string* | :heavy_check_mark: | The url of the file | -| `mimeType` | *string* | :heavy_check_mark: | The mime type of the file | -| `size` | *string* | :heavy_check_mark: | The size of the file | -| `folderId` | *string* | :heavy_check_mark: | The UUID of the folder tied to the file | -| `permission` | *string* | :heavy_check_mark: | The UUID of the permission tied to the file | -| `sharedLink` | *string* | :heavy_check_mark: | The UUID of the shared link tied to the file | -| `fieldMappings` | [components.UnifiedFilestorageFileInputFieldMappings](../../models/components/unifiedfilestoragefileinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the file | +| `fileUrl` | *string* | :heavy_check_mark: | The url of the file | +| `mimeType` | *string* | :heavy_check_mark: | The mime type of the file | +| `size` | *string* | :heavy_check_mark: | The size of the file | +| `folderId` | *string* | :heavy_check_mark: | The UUID of the folder tied to the file | +| `permission` | *string* | :heavy_check_mark: | The UUID of the permission tied to the file | +| `sharedLink` | *string* | :heavy_check_mark: | The UUID of the shared link tied to the file | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefileinputfieldmappings.md b/docs/models/components/unifiedfilestoragefileinputfieldmappings.md deleted file mode 100644 index fe2475a6..00000000 --- a/docs/models/components/unifiedfilestoragefileinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageFileInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefileoutput.md b/docs/models/components/unifiedfilestoragefileoutput.md index c49c4c54..a69ea8d4 100644 --- a/docs/models/components/unifiedfilestoragefileoutput.md +++ b/docs/models/components/unifiedfilestoragefileoutput.md @@ -3,18 +3,18 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The name of the file | -| `fileUrl` | *string* | :heavy_check_mark: | The url of the file | -| `mimeType` | *string* | :heavy_check_mark: | The mime type of the file | -| `size` | *string* | :heavy_check_mark: | The size of the file | -| `folderId` | *string* | :heavy_check_mark: | The UUID of the folder tied to the file | -| `permission` | *string* | :heavy_check_mark: | The UUID of the permission tied to the file | -| `sharedLink` | *string* | :heavy_check_mark: | The UUID of the shared link tied to the file | -| `fieldMappings` | [components.UnifiedFilestorageFileOutputFieldMappings](../../models/components/unifiedfilestoragefileoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the file | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the file in the context of the 3rd Party | -| `remoteData` | [components.UnifiedFilestorageFileOutputRemoteData](../../models/components/unifiedfilestoragefileoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedFilestorageFileOutputCreatedAt](../../models/components/unifiedfilestoragefileoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedFilestorageFileOutputModifiedAt](../../models/components/unifiedfilestoragefileoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the file | +| `fileUrl` | *string* | :heavy_check_mark: | The url of the file | +| `mimeType` | *string* | :heavy_check_mark: | The mime type of the file | +| `size` | *string* | :heavy_check_mark: | The size of the file | +| `folderId` | *string* | :heavy_check_mark: | The UUID of the folder tied to the file | +| `permission` | *string* | :heavy_check_mark: | The UUID of the permission tied to the file | +| `sharedLink` | *string* | :heavy_check_mark: | The UUID of the shared link tied to the file | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the file | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the file in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the file in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefileoutputcreatedat.md b/docs/models/components/unifiedfilestoragefileoutputcreatedat.md deleted file mode 100644 index 44723960..00000000 --- a/docs/models/components/unifiedfilestoragefileoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageFileOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefileoutputfieldmappings.md b/docs/models/components/unifiedfilestoragefileoutputfieldmappings.md deleted file mode 100644 index 443e2831..00000000 --- a/docs/models/components/unifiedfilestoragefileoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageFileOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefileoutputmodifiedat.md b/docs/models/components/unifiedfilestoragefileoutputmodifiedat.md deleted file mode 100644 index 34291135..00000000 --- a/docs/models/components/unifiedfilestoragefileoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageFileOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefileoutputremotedata.md b/docs/models/components/unifiedfilestoragefileoutputremotedata.md deleted file mode 100644 index 9faaca44..00000000 --- a/docs/models/components/unifiedfilestoragefileoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageFileOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefolderinput.md b/docs/models/components/unifiedfilestoragefolderinput.md index 699ca123..412eb73b 100644 --- a/docs/models/components/unifiedfilestoragefolderinput.md +++ b/docs/models/components/unifiedfilestoragefolderinput.md @@ -3,14 +3,14 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_check_mark: | The name of the folder | -| `size` | *string* | :heavy_check_mark: | The size of the folder | -| `folderUrl` | *string* | :heavy_check_mark: | The url of the folder | -| `description` | *string* | :heavy_check_mark: | The description of the folder | -| `driveId` | *string* | :heavy_check_mark: | The UUID of the drive tied to the folder | -| `parentFolderId` | *string* | :heavy_check_mark: | The UUID of the parent folder | -| `sharedLink` | *string* | :heavy_check_mark: | The UUID of the shared link tied to the folder | -| `permission` | *string* | :heavy_check_mark: | The UUID of the permission tied to the folder | -| `fieldMappings` | [components.UnifiedFilestorageFolderInputFieldMappings](../../models/components/unifiedfilestoragefolderinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the folder | +| `size` | *string* | :heavy_check_mark: | The size of the folder | +| `folderUrl` | *string* | :heavy_check_mark: | The url of the folder | +| `description` | *string* | :heavy_check_mark: | The description of the folder | +| `driveId` | *string* | :heavy_check_mark: | The UUID of the drive tied to the folder | +| `parentFolderId` | *string* | :heavy_check_mark: | The UUID of the parent folder | +| `sharedLink` | *string* | :heavy_check_mark: | The UUID of the shared link tied to the folder | +| `permission` | *string* | :heavy_check_mark: | The UUID of the permission tied to the folder | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefolderinputfieldmappings.md b/docs/models/components/unifiedfilestoragefolderinputfieldmappings.md deleted file mode 100644 index 6f73ffbe..00000000 --- a/docs/models/components/unifiedfilestoragefolderinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageFolderInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefolderoutput.md b/docs/models/components/unifiedfilestoragefolderoutput.md index 8f22911d..c3fdf6de 100644 --- a/docs/models/components/unifiedfilestoragefolderoutput.md +++ b/docs/models/components/unifiedfilestoragefolderoutput.md @@ -3,19 +3,19 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The name of the folder | -| `size` | *string* | :heavy_check_mark: | The size of the folder | -| `folderUrl` | *string* | :heavy_check_mark: | The url of the folder | -| `description` | *string* | :heavy_check_mark: | The description of the folder | -| `driveId` | *string* | :heavy_check_mark: | The UUID of the drive tied to the folder | -| `parentFolderId` | *string* | :heavy_check_mark: | The UUID of the parent folder | -| `sharedLink` | *string* | :heavy_check_mark: | The UUID of the shared link tied to the folder | -| `permission` | *string* | :heavy_check_mark: | The UUID of the permission tied to the folder | -| `fieldMappings` | [components.UnifiedFilestorageFolderOutputFieldMappings](../../models/components/unifiedfilestoragefolderoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the folder | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the folder in the context of the 3rd Party | -| `remoteData` | [components.UnifiedFilestorageFolderOutputRemoteData](../../models/components/unifiedfilestoragefolderoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedFilestorageFolderOutputCreatedAt](../../models/components/unifiedfilestoragefolderoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedFilestorageFolderOutputModifiedAt](../../models/components/unifiedfilestoragefolderoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the folder | +| `size` | *string* | :heavy_check_mark: | The size of the folder | +| `folderUrl` | *string* | :heavy_check_mark: | The url of the folder | +| `description` | *string* | :heavy_check_mark: | The description of the folder | +| `driveId` | *string* | :heavy_check_mark: | The UUID of the drive tied to the folder | +| `parentFolderId` | *string* | :heavy_check_mark: | The UUID of the parent folder | +| `sharedLink` | *string* | :heavy_check_mark: | The UUID of the shared link tied to the folder | +| `permission` | *string* | :heavy_check_mark: | The UUID of the permission tied to the folder | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the folder | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the folder in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the folder in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefolderoutputcreatedat.md b/docs/models/components/unifiedfilestoragefolderoutputcreatedat.md deleted file mode 100644 index ec5e9dd6..00000000 --- a/docs/models/components/unifiedfilestoragefolderoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageFolderOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefolderoutputfieldmappings.md b/docs/models/components/unifiedfilestoragefolderoutputfieldmappings.md deleted file mode 100644 index fdcdf69e..00000000 --- a/docs/models/components/unifiedfilestoragefolderoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageFolderOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefolderoutputmodifiedat.md b/docs/models/components/unifiedfilestoragefolderoutputmodifiedat.md deleted file mode 100644 index 2deaed1b..00000000 --- a/docs/models/components/unifiedfilestoragefolderoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageFolderOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragefolderoutputremotedata.md b/docs/models/components/unifiedfilestoragefolderoutputremotedata.md deleted file mode 100644 index ea3a78b4..00000000 --- a/docs/models/components/unifiedfilestoragefolderoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageFolderOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragegroupoutput.md b/docs/models/components/unifiedfilestoragegroupoutput.md index 328f6bad..06de213a 100644 --- a/docs/models/components/unifiedfilestoragegroupoutput.md +++ b/docs/models/components/unifiedfilestoragegroupoutput.md @@ -3,14 +3,14 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_check_mark: | The name of the group | -| `users` | *string*[] | :heavy_check_mark: | Uuids of users of the group | -| `remoteWasDeleted` | *boolean* | :heavy_check_mark: | Indicates whether or not this object has been deleted in the third party platform. | -| `fieldMappings` | [components.UnifiedFilestorageGroupOutputFieldMappings](../../models/components/unifiedfilestoragegroupoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the group | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the group in the context of the 3rd Party | -| `remoteData` | [components.UnifiedFilestorageGroupOutputRemoteData](../../models/components/unifiedfilestoragegroupoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedFilestorageGroupOutputCreatedAt](../../models/components/unifiedfilestoragegroupoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedFilestorageGroupOutputModifiedAt](../../models/components/unifiedfilestoragegroupoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the group | +| `users` | *string*[] | :heavy_check_mark: | Uuids of users of the group | +| `remoteWasDeleted` | *boolean* | :heavy_check_mark: | Indicates whether or not this object has been deleted in the third party platform. | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the group | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the group in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the group in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragegroupoutputcreatedat.md b/docs/models/components/unifiedfilestoragegroupoutputcreatedat.md deleted file mode 100644 index 6a1abad1..00000000 --- a/docs/models/components/unifiedfilestoragegroupoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageGroupOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragegroupoutputfieldmappings.md b/docs/models/components/unifiedfilestoragegroupoutputfieldmappings.md deleted file mode 100644 index 67917691..00000000 --- a/docs/models/components/unifiedfilestoragegroupoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageGroupOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragegroupoutputmodifiedat.md b/docs/models/components/unifiedfilestoragegroupoutputmodifiedat.md deleted file mode 100644 index 2541545a..00000000 --- a/docs/models/components/unifiedfilestoragegroupoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageGroupOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedfilestoragegroupoutputremotedata.md b/docs/models/components/unifiedfilestoragegroupoutputremotedata.md deleted file mode 100644 index 15052230..00000000 --- a/docs/models/components/unifiedfilestoragegroupoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedFilestorageGroupOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingaccountoutput.md b/docs/models/components/unifiedticketingaccountoutput.md index 47272d56..e3096035 100644 --- a/docs/models/components/unifiedticketingaccountoutput.md +++ b/docs/models/components/unifiedticketingaccountoutput.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_check_mark: | The name of the account | -| `domains` | *string*[] | :heavy_minus_sign: | The domains of the account | -| `fieldMappings` | [components.UnifiedTicketingAccountOutputFieldMappings](../../models/components/unifiedticketingaccountoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the account | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the account in the context of the 3rd Party | -| `remoteData` | [components.UnifiedTicketingAccountOutputRemoteData](../../models/components/unifiedticketingaccountoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedTicketingAccountOutputCreatedAt](../../models/components/unifiedticketingaccountoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedTicketingAccountOutputModifiedAt](../../models/components/unifiedticketingaccountoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the account | +| `domains` | *string*[] | :heavy_minus_sign: | The domains of the account | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the account between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the account | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the account in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the account in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingaccountoutputcreatedat.md b/docs/models/components/unifiedticketingaccountoutputcreatedat.md deleted file mode 100644 index d08a8e7a..00000000 --- a/docs/models/components/unifiedticketingaccountoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingAccountOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingaccountoutputfieldmappings.md b/docs/models/components/unifiedticketingaccountoutputfieldmappings.md deleted file mode 100644 index b61864a5..00000000 --- a/docs/models/components/unifiedticketingaccountoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingAccountOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingaccountoutputmodifiedat.md b/docs/models/components/unifiedticketingaccountoutputmodifiedat.md deleted file mode 100644 index 243f1d4c..00000000 --- a/docs/models/components/unifiedticketingaccountoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingAccountOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingaccountoutputremotedata.md b/docs/models/components/unifiedticketingaccountoutputremotedata.md deleted file mode 100644 index 916a8e63..00000000 --- a/docs/models/components/unifiedticketingaccountoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingAccountOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingattachmentinput.md b/docs/models/components/unifiedticketingattachmentinput.md index b994f8e4..f6814e6a 100644 --- a/docs/models/components/unifiedticketingattachmentinput.md +++ b/docs/models/components/unifiedticketingattachmentinput.md @@ -3,11 +3,11 @@ ## 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 | -| `ticketId` | *string* | :heavy_minus_sign: | The UUID of the ticket the attachment is tied to | -| `commentId` | *string* | :heavy_minus_sign: | The UUID of the comment the attachment is tied to | -| `fieldMappings` | [components.UnifiedTicketingAttachmentInputFieldMappings](../../models/components/unifiedticketingattachmentinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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 | +| `ticketId` | *string* | :heavy_minus_sign: | The UUID of the ticket the attachment is tied to | +| `commentId` | *string* | :heavy_minus_sign: | The UUID of the comment the attachment is tied to | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the attachment between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingattachmentinputfieldmappings.md b/docs/models/components/unifiedticketingattachmentinputfieldmappings.md deleted file mode 100644 index 50d76b51..00000000 --- a/docs/models/components/unifiedticketingattachmentinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingAttachmentInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingattachmentoutput.md b/docs/models/components/unifiedticketingattachmentoutput.md index cc0b9efd..74d4a640 100644 --- a/docs/models/components/unifiedticketingattachmentoutput.md +++ b/docs/models/components/unifiedticketingattachmentoutput.md @@ -3,16 +3,16 @@ ## 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 | -| `ticketId` | *string* | :heavy_minus_sign: | The UUID of the ticket the attachment is tied to | -| `commentId` | *string* | :heavy_minus_sign: | The UUID of the comment the attachment is tied to | -| `fieldMappings` | [components.UnifiedTicketingAttachmentOutputFieldMappings](../../models/components/unifiedticketingattachmentoutputfieldmappings.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.UnifiedTicketingAttachmentOutputRemoteData](../../models/components/unifiedticketingattachmentoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedTicketingAttachmentOutputCreatedAt](../../models/components/unifiedticketingattachmentoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedTicketingAttachmentOutputModifiedAt](../../models/components/unifiedticketingattachmentoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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 | +| `ticketId` | *string* | :heavy_minus_sign: | The UUID of the ticket the attachment is tied to | +| `commentId` | *string* | :heavy_minus_sign: | The UUID of the comment the attachment is tied to | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the attachment between the remote 3rd party & Panora | +| `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` | Record | :heavy_minus_sign: | The remote data of the attachment in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingattachmentoutputcreatedat.md b/docs/models/components/unifiedticketingattachmentoutputcreatedat.md deleted file mode 100644 index 235a78d1..00000000 --- a/docs/models/components/unifiedticketingattachmentoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingAttachmentOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingattachmentoutputfieldmappings.md b/docs/models/components/unifiedticketingattachmentoutputfieldmappings.md deleted file mode 100644 index c8b2bbfa..00000000 --- a/docs/models/components/unifiedticketingattachmentoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingAttachmentOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingattachmentoutputmodifiedat.md b/docs/models/components/unifiedticketingattachmentoutputmodifiedat.md deleted file mode 100644 index 7e3976b4..00000000 --- a/docs/models/components/unifiedticketingattachmentoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingAttachmentOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingattachmentoutputremotedata.md b/docs/models/components/unifiedticketingattachmentoutputremotedata.md deleted file mode 100644 index eb5d4488..00000000 --- a/docs/models/components/unifiedticketingattachmentoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingAttachmentOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcollectionoutput.md b/docs/models/components/unifiedticketingcollectionoutput.md index 9c66543c..1f82f6a6 100644 --- a/docs/models/components/unifiedticketingcollectionoutput.md +++ b/docs/models/components/unifiedticketingcollectionoutput.md @@ -3,13 +3,13 @@ ## 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.UnifiedTicketingCollectionOutputRemoteData](../../models/components/unifiedticketingcollectionoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedTicketingCollectionOutputCreatedAt](../../models/components/unifiedticketingcollectionoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedTicketingCollectionOutputModifiedAt](../../models/components/unifiedticketingcollectionoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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` | Record | :heavy_minus_sign: | The remote data of the collection in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcollectionoutputcreatedat.md b/docs/models/components/unifiedticketingcollectionoutputcreatedat.md deleted file mode 100644 index ddd6e064..00000000 --- a/docs/models/components/unifiedticketingcollectionoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingCollectionOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcollectionoutputmodifiedat.md b/docs/models/components/unifiedticketingcollectionoutputmodifiedat.md deleted file mode 100644 index 4beec41f..00000000 --- a/docs/models/components/unifiedticketingcollectionoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingCollectionOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcollectionoutputremotedata.md b/docs/models/components/unifiedticketingcollectionoutputremotedata.md deleted file mode 100644 index c1e7422c..00000000 --- a/docs/models/components/unifiedticketingcollectionoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingCollectionOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcommentoutput.md b/docs/models/components/unifiedticketingcommentoutput.md index 642e6f5d..401d9c7a 100644 --- a/docs/models/components/unifiedticketingcommentoutput.md +++ b/docs/models/components/unifiedticketingcommentoutput.md @@ -3,18 +3,18 @@ ## 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 | -| `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.UnifiedTicketingCommentOutputRemoteData](../../models/components/unifiedticketingcommentoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedTicketingCommentOutputCreatedAt](../../models/components/unifiedticketingcommentoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedTicketingCommentOutputModifiedAt](../../models/components/unifiedticketingcommentoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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 | +| `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` | Record | :heavy_minus_sign: | The remote data of the comment in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcommentoutputcreatedat.md b/docs/models/components/unifiedticketingcommentoutputcreatedat.md deleted file mode 100644 index d8c909bd..00000000 --- a/docs/models/components/unifiedticketingcommentoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingCommentOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcommentoutputmodifiedat.md b/docs/models/components/unifiedticketingcommentoutputmodifiedat.md deleted file mode 100644 index 4370c3c0..00000000 --- a/docs/models/components/unifiedticketingcommentoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingCommentOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcommentoutputremotedata.md b/docs/models/components/unifiedticketingcommentoutputremotedata.md deleted file mode 100644 index cfb8db20..00000000 --- a/docs/models/components/unifiedticketingcommentoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingCommentOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcontactoutput.md b/docs/models/components/unifiedticketingcontactoutput.md index fb4c39ea..6f6bb4fe 100644 --- a/docs/models/components/unifiedticketingcontactoutput.md +++ b/docs/models/components/unifiedticketingcontactoutput.md @@ -3,15 +3,15 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_check_mark: | The name of the contact | -| `emailAddress` | *string* | :heavy_check_mark: | The email address of the contact | -| `phoneNumber` | *string* | :heavy_minus_sign: | The phone number of the contact | -| `details` | *string* | :heavy_minus_sign: | The details of the contact | -| `fieldMappings` | [components.UnifiedTicketingContactOutputFieldMappings](../../models/components/unifiedticketingcontactoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the contact | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the contact in the context of the 3rd Party | -| `remoteData` | [components.UnifiedTicketingContactOutputRemoteData](../../models/components/unifiedticketingcontactoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedTicketingContactOutputCreatedAt](../../models/components/unifiedticketingcontactoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedTicketingContactOutputModifiedAt](../../models/components/unifiedticketingcontactoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the contact | +| `emailAddress` | *string* | :heavy_check_mark: | The email address of the contact | +| `phoneNumber` | *string* | :heavy_minus_sign: | The phone number of the contact | +| `details` | *string* | :heavy_minus_sign: | The details of the contact | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the contact between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the contact | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the contact in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the contact in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcontactoutputcreatedat.md b/docs/models/components/unifiedticketingcontactoutputcreatedat.md deleted file mode 100644 index f22bfcf9..00000000 --- a/docs/models/components/unifiedticketingcontactoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingContactOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcontactoutputfieldmappings.md b/docs/models/components/unifiedticketingcontactoutputfieldmappings.md deleted file mode 100644 index 77c30722..00000000 --- a/docs/models/components/unifiedticketingcontactoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingContactOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcontactoutputmodifiedat.md b/docs/models/components/unifiedticketingcontactoutputmodifiedat.md deleted file mode 100644 index 5979f79e..00000000 --- a/docs/models/components/unifiedticketingcontactoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingContactOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingcontactoutputremotedata.md b/docs/models/components/unifiedticketingcontactoutputremotedata.md deleted file mode 100644 index a66cfc22..00000000 --- a/docs/models/components/unifiedticketingcontactoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingContactOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingtagoutput.md b/docs/models/components/unifiedticketingtagoutput.md index 8cde5f59..2daacbb5 100644 --- a/docs/models/components/unifiedticketingtagoutput.md +++ b/docs/models/components/unifiedticketingtagoutput.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The name of the tag | -| `fieldMappings` | [components.UnifiedTicketingTagOutputFieldMappings](../../models/components/unifiedticketingtagoutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the tag | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the tag in the context of the 3rd Party | -| `remoteData` | [components.UnifiedTicketingTagOutputRemoteData](../../models/components/unifiedticketingtagoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedTicketingTagOutputCreatedAt](../../models/components/unifiedticketingtagoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedTicketingTagOutputModifiedAt](../../models/components/unifiedticketingtagoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the tag | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the tag between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the tag | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the tag in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the tag in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingtagoutputcreatedat.md b/docs/models/components/unifiedticketingtagoutputcreatedat.md deleted file mode 100644 index 1e7adbb6..00000000 --- a/docs/models/components/unifiedticketingtagoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingTagOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingtagoutputfieldmappings.md b/docs/models/components/unifiedticketingtagoutputfieldmappings.md deleted file mode 100644 index 5409536e..00000000 --- a/docs/models/components/unifiedticketingtagoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingTagOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingtagoutputmodifiedat.md b/docs/models/components/unifiedticketingtagoutputmodifiedat.md deleted file mode 100644 index 959a425e..00000000 --- a/docs/models/components/unifiedticketingtagoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingTagOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingtagoutputremotedata.md b/docs/models/components/unifiedticketingtagoutputremotedata.md deleted file mode 100644 index ebaef519..00000000 --- a/docs/models/components/unifiedticketingtagoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingTagOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingteamoutput.md b/docs/models/components/unifiedticketingteamoutput.md index d9a4bf1f..c6f0c59a 100644 --- a/docs/models/components/unifiedticketingteamoutput.md +++ b/docs/models/components/unifiedticketingteamoutput.md @@ -3,13 +3,13 @@ ## 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.UnifiedTicketingTeamOutputFieldMappings](../../models/components/unifiedticketingteamoutputfieldmappings.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.UnifiedTicketingTeamOutputRemoteData](../../models/components/unifiedticketingteamoutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedTicketingTeamOutputCreatedAt](../../models/components/unifiedticketingteamoutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedTicketingTeamOutputModifiedAt](../../models/components/unifiedticketingteamoutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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` | Record | :heavy_minus_sign: | The custom field mappings of the team between the remote 3rd party & Panora | +| `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` | Record | :heavy_minus_sign: | The remote data of the team in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingteamoutputcreatedat.md b/docs/models/components/unifiedticketingteamoutputcreatedat.md deleted file mode 100644 index bf21d534..00000000 --- a/docs/models/components/unifiedticketingteamoutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingTeamOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingteamoutputfieldmappings.md b/docs/models/components/unifiedticketingteamoutputfieldmappings.md deleted file mode 100644 index bdfd0824..00000000 --- a/docs/models/components/unifiedticketingteamoutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingTeamOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingteamoutputmodifiedat.md b/docs/models/components/unifiedticketingteamoutputmodifiedat.md deleted file mode 100644 index 959deec3..00000000 --- a/docs/models/components/unifiedticketingteamoutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingTeamOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingteamoutputremotedata.md b/docs/models/components/unifiedticketingteamoutputremotedata.md deleted file mode 100644 index 1ac1170c..00000000 --- a/docs/models/components/unifiedticketingteamoutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingTeamOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingticketinput.md b/docs/models/components/unifiedticketingticketinput.md index fe5e4d64..b9cdc71e 100644 --- a/docs/models/components/unifiedticketingticketinput.md +++ b/docs/models/components/unifiedticketingticketinput.md @@ -3,21 +3,21 @@ ## 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 | -| `collections` | *string* | :heavy_minus_sign: | The collection UUIDs 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.UnifiedTicketingCommentInput](../../models/components/unifiedticketingcommentinput.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 | -| `attachments` | *string*[] | :heavy_minus_sign: | The attachements UUIDs tied to the ticket | -| `fieldMappings` | [components.UnifiedTicketingTicketInputFieldMappings](../../models/components/unifiedticketingticketinputfieldmappings.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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 | +| `collections` | *string* | :heavy_minus_sign: | The collection UUIDs 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.UnifiedTicketingTicketInputComment](../../models/components/unifiedticketingticketinputcomment.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 | +| `attachments` | *string*[] | :heavy_minus_sign: | The attachments UUIDs tied to the ticket | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the ticket between the remote 3rd party & Panora | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingticketinputcomment.md b/docs/models/components/unifiedticketingticketinputcomment.md new file mode 100644 index 00000000..e4e7dfce --- /dev/null +++ b/docs/models/components/unifiedticketingticketinputcomment.md @@ -0,0 +1,17 @@ +# UnifiedTicketingTicketInputComment + +The comment of the ticket + + +## 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/unifiedticketingticketinputfieldmappings.md b/docs/models/components/unifiedticketingticketinputfieldmappings.md deleted file mode 100644 index ba694997..00000000 --- a/docs/models/components/unifiedticketingticketinputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingTicketInputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketingticketoutput.md b/docs/models/components/unifiedticketingticketoutput.md index bcc549fd..a547767c 100644 --- a/docs/models/components/unifiedticketingticketoutput.md +++ b/docs/models/components/unifiedticketingticketoutput.md @@ -3,26 +3,26 @@ ## 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 | -| `collections` | *string* | :heavy_minus_sign: | The collection UUIDs 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.UnifiedTicketingCommentInput](../../models/components/unifiedticketingcommentinput.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 | -| `attachments` | *string*[] | :heavy_minus_sign: | The attachements UUIDs tied to the ticket | -| `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 | -| `createdAt` | [components.CreatedAt](../../models/components/createdat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.ModifiedAt](../../models/components/modifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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 | +| `collections` | *string* | :heavy_minus_sign: | The collection UUIDs 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.Comment](../../models/components/comment.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 | +| `attachments` | *string*[] | :heavy_minus_sign: | The attachments UUIDs tied to the ticket | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the ticket between the remote 3rd party & Panora | +| `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` | Record | :heavy_minus_sign: | The remote data of the ticket in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedticketinguseroutput.md b/docs/models/components/unifiedticketinguseroutput.md index 16b09ea0..a6e38cd5 100644 --- a/docs/models/components/unifiedticketinguseroutput.md +++ b/docs/models/components/unifiedticketinguseroutput.md @@ -3,15 +3,15 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_check_mark: | The name of the user | -| `emailAddress` | *string* | :heavy_check_mark: | The email address of the user | -| `teams` | *string*[] | :heavy_minus_sign: | The teams whose the user is part of | -| `accountId` | *string* | :heavy_minus_sign: | The account or organization the user is part of | -| `fieldMappings` | [components.UnifiedTicketingUserOutputFieldMappings](../../models/components/unifiedticketinguseroutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the user | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the user in the context of the 3rd Party | -| `remoteData` | [components.UnifiedTicketingUserOutputRemoteData](../../models/components/unifiedticketinguseroutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedTicketingUserOutputCreatedAt](../../models/components/unifiedticketinguseroutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedTicketingUserOutputModifiedAt](../../models/components/unifiedticketinguseroutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the user | +| `emailAddress` | *string* | :heavy_check_mark: | The email address of the user | +| `teams` | *string*[] | :heavy_minus_sign: | The teams whose the user is part of | +| `accountId` | *string* | :heavy_minus_sign: | The account or organization the user is part of | +| `fieldMappings` | Record | :heavy_check_mark: | The custom field mappings of the user between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the user | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the user in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the user in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifiedticketinguseroutputcreatedat.md b/docs/models/components/unifiedticketinguseroutputcreatedat.md deleted file mode 100644 index da4aafbb..00000000 --- a/docs/models/components/unifiedticketinguseroutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingUserOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketinguseroutputfieldmappings.md b/docs/models/components/unifiedticketinguseroutputfieldmappings.md deleted file mode 100644 index 5f186c1f..00000000 --- a/docs/models/components/unifiedticketinguseroutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingUserOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketinguseroutputmodifiedat.md b/docs/models/components/unifiedticketinguseroutputmodifiedat.md deleted file mode 100644 index cb9ad85e..00000000 --- a/docs/models/components/unifiedticketinguseroutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingUserOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifiedticketinguseroutputremotedata.md b/docs/models/components/unifiedticketinguseroutputremotedata.md deleted file mode 100644 index efa28299..00000000 --- a/docs/models/components/unifiedticketinguseroutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedTicketingUserOutputRemoteData - - -## 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 index 49483fc0..64bbd1f3 100644 --- a/docs/models/components/unifieduseroutput.md +++ b/docs/models/components/unifieduseroutput.md @@ -3,14 +3,14 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `name` | *string* | :heavy_check_mark: | The name of the user | -| `email` | *string* | :heavy_check_mark: | The email of the user | -| `isMe` | *boolean* | :heavy_check_mark: | Whether the user is the one who linked this account. | -| `fieldMappings` | [components.UnifiedUserOutputFieldMappings](../../models/components/unifieduseroutputfieldmappings.md) | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | The UUID of the user | -| `remoteId` | *string* | :heavy_minus_sign: | The id of the user in the context of the 3rd Party | -| `remoteData` | [components.UnifiedUserOutputRemoteData](../../models/components/unifieduseroutputremotedata.md) | :heavy_check_mark: | N/A | -| `createdAt` | [components.UnifiedUserOutputCreatedAt](../../models/components/unifieduseroutputcreatedat.md) | :heavy_check_mark: | N/A | -| `modifiedAt` | [components.UnifiedUserOutputModifiedAt](../../models/components/unifieduseroutputmodifiedat.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the user | +| `email` | *string* | :heavy_check_mark: | The email of the user | +| `isMe` | *boolean* | :heavy_check_mark: | Whether the user is the one who linked this account. | +| `fieldMappings` | Record | :heavy_minus_sign: | The custom field mappings of the object between the remote 3rd party & Panora | +| `id` | *string* | :heavy_minus_sign: | The UUID of the user | +| `remoteId` | *string* | :heavy_minus_sign: | The id of the user in the context of the 3rd Party | +| `remoteData` | Record | :heavy_minus_sign: | The remote data of the user in the context of the 3rd Party | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created date of the object | +| `modifiedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The modified date of the object | \ No newline at end of file diff --git a/docs/models/components/unifieduseroutputcreatedat.md b/docs/models/components/unifieduseroutputcreatedat.md deleted file mode 100644 index fd2c2766..00000000 --- a/docs/models/components/unifieduseroutputcreatedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedUserOutputCreatedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieduseroutputfieldmappings.md b/docs/models/components/unifieduseroutputfieldmappings.md deleted file mode 100644 index ba30017b..00000000 --- a/docs/models/components/unifieduseroutputfieldmappings.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedUserOutputFieldMappings - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieduseroutputmodifiedat.md b/docs/models/components/unifieduseroutputmodifiedat.md deleted file mode 100644 index b0c1bee3..00000000 --- a/docs/models/components/unifieduseroutputmodifiedat.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedUserOutputModifiedAt - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/unifieduseroutputremotedata.md b/docs/models/components/unifieduseroutputremotedata.md deleted file mode 100644 index f63d8371..00000000 --- a/docs/models/components/unifieduseroutputremotedata.md +++ /dev/null @@ -1,7 +0,0 @@ -# UnifiedUserOutputRemoteData - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/components/url.md b/docs/models/components/url.md index 5a165de6..438816b8 100644 --- a/docs/models/components/url.md +++ b/docs/models/components/url.md @@ -3,5 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `url` | *string* | :heavy_check_mark: | The url. | +| `urlType` | *string* | :heavy_check_mark: | The url type. It takes [WEBSITE \| BLOG \| LINKEDIN \| GITHUB \| OTHER] | \ No newline at end of file diff --git a/docs/models/operations/createlinkeduserresponse.md b/docs/models/operations/createlinkeduserresponse.md index 6a01a96b..544481f7 100644 --- a/docs/models/operations/createlinkeduserresponse.md +++ b/docs/models/operations/createlinkeduserresponse.md @@ -3,6 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `linkedUserResponse` | [components.LinkedUserResponse](../../models/components/linkeduserresponse.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/definecustomfieldresponse.md b/docs/models/operations/definecustomfieldresponse.md index 7b92e89a..fa48b041 100644 --- a/docs/models/operations/definecustomfieldresponse.md +++ b/docs/models/operations/definecustomfieldresponse.md @@ -3,6 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `customFieldResponse` | [components.CustomFieldResponse](../../models/components/customfieldresponse.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/definitionsresponse.md b/docs/models/operations/definitionsresponse.md index 6b16e7d4..0be8b747 100644 --- a/docs/models/operations/definitionsresponse.md +++ b/docs/models/operations/definitionsresponse.md @@ -3,6 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `customFieldResponse` | [components.CustomFieldResponse](../../models/components/customfieldresponse.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/healthresponse.md b/docs/models/operations/healthresponse.md index 86faff63..5e9ba420 100644 --- a/docs/models/operations/healthresponse.md +++ b/docs/models/operations/healthresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `number` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `number` | [components.NumberT](../../models/components/numbert.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/helloresponse.md b/docs/models/operations/helloresponse.md index 4e670438..b40ca44f 100644 --- a/docs/models/operations/helloresponse.md +++ b/docs/models/operations/helloresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `string` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `string` | [components.String](../../models/components/string.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/importbatchresponse.md b/docs/models/operations/importbatchresponse.md index 36a64180..20c221c6 100644 --- a/docs/models/operations/importbatchresponse.md +++ b/docs/models/operations/importbatchresponse.md @@ -3,6 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `linkedUserResponses` | [components.LinkedUserResponse](../../models/components/linkeduserresponse.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listlinkedusersresponse.md b/docs/models/operations/listlinkedusersresponse.md index 2916c2d2..ba50e401 100644 --- a/docs/models/operations/listlinkedusersresponse.md +++ b/docs/models/operations/listlinkedusersresponse.md @@ -3,6 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `linkedUserResponses` | [components.LinkedUserResponse](../../models/components/linkeduserresponse.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/mapresponse.md b/docs/models/operations/mapresponse.md index 4fc8e88e..254ed892 100644 --- a/docs/models/operations/mapresponse.md +++ b/docs/models/operations/mapresponse.md @@ -3,6 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `customFieldResponse` | [components.CustomFieldResponse](../../models/components/customfieldresponse.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/remoteidresponse.md b/docs/models/operations/remoteidresponse.md index 54a48693..ab79a9b8 100644 --- a/docs/models/operations/remoteidresponse.md +++ b/docs/models/operations/remoteidresponse.md @@ -3,6 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `linkedUserResponse` | [components.LinkedUserResponse](../../models/components/linkeduserresponse.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/resyncresponse.md b/docs/models/operations/resyncresponse.md index a9383bbf..bc9cfff2 100644 --- a/docs/models/operations/resyncresponse.md +++ b/docs/models/operations/resyncresponse.md @@ -3,6 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `resyncStatusDto` | [components.ResyncStatusDto](../../models/components/resyncstatusdto.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/retrievelinkeduserresponse.md b/docs/models/operations/retrievelinkeduserresponse.md index 5463ecbb..da2964e1 100644 --- a/docs/models/operations/retrievelinkeduserresponse.md +++ b/docs/models/operations/retrievelinkeduserresponse.md @@ -3,6 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `linkedUserResponse` | [components.LinkedUserResponse](../../models/components/linkeduserresponse.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/verifyeventresponse.md b/docs/models/operations/verifyeventresponse.md index a0ea8e39..cc4db7a9 100644 --- a/docs/models/operations/verifyeventresponse.md +++ b/docs/models/operations/verifyeventresponse.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `eventPayload` | [components.EventPayload](../../models/components/eventpayload.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `object` | [operations.VerifyEventResponseBody](../../models/operations/verifyeventresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/verifyeventresponsebody.md b/docs/models/operations/verifyeventresponsebody.md new file mode 100644 index 00000000..81abadea --- /dev/null +++ b/docs/models/operations/verifyeventresponsebody.md @@ -0,0 +1,8 @@ +# VerifyEventResponseBody + + +## Fields + +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `data` | Record | :heavy_minus_sign: | Dynamic event payload | \ No newline at end of file diff --git a/docs/sdks/activities/README.md b/docs/sdks/activities/README.md index 7a1404a6..8694fd59 100644 --- a/docs/sdks/activities/README.md +++ b/docs/sdks/activities/README.md @@ -63,9 +63,7 @@ const panora = new Panora(); async function run() { const result = await panora.ats.activities.create({ xConnectionToken: "", - unifiedAtsActivityInput: { - fieldMappings: {}, - }, + unifiedAtsActivityInput: {}, }); // Handle the result diff --git a/docs/sdks/applications/README.md b/docs/sdks/applications/README.md index ff02133f..9ad5d4c4 100644 --- a/docs/sdks/applications/README.md +++ b/docs/sdks/applications/README.md @@ -63,9 +63,7 @@ const panora = new Panora(); async function run() { const result = await panora.ats.applications.create({ xConnectionToken: "", - unifiedAtsApplicationInput: { - fieldMappings: {}, - }, + unifiedAtsApplicationInput: {}, }); // Handle the result diff --git a/docs/sdks/attachments/README.md b/docs/sdks/attachments/README.md index 7478be96..53d6c04e 100644 --- a/docs/sdks/attachments/README.md +++ b/docs/sdks/attachments/README.md @@ -63,9 +63,7 @@ const panora = new Panora(); async function run() { const result = await panora.ats.attachments.create({ xConnectionToken: "", - unifiedAtsAttachmentInput: { - fieldMappings: {}, - }, + unifiedAtsAttachmentInput: {}, }); // Handle the result diff --git a/docs/sdks/candidates/README.md b/docs/sdks/candidates/README.md index da10ed6a..5e6e5c92 100644 --- a/docs/sdks/candidates/README.md +++ b/docs/sdks/candidates/README.md @@ -63,9 +63,7 @@ const panora = new Panora(); async function run() { const result = await panora.ats.candidates.create({ xConnectionToken: "", - unifiedAtsCandidateInput: { - fieldMappings: {}, - }, + unifiedAtsCandidateInput: {}, }); // Handle the result diff --git a/docs/sdks/companies/README.md b/docs/sdks/companies/README.md index 02ab0197..7a4108a9 100644 --- a/docs/sdks/companies/README.md +++ b/docs/sdks/companies/README.md @@ -65,7 +65,6 @@ async function run() { xConnectionToken: "", unifiedCrmCompanyInput: { name: "", - fieldMappings: {}, }, }); diff --git a/docs/sdks/deals/README.md b/docs/sdks/deals/README.md index b601bb80..4105c135 100644 --- a/docs/sdks/deals/README.md +++ b/docs/sdks/deals/README.md @@ -67,7 +67,6 @@ async function run() { name: "", description: "Multi-tiered human-resource model", amount: 8592.13, - fieldMappings: {}, }, }); diff --git a/docs/sdks/engagements/README.md b/docs/sdks/engagements/README.md index 721ef0ba..5813362b 100644 --- a/docs/sdks/engagements/README.md +++ b/docs/sdks/engagements/README.md @@ -65,7 +65,6 @@ async function run() { xConnectionToken: "", unifiedCrmEngagementInput: { type: "", - fieldMappings: {}, }, }); diff --git a/docs/sdks/files/README.md b/docs/sdks/files/README.md index 85ccf32c..207193cf 100644 --- a/docs/sdks/files/README.md +++ b/docs/sdks/files/README.md @@ -72,7 +72,6 @@ async function run() { folderId: "", permission: "", sharedLink: "", - fieldMappings: {}, }, }); diff --git a/docs/sdks/folders/README.md b/docs/sdks/folders/README.md index fcdcb00c..9b11e20b 100644 --- a/docs/sdks/folders/README.md +++ b/docs/sdks/folders/README.md @@ -73,7 +73,6 @@ async function run() { parentFolderId: "", sharedLink: "", permission: "", - fieldMappings: {}, }, }); diff --git a/docs/sdks/interviews/README.md b/docs/sdks/interviews/README.md index 7c8fd6dc..13847950 100644 --- a/docs/sdks/interviews/README.md +++ b/docs/sdks/interviews/README.md @@ -63,9 +63,7 @@ const panora = new Panora(); async function run() { const result = await panora.ats.interviews.create({ xConnectionToken: "", - unifiedAtsInterviewInput: { - fieldMappings: {}, - }, + unifiedAtsInterviewInput: {}, }); // Handle the result diff --git a/docs/sdks/notes/README.md b/docs/sdks/notes/README.md index 363946b1..f9d105cc 100644 --- a/docs/sdks/notes/README.md +++ b/docs/sdks/notes/README.md @@ -65,7 +65,6 @@ async function run() { xConnectionToken: "", unifiedCrmNoteInput: { content: "", - fieldMappings: {}, }, }); diff --git a/docs/sdks/panoracontacts/README.md b/docs/sdks/panoracontacts/README.md index 7a2dc353..250e1a7d 100644 --- a/docs/sdks/panoracontacts/README.md +++ b/docs/sdks/panoracontacts/README.md @@ -66,7 +66,6 @@ async function run() { unifiedCrmContactInput: { firstName: "Jed", lastName: "Kuhn", - fieldMappings: {}, }, }); diff --git a/docs/sdks/panoraticketingattachments/README.md b/docs/sdks/panoraticketingattachments/README.md index 0879faeb..c3058a39 100644 --- a/docs/sdks/panoraticketingattachments/README.md +++ b/docs/sdks/panoraticketingattachments/README.md @@ -67,7 +67,6 @@ async function run() { fileName: "your_file_here", fileUrl: "", uploader: "", - fieldMappings: {}, }, }); diff --git a/docs/sdks/tasks/README.md b/docs/sdks/tasks/README.md index a7d16d73..1c1d14a1 100644 --- a/docs/sdks/tasks/README.md +++ b/docs/sdks/tasks/README.md @@ -67,7 +67,6 @@ async function run() { subject: "", content: "", status: "", - fieldMappings: {}, }, }); diff --git a/docs/sdks/tickets/README.md b/docs/sdks/tickets/README.md index 92609c3c..db45d496 100644 --- a/docs/sdks/tickets/README.md +++ b/docs/sdks/tickets/README.md @@ -66,7 +66,6 @@ async function run() { unifiedTicketingTicketInput: { name: "", description: "Multi-tiered human-resource model", - fieldMappings: {}, }, }); diff --git a/docs/sdks/verifyevent/README.md b/docs/sdks/verifyevent/README.md index ebcefd63..071b4f80 100644 --- a/docs/sdks/verifyevent/README.md +++ b/docs/sdks/verifyevent/README.md @@ -18,7 +18,9 @@ const panora = new Panora(); async function run() { const result = await panora.webhooks.verifyevent.verifyEvent({ - payload: {}, + payload: { + "key": "", + }, signature: "", secret: "", }); diff --git a/jsr.json b/jsr.json index dc9738ab..9c0b474a 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@panora/sdk", - "version": "0.2.0", + "version": "0.3.0", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index fb5a8e26..78b2a037 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@panora/sdk", - "version": "0.2.0", + "version": "0.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@panora/sdk", - "version": "0.2.0", + "version": "0.3.0", "devDependencies": { "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", diff --git a/package.json b/package.json index fae80849..40d6b473 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@panora/sdk", - "version": "0.2.0", + "version": "0.3.0", "author": "Speakeasy", "main": "./index.js", "sideEffects": false, diff --git a/src/lib/config.ts b/src/lib/config.ts index b8d62416..f0ebfb45 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "1.0", - sdkVersion: "0.2.0", + sdkVersion: "0.3.0", genVersion: "2.384.4", - userAgent: "speakeasy-sdk/typescript 0.2.0 2.384.4 1.0 @panora/sdk", + userAgent: "speakeasy-sdk/typescript 0.3.0 2.384.4 1.0 @panora/sdk", } as const; diff --git a/src/models/components/address.ts b/src/models/components/address.ts index 7cc27d68..f33d0456 100644 --- a/src/models/components/address.ts +++ b/src/models/components/address.ts @@ -9,48 +9,48 @@ export type Address = { /** * The street */ - street1: string; + street1: string | null; /** * More information about the street */ - street2: string; + street2: string | null; /** * The city */ - city: string; + city: string | null; /** * The state */ - state: string; + state: string | null; /** * The postal code */ - postalCode: string; + postalCode: string | null; /** * The country */ - country: string; + country: string | null; /** * The address type. Authorized values are either PERSONAL or WORK. */ - addressType: string; + addressType: string | null; /** * The owner type of the address */ - ownerType: string; + ownerType: string | null; }; /** @internal */ export const Address$inboundSchema: z.ZodType = z .object({ - street_1: z.string(), - street_2: z.string(), - city: z.string(), - state: z.string(), - postal_code: z.string(), - country: z.string(), - address_type: z.string(), - owner_type: z.string(), + street_1: z.nullable(z.string()), + street_2: z.nullable(z.string()), + city: z.nullable(z.string()), + state: z.nullable(z.string()), + postal_code: z.nullable(z.string()), + country: z.nullable(z.string()), + address_type: z.nullable(z.string()), + owner_type: z.nullable(z.string()), }) .transform((v) => { return remap$(v, { @@ -64,27 +64,27 @@ export const Address$inboundSchema: z.ZodType = /** @internal */ export type Address$Outbound = { - street_1: string; - street_2: string; - city: string; - state: string; - postal_code: string; - country: string; - address_type: string; - owner_type: string; + street_1: string | null; + street_2: string | null; + city: string | null; + state: string | null; + postal_code: string | null; + country: string | null; + address_type: string | null; + owner_type: string | null; }; /** @internal */ export const Address$outboundSchema: z.ZodType = z .object({ - street1: z.string(), - street2: z.string(), - city: z.string(), - state: z.string(), - postalCode: z.string(), - country: z.string(), - addressType: z.string(), - ownerType: z.string(), + street1: z.nullable(z.string()), + street2: z.nullable(z.string()), + city: z.nullable(z.string()), + state: z.nullable(z.string()), + postalCode: z.nullable(z.string()), + country: z.nullable(z.string()), + addressType: z.nullable(z.string()), + ownerType: z.nullable(z.string()), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/createbatchlinkeduserdto.ts b/src/models/components/createbatchlinkeduserdto.ts index 3b10d471..c7f2a588 100644 --- a/src/models/components/createbatchlinkeduserdto.ts +++ b/src/models/components/createbatchlinkeduserdto.ts @@ -6,8 +6,8 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; export type CreateBatchLinkedUserDto = { - linkedUserOriginIds: Array; - alias: string; + linkedUserOriginIds: Array | null; + alias: string | null; }; /** @internal */ @@ -17,8 +17,8 @@ export const CreateBatchLinkedUserDto$inboundSchema: z.ZodType< unknown > = z .object({ - linked_user_origin_ids: z.array(z.string()), - alias: z.string(), + linked_user_origin_ids: z.nullable(z.array(z.string())), + alias: z.nullable(z.string()), }) .transform((v) => { return remap$(v, { @@ -28,8 +28,8 @@ export const CreateBatchLinkedUserDto$inboundSchema: z.ZodType< /** @internal */ export type CreateBatchLinkedUserDto$Outbound = { - linked_user_origin_ids: Array; - alias: string; + linked_user_origin_ids: Array | null; + alias: string | null; }; /** @internal */ @@ -39,8 +39,8 @@ export const CreateBatchLinkedUserDto$outboundSchema: z.ZodType< CreateBatchLinkedUserDto > = z .object({ - linkedUserOriginIds: z.array(z.string()), - alias: z.string(), + linkedUserOriginIds: z.nullable(z.array(z.string())), + alias: z.nullable(z.string()), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/createlinkeduserdto.ts b/src/models/components/createlinkeduserdto.ts index c06309fd..4fd21fa5 100644 --- a/src/models/components/createlinkeduserdto.ts +++ b/src/models/components/createlinkeduserdto.ts @@ -6,8 +6,8 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; export type CreateLinkedUserDto = { - linkedUserOriginId: string; - alias: string; + linkedUserOriginId: string | null; + alias: string | null; }; /** @internal */ @@ -17,8 +17,8 @@ export const CreateLinkedUserDto$inboundSchema: z.ZodType< unknown > = z .object({ - linked_user_origin_id: z.string(), - alias: z.string(), + linked_user_origin_id: z.nullable(z.string()), + alias: z.nullable(z.string()), }) .transform((v) => { return remap$(v, { @@ -28,8 +28,8 @@ export const CreateLinkedUserDto$inboundSchema: z.ZodType< /** @internal */ export type CreateLinkedUserDto$Outbound = { - linked_user_origin_id: string; - alias: string; + linked_user_origin_id: string | null; + alias: string | null; }; /** @internal */ @@ -39,8 +39,8 @@ export const CreateLinkedUserDto$outboundSchema: z.ZodType< CreateLinkedUserDto > = z .object({ - linkedUserOriginId: z.string(), - alias: z.string(), + linkedUserOriginId: z.nullable(z.string()), + alias: z.nullable(z.string()), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/customfieldcreatedto.ts b/src/models/components/customfieldcreatedto.ts index 41b0e9c7..fee93a91 100644 --- a/src/models/components/customfieldcreatedto.ts +++ b/src/models/components/customfieldcreatedto.ts @@ -6,13 +6,13 @@ 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; + objectTypeOwner: string | null; + name: string | null; + description: string | null; + dataType: string | null; + sourceCustomFieldId: string | null; + sourceProvider: string | null; + linkedUserId: string | null; }; /** @internal */ @@ -22,13 +22,13 @@ export const CustomFieldCreateDto$inboundSchema: z.ZodType< unknown > = 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(), + object_type_owner: z.nullable(z.string()), + name: z.nullable(z.string()), + description: z.nullable(z.string()), + data_type: z.nullable(z.string()), + source_custom_field_id: z.nullable(z.string()), + source_provider: z.nullable(z.string()), + linked_user_id: z.nullable(z.string()), }) .transform((v) => { return remap$(v, { @@ -42,13 +42,13 @@ export const CustomFieldCreateDto$inboundSchema: z.ZodType< /** @internal */ export type CustomFieldCreateDto$Outbound = { - object_type_owner: string; - name: string; - description: string; - data_type: string; - source_custom_field_id: string; - source_provider: string; - linked_user_id: string; + object_type_owner: string | null; + name: string | null; + description: string | null; + data_type: string | null; + source_custom_field_id: string | null; + source_provider: string | null; + linked_user_id: string | null; }; /** @internal */ @@ -58,13 +58,13 @@ export const CustomFieldCreateDto$outboundSchema: z.ZodType< CustomFieldCreateDto > = z .object({ - objectTypeOwner: z.string(), - name: z.string(), - description: z.string(), - dataType: z.string(), - sourceCustomFieldId: z.string(), - sourceProvider: z.string(), - linkedUserId: z.string(), + objectTypeOwner: z.nullable(z.string()), + name: z.nullable(z.string()), + description: z.nullable(z.string()), + dataType: z.nullable(z.string()), + sourceCustomFieldId: z.nullable(z.string()), + sourceProvider: z.nullable(z.string()), + linkedUserId: z.nullable(z.string()), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/customfieldresponse.ts b/src/models/components/customfieldresponse.ts new file mode 100644 index 00000000..c7d59cee --- /dev/null +++ b/src/models/components/customfieldresponse.ts @@ -0,0 +1,178 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as z from "zod"; + +export type CustomFieldResponse = { + /** + * Attribute Id + */ + idAttribute: string | null; + /** + * Attribute Status + */ + status: string | null; + /** + * Attribute Ressource Owner Type + */ + ressourceOwnerType: string | null; + /** + * Attribute Slug + */ + slug: string | null; + /** + * Attribute Description + */ + description: string | null; + /** + * Attribute Data Type + */ + dataType: string | null; + /** + * Attribute Remote Id + */ + remoteId: string | null; + /** + * Attribute Source + */ + source: string | null; + /** + * Attribute Id Entity + */ + idEntity: string | null; + /** + * Attribute Id Project + */ + idProject: string | null; + /** + * Attribute Scope + */ + scope: string | null; + /** + * Attribute Id Consumer + */ + idConsumer: string | null; + /** + * Attribute Created Date + */ + createdAt: Date | null; + /** + * Attribute Modified Date + */ + modifiedAt: Date | null; +}; + +/** @internal */ +export const CustomFieldResponse$inboundSchema: z.ZodType< + CustomFieldResponse, + z.ZodTypeDef, + unknown +> = z + .object({ + id_attribute: z.nullable(z.string()), + status: z.nullable(z.string()), + ressource_owner_type: z.nullable(z.string()), + slug: z.nullable(z.string()), + description: z.nullable(z.string()), + data_type: z.nullable(z.string()), + remote_id: z.nullable(z.string()), + source: z.nullable(z.string()), + id_entity: z.nullable(z.string()), + id_project: z.nullable(z.string()), + scope: z.nullable(z.string()), + id_consumer: z.nullable(z.string()), + created_at: z.nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ), + modified_at: z.nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ), + }) + .transform((v) => { + return remap$(v, { + id_attribute: "idAttribute", + ressource_owner_type: "ressourceOwnerType", + data_type: "dataType", + remote_id: "remoteId", + id_entity: "idEntity", + id_project: "idProject", + id_consumer: "idConsumer", + created_at: "createdAt", + modified_at: "modifiedAt", + }); + }); + +/** @internal */ +export type CustomFieldResponse$Outbound = { + id_attribute: string | null; + status: string | null; + ressource_owner_type: string | null; + slug: string | null; + description: string | null; + data_type: string | null; + remote_id: string | null; + source: string | null; + id_entity: string | null; + id_project: string | null; + scope: string | null; + id_consumer: string | null; + created_at: string | null; + modified_at: string | null; +}; + +/** @internal */ +export const CustomFieldResponse$outboundSchema: z.ZodType< + CustomFieldResponse$Outbound, + z.ZodTypeDef, + CustomFieldResponse +> = z + .object({ + idAttribute: z.nullable(z.string()), + status: z.nullable(z.string()), + ressourceOwnerType: z.nullable(z.string()), + slug: z.nullable(z.string()), + description: z.nullable(z.string()), + dataType: z.nullable(z.string()), + remoteId: z.nullable(z.string()), + source: z.nullable(z.string()), + idEntity: z.nullable(z.string()), + idProject: z.nullable(z.string()), + scope: z.nullable(z.string()), + idConsumer: z.nullable(z.string()), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())), + }) + .transform((v) => { + return remap$(v, { + idAttribute: "id_attribute", + ressourceOwnerType: "ressource_owner_type", + dataType: "data_type", + remoteId: "remote_id", + idEntity: "id_entity", + idProject: "id_project", + idConsumer: "id_consumer", + createdAt: "created_at", + modifiedAt: "modified_at", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CustomFieldResponse$ { + /** @deprecated use `CustomFieldResponse$inboundSchema` instead. */ + export const inboundSchema = CustomFieldResponse$inboundSchema; + /** @deprecated use `CustomFieldResponse$outboundSchema` instead. */ + export const outboundSchema = CustomFieldResponse$outboundSchema; + /** @deprecated use `CustomFieldResponse$Outbound` instead. */ + export type Outbound = CustomFieldResponse$Outbound; +} diff --git a/src/models/components/definetargetfielddto.ts b/src/models/components/definetargetfielddto.ts index 769937ed..26730c71 100644 --- a/src/models/components/definetargetfielddto.ts +++ b/src/models/components/definetargetfielddto.ts @@ -6,10 +6,10 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; export type DefineTargetFieldDto = { - objectTypeOwner: string; - name: string; - description: string; - dataType: string; + objectTypeOwner: string | null; + name: string | null; + description: string | null; + dataType: string | null; }; /** @internal */ @@ -19,10 +19,10 @@ export const DefineTargetFieldDto$inboundSchema: z.ZodType< unknown > = z .object({ - object_type_owner: z.string(), - name: z.string(), - description: z.string(), - data_type: z.string(), + object_type_owner: z.nullable(z.string()), + name: z.nullable(z.string()), + description: z.nullable(z.string()), + data_type: z.nullable(z.string()), }) .transform((v) => { return remap$(v, { @@ -33,10 +33,10 @@ export const DefineTargetFieldDto$inboundSchema: z.ZodType< /** @internal */ export type DefineTargetFieldDto$Outbound = { - object_type_owner: string; - name: string; - description: string; - data_type: string; + object_type_owner: string | null; + name: string | null; + description: string | null; + data_type: string | null; }; /** @internal */ @@ -46,10 +46,10 @@ export const DefineTargetFieldDto$outboundSchema: z.ZodType< DefineTargetFieldDto > = z .object({ - objectTypeOwner: z.string(), - name: z.string(), - description: z.string(), - dataType: z.string(), + objectTypeOwner: z.nullable(z.string()), + name: z.nullable(z.string()), + description: z.nullable(z.string()), + dataType: z.nullable(z.string()), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/email.ts b/src/models/components/email.ts index 68f3552b..6b83980a 100644 --- a/src/models/components/email.ts +++ b/src/models/components/email.ts @@ -9,23 +9,23 @@ export type Email = { /** * The email address */ - emailAddress: string; + emailAddress: string | null; /** * The email address type. Authorized values are either PERSONAL or WORK. */ - emailAddressType: string; + emailAddressType: string | null; /** * The owner type of an email */ - ownerType?: string | undefined; + ownerType?: string | null | undefined; }; /** @internal */ export const Email$inboundSchema: z.ZodType = z .object({ - email_address: z.string(), - email_address_type: z.string(), - owner_type: z.string().optional(), + email_address: z.nullable(z.string()), + email_address_type: z.nullable(z.string()), + owner_type: z.nullable(z.string()).optional(), }) .transform((v) => { return remap$(v, { @@ -37,17 +37,17 @@ export const Email$inboundSchema: z.ZodType = z /** @internal */ export type Email$Outbound = { - email_address: string; - email_address_type: string; - owner_type?: string | undefined; + email_address: string | null; + email_address_type: string | null; + owner_type?: string | null | undefined; }; /** @internal */ export const Email$outboundSchema: z.ZodType = z .object({ - emailAddress: z.string(), - emailAddressType: z.string(), - ownerType: z.string().optional(), + emailAddress: z.nullable(z.string()), + emailAddressType: z.nullable(z.string()), + ownerType: z.nullable(z.string()).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/eventpayload.ts b/src/models/components/eventpayload.ts deleted file mode 100644 index db881597..00000000 --- a/src/models/components/eventpayload.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; - -export type EventPayload = {}; - -/** @internal */ -export const EventPayload$inboundSchema: z.ZodType = z.object( - {} -); - -/** @internal */ -export type EventPayload$Outbound = {}; - -/** @internal */ -export const EventPayload$outboundSchema: z.ZodType< - EventPayload$Outbound, - z.ZodTypeDef, - EventPayload -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EventPayload$ { - /** @deprecated use `EventPayload$inboundSchema` instead. */ - export const inboundSchema = EventPayload$inboundSchema; - /** @deprecated use `EventPayload$outboundSchema` instead. */ - export const outboundSchema = EventPayload$outboundSchema; - /** @deprecated use `EventPayload$Outbound` instead. */ - export type Outbound = EventPayload$Outbound; -} diff --git a/src/models/components/index.ts b/src/models/components/index.ts index 4cda5edf..5d224eb0 100644 --- a/src/models/components/index.ts +++ b/src/models/components/index.ts @@ -6,15 +6,19 @@ export * from "./address.js"; export * from "./createbatchlinkeduserdto.js"; export * from "./createlinkeduserdto.js"; export * from "./customfieldcreatedto.js"; +export * from "./customfieldresponse.js"; export * from "./definetargetfielddto.js"; export * from "./email.js"; -export * from "./eventpayload.js"; export * from "./httpmetadata.js"; +export * from "./linkeduserresponse.js"; export * from "./mapfieldtoproviderdto.js"; +export * from "./number.js"; export * from "./passthroughrequestdto.js"; export * from "./passthroughresponse.js"; export * from "./phone.js"; +export * from "./resyncstatusdto.js"; export * from "./signatureverificationdto.js"; +export * from "./string.js"; export * from "./unifiedaccountingaccountinput.js"; export * from "./unifiedaccountingaccountoutput.js"; export * from "./unifiedaccountingaddressoutput.js"; diff --git a/src/models/components/linkeduserresponse.ts b/src/models/components/linkeduserresponse.ts new file mode 100644 index 00000000..91c51343 --- /dev/null +++ b/src/models/components/linkeduserresponse.ts @@ -0,0 +1,74 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { remap as remap$ } from "../../lib/primitives.js"; +import * as z from "zod"; + +export type LinkedUserResponse = { + idLinkedUser: string | null; + linkedUserOriginId: string | null; + alias: string | null; + idProject: string | null; +}; + +/** @internal */ +export const LinkedUserResponse$inboundSchema: z.ZodType< + LinkedUserResponse, + z.ZodTypeDef, + unknown +> = z + .object({ + id_linked_user: z.nullable(z.string()), + linked_user_origin_id: z.nullable(z.string()), + alias: z.nullable(z.string()), + id_project: z.nullable(z.string()), + }) + .transform((v) => { + return remap$(v, { + id_linked_user: "idLinkedUser", + linked_user_origin_id: "linkedUserOriginId", + id_project: "idProject", + }); + }); + +/** @internal */ +export type LinkedUserResponse$Outbound = { + id_linked_user: string | null; + linked_user_origin_id: string | null; + alias: string | null; + id_project: string | null; +}; + +/** @internal */ +export const LinkedUserResponse$outboundSchema: z.ZodType< + LinkedUserResponse$Outbound, + z.ZodTypeDef, + LinkedUserResponse +> = z + .object({ + idLinkedUser: z.nullable(z.string()), + linkedUserOriginId: z.nullable(z.string()), + alias: z.nullable(z.string()), + idProject: z.nullable(z.string()), + }) + .transform((v) => { + return remap$(v, { + idLinkedUser: "id_linked_user", + linkedUserOriginId: "linked_user_origin_id", + idProject: "id_project", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace LinkedUserResponse$ { + /** @deprecated use `LinkedUserResponse$inboundSchema` instead. */ + export const inboundSchema = LinkedUserResponse$inboundSchema; + /** @deprecated use `LinkedUserResponse$outboundSchema` instead. */ + export const outboundSchema = LinkedUserResponse$outboundSchema; + /** @deprecated use `LinkedUserResponse$Outbound` instead. */ + export type Outbound = LinkedUserResponse$Outbound; +} diff --git a/src/models/components/mapfieldtoproviderdto.ts b/src/models/components/mapfieldtoproviderdto.ts index b24ac0f5..03cc43a1 100644 --- a/src/models/components/mapfieldtoproviderdto.ts +++ b/src/models/components/mapfieldtoproviderdto.ts @@ -6,10 +6,22 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; export type MapFieldToProviderDto = { - attributeId: string; - sourceCustomFieldId: string; - sourceProvider: string; - linkedUserId: string; + /** + * Attribute Id + */ + attributeId: string | null; + /** + * Attribute Id + */ + sourceCustomFieldId: string | null; + /** + * Attribute Id + */ + sourceProvider: string | null; + /** + * Attribute Id + */ + linkedUserId: string | null; }; /** @internal */ @@ -19,10 +31,10 @@ export const MapFieldToProviderDto$inboundSchema: z.ZodType< unknown > = z .object({ - attributeId: z.string(), - source_custom_field_id: z.string(), - source_provider: z.string(), - linked_user_id: z.string(), + attributeId: z.nullable(z.string()), + source_custom_field_id: z.nullable(z.string()), + source_provider: z.nullable(z.string()), + linked_user_id: z.nullable(z.string()), }) .transform((v) => { return remap$(v, { @@ -34,10 +46,10 @@ export const MapFieldToProviderDto$inboundSchema: z.ZodType< /** @internal */ export type MapFieldToProviderDto$Outbound = { - attributeId: string; - source_custom_field_id: string; - source_provider: string; - linked_user_id: string; + attributeId: string | null; + source_custom_field_id: string | null; + source_provider: string | null; + linked_user_id: string | null; }; /** @internal */ @@ -47,10 +59,10 @@ export const MapFieldToProviderDto$outboundSchema: z.ZodType< MapFieldToProviderDto > = z .object({ - attributeId: z.string(), - sourceCustomFieldId: z.string(), - sourceProvider: z.string(), - linkedUserId: z.string(), + attributeId: z.nullable(z.string()), + sourceCustomFieldId: z.nullable(z.string()), + sourceProvider: z.nullable(z.string()), + linkedUserId: z.nullable(z.string()), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/number.ts b/src/models/components/number.ts new file mode 100644 index 00000000..3a80475f --- /dev/null +++ b/src/models/components/number.ts @@ -0,0 +1,31 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type NumberT = {}; + +/** @internal */ +export const NumberT$inboundSchema: z.ZodType = z.object({}); + +/** @internal */ +export type NumberT$Outbound = {}; + +/** @internal */ +export const NumberT$outboundSchema: z.ZodType = z.object( + {} +); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace NumberT$ { + /** @deprecated use `NumberT$inboundSchema` instead. */ + export const inboundSchema = NumberT$inboundSchema; + /** @deprecated use `NumberT$outboundSchema` instead. */ + export const outboundSchema = NumberT$outboundSchema; + /** @deprecated use `NumberT$Outbound` instead. */ + export type Outbound = NumberT$Outbound; +} diff --git a/src/models/components/passthroughrequestdto.ts b/src/models/components/passthroughrequestdto.ts index 5f8ac371..ca3736eb 100644 --- a/src/models/components/passthroughrequestdto.ts +++ b/src/models/components/passthroughrequestdto.ts @@ -12,15 +12,13 @@ export enum Method { Put = "PUT", } -export type Data = {}; - -export type Headers = {}; +export type Data = { [k: string]: any } | Array<{ [k: string]: any }>; export type PassThroughRequestDto = { method: Method; - path: string; - data?: Data | undefined; - headers?: Headers | undefined; + path: string | null; + data?: { [k: string]: any } | Array<{ [k: string]: any }> | null | undefined; + headers?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -41,13 +39,19 @@ export namespace Method$ { } /** @internal */ -export const Data$inboundSchema: z.ZodType = z.object({}); +export const Data$inboundSchema: z.ZodType = z.union([ + z.record(z.any()), + z.array(z.record(z.any())), +]); /** @internal */ -export type Data$Outbound = {}; +export type Data$Outbound = { [k: string]: any } | Array<{ [k: string]: any }>; /** @internal */ -export const Data$outboundSchema: z.ZodType = z.object({}); +export const Data$outboundSchema: z.ZodType = z.union([ + z.record(z.any()), + z.array(z.record(z.any())), +]); /** * @internal @@ -62,30 +66,6 @@ export namespace Data$ { export type Outbound = Data$Outbound; } -/** @internal */ -export const Headers$inboundSchema: z.ZodType = z.object({}); - -/** @internal */ -export type Headers$Outbound = {}; - -/** @internal */ -export const Headers$outboundSchema: z.ZodType = z.object( - {} -); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Headers$ { - /** @deprecated use `Headers$inboundSchema` instead. */ - export const inboundSchema = Headers$inboundSchema; - /** @deprecated use `Headers$outboundSchema` instead. */ - export const outboundSchema = Headers$outboundSchema; - /** @deprecated use `Headers$Outbound` instead. */ - export type Outbound = Headers$Outbound; -} - /** @internal */ export const PassThroughRequestDto$inboundSchema: z.ZodType< PassThroughRequestDto, @@ -93,17 +73,17 @@ export const PassThroughRequestDto$inboundSchema: z.ZodType< unknown > = z.object({ method: Method$inboundSchema, - path: z.string(), - data: z.lazy(() => Data$inboundSchema).optional(), - headers: z.lazy(() => Headers$inboundSchema).optional(), + path: z.nullable(z.string()), + data: z.nullable(z.union([z.record(z.any()), z.array(z.record(z.any()))])).optional(), + headers: z.nullable(z.record(z.any())).optional(), }); /** @internal */ export type PassThroughRequestDto$Outbound = { method: string; - path: string; - data?: Data$Outbound | undefined; - headers?: Headers$Outbound | undefined; + path: string | null; + data?: { [k: string]: any } | Array<{ [k: string]: any }> | null | undefined; + headers?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -113,9 +93,9 @@ export const PassThroughRequestDto$outboundSchema: z.ZodType< PassThroughRequestDto > = z.object({ method: Method$outboundSchema, - path: z.string(), - data: z.lazy(() => Data$outboundSchema).optional(), - headers: z.lazy(() => Headers$outboundSchema).optional(), + path: z.nullable(z.string()), + data: z.nullable(z.union([z.record(z.any()), z.array(z.record(z.any()))])).optional(), + headers: z.nullable(z.record(z.any())).optional(), }); /** diff --git a/src/models/components/passthroughresponse.ts b/src/models/components/passthroughresponse.ts index f413a236..dd199bd1 100644 --- a/src/models/components/passthroughresponse.ts +++ b/src/models/components/passthroughresponse.ts @@ -7,9 +7,9 @@ import * as z from "zod"; export type PassThroughResponseData = {}; export type PassThroughResponse = { - url: string; - status: number; - data: PassThroughResponseData; + url: string | null; + status: number | null; + data: PassThroughResponseData | null; }; /** @internal */ @@ -48,16 +48,16 @@ export const PassThroughResponse$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - url: z.string(), - status: z.number(), - data: z.lazy(() => PassThroughResponseData$inboundSchema), + url: z.nullable(z.string()), + status: z.nullable(z.number()), + data: z.nullable(z.lazy(() => PassThroughResponseData$inboundSchema)), }); /** @internal */ export type PassThroughResponse$Outbound = { - url: string; - status: number; - data: PassThroughResponseData$Outbound; + url: string | null; + status: number | null; + data: PassThroughResponseData$Outbound | null; }; /** @internal */ @@ -66,9 +66,9 @@ export const PassThroughResponse$outboundSchema: z.ZodType< z.ZodTypeDef, PassThroughResponse > = z.object({ - url: z.string(), - status: z.number(), - data: z.lazy(() => PassThroughResponseData$outboundSchema), + url: z.nullable(z.string()), + status: z.nullable(z.number()), + data: z.nullable(z.lazy(() => PassThroughResponseData$outboundSchema)), }); /** diff --git a/src/models/components/phone.ts b/src/models/components/phone.ts index f9d69249..1e1186b2 100644 --- a/src/models/components/phone.ts +++ b/src/models/components/phone.ts @@ -9,23 +9,23 @@ export type Phone = { /** * The phone number starting with a plus (+) followed by the country code (e.g +336676778890 for France) */ - phoneNumber: string; + phoneNumber: string | null; /** * The phone type. Authorized values are either MOBILE or WORK */ - phoneType: string; + phoneType: string | null; /** * The owner type of a phone number */ - ownerType?: string | undefined; + ownerType?: string | null | undefined; }; /** @internal */ export const Phone$inboundSchema: z.ZodType = z .object({ - phone_number: z.string(), - phone_type: z.string(), - owner_type: z.string().optional(), + phone_number: z.nullable(z.string()), + phone_type: z.nullable(z.string()), + owner_type: z.nullable(z.string()).optional(), }) .transform((v) => { return remap$(v, { @@ -37,17 +37,17 @@ export const Phone$inboundSchema: z.ZodType = z /** @internal */ export type Phone$Outbound = { - phone_number: string; - phone_type: string; - owner_type?: string | undefined; + phone_number: string | null; + phone_type: string | null; + owner_type?: string | null | undefined; }; /** @internal */ export const Phone$outboundSchema: z.ZodType = z .object({ - phoneNumber: z.string(), - phoneType: z.string(), - ownerType: z.string().optional(), + phoneNumber: z.nullable(z.string()), + phoneType: z.nullable(z.string()), + ownerType: z.nullable(z.string()).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/resyncstatusdto.ts b/src/models/components/resyncstatusdto.ts new file mode 100644 index 00000000..12115489 --- /dev/null +++ b/src/models/components/resyncstatusdto.ts @@ -0,0 +1,59 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type ResyncStatusDto = { + timestamp: Date | null; + vertical: string | null; + provider: string | null; + status: string | null; +}; + +/** @internal */ +export const ResyncStatusDto$inboundSchema: z.ZodType = + z.object({ + timestamp: z.nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ), + vertical: z.nullable(z.string()), + provider: z.nullable(z.string()), + status: z.nullable(z.string()), + }); + +/** @internal */ +export type ResyncStatusDto$Outbound = { + timestamp: string | null; + vertical: string | null; + provider: string | null; + status: string | null; +}; + +/** @internal */ +export const ResyncStatusDto$outboundSchema: z.ZodType< + ResyncStatusDto$Outbound, + z.ZodTypeDef, + ResyncStatusDto +> = z.object({ + timestamp: z.nullable(z.date().transform((v) => v.toISOString())), + vertical: z.nullable(z.string()), + provider: z.nullable(z.string()), + status: z.nullable(z.string()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ResyncStatusDto$ { + /** @deprecated use `ResyncStatusDto$inboundSchema` instead. */ + export const inboundSchema = ResyncStatusDto$inboundSchema; + /** @deprecated use `ResyncStatusDto$outboundSchema` instead. */ + export const outboundSchema = ResyncStatusDto$outboundSchema; + /** @deprecated use `ResyncStatusDto$Outbound` instead. */ + export type Outbound = ResyncStatusDto$Outbound; +} diff --git a/src/models/components/signatureverificationdto.ts b/src/models/components/signatureverificationdto.ts index 48d8c20e..a37a5908 100644 --- a/src/models/components/signatureverificationdto.ts +++ b/src/models/components/signatureverificationdto.ts @@ -4,66 +4,37 @@ import * as z from "zod"; -/** - * The payload event of the webhook. - */ -export type Payload = {}; - export type SignatureVerificationDto = { /** * The payload event of the webhook. */ - payload: Payload; + payload: { [k: string]: any } | null; /** * The signature of the webhook. */ - signature: string; + signature: string | null; /** * The secret of the webhook. */ - secret: string; + secret: string | null; }; -/** @internal */ -export const Payload$inboundSchema: z.ZodType = z.object({}); - -/** @internal */ -export type Payload$Outbound = {}; - -/** @internal */ -export const Payload$outboundSchema: z.ZodType = z.object( - {} -); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Payload$ { - /** @deprecated use `Payload$inboundSchema` instead. */ - export const inboundSchema = Payload$inboundSchema; - /** @deprecated use `Payload$outboundSchema` instead. */ - export const outboundSchema = Payload$outboundSchema; - /** @deprecated use `Payload$Outbound` instead. */ - export type Outbound = Payload$Outbound; -} - /** @internal */ export const SignatureVerificationDto$inboundSchema: z.ZodType< SignatureVerificationDto, z.ZodTypeDef, unknown > = z.object({ - payload: z.lazy(() => Payload$inboundSchema), - signature: z.string(), - secret: z.string(), + payload: z.nullable(z.record(z.any())), + signature: z.nullable(z.string()), + secret: z.nullable(z.string()), }); /** @internal */ export type SignatureVerificationDto$Outbound = { - payload: Payload$Outbound; - signature: string; - secret: string; + payload: { [k: string]: any } | null; + signature: string | null; + secret: string | null; }; /** @internal */ @@ -72,9 +43,9 @@ export const SignatureVerificationDto$outboundSchema: z.ZodType< z.ZodTypeDef, SignatureVerificationDto > = z.object({ - payload: z.lazy(() => Payload$outboundSchema), - signature: z.string(), - secret: z.string(), + payload: z.nullable(z.record(z.any())), + signature: z.nullable(z.string()), + secret: z.nullable(z.string()), }); /** diff --git a/src/models/components/string.ts b/src/models/components/string.ts new file mode 100644 index 00000000..5e36229f --- /dev/null +++ b/src/models/components/string.ts @@ -0,0 +1,29 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; + +export type String = {}; + +/** @internal */ +export const String$inboundSchema: z.ZodType = z.object({}); + +/** @internal */ +export type String$Outbound = {}; + +/** @internal */ +export const String$outboundSchema: z.ZodType = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace String$ { + /** @deprecated use `String$inboundSchema` instead. */ + export const inboundSchema = String$inboundSchema; + /** @deprecated use `String$outboundSchema` instead. */ + export const outboundSchema = String$outboundSchema; + /** @deprecated use `String$Outbound` instead. */ + export type Outbound = String$Outbound; +} diff --git a/src/models/components/unifiedatsactivityinput.ts b/src/models/components/unifiedatsactivityinput.ts index 6ce5d047..13eb469c 100644 --- a/src/models/components/unifiedatsactivityinput.ts +++ b/src/models/components/unifiedatsactivityinput.ts @@ -5,66 +5,37 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsActivityInputFieldMappings = {}; - export type UnifiedAtsActivityInput = { /** * The type of activity */ - activityType?: string | undefined; + activityType?: string | null | undefined; /** * The subject of the activity */ - subject?: string | undefined; + subject?: string | null | undefined; /** * The body of the activity */ - body?: string | undefined; + body?: string | null | undefined; /** * The visibility of the activity */ - visibility?: string | undefined; + visibility?: string | null | undefined; /** * The UUID of the candidate */ - candidateId?: string | undefined; + candidateId?: string | null | undefined; /** * The remote creation date of the activity */ - remoteCreatedAt?: Date | undefined; - fieldMappings: UnifiedAtsActivityInputFieldMappings; + remoteCreatedAt?: Date | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedAtsActivityInputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsActivityInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsActivityInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsActivityInputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsActivityInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsActivityInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsActivityInputFieldMappings$ { - /** @deprecated use `UnifiedAtsActivityInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsActivityInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsActivityInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsActivityInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsActivityInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsActivityInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedAtsActivityInput$inboundSchema: z.ZodType< UnifiedAtsActivityInput, @@ -72,17 +43,20 @@ export const UnifiedAtsActivityInput$inboundSchema: z.ZodType< unknown > = z .object({ - activity_type: z.string().optional(), - subject: z.string().optional(), - body: z.string().optional(), - visibility: z.string().optional(), - candidate_id: z.string().optional(), + activity_type: z.nullable(z.string()).optional(), + subject: z.nullable(z.string()).optional(), + body: z.nullable(z.string()).optional(), + visibility: z.nullable(z.string()).optional(), + candidate_id: z.nullable(z.string()).optional(), remote_created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - field_mappings: z.lazy(() => UnifiedAtsActivityInputFieldMappings$inboundSchema), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -95,13 +69,13 @@ export const UnifiedAtsActivityInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsActivityInput$Outbound = { - activity_type?: string | undefined; - subject?: string | undefined; - body?: string | undefined; - visibility?: string | undefined; - candidate_id?: string | undefined; - remote_created_at?: string | undefined; - field_mappings: UnifiedAtsActivityInputFieldMappings$Outbound; + activity_type?: string | null | undefined; + subject?: string | null | undefined; + body?: string | null | undefined; + visibility?: string | null | undefined; + candidate_id?: string | null | undefined; + remote_created_at?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -111,16 +85,13 @@ export const UnifiedAtsActivityInput$outboundSchema: z.ZodType< UnifiedAtsActivityInput > = z .object({ - activityType: z.string().optional(), - subject: z.string().optional(), - body: z.string().optional(), - visibility: z.string().optional(), - candidateId: z.string().optional(), - remoteCreatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - fieldMappings: z.lazy(() => UnifiedAtsActivityInputFieldMappings$outboundSchema), + activityType: z.nullable(z.string()).optional(), + subject: z.nullable(z.string()).optional(), + body: z.nullable(z.string()).optional(), + visibility: z.nullable(z.string()).optional(), + candidateId: z.nullable(z.string()).optional(), + remoteCreatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsactivityoutput.ts b/src/models/components/unifiedatsactivityoutput.ts index 4d72d7e7..48e52a68 100644 --- a/src/models/components/unifiedatsactivityoutput.ts +++ b/src/models/components/unifiedatsactivityoutput.ts @@ -5,173 +5,57 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsActivityOutputFieldMappings = {}; - -export type UnifiedAtsActivityOutputRemoteData = {}; - -export type UnifiedAtsActivityOutputCreatedAt = {}; - -export type UnifiedAtsActivityOutputModifiedAt = {}; - export type UnifiedAtsActivityOutput = { /** * The type of activity */ - activityType?: string | undefined; + activityType?: string | null | undefined; /** * The subject of the activity */ - subject?: string | undefined; + subject?: string | null | undefined; /** * The body of the activity */ - body?: string | undefined; + body?: string | null | undefined; /** * The visibility of the activity */ - visibility?: string | undefined; + visibility?: string | null | undefined; /** * The UUID of the candidate */ - candidateId?: string | undefined; + candidateId?: string | null | undefined; /** * The remote creation date of the activity */ - remoteCreatedAt?: Date | undefined; - fieldMappings: UnifiedAtsActivityOutputFieldMappings; + remoteCreatedAt?: Date | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the activity */ - id?: string | undefined; + id?: string | null | undefined; /** * The remote ID of the activity in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsActivityOutputRemoteData; - createdAt: UnifiedAtsActivityOutputCreatedAt; - modifiedAt: UnifiedAtsActivityOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the activity in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsActivityOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsActivityOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsActivityOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsActivityOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsActivityOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsActivityOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsActivityOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsActivityOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsActivityOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsActivityOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsActivityOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsActivityOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsActivityOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsActivityOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsActivityOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsActivityOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsActivityOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsActivityOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsActivityOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsActivityOutputRemoteData$ { - /** @deprecated use `UnifiedAtsActivityOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsActivityOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsActivityOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsActivityOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsActivityOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsActivityOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsActivityOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsActivityOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsActivityOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsActivityOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsActivityOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsActivityOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsActivityOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsActivityOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsActivityOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsActivityOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsActivityOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsActivityOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsActivityOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsActivityOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsActivityOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsActivityOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsActivityOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsActivityOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsActivityOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsActivityOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsActivityOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsActivityOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsActivityOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsActivityOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsActivityOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsActivityOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsActivityOutput$inboundSchema: z.ZodType< UnifiedAtsActivityOutput, @@ -179,22 +63,39 @@ export const UnifiedAtsActivityOutput$inboundSchema: z.ZodType< unknown > = z .object({ - activity_type: z.string().optional(), - subject: z.string().optional(), - body: z.string().optional(), - visibility: z.string().optional(), - candidate_id: z.string().optional(), + activity_type: z.nullable(z.string()).optional(), + subject: z.nullable(z.string()).optional(), + body: z.nullable(z.string()).optional(), + visibility: z.nullable(z.string()).optional(), + candidate_id: z.nullable(z.string()).optional(), remote_created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - field_mappings: z.lazy(() => UnifiedAtsActivityOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsActivityOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsActivityOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsActivityOutputModifiedAt$inboundSchema), }) .transform((v) => { return remap$(v, { @@ -211,18 +112,18 @@ export const UnifiedAtsActivityOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsActivityOutput$Outbound = { - activity_type?: string | undefined; - subject?: string | undefined; - body?: string | undefined; - visibility?: string | undefined; - candidate_id?: string | undefined; - remote_created_at?: string | undefined; - field_mappings: UnifiedAtsActivityOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsActivityOutputRemoteData$Outbound; - created_at: UnifiedAtsActivityOutputCreatedAt$Outbound; - modified_at: UnifiedAtsActivityOutputModifiedAt$Outbound; + activity_type?: string | null | undefined; + subject?: string | null | undefined; + body?: string | null | undefined; + visibility?: string | null | undefined; + candidate_id?: string | null | undefined; + remote_created_at?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -232,21 +133,18 @@ export const UnifiedAtsActivityOutput$outboundSchema: z.ZodType< UnifiedAtsActivityOutput > = z .object({ - activityType: z.string().optional(), - subject: z.string().optional(), - body: z.string().optional(), - visibility: z.string().optional(), - candidateId: z.string().optional(), - remoteCreatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - fieldMappings: z.lazy(() => UnifiedAtsActivityOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsActivityOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsActivityOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsActivityOutputModifiedAt$outboundSchema), + activityType: z.nullable(z.string()).optional(), + subject: z.nullable(z.string()).optional(), + body: z.nullable(z.string()).optional(), + visibility: z.nullable(z.string()).optional(), + candidateId: z.nullable(z.string()).optional(), + remoteCreatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsapplicationinput.ts b/src/models/components/unifiedatsapplicationinput.ts index 02976890..f66f702e 100644 --- a/src/models/components/unifiedatsapplicationinput.ts +++ b/src/models/components/unifiedatsapplicationinput.ts @@ -5,78 +5,49 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsApplicationInputFieldMappings = {}; - export type UnifiedAtsApplicationInput = { /** * The application date */ - appliedAt?: Date | undefined; + appliedAt?: Date | null | undefined; /** * The rejection date */ - rejectedAt?: Date | undefined; + rejectedAt?: Date | null | undefined; /** * The offers UUIDs for the application */ - offers?: Array | undefined; + offers?: Array | null | undefined; /** * The source of the application */ - source?: string | undefined; + source?: string | null | undefined; /** * The UUID of the person credited for the application */ - creditedTo?: string | undefined; + creditedTo?: string | null | undefined; /** * The UUID of the current stage of the application */ - currentStage?: string | undefined; + currentStage?: string | null | undefined; /** * The rejection reason for the application */ - rejectReason?: string | undefined; + rejectReason?: string | null | undefined; /** * The UUID of the candidate */ - candidateId?: string | undefined; + candidateId?: string | null | undefined; /** * The UUID of the job */ jobId?: string | undefined; - fieldMappings: UnifiedAtsApplicationInputFieldMappings; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedAtsApplicationInputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsApplicationInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsApplicationInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsApplicationInputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsApplicationInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsApplicationInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsApplicationInputFieldMappings$ { - /** @deprecated use `UnifiedAtsApplicationInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsApplicationInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsApplicationInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsApplicationInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsApplicationInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsApplicationInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedAtsApplicationInput$inboundSchema: z.ZodType< UnifiedAtsApplicationInput, @@ -85,23 +56,29 @@ export const UnifiedAtsApplicationInput$inboundSchema: z.ZodType< > = z .object({ applied_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), rejected_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - offers: z.array(z.string()).optional(), - source: z.string().optional(), - credited_to: z.string().optional(), - current_stage: z.string().optional(), - reject_reason: z.string().optional(), - candidate_id: z.string().optional(), + offers: z.nullable(z.array(z.string())).optional(), + source: z.nullable(z.string()).optional(), + credited_to: z.nullable(z.string()).optional(), + current_stage: z.nullable(z.string()).optional(), + reject_reason: z.nullable(z.string()).optional(), + candidate_id: z.nullable(z.string()).optional(), job_id: z.string().optional(), - field_mappings: z.lazy(() => UnifiedAtsApplicationInputFieldMappings$inboundSchema), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -118,16 +95,16 @@ export const UnifiedAtsApplicationInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsApplicationInput$Outbound = { - applied_at?: string | undefined; - rejected_at?: string | undefined; - offers?: Array | undefined; - source?: string | undefined; - credited_to?: string | undefined; - current_stage?: string | undefined; - reject_reason?: string | undefined; - candidate_id?: string | undefined; + applied_at?: string | null | undefined; + rejected_at?: string | null | undefined; + offers?: Array | null | undefined; + source?: string | null | undefined; + credited_to?: string | null | undefined; + current_stage?: string | null | undefined; + reject_reason?: string | null | undefined; + candidate_id?: string | null | undefined; job_id?: string | undefined; - field_mappings: UnifiedAtsApplicationInputFieldMappings$Outbound; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -137,22 +114,16 @@ export const UnifiedAtsApplicationInput$outboundSchema: z.ZodType< UnifiedAtsApplicationInput > = z .object({ - appliedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - rejectedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - offers: z.array(z.string()).optional(), - source: z.string().optional(), - creditedTo: z.string().optional(), - currentStage: z.string().optional(), - rejectReason: z.string().optional(), - candidateId: z.string().optional(), + appliedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + rejectedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + offers: z.nullable(z.array(z.string())).optional(), + source: z.nullable(z.string()).optional(), + creditedTo: z.nullable(z.string()).optional(), + currentStage: z.nullable(z.string()).optional(), + rejectReason: z.nullable(z.string()).optional(), + candidateId: z.nullable(z.string()).optional(), jobId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedAtsApplicationInputFieldMappings$outboundSchema), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsapplicationoutput.ts b/src/models/components/unifiedatsapplicationoutput.ts index d549056a..ed07791b 100644 --- a/src/models/components/unifiedatsapplicationoutput.ts +++ b/src/models/components/unifiedatsapplicationoutput.ts @@ -5,185 +5,77 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsApplicationOutputFieldMappings = {}; - -export type UnifiedAtsApplicationOutputRemoteData = {}; - -export type UnifiedAtsApplicationOutputCreatedAt = {}; - -export type UnifiedAtsApplicationOutputModifiedAt = {}; - export type UnifiedAtsApplicationOutput = { /** * The application date */ - appliedAt?: Date | undefined; + appliedAt?: Date | null | undefined; /** * The rejection date */ - rejectedAt?: Date | undefined; + rejectedAt?: Date | null | undefined; /** * The offers UUIDs for the application */ - offers?: Array | undefined; + offers?: Array | null | undefined; /** * The source of the application */ - source?: string | undefined; + source?: string | null | undefined; /** * The UUID of the person credited for the application */ - creditedTo?: string | undefined; + creditedTo?: string | null | undefined; /** * The UUID of the current stage of the application */ - currentStage?: string | undefined; + currentStage?: string | null | undefined; /** * The rejection reason for the application */ - rejectReason?: string | undefined; + rejectReason?: string | null | undefined; /** * The UUID of the candidate */ - candidateId?: string | undefined; + candidateId?: string | null | undefined; /** * The UUID of the job */ jobId?: string | undefined; - fieldMappings: UnifiedAtsApplicationOutputFieldMappings; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the application */ - id?: string | undefined; + id?: string | null | undefined; /** * The remote ID of the application in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsApplicationOutputRemoteData; - createdAt: UnifiedAtsApplicationOutputCreatedAt; - modifiedAt: UnifiedAtsApplicationOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the application in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; + /** + * The remote created date of the object + */ + remoteCreatedAt?: Date | null | undefined; + /** + * The remote modified date of the object + */ + remoteModifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsApplicationOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsApplicationOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsApplicationOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsApplicationOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsApplicationOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsApplicationOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsApplicationOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsApplicationOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsApplicationOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsApplicationOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsApplicationOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsApplicationOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsApplicationOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsApplicationOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsApplicationOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsApplicationOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsApplicationOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsApplicationOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsApplicationOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsApplicationOutputRemoteData$ { - /** @deprecated use `UnifiedAtsApplicationOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsApplicationOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsApplicationOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsApplicationOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsApplicationOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsApplicationOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsApplicationOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsApplicationOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsApplicationOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsApplicationOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsApplicationOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsApplicationOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsApplicationOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsApplicationOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsApplicationOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsApplicationOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsApplicationOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsApplicationOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsApplicationOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsApplicationOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsApplicationOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsApplicationOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsApplicationOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsApplicationOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsApplicationOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsApplicationOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsApplicationOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsApplicationOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsApplicationOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsApplicationOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsApplicationOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsApplicationOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsApplicationOutput$inboundSchema: z.ZodType< UnifiedAtsApplicationOutput, @@ -192,28 +84,64 @@ export const UnifiedAtsApplicationOutput$inboundSchema: z.ZodType< > = z .object({ applied_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), rejected_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - offers: z.array(z.string()).optional(), - source: z.string().optional(), - credited_to: z.string().optional(), - current_stage: z.string().optional(), - reject_reason: z.string().optional(), - candidate_id: z.string().optional(), + offers: z.nullable(z.array(z.string())).optional(), + source: z.nullable(z.string()).optional(), + credited_to: z.nullable(z.string()).optional(), + current_stage: z.nullable(z.string()).optional(), + reject_reason: z.nullable(z.string()).optional(), + candidate_id: z.nullable(z.string()).optional(), job_id: z.string().optional(), - field_mappings: z.lazy(() => UnifiedAtsApplicationOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsApplicationOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsApplicationOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsApplicationOutputModifiedAt$inboundSchema), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + remote_created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + remote_modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -229,26 +157,30 @@ export const UnifiedAtsApplicationOutput$inboundSchema: z.ZodType< remote_data: "remoteData", created_at: "createdAt", modified_at: "modifiedAt", + remote_created_at: "remoteCreatedAt", + remote_modified_at: "remoteModifiedAt", }); }); /** @internal */ export type UnifiedAtsApplicationOutput$Outbound = { - applied_at?: string | undefined; - rejected_at?: string | undefined; - offers?: Array | undefined; - source?: string | undefined; - credited_to?: string | undefined; - current_stage?: string | undefined; - reject_reason?: string | undefined; - candidate_id?: string | undefined; + applied_at?: string | null | undefined; + rejected_at?: string | null | undefined; + offers?: Array | null | undefined; + source?: string | null | undefined; + credited_to?: string | null | undefined; + current_stage?: string | null | undefined; + reject_reason?: string | null | undefined; + candidate_id?: string | null | undefined; job_id?: string | undefined; - field_mappings: UnifiedAtsApplicationOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsApplicationOutputRemoteData$Outbound; - created_at: UnifiedAtsApplicationOutputCreatedAt$Outbound; - modified_at: UnifiedAtsApplicationOutputModifiedAt$Outbound; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; + remote_created_at?: string | null | undefined; + remote_modified_at?: string | null | undefined; }; /** @internal */ @@ -258,27 +190,23 @@ export const UnifiedAtsApplicationOutput$outboundSchema: z.ZodType< UnifiedAtsApplicationOutput > = z .object({ - appliedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - rejectedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - offers: z.array(z.string()).optional(), - source: z.string().optional(), - creditedTo: z.string().optional(), - currentStage: z.string().optional(), - rejectReason: z.string().optional(), - candidateId: z.string().optional(), + appliedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + rejectedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + offers: z.nullable(z.array(z.string())).optional(), + source: z.nullable(z.string()).optional(), + creditedTo: z.nullable(z.string()).optional(), + currentStage: z.nullable(z.string()).optional(), + rejectReason: z.nullable(z.string()).optional(), + candidateId: z.nullable(z.string()).optional(), jobId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedAtsApplicationOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsApplicationOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsApplicationOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsApplicationOutputModifiedAt$outboundSchema), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + remoteCreatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + remoteModifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { @@ -294,6 +222,8 @@ export const UnifiedAtsApplicationOutput$outboundSchema: z.ZodType< remoteData: "remote_data", createdAt: "created_at", modifiedAt: "modified_at", + remoteCreatedAt: "remote_created_at", + remoteModifiedAt: "remote_modified_at", }); }); diff --git a/src/models/components/unifiedatsattachmentinput.ts b/src/models/components/unifiedatsattachmentinput.ts index 31ff8bc2..594d54a4 100644 --- a/src/models/components/unifiedatsattachmentinput.ts +++ b/src/models/components/unifiedatsattachmentinput.ts @@ -5,66 +5,37 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsAttachmentInputFieldMappings = {}; - export type UnifiedAtsAttachmentInput = { /** * The URL of the file */ - fileUrl?: string | undefined; + fileUrl?: string | null | undefined; /** * The name of the file */ - fileName?: string | undefined; + fileName?: string | null | undefined; /** * The type of the file */ - attachmentType?: string | undefined; + attachmentType?: string | null | undefined; /** * The remote creation date of the attachment */ - remoteCreatedAt?: Date | undefined; + remoteCreatedAt?: Date | null | undefined; /** * The remote modification date of the attachment */ - remoteModifiedAt?: Date | undefined; + remoteModifiedAt?: Date | null | undefined; /** * The UUID of the candidate */ - candidateId?: string | undefined; - fieldMappings: UnifiedAtsAttachmentInputFieldMappings; + candidateId?: string | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedAtsAttachmentInputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsAttachmentInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsAttachmentInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsAttachmentInputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsAttachmentInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsAttachmentInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsAttachmentInputFieldMappings$ { - /** @deprecated use `UnifiedAtsAttachmentInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsAttachmentInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsAttachmentInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsAttachmentInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsAttachmentInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsAttachmentInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedAtsAttachmentInput$inboundSchema: z.ZodType< UnifiedAtsAttachmentInput, @@ -72,21 +43,27 @@ export const UnifiedAtsAttachmentInput$inboundSchema: z.ZodType< unknown > = z .object({ - file_url: z.string().optional(), - file_name: z.string().optional(), - attachment_type: z.string().optional(), + file_url: z.nullable(z.string()).optional(), + file_name: z.nullable(z.string()).optional(), + attachment_type: z.nullable(z.string()).optional(), remote_created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), remote_modified_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - candidate_id: z.string().optional(), - field_mappings: z.lazy(() => UnifiedAtsAttachmentInputFieldMappings$inboundSchema), + candidate_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -102,13 +79,13 @@ export const UnifiedAtsAttachmentInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsAttachmentInput$Outbound = { - file_url?: string | undefined; - file_name?: string | undefined; - attachment_type?: string | undefined; - remote_created_at?: string | undefined; - remote_modified_at?: string | undefined; - candidate_id?: string | undefined; - field_mappings: UnifiedAtsAttachmentInputFieldMappings$Outbound; + file_url?: string | null | undefined; + file_name?: string | null | undefined; + attachment_type?: string | null | undefined; + remote_created_at?: string | null | undefined; + remote_modified_at?: string | null | undefined; + candidate_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -118,19 +95,13 @@ export const UnifiedAtsAttachmentInput$outboundSchema: z.ZodType< UnifiedAtsAttachmentInput > = z .object({ - fileUrl: z.string().optional(), - fileName: z.string().optional(), - attachmentType: z.string().optional(), - remoteCreatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - remoteModifiedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - candidateId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedAtsAttachmentInputFieldMappings$outboundSchema), + fileUrl: z.nullable(z.string()).optional(), + fileName: z.nullable(z.string()).optional(), + attachmentType: z.nullable(z.string()).optional(), + remoteCreatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + remoteModifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + candidateId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsattachmentoutput.ts b/src/models/components/unifiedatsattachmentoutput.ts index 505c2682..2499d9af 100644 --- a/src/models/components/unifiedatsattachmentoutput.ts +++ b/src/models/components/unifiedatsattachmentoutput.ts @@ -5,173 +5,57 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsAttachmentOutputFieldMappings = {}; - -export type UnifiedAtsAttachmentOutputRemoteData = {}; - -export type UnifiedAtsAttachmentOutputCreatedAt = {}; - -export type UnifiedAtsAttachmentOutputModifiedAt = {}; - export type UnifiedAtsAttachmentOutput = { /** * The URL of the file */ - fileUrl?: string | undefined; + fileUrl?: string | null | undefined; /** * The name of the file */ - fileName?: string | undefined; + fileName?: string | null | undefined; /** * The type of the file */ - attachmentType?: string | undefined; + attachmentType?: string | null | undefined; /** * The remote creation date of the attachment */ - remoteCreatedAt?: Date | undefined; + remoteCreatedAt?: Date | null | undefined; /** * The remote modification date of the attachment */ - remoteModifiedAt?: Date | undefined; + remoteModifiedAt?: Date | null | undefined; /** * The UUID of the candidate */ - candidateId?: string | undefined; - fieldMappings: UnifiedAtsAttachmentOutputFieldMappings; + candidateId?: string | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the attachment */ - id?: string | undefined; + id?: string | null | undefined; /** * The remote ID of the attachment */ - remoteId?: string | undefined; - remoteData: UnifiedAtsAttachmentOutputRemoteData; - createdAt: UnifiedAtsAttachmentOutputCreatedAt; - modifiedAt: UnifiedAtsAttachmentOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the attachment in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsAttachmentOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsAttachmentOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsAttachmentOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsAttachmentOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsAttachmentOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsAttachmentOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsAttachmentOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsAttachmentOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsAttachmentOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsAttachmentOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsAttachmentOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsAttachmentOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsAttachmentOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsAttachmentOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsAttachmentOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsAttachmentOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsAttachmentOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsAttachmentOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsAttachmentOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsAttachmentOutputRemoteData$ { - /** @deprecated use `UnifiedAtsAttachmentOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsAttachmentOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsAttachmentOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsAttachmentOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsAttachmentOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsAttachmentOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsAttachmentOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsAttachmentOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsAttachmentOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsAttachmentOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsAttachmentOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsAttachmentOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsAttachmentOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsAttachmentOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsAttachmentOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsAttachmentOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsAttachmentOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsAttachmentOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsAttachmentOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsAttachmentOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsAttachmentOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsAttachmentOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsAttachmentOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsAttachmentOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsAttachmentOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsAttachmentOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsAttachmentOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsAttachmentOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsAttachmentOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsAttachmentOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsAttachmentOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsAttachmentOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsAttachmentOutput$inboundSchema: z.ZodType< UnifiedAtsAttachmentOutput, @@ -179,26 +63,46 @@ export const UnifiedAtsAttachmentOutput$inboundSchema: z.ZodType< unknown > = z .object({ - file_url: z.string().optional(), - file_name: z.string().optional(), - attachment_type: z.string().optional(), + file_url: z.nullable(z.string()).optional(), + file_name: z.nullable(z.string()).optional(), + attachment_type: z.nullable(z.string()).optional(), remote_created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), remote_modified_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + candidate_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - candidate_id: z.string().optional(), - field_mappings: z.lazy(() => UnifiedAtsAttachmentOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsAttachmentOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsAttachmentOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsAttachmentOutputModifiedAt$inboundSchema), }) .transform((v) => { return remap$(v, { @@ -218,18 +122,18 @@ export const UnifiedAtsAttachmentOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsAttachmentOutput$Outbound = { - file_url?: string | undefined; - file_name?: string | undefined; - attachment_type?: string | undefined; - remote_created_at?: string | undefined; - remote_modified_at?: string | undefined; - candidate_id?: string | undefined; - field_mappings: UnifiedAtsAttachmentOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsAttachmentOutputRemoteData$Outbound; - created_at: UnifiedAtsAttachmentOutputCreatedAt$Outbound; - modified_at: UnifiedAtsAttachmentOutputModifiedAt$Outbound; + file_url?: string | null | undefined; + file_name?: string | null | undefined; + attachment_type?: string | null | undefined; + remote_created_at?: string | null | undefined; + remote_modified_at?: string | null | undefined; + candidate_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -239,24 +143,18 @@ export const UnifiedAtsAttachmentOutput$outboundSchema: z.ZodType< UnifiedAtsAttachmentOutput > = z .object({ - fileUrl: z.string().optional(), - fileName: z.string().optional(), - attachmentType: z.string().optional(), - remoteCreatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - remoteModifiedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - candidateId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedAtsAttachmentOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsAttachmentOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsAttachmentOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsAttachmentOutputModifiedAt$outboundSchema), + fileUrl: z.nullable(z.string()).optional(), + fileName: z.nullable(z.string()).optional(), + attachmentType: z.nullable(z.string()).optional(), + remoteCreatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + remoteModifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + candidateId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatscandidateinput.ts b/src/models/components/unifiedatscandidateinput.ts index 153be0e9..8f6e7ba4 100644 --- a/src/models/components/unifiedatscandidateinput.ts +++ b/src/models/components/unifiedatscandidateinput.ts @@ -8,106 +8,77 @@ import { Phone, Phone$inboundSchema, Phone$Outbound, Phone$outboundSchema } from import { Url, Url$inboundSchema, Url$Outbound, Url$outboundSchema } from "./url.js"; import * as z from "zod"; -export type UnifiedAtsCandidateInputFieldMappings = {}; - export type UnifiedAtsCandidateInput = { /** * The first name of the candidate */ - firstName?: string | undefined; + firstName?: string | null | undefined; /** * The last name of the candidate */ - lastName?: string | undefined; + lastName?: string | null | undefined; /** * The company of the candidate */ - company?: string | undefined; + company?: string | null | undefined; /** * The title of the candidate */ - title?: string | undefined; + title?: string | null | undefined; /** * The locations of the candidate */ - locations?: string | undefined; + locations?: string | null | undefined; /** * Whether the candidate is private */ - isPrivate?: boolean | undefined; + isPrivate?: boolean | null | undefined; /** * Whether the candidate is reachable by email */ - emailReachable?: boolean | undefined; + emailReachable?: boolean | null | undefined; /** * The remote creation date of the candidate */ - remoteCreatedAt?: Date | undefined; + remoteCreatedAt?: Date | null | undefined; /** * The remote modification date of the candidate */ - remoteModifiedAt?: Date | undefined; + remoteModifiedAt?: Date | null | undefined; /** * The last interaction date with the candidate */ - lastInteractionAt?: Date | undefined; + lastInteractionAt?: Date | null | undefined; /** * The attachments UUIDs of the candidate */ - attachments?: Array | undefined; + attachments?: Array | null | undefined; /** * The applications UUIDs of the candidate */ - applications?: Array | undefined; + applications?: Array | null | undefined; /** * The tags of the candidate */ - tags?: Array | undefined; + tags?: Array | null | undefined; /** * The urls of the candidate, possible values for Url type are WEBSITE, BLOG, LINKEDIN, GITHUB, or OTHER */ - urls?: Array | undefined; + urls?: Array | null | undefined; /** * The phone numbers of the candidate */ - phoneNumbers?: Array | undefined; + phoneNumbers?: Array | null | undefined; /** * The email addresses of the candidate */ - emailAddresses?: Array | undefined; - fieldMappings: UnifiedAtsCandidateInputFieldMappings; + emailAddresses?: Array | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedAtsCandidateInputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsCandidateInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsCandidateInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsCandidateInputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsCandidateInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsCandidateInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsCandidateInputFieldMappings$ { - /** @deprecated use `UnifiedAtsCandidateInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsCandidateInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsCandidateInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsCandidateInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsCandidateInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsCandidateInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedAtsCandidateInput$inboundSchema: z.ZodType< UnifiedAtsCandidateInput, @@ -115,35 +86,44 @@ export const UnifiedAtsCandidateInput$inboundSchema: z.ZodType< unknown > = z .object({ - first_name: z.string().optional(), - last_name: z.string().optional(), - company: z.string().optional(), - title: z.string().optional(), - locations: z.string().optional(), - is_private: z.boolean().optional(), - email_reachable: z.boolean().optional(), + first_name: z.nullable(z.string()).optional(), + last_name: z.nullable(z.string()).optional(), + company: z.nullable(z.string()).optional(), + title: z.nullable(z.string()).optional(), + locations: z.nullable(z.string()).optional(), + is_private: z.nullable(z.boolean()).optional(), + email_reachable: z.nullable(z.boolean()).optional(), remote_created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), remote_modified_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), last_interaction_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - attachments: z.array(z.string()).optional(), - applications: z.array(z.string()).optional(), - tags: z.array(z.string()).optional(), - urls: z.array(Url$inboundSchema).optional(), - phone_numbers: z.array(Phone$inboundSchema).optional(), - email_addresses: z.array(Email$inboundSchema).optional(), - field_mappings: z.lazy(() => UnifiedAtsCandidateInputFieldMappings$inboundSchema), + attachments: z.nullable(z.array(z.string())).optional(), + applications: z.nullable(z.array(z.string())).optional(), + tags: z.nullable(z.array(z.string())).optional(), + urls: z.nullable(z.array(Url$inboundSchema)).optional(), + phone_numbers: z.nullable(z.array(Phone$inboundSchema)).optional(), + email_addresses: z.nullable(z.array(Email$inboundSchema)).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -162,23 +142,23 @@ export const UnifiedAtsCandidateInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsCandidateInput$Outbound = { - first_name?: string | undefined; - last_name?: string | undefined; - company?: string | undefined; - title?: string | undefined; - locations?: string | undefined; - is_private?: boolean | undefined; - email_reachable?: boolean | undefined; - remote_created_at?: string | undefined; - remote_modified_at?: string | undefined; - last_interaction_at?: string | undefined; - attachments?: Array | undefined; - applications?: Array | undefined; - tags?: Array | undefined; - urls?: Array | undefined; - phone_numbers?: Array | undefined; - email_addresses?: Array | undefined; - field_mappings: UnifiedAtsCandidateInputFieldMappings$Outbound; + first_name?: string | null | undefined; + last_name?: string | null | undefined; + company?: string | null | undefined; + title?: string | null | undefined; + locations?: string | null | undefined; + is_private?: boolean | null | undefined; + email_reachable?: boolean | null | undefined; + remote_created_at?: string | null | undefined; + remote_modified_at?: string | null | undefined; + last_interaction_at?: string | null | undefined; + attachments?: Array | null | undefined; + applications?: Array | null | undefined; + tags?: Array | null | undefined; + urls?: Array | null | undefined; + phone_numbers?: Array | null | undefined; + email_addresses?: Array | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -188,32 +168,23 @@ export const UnifiedAtsCandidateInput$outboundSchema: z.ZodType< UnifiedAtsCandidateInput > = z .object({ - firstName: z.string().optional(), - lastName: z.string().optional(), - company: z.string().optional(), - title: z.string().optional(), - locations: z.string().optional(), - isPrivate: z.boolean().optional(), - emailReachable: z.boolean().optional(), - remoteCreatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - remoteModifiedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - lastInteractionAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - attachments: z.array(z.string()).optional(), - applications: z.array(z.string()).optional(), - tags: z.array(z.string()).optional(), - urls: z.array(Url$outboundSchema).optional(), - phoneNumbers: z.array(Phone$outboundSchema).optional(), - emailAddresses: z.array(Email$outboundSchema).optional(), - fieldMappings: z.lazy(() => UnifiedAtsCandidateInputFieldMappings$outboundSchema), + firstName: z.nullable(z.string()).optional(), + lastName: z.nullable(z.string()).optional(), + company: z.nullable(z.string()).optional(), + title: z.nullable(z.string()).optional(), + locations: z.nullable(z.string()).optional(), + isPrivate: z.nullable(z.boolean()).optional(), + emailReachable: z.nullable(z.boolean()).optional(), + remoteCreatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + remoteModifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + lastInteractionAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + attachments: z.nullable(z.array(z.string())).optional(), + applications: z.nullable(z.array(z.string())).optional(), + tags: z.nullable(z.array(z.string())).optional(), + urls: z.nullable(z.array(Url$outboundSchema)).optional(), + phoneNumbers: z.nullable(z.array(Phone$outboundSchema)).optional(), + emailAddresses: z.nullable(z.array(Email$outboundSchema)).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatscandidateoutput.ts b/src/models/components/unifiedatscandidateoutput.ts index 6bd87b2d..d0af0190 100644 --- a/src/models/components/unifiedatscandidateoutput.ts +++ b/src/models/components/unifiedatscandidateoutput.ts @@ -8,213 +8,97 @@ import { Phone, Phone$inboundSchema, Phone$Outbound, Phone$outboundSchema } from import { Url, Url$inboundSchema, Url$Outbound, Url$outboundSchema } from "./url.js"; import * as z from "zod"; -export type UnifiedAtsCandidateOutputFieldMappings = {}; - -export type UnifiedAtsCandidateOutputRemoteData = {}; - -export type UnifiedAtsCandidateOutputCreatedAt = {}; - -export type UnifiedAtsCandidateOutputModifiedAt = {}; - export type UnifiedAtsCandidateOutput = { /** * The first name of the candidate */ - firstName?: string | undefined; + firstName?: string | null | undefined; /** * The last name of the candidate */ - lastName?: string | undefined; + lastName?: string | null | undefined; /** * The company of the candidate */ - company?: string | undefined; + company?: string | null | undefined; /** * The title of the candidate */ - title?: string | undefined; + title?: string | null | undefined; /** * The locations of the candidate */ - locations?: string | undefined; + locations?: string | null | undefined; /** * Whether the candidate is private */ - isPrivate?: boolean | undefined; + isPrivate?: boolean | null | undefined; /** * Whether the candidate is reachable by email */ - emailReachable?: boolean | undefined; + emailReachable?: boolean | null | undefined; /** * The remote creation date of the candidate */ - remoteCreatedAt?: Date | undefined; + remoteCreatedAt?: Date | null | undefined; /** * The remote modification date of the candidate */ - remoteModifiedAt?: Date | undefined; + remoteModifiedAt?: Date | null | undefined; /** * The last interaction date with the candidate */ - lastInteractionAt?: Date | undefined; + lastInteractionAt?: Date | null | undefined; /** * The attachments UUIDs of the candidate */ - attachments?: Array | undefined; + attachments?: Array | null | undefined; /** * The applications UUIDs of the candidate */ - applications?: Array | undefined; + applications?: Array | null | undefined; /** * The tags of the candidate */ - tags?: Array | undefined; + tags?: Array | null | undefined; /** * The urls of the candidate, possible values for Url type are WEBSITE, BLOG, LINKEDIN, GITHUB, or OTHER */ - urls?: Array | undefined; + urls?: Array | null | undefined; /** * The phone numbers of the candidate */ - phoneNumbers?: Array | undefined; + phoneNumbers?: Array | null | undefined; /** * The email addresses of the candidate */ - emailAddresses?: Array | undefined; - fieldMappings: UnifiedAtsCandidateOutputFieldMappings; + emailAddresses?: Array | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the candidate */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the candidate in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsCandidateOutputRemoteData; - createdAt: UnifiedAtsCandidateOutputCreatedAt; - modifiedAt: UnifiedAtsCandidateOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the candidate in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsCandidateOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsCandidateOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsCandidateOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsCandidateOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsCandidateOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsCandidateOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsCandidateOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsCandidateOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsCandidateOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsCandidateOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsCandidateOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsCandidateOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsCandidateOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsCandidateOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsCandidateOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsCandidateOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsCandidateOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsCandidateOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsCandidateOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsCandidateOutputRemoteData$ { - /** @deprecated use `UnifiedAtsCandidateOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsCandidateOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsCandidateOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsCandidateOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsCandidateOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsCandidateOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsCandidateOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsCandidateOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsCandidateOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsCandidateOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsCandidateOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsCandidateOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsCandidateOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsCandidateOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsCandidateOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsCandidateOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsCandidateOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsCandidateOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsCandidateOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsCandidateOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsCandidateOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsCandidateOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsCandidateOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsCandidateOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsCandidateOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsCandidateOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsCandidateOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsCandidateOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsCandidateOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsCandidateOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsCandidateOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsCandidateOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsCandidateOutput$inboundSchema: z.ZodType< UnifiedAtsCandidateOutput, @@ -222,40 +106,63 @@ export const UnifiedAtsCandidateOutput$inboundSchema: z.ZodType< unknown > = z .object({ - first_name: z.string().optional(), - last_name: z.string().optional(), - company: z.string().optional(), - title: z.string().optional(), - locations: z.string().optional(), - is_private: z.boolean().optional(), - email_reachable: z.boolean().optional(), + first_name: z.nullable(z.string()).optional(), + last_name: z.nullable(z.string()).optional(), + company: z.nullable(z.string()).optional(), + title: z.nullable(z.string()).optional(), + locations: z.nullable(z.string()).optional(), + is_private: z.nullable(z.boolean()).optional(), + email_reachable: z.nullable(z.boolean()).optional(), remote_created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), remote_modified_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), last_interaction_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + attachments: z.nullable(z.array(z.string())).optional(), + applications: z.nullable(z.array(z.string())).optional(), + tags: z.nullable(z.array(z.string())).optional(), + urls: z.nullable(z.array(Url$inboundSchema)).optional(), + phone_numbers: z.nullable(z.array(Phone$inboundSchema)).optional(), + email_addresses: z.nullable(z.array(Email$inboundSchema)).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - attachments: z.array(z.string()).optional(), - applications: z.array(z.string()).optional(), - tags: z.array(z.string()).optional(), - urls: z.array(Url$inboundSchema).optional(), - phone_numbers: z.array(Phone$inboundSchema).optional(), - email_addresses: z.array(Email$inboundSchema).optional(), - field_mappings: z.lazy(() => UnifiedAtsCandidateOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsCandidateOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsCandidateOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsCandidateOutputModifiedAt$inboundSchema), }) .transform((v) => { return remap$(v, { @@ -278,28 +185,28 @@ export const UnifiedAtsCandidateOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsCandidateOutput$Outbound = { - first_name?: string | undefined; - last_name?: string | undefined; - company?: string | undefined; - title?: string | undefined; - locations?: string | undefined; - is_private?: boolean | undefined; - email_reachable?: boolean | undefined; - remote_created_at?: string | undefined; - remote_modified_at?: string | undefined; - last_interaction_at?: string | undefined; - attachments?: Array | undefined; - applications?: Array | undefined; - tags?: Array | undefined; - urls?: Array | undefined; - phone_numbers?: Array | undefined; - email_addresses?: Array | undefined; - field_mappings: UnifiedAtsCandidateOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsCandidateOutputRemoteData$Outbound; - created_at: UnifiedAtsCandidateOutputCreatedAt$Outbound; - modified_at: UnifiedAtsCandidateOutputModifiedAt$Outbound; + first_name?: string | null | undefined; + last_name?: string | null | undefined; + company?: string | null | undefined; + title?: string | null | undefined; + locations?: string | null | undefined; + is_private?: boolean | null | undefined; + email_reachable?: boolean | null | undefined; + remote_created_at?: string | null | undefined; + remote_modified_at?: string | null | undefined; + last_interaction_at?: string | null | undefined; + attachments?: Array | null | undefined; + applications?: Array | null | undefined; + tags?: Array | null | undefined; + urls?: Array | null | undefined; + phone_numbers?: Array | null | undefined; + email_addresses?: Array | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -309,37 +216,28 @@ export const UnifiedAtsCandidateOutput$outboundSchema: z.ZodType< UnifiedAtsCandidateOutput > = z .object({ - firstName: z.string().optional(), - lastName: z.string().optional(), - company: z.string().optional(), - title: z.string().optional(), - locations: z.string().optional(), - isPrivate: z.boolean().optional(), - emailReachable: z.boolean().optional(), - remoteCreatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - remoteModifiedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - lastInteractionAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - attachments: z.array(z.string()).optional(), - applications: z.array(z.string()).optional(), - tags: z.array(z.string()).optional(), - urls: z.array(Url$outboundSchema).optional(), - phoneNumbers: z.array(Phone$outboundSchema).optional(), - emailAddresses: z.array(Email$outboundSchema).optional(), - fieldMappings: z.lazy(() => UnifiedAtsCandidateOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsCandidateOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsCandidateOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsCandidateOutputModifiedAt$outboundSchema), + firstName: z.nullable(z.string()).optional(), + lastName: z.nullable(z.string()).optional(), + company: z.nullable(z.string()).optional(), + title: z.nullable(z.string()).optional(), + locations: z.nullable(z.string()).optional(), + isPrivate: z.nullable(z.boolean()).optional(), + emailReachable: z.nullable(z.boolean()).optional(), + remoteCreatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + remoteModifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + lastInteractionAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + attachments: z.nullable(z.array(z.string())).optional(), + applications: z.nullable(z.array(z.string())).optional(), + tags: z.nullable(z.array(z.string())).optional(), + urls: z.nullable(z.array(Url$outboundSchema)).optional(), + phoneNumbers: z.nullable(z.array(Phone$outboundSchema)).optional(), + emailAddresses: z.nullable(z.array(Email$outboundSchema)).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsdepartmentoutput.ts b/src/models/components/unifiedatsdepartmentoutput.ts index 78488f7f..f0d07397 100644 --- a/src/models/components/unifiedatsdepartmentoutput.ts +++ b/src/models/components/unifiedatsdepartmentoutput.ts @@ -5,153 +5,37 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsDepartmentOutputFieldMappings = {}; - -export type UnifiedAtsDepartmentOutputRemoteData = {}; - -export type UnifiedAtsDepartmentOutputCreatedAt = {}; - -export type UnifiedAtsDepartmentOutputModifiedAt = {}; - export type UnifiedAtsDepartmentOutput = { /** * The name of the department */ - name?: string | undefined; - fieldMappings: UnifiedAtsDepartmentOutputFieldMappings; + name?: string | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the department */ - id?: string | undefined; + id?: string | null | undefined; /** * The remote ID of the department in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsDepartmentOutputRemoteData; - createdAt: UnifiedAtsDepartmentOutputCreatedAt; - modifiedAt: UnifiedAtsDepartmentOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the department in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsDepartmentOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsDepartmentOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsDepartmentOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsDepartmentOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsDepartmentOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsDepartmentOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsDepartmentOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsDepartmentOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsDepartmentOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsDepartmentOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsDepartmentOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsDepartmentOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsDepartmentOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsDepartmentOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsDepartmentOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsDepartmentOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsDepartmentOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsDepartmentOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsDepartmentOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsDepartmentOutputRemoteData$ { - /** @deprecated use `UnifiedAtsDepartmentOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsDepartmentOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsDepartmentOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsDepartmentOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsDepartmentOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsDepartmentOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsDepartmentOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsDepartmentOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsDepartmentOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsDepartmentOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsDepartmentOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsDepartmentOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsDepartmentOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsDepartmentOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsDepartmentOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsDepartmentOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsDepartmentOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsDepartmentOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsDepartmentOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsDepartmentOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsDepartmentOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsDepartmentOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsDepartmentOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsDepartmentOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsDepartmentOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsDepartmentOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsDepartmentOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsDepartmentOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsDepartmentOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsDepartmentOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsDepartmentOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsDepartmentOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsDepartmentOutput$inboundSchema: z.ZodType< UnifiedAtsDepartmentOutput, @@ -159,13 +43,27 @@ export const UnifiedAtsDepartmentOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string().optional(), - field_mappings: z.lazy(() => UnifiedAtsDepartmentOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsDepartmentOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsDepartmentOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsDepartmentOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -179,13 +77,13 @@ export const UnifiedAtsDepartmentOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsDepartmentOutput$Outbound = { - name?: string | undefined; - field_mappings: UnifiedAtsDepartmentOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsDepartmentOutputRemoteData$Outbound; - created_at: UnifiedAtsDepartmentOutputCreatedAt$Outbound; - modified_at: UnifiedAtsDepartmentOutputModifiedAt$Outbound; + name?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -195,13 +93,13 @@ export const UnifiedAtsDepartmentOutput$outboundSchema: z.ZodType< UnifiedAtsDepartmentOutput > = z .object({ - name: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedAtsDepartmentOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsDepartmentOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsDepartmentOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsDepartmentOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatseeocsoutput.ts b/src/models/components/unifiedatseeocsoutput.ts index 0ef9ecaa..625117a1 100644 --- a/src/models/components/unifiedatseeocsoutput.ts +++ b/src/models/components/unifiedatseeocsoutput.ts @@ -5,173 +5,57 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsEeocsOutputFieldMappings = {}; - -export type UnifiedAtsEeocsOutputRemoteData = {}; - -export type UnifiedAtsEeocsOutputCreatedAt = {}; - -export type UnifiedAtsEeocsOutputModifiedAt = {}; - export type UnifiedAtsEeocsOutput = { /** * The UUID of the candidate */ - candidateId?: string | undefined; + candidateId?: string | null | undefined; /** * The submission date of the EEOC */ - submittedAt?: Date | undefined; + submittedAt?: Date | null | undefined; /** * The race of the candidate */ - race?: string | undefined; + race?: string | null | undefined; /** * The gender of the candidate */ - gender?: string | undefined; + gender?: string | null | undefined; /** * The veteran status of the candidate */ - veteranStatus?: string | undefined; + veteranStatus?: string | null | undefined; /** * The disability status of the candidate */ - disabilityStatus?: string | undefined; - fieldMappings: UnifiedAtsEeocsOutputFieldMappings; + disabilityStatus?: string | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the EEOC */ - id?: string | undefined; + id?: string | null | undefined; /** * The remote ID of the EEOC in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsEeocsOutputRemoteData; - createdAt: UnifiedAtsEeocsOutputCreatedAt; - modifiedAt: UnifiedAtsEeocsOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the EEOC in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsEeocsOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsEeocsOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsEeocsOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsEeocsOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsEeocsOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsEeocsOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsEeocsOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsEeocsOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsEeocsOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsEeocsOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsEeocsOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsEeocsOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsEeocsOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsEeocsOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsEeocsOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsEeocsOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsEeocsOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsEeocsOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsEeocsOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsEeocsOutputRemoteData$ { - /** @deprecated use `UnifiedAtsEeocsOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsEeocsOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsEeocsOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsEeocsOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsEeocsOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsEeocsOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsEeocsOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsEeocsOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsEeocsOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsEeocsOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsEeocsOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsEeocsOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsEeocsOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsEeocsOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsEeocsOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsEeocsOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsEeocsOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsEeocsOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsEeocsOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsEeocsOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsEeocsOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsEeocsOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsEeocsOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsEeocsOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsEeocsOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsEeocsOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsEeocsOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsEeocsOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsEeocsOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsEeocsOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsEeocsOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsEeocsOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsEeocsOutput$inboundSchema: z.ZodType< UnifiedAtsEeocsOutput, @@ -179,22 +63,39 @@ export const UnifiedAtsEeocsOutput$inboundSchema: z.ZodType< unknown > = z .object({ - candidate_id: z.string().optional(), + candidate_id: z.nullable(z.string()).optional(), submitted_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + race: z.nullable(z.string()).optional(), + gender: z.nullable(z.string()).optional(), + veteran_status: z.nullable(z.string()).optional(), + disability_status: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - race: z.string().optional(), - gender: z.string().optional(), - veteran_status: z.string().optional(), - disability_status: z.string().optional(), - field_mappings: z.lazy(() => UnifiedAtsEeocsOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsEeocsOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsEeocsOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsEeocsOutputModifiedAt$inboundSchema), }) .transform((v) => { return remap$(v, { @@ -212,18 +113,18 @@ export const UnifiedAtsEeocsOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsEeocsOutput$Outbound = { - candidate_id?: string | undefined; - submitted_at?: string | undefined; - race?: string | undefined; - gender?: string | undefined; - veteran_status?: string | undefined; - disability_status?: string | undefined; - field_mappings: UnifiedAtsEeocsOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsEeocsOutputRemoteData$Outbound; - created_at: UnifiedAtsEeocsOutputCreatedAt$Outbound; - modified_at: UnifiedAtsEeocsOutputModifiedAt$Outbound; + candidate_id?: string | null | undefined; + submitted_at?: string | null | undefined; + race?: string | null | undefined; + gender?: string | null | undefined; + veteran_status?: string | null | undefined; + disability_status?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -233,21 +134,18 @@ export const UnifiedAtsEeocsOutput$outboundSchema: z.ZodType< UnifiedAtsEeocsOutput > = z .object({ - candidateId: z.string().optional(), - submittedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - race: z.string().optional(), - gender: z.string().optional(), - veteranStatus: z.string().optional(), - disabilityStatus: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedAtsEeocsOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsEeocsOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsEeocsOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsEeocsOutputModifiedAt$outboundSchema), + candidateId: z.nullable(z.string()).optional(), + submittedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + race: z.nullable(z.string()).optional(), + gender: z.nullable(z.string()).optional(), + veteranStatus: z.nullable(z.string()).optional(), + disabilityStatus: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsinterviewinput.ts b/src/models/components/unifiedatsinterviewinput.ts index e96dc93a..50e32a87 100644 --- a/src/models/components/unifiedatsinterviewinput.ts +++ b/src/models/components/unifiedatsinterviewinput.ts @@ -5,82 +5,53 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsInterviewInputFieldMappings = {}; - export type UnifiedAtsInterviewInput = { /** * The status of the interview */ - status?: string | undefined; + status?: string | null | undefined; /** * The UUID of the application */ - applicationId?: string | undefined; + applicationId?: string | null | undefined; /** * The UUID of the job interview stage */ - jobInterviewStageId?: string | undefined; + jobInterviewStageId?: string | null | undefined; /** * The UUID of the organizer */ - organizedBy?: string | undefined; + organizedBy?: string | null | undefined; /** * The UUIDs of the interviewers */ - interviewers?: Array | undefined; + interviewers?: Array | null | undefined; /** * The location of the interview */ - location?: string | undefined; + location?: string | null | undefined; /** * The start date and time of the interview */ - startAt?: Date | undefined; + startAt?: Date | null | undefined; /** * The end date and time of the interview */ - endAt?: Date | undefined; + endAt?: Date | null | undefined; /** * The remote creation date of the interview */ - remoteCreatedAt?: Date | undefined; + remoteCreatedAt?: Date | null | undefined; /** * The remote modification date of the interview */ - remoteUpdatedAt?: Date | undefined; - fieldMappings: UnifiedAtsInterviewInputFieldMappings; + remoteUpdatedAt?: Date | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedAtsInterviewInputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsInterviewInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsInterviewInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsInterviewInputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsInterviewInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsInterviewInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsInterviewInputFieldMappings$ { - /** @deprecated use `UnifiedAtsInterviewInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsInterviewInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsInterviewInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsInterviewInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsInterviewInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsInterviewInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedAtsInterviewInput$inboundSchema: z.ZodType< UnifiedAtsInterviewInput, @@ -88,33 +59,45 @@ export const UnifiedAtsInterviewInput$inboundSchema: z.ZodType< unknown > = z .object({ - status: z.string().optional(), - application_id: z.string().optional(), - job_interview_stage_id: z.string().optional(), - organized_by: z.string().optional(), - interviewers: z.array(z.string()).optional(), - location: z.string().optional(), + status: z.nullable(z.string()).optional(), + application_id: z.nullable(z.string()).optional(), + job_interview_stage_id: z.nullable(z.string()).optional(), + organized_by: z.nullable(z.string()).optional(), + interviewers: z.nullable(z.array(z.string())).optional(), + location: z.nullable(z.string()).optional(), start_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), end_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), remote_created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), remote_updated_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - field_mappings: z.lazy(() => UnifiedAtsInterviewInputFieldMappings$inboundSchema), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -131,17 +114,17 @@ export const UnifiedAtsInterviewInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsInterviewInput$Outbound = { - status?: string | undefined; - application_id?: string | undefined; - job_interview_stage_id?: string | undefined; - organized_by?: string | undefined; - interviewers?: Array | undefined; - location?: string | undefined; - start_at?: string | undefined; - end_at?: string | undefined; - remote_created_at?: string | undefined; - remote_updated_at?: string | undefined; - field_mappings: UnifiedAtsInterviewInputFieldMappings$Outbound; + status?: string | null | undefined; + application_id?: string | null | undefined; + job_interview_stage_id?: string | null | undefined; + organized_by?: string | null | undefined; + interviewers?: Array | null | undefined; + location?: string | null | undefined; + start_at?: string | null | undefined; + end_at?: string | null | undefined; + remote_created_at?: string | null | undefined; + remote_updated_at?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -151,29 +134,17 @@ export const UnifiedAtsInterviewInput$outboundSchema: z.ZodType< UnifiedAtsInterviewInput > = z .object({ - status: z.string().optional(), - applicationId: z.string().optional(), - jobInterviewStageId: z.string().optional(), - organizedBy: z.string().optional(), - interviewers: z.array(z.string()).optional(), - location: z.string().optional(), - startAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - endAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - remoteCreatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - remoteUpdatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - fieldMappings: z.lazy(() => UnifiedAtsInterviewInputFieldMappings$outboundSchema), + status: z.nullable(z.string()).optional(), + applicationId: z.nullable(z.string()).optional(), + jobInterviewStageId: z.nullable(z.string()).optional(), + organizedBy: z.nullable(z.string()).optional(), + interviewers: z.nullable(z.array(z.string())).optional(), + location: z.nullable(z.string()).optional(), + startAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + endAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + remoteCreatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + remoteUpdatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsinterviewoutput.ts b/src/models/components/unifiedatsinterviewoutput.ts index 46f326c0..37525962 100644 --- a/src/models/components/unifiedatsinterviewoutput.ts +++ b/src/models/components/unifiedatsinterviewoutput.ts @@ -5,189 +5,73 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsInterviewOutputFieldMappings = {}; - -export type UnifiedAtsInterviewOutputRemoteData = {}; - -export type UnifiedAtsInterviewOutputCreatedAt = {}; - -export type UnifiedAtsInterviewOutputModifiedAt = {}; - export type UnifiedAtsInterviewOutput = { /** * The status of the interview */ - status?: string | undefined; + status?: string | null | undefined; /** * The UUID of the application */ - applicationId?: string | undefined; + applicationId?: string | null | undefined; /** * The UUID of the job interview stage */ - jobInterviewStageId?: string | undefined; + jobInterviewStageId?: string | null | undefined; /** * The UUID of the organizer */ - organizedBy?: string | undefined; + organizedBy?: string | null | undefined; /** * The UUIDs of the interviewers */ - interviewers?: Array | undefined; + interviewers?: Array | null | undefined; /** * The location of the interview */ - location?: string | undefined; + location?: string | null | undefined; /** * The start date and time of the interview */ - startAt?: Date | undefined; + startAt?: Date | null | undefined; /** * The end date and time of the interview */ - endAt?: Date | undefined; + endAt?: Date | null | undefined; /** * The remote creation date of the interview */ - remoteCreatedAt?: Date | undefined; + remoteCreatedAt?: Date | null | undefined; /** * The remote modification date of the interview */ - remoteUpdatedAt?: Date | undefined; - fieldMappings: UnifiedAtsInterviewOutputFieldMappings; + remoteUpdatedAt?: Date | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the interview */ - id?: string | undefined; + id?: string | null | undefined; /** * The remote ID of the interview in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsInterviewOutputRemoteData; - createdAt: UnifiedAtsInterviewOutputCreatedAt; - modifiedAt: UnifiedAtsInterviewOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the interview in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsInterviewOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsInterviewOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsInterviewOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsInterviewOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsInterviewOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsInterviewOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsInterviewOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsInterviewOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsInterviewOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsInterviewOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsInterviewOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsInterviewOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsInterviewOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsInterviewOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsInterviewOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsInterviewOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsInterviewOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsInterviewOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsInterviewOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsInterviewOutputRemoteData$ { - /** @deprecated use `UnifiedAtsInterviewOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsInterviewOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsInterviewOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsInterviewOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsInterviewOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsInterviewOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsInterviewOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsInterviewOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsInterviewOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsInterviewOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsInterviewOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsInterviewOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsInterviewOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsInterviewOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsInterviewOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsInterviewOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsInterviewOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsInterviewOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsInterviewOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsInterviewOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsInterviewOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsInterviewOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsInterviewOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsInterviewOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsInterviewOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsInterviewOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsInterviewOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsInterviewOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsInterviewOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsInterviewOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsInterviewOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsInterviewOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsInterviewOutput$inboundSchema: z.ZodType< UnifiedAtsInterviewOutput, @@ -195,38 +79,64 @@ export const UnifiedAtsInterviewOutput$inboundSchema: z.ZodType< unknown > = z .object({ - status: z.string().optional(), - application_id: z.string().optional(), - job_interview_stage_id: z.string().optional(), - organized_by: z.string().optional(), - interviewers: z.array(z.string()).optional(), - location: z.string().optional(), + status: z.nullable(z.string()).optional(), + application_id: z.nullable(z.string()).optional(), + job_interview_stage_id: z.nullable(z.string()).optional(), + organized_by: z.nullable(z.string()).optional(), + interviewers: z.nullable(z.array(z.string())).optional(), + location: z.nullable(z.string()).optional(), start_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), end_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), remote_created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), remote_updated_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - field_mappings: z.lazy(() => UnifiedAtsInterviewOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsInterviewOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsInterviewOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsInterviewOutputModifiedAt$inboundSchema), }) .transform((v) => { return remap$(v, { @@ -247,22 +157,22 @@ export const UnifiedAtsInterviewOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsInterviewOutput$Outbound = { - status?: string | undefined; - application_id?: string | undefined; - job_interview_stage_id?: string | undefined; - organized_by?: string | undefined; - interviewers?: Array | undefined; - location?: string | undefined; - start_at?: string | undefined; - end_at?: string | undefined; - remote_created_at?: string | undefined; - remote_updated_at?: string | undefined; - field_mappings: UnifiedAtsInterviewOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsInterviewOutputRemoteData$Outbound; - created_at: UnifiedAtsInterviewOutputCreatedAt$Outbound; - modified_at: UnifiedAtsInterviewOutputModifiedAt$Outbound; + status?: string | null | undefined; + application_id?: string | null | undefined; + job_interview_stage_id?: string | null | undefined; + organized_by?: string | null | undefined; + interviewers?: Array | null | undefined; + location?: string | null | undefined; + start_at?: string | null | undefined; + end_at?: string | null | undefined; + remote_created_at?: string | null | undefined; + remote_updated_at?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -272,34 +182,22 @@ export const UnifiedAtsInterviewOutput$outboundSchema: z.ZodType< UnifiedAtsInterviewOutput > = z .object({ - status: z.string().optional(), - applicationId: z.string().optional(), - jobInterviewStageId: z.string().optional(), - organizedBy: z.string().optional(), - interviewers: z.array(z.string()).optional(), - location: z.string().optional(), - startAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - endAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - remoteCreatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - remoteUpdatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - fieldMappings: z.lazy(() => UnifiedAtsInterviewOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsInterviewOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsInterviewOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsInterviewOutputModifiedAt$outboundSchema), + status: z.nullable(z.string()).optional(), + applicationId: z.nullable(z.string()).optional(), + jobInterviewStageId: z.nullable(z.string()).optional(), + organizedBy: z.nullable(z.string()).optional(), + interviewers: z.nullable(z.array(z.string())).optional(), + location: z.nullable(z.string()).optional(), + startAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + endAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + remoteCreatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + remoteUpdatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsjobinterviewstageoutput.ts b/src/models/components/unifiedatsjobinterviewstageoutput.ts index b947d191..481da155 100644 --- a/src/models/components/unifiedatsjobinterviewstageoutput.ts +++ b/src/models/components/unifiedatsjobinterviewstageoutput.ts @@ -5,161 +5,45 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsJobinterviewstageOutputFieldMappings = {}; - -export type UnifiedAtsJobinterviewstageOutputRemoteData = {}; - -export type UnifiedAtsJobinterviewstageOutputCreatedAt = {}; - -export type UnifiedAtsJobinterviewstageOutputModifiedAt = {}; - export type UnifiedAtsJobinterviewstageOutput = { /** * The name of the job interview stage */ - name?: string | undefined; + name?: string | null | undefined; /** * The order of the stage */ - stageOrder?: number | undefined; + stageOrder?: number | null | undefined; /** * The UUID of the job */ - jobId?: string | undefined; - fieldMappings: UnifiedAtsJobinterviewstageOutputFieldMappings; + jobId?: string | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the job interview stage */ - id?: string | undefined; + id?: string | null | undefined; /** * The remote ID of the job interview stage in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsJobinterviewstageOutputRemoteData; - createdAt: UnifiedAtsJobinterviewstageOutputCreatedAt; - modifiedAt: UnifiedAtsJobinterviewstageOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the job interview stage in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsJobinterviewstageOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsJobinterviewstageOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsJobinterviewstageOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsJobinterviewstageOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsJobinterviewstageOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsJobinterviewstageOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsJobinterviewstageOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsJobinterviewstageOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsJobinterviewstageOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsJobinterviewstageOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsJobinterviewstageOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsJobinterviewstageOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsJobinterviewstageOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsJobinterviewstageOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsJobinterviewstageOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsJobinterviewstageOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsJobinterviewstageOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsJobinterviewstageOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsJobinterviewstageOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsJobinterviewstageOutputRemoteData$ { - /** @deprecated use `UnifiedAtsJobinterviewstageOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsJobinterviewstageOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsJobinterviewstageOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsJobinterviewstageOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsJobinterviewstageOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsJobinterviewstageOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsJobinterviewstageOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsJobinterviewstageOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsJobinterviewstageOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsJobinterviewstageOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsJobinterviewstageOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsJobinterviewstageOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsJobinterviewstageOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsJobinterviewstageOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsJobinterviewstageOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsJobinterviewstageOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsJobinterviewstageOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsJobinterviewstageOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsJobinterviewstageOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsJobinterviewstageOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsJobinterviewstageOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsJobinterviewstageOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsJobinterviewstageOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsJobinterviewstageOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsJobinterviewstageOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsJobinterviewstageOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsJobinterviewstageOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsJobinterviewstageOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsJobinterviewstageOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsJobinterviewstageOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsJobinterviewstageOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsJobinterviewstageOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsJobinterviewstageOutput$inboundSchema: z.ZodType< UnifiedAtsJobinterviewstageOutput, @@ -167,15 +51,29 @@ export const UnifiedAtsJobinterviewstageOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string().optional(), - stage_order: z.number().optional(), - job_id: z.string().optional(), - field_mappings: z.lazy(() => UnifiedAtsJobinterviewstageOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsJobinterviewstageOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsJobinterviewstageOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsJobinterviewstageOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()).optional(), + stage_order: z.nullable(z.number()).optional(), + job_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -191,15 +89,15 @@ export const UnifiedAtsJobinterviewstageOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsJobinterviewstageOutput$Outbound = { - name?: string | undefined; - stage_order?: number | undefined; - job_id?: string | undefined; - field_mappings: UnifiedAtsJobinterviewstageOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsJobinterviewstageOutputRemoteData$Outbound; - created_at: UnifiedAtsJobinterviewstageOutputCreatedAt$Outbound; - modified_at: UnifiedAtsJobinterviewstageOutputModifiedAt$Outbound; + name?: string | null | undefined; + stage_order?: number | null | undefined; + job_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -209,15 +107,15 @@ export const UnifiedAtsJobinterviewstageOutput$outboundSchema: z.ZodType< UnifiedAtsJobinterviewstageOutput > = z .object({ - name: z.string().optional(), - stageOrder: z.number().optional(), - jobId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedAtsJobinterviewstageOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsJobinterviewstageOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsJobinterviewstageOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsJobinterviewstageOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()).optional(), + stageOrder: z.nullable(z.number()).optional(), + jobId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsjoboutput.ts b/src/models/components/unifiedatsjoboutput.ts index ca23f2c4..6ff25d16 100644 --- a/src/models/components/unifiedatsjoboutput.ts +++ b/src/models/components/unifiedatsjoboutput.ts @@ -5,197 +5,81 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsJobOutputFieldMappings = {}; - -export type UnifiedAtsJobOutputRemoteData = {}; - -export type UnifiedAtsJobOutputCreatedAt = {}; - -export type UnifiedAtsJobOutputModifiedAt = {}; - export type UnifiedAtsJobOutput = { /** * The name of the job */ - name?: string | undefined; + name?: string | null | undefined; /** * The description of the job */ - description?: string | undefined; + description?: string | null | undefined; /** * The code of the job */ - code?: string | undefined; + code?: string | null | undefined; /** * The status of the job */ - status?: string | undefined; + status?: string | null | undefined; /** * The type of the job */ - type?: string | undefined; + type?: string | null | undefined; /** * Whether the job is confidential */ - confidential?: boolean | undefined; + confidential?: boolean | null | undefined; /** * The departments UUIDs associated with the job */ - departments?: Array | undefined; + departments?: Array | null | undefined; /** * The offices UUIDs associated with the job */ - offices?: Array | undefined; + offices?: Array | null | undefined; /** * The managers UUIDs associated with the job */ - managers?: Array | undefined; + managers?: Array | null | undefined; /** * The recruiters UUIDs associated with the job */ - recruiters?: Array | undefined; + recruiters?: Array | null | undefined; /** * The remote creation date of the job */ - remoteCreatedAt?: Date | undefined; + remoteCreatedAt?: Date | null | undefined; /** * The remote modification date of the job */ - remoteUpdatedAt?: Date | undefined; - fieldMappings: UnifiedAtsJobOutputFieldMappings; + remoteUpdatedAt?: Date | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the job */ - id?: string | undefined; + id?: string | null | undefined; /** * The remote ID of the job in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsJobOutputRemoteData; - createdAt: UnifiedAtsJobOutputCreatedAt; - modifiedAt: UnifiedAtsJobOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the job in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsJobOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsJobOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsJobOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsJobOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsJobOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsJobOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsJobOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsJobOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsJobOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsJobOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsJobOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsJobOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsJobOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsJobOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsJobOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsJobOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsJobOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsJobOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsJobOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsJobOutputRemoteData$ { - /** @deprecated use `UnifiedAtsJobOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsJobOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsJobOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsJobOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsJobOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsJobOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsJobOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsJobOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsJobOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsJobOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsJobOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsJobOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsJobOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsJobOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsJobOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsJobOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsJobOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsJobOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsJobOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsJobOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsJobOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsJobOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsJobOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsJobOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsJobOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsJobOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsJobOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsJobOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsJobOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsJobOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsJobOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsJobOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsJobOutput$inboundSchema: z.ZodType< UnifiedAtsJobOutput, @@ -203,32 +87,52 @@ export const UnifiedAtsJobOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string().optional(), - description: z.string().optional(), - code: z.string().optional(), - status: z.string().optional(), - type: z.string().optional(), - confidential: z.boolean().optional(), - departments: z.array(z.string()).optional(), - offices: z.array(z.string()).optional(), - managers: z.array(z.string()).optional(), - recruiters: z.array(z.string()).optional(), + name: z.nullable(z.string()).optional(), + description: z.nullable(z.string()).optional(), + code: z.nullable(z.string()).optional(), + status: z.nullable(z.string()).optional(), + type: z.nullable(z.string()).optional(), + confidential: z.nullable(z.boolean()).optional(), + departments: z.nullable(z.array(z.string())).optional(), + offices: z.nullable(z.array(z.string())).optional(), + managers: z.nullable(z.array(z.string())).optional(), + recruiters: z.nullable(z.array(z.string())).optional(), remote_created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), remote_updated_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - field_mappings: z.lazy(() => UnifiedAtsJobOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsJobOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsJobOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsJobOutputModifiedAt$inboundSchema), }) .transform((v) => { return remap$(v, { @@ -244,24 +148,24 @@ export const UnifiedAtsJobOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsJobOutput$Outbound = { - name?: string | undefined; - description?: string | undefined; - code?: string | undefined; - status?: string | undefined; - type?: string | undefined; - confidential?: boolean | undefined; - departments?: Array | undefined; - offices?: Array | undefined; - managers?: Array | undefined; - recruiters?: Array | undefined; - remote_created_at?: string | undefined; - remote_updated_at?: string | undefined; - field_mappings: UnifiedAtsJobOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsJobOutputRemoteData$Outbound; - created_at: UnifiedAtsJobOutputCreatedAt$Outbound; - modified_at: UnifiedAtsJobOutputModifiedAt$Outbound; + name?: string | null | undefined; + description?: string | null | undefined; + code?: string | null | undefined; + status?: string | null | undefined; + type?: string | null | undefined; + confidential?: boolean | null | undefined; + departments?: Array | null | undefined; + offices?: Array | null | undefined; + managers?: Array | null | undefined; + recruiters?: Array | null | undefined; + remote_created_at?: string | null | undefined; + remote_updated_at?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -271,30 +175,24 @@ export const UnifiedAtsJobOutput$outboundSchema: z.ZodType< UnifiedAtsJobOutput > = z .object({ - name: z.string().optional(), - description: z.string().optional(), - code: z.string().optional(), - status: z.string().optional(), - type: z.string().optional(), - confidential: z.boolean().optional(), - departments: z.array(z.string()).optional(), - offices: z.array(z.string()).optional(), - managers: z.array(z.string()).optional(), - recruiters: z.array(z.string()).optional(), - remoteCreatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - remoteUpdatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - fieldMappings: z.lazy(() => UnifiedAtsJobOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsJobOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsJobOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsJobOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()).optional(), + description: z.nullable(z.string()).optional(), + code: z.nullable(z.string()).optional(), + status: z.nullable(z.string()).optional(), + type: z.nullable(z.string()).optional(), + confidential: z.nullable(z.boolean()).optional(), + departments: z.nullable(z.array(z.string())).optional(), + offices: z.nullable(z.array(z.string())).optional(), + managers: z.nullable(z.array(z.string())).optional(), + recruiters: z.nullable(z.array(z.string())).optional(), + remoteCreatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + remoteUpdatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsofferoutput.ts b/src/models/components/unifiedatsofferoutput.ts index 32fa22b2..17e5eab5 100644 --- a/src/models/components/unifiedatsofferoutput.ts +++ b/src/models/components/unifiedatsofferoutput.ts @@ -5,117 +5,71 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsOfferOutputFieldMappings = {}; - -export type UnifiedAtsOfferOutputRemoteData = {}; - +/** + * The created date of the object + */ export type UnifiedAtsOfferOutputCreatedAt = {}; +/** + * The modified date of the object + */ export type UnifiedAtsOfferOutputModifiedAt = {}; export type UnifiedAtsOfferOutput = { /** * The UUID of the creator */ - createdBy?: string | undefined; + createdBy?: string | null | undefined; /** * The remote creation date of the offer */ - remoteCreatedAt?: Date | undefined; + remoteCreatedAt?: Date | null | undefined; /** * The closing date of the offer */ - closedAt?: Date | undefined; + closedAt?: Date | null | undefined; /** * The sending date of the offer */ - sentAt?: Date | undefined; + sentAt?: Date | null | undefined; /** * The start date of the offer */ - startDate?: Date | undefined; + startDate?: Date | null | undefined; /** * The status of the offer */ - status?: string | undefined; + status?: string | null | undefined; /** * The UUID of the application */ - applicationId?: string | undefined; - fieldMappings: UnifiedAtsOfferOutputFieldMappings; + applicationId?: string | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the offer */ - id?: string | undefined; + id?: string | null | undefined; /** * The remote ID of the offer in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsOfferOutputRemoteData; - createdAt: UnifiedAtsOfferOutputCreatedAt; - modifiedAt: UnifiedAtsOfferOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the offer in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: UnifiedAtsOfferOutputCreatedAt | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: UnifiedAtsOfferOutputModifiedAt | null | undefined; }; -/** @internal */ -export const UnifiedAtsOfferOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsOfferOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsOfferOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsOfferOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsOfferOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsOfferOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsOfferOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsOfferOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsOfferOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsOfferOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsOfferOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsOfferOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsOfferOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsOfferOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsOfferOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsOfferOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsOfferOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsOfferOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsOfferOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsOfferOutputRemoteData$ { - /** @deprecated use `UnifiedAtsOfferOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsOfferOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsOfferOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsOfferOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsOfferOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsOfferOutputRemoteData$Outbound; -} - /** @internal */ export const UnifiedAtsOfferOutputCreatedAt$inboundSchema: z.ZodType< UnifiedAtsOfferOutputCreatedAt, @@ -183,35 +137,51 @@ export const UnifiedAtsOfferOutput$inboundSchema: z.ZodType< unknown > = z .object({ - created_by: z.string().optional(), + created_by: z.nullable(z.string()).optional(), remote_created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), closed_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), sent_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), start_date: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + status: z.nullable(z.string()).optional(), + application_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable(z.lazy(() => UnifiedAtsOfferOutputCreatedAt$inboundSchema)) + .optional(), + modified_at: z + .nullable(z.lazy(() => UnifiedAtsOfferOutputModifiedAt$inboundSchema)) .optional(), - status: z.string().optional(), - application_id: z.string().optional(), - field_mappings: z.lazy(() => UnifiedAtsOfferOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsOfferOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsOfferOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsOfferOutputModifiedAt$inboundSchema), }) .transform((v) => { return remap$(v, { @@ -231,19 +201,19 @@ export const UnifiedAtsOfferOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsOfferOutput$Outbound = { - created_by?: string | undefined; - remote_created_at?: string | undefined; - closed_at?: string | undefined; - sent_at?: string | undefined; - start_date?: string | undefined; - status?: string | undefined; - application_id?: string | undefined; - field_mappings: UnifiedAtsOfferOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsOfferOutputRemoteData$Outbound; - created_at: UnifiedAtsOfferOutputCreatedAt$Outbound; - modified_at: UnifiedAtsOfferOutputModifiedAt$Outbound; + created_by?: string | null | undefined; + remote_created_at?: string | null | undefined; + closed_at?: string | null | undefined; + sent_at?: string | null | undefined; + start_date?: string | null | undefined; + status?: string | null | undefined; + application_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: UnifiedAtsOfferOutputCreatedAt$Outbound | null | undefined; + modified_at?: UnifiedAtsOfferOutputModifiedAt$Outbound | null | undefined; }; /** @internal */ @@ -253,31 +223,23 @@ export const UnifiedAtsOfferOutput$outboundSchema: z.ZodType< UnifiedAtsOfferOutput > = z .object({ - createdBy: z.string().optional(), - remoteCreatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - closedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - sentAt: z - .date() - .transform((v) => v.toISOString()) + createdBy: z.nullable(z.string()).optional(), + remoteCreatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + closedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + sentAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + startDate: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + status: z.nullable(z.string()).optional(), + applicationId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z + .nullable(z.lazy(() => UnifiedAtsOfferOutputCreatedAt$outboundSchema)) .optional(), - startDate: z - .date() - .transform((v) => v.toISOString()) + modifiedAt: z + .nullable(z.lazy(() => UnifiedAtsOfferOutputModifiedAt$outboundSchema)) .optional(), - status: z.string().optional(), - applicationId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedAtsOfferOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsOfferOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsOfferOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsOfferOutputModifiedAt$outboundSchema), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsofficeoutput.ts b/src/models/components/unifiedatsofficeoutput.ts index 2944c915..ae0b5ba3 100644 --- a/src/models/components/unifiedatsofficeoutput.ts +++ b/src/models/components/unifiedatsofficeoutput.ts @@ -5,24 +5,19 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsOfficeOutputFieldMappings = {}; - -export type UnifiedAtsOfficeOutputRemoteData = {}; - -export type UnifiedAtsOfficeOutputCreatedAt = {}; - -export type UnifiedAtsOfficeOutputModifiedAt = {}; - export type UnifiedAtsOfficeOutput = { /** * The name of the office */ - name?: string | undefined; + name?: string | null | undefined; /** * The location of the office */ - location?: string | undefined; - fieldMappings: UnifiedAtsOfficeOutputFieldMappings; + location?: string | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the office */ @@ -30,132 +25,21 @@ export type UnifiedAtsOfficeOutput = { /** * The remote ID of the office in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsOfficeOutputRemoteData; - createdAt: UnifiedAtsOfficeOutputCreatedAt; - modifiedAt: UnifiedAtsOfficeOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the office in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsOfficeOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsOfficeOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsOfficeOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsOfficeOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsOfficeOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsOfficeOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsOfficeOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsOfficeOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsOfficeOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsOfficeOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsOfficeOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsOfficeOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsOfficeOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsOfficeOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsOfficeOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsOfficeOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsOfficeOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsOfficeOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsOfficeOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsOfficeOutputRemoteData$ { - /** @deprecated use `UnifiedAtsOfficeOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsOfficeOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsOfficeOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsOfficeOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsOfficeOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsOfficeOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsOfficeOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsOfficeOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsOfficeOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsOfficeOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsOfficeOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsOfficeOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsOfficeOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsOfficeOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsOfficeOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsOfficeOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsOfficeOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsOfficeOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsOfficeOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsOfficeOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsOfficeOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsOfficeOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsOfficeOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsOfficeOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsOfficeOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsOfficeOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsOfficeOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsOfficeOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsOfficeOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsOfficeOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsOfficeOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsOfficeOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsOfficeOutput$inboundSchema: z.ZodType< UnifiedAtsOfficeOutput, @@ -163,14 +47,28 @@ export const UnifiedAtsOfficeOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string().optional(), - location: z.string().optional(), - field_mappings: z.lazy(() => UnifiedAtsOfficeOutputFieldMappings$inboundSchema), + name: z.nullable(z.string()).optional(), + location: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsOfficeOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsOfficeOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsOfficeOutputModifiedAt$inboundSchema), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -184,14 +82,14 @@ export const UnifiedAtsOfficeOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsOfficeOutput$Outbound = { - name?: string | undefined; - location?: string | undefined; - field_mappings: UnifiedAtsOfficeOutputFieldMappings$Outbound; + name?: string | null | undefined; + location?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsOfficeOutputRemoteData$Outbound; - created_at: UnifiedAtsOfficeOutputCreatedAt$Outbound; - modified_at: UnifiedAtsOfficeOutputModifiedAt$Outbound; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -201,14 +99,14 @@ export const UnifiedAtsOfficeOutput$outboundSchema: z.ZodType< UnifiedAtsOfficeOutput > = z .object({ - name: z.string().optional(), - location: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedAtsOfficeOutputFieldMappings$outboundSchema), + name: z.nullable(z.string()).optional(), + location: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsOfficeOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsOfficeOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsOfficeOutputModifiedAt$outboundSchema), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsrejectreasonoutput.ts b/src/models/components/unifiedatsrejectreasonoutput.ts index 81e53456..20360705 100644 --- a/src/models/components/unifiedatsrejectreasonoutput.ts +++ b/src/models/components/unifiedatsrejectreasonoutput.ts @@ -5,153 +5,37 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsRejectreasonOutputFieldMappings = {}; - -export type UnifiedAtsRejectreasonOutputRemoteData = {}; - -export type UnifiedAtsRejectreasonOutputCreatedAt = {}; - -export type UnifiedAtsRejectreasonOutputModifiedAt = {}; - export type UnifiedAtsRejectreasonOutput = { /** * The name of the reject reason */ - name?: string | undefined; - fieldMappings: UnifiedAtsRejectreasonOutputFieldMappings; + name?: string | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the reject reason */ - id?: string | undefined; + id?: string | null | undefined; /** * The remote ID of the reject reason in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsRejectreasonOutputRemoteData; - createdAt: UnifiedAtsRejectreasonOutputCreatedAt; - modifiedAt: UnifiedAtsRejectreasonOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the reject reason in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsRejectreasonOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsRejectreasonOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsRejectreasonOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsRejectreasonOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsRejectreasonOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsRejectreasonOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsRejectreasonOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsRejectreasonOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsRejectreasonOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsRejectreasonOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsRejectreasonOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsRejectreasonOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsRejectreasonOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsRejectreasonOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsRejectreasonOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsRejectreasonOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsRejectreasonOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsRejectreasonOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsRejectreasonOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsRejectreasonOutputRemoteData$ { - /** @deprecated use `UnifiedAtsRejectreasonOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsRejectreasonOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsRejectreasonOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsRejectreasonOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsRejectreasonOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsRejectreasonOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsRejectreasonOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsRejectreasonOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsRejectreasonOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsRejectreasonOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsRejectreasonOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsRejectreasonOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsRejectreasonOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsRejectreasonOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsRejectreasonOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsRejectreasonOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsRejectreasonOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsRejectreasonOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsRejectreasonOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsRejectreasonOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsRejectreasonOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsRejectreasonOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsRejectreasonOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsRejectreasonOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsRejectreasonOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsRejectreasonOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsRejectreasonOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsRejectreasonOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsRejectreasonOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsRejectreasonOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsRejectreasonOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsRejectreasonOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsRejectreasonOutput$inboundSchema: z.ZodType< UnifiedAtsRejectreasonOutput, @@ -159,13 +43,27 @@ export const UnifiedAtsRejectreasonOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string().optional(), - field_mappings: z.lazy(() => UnifiedAtsRejectreasonOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsRejectreasonOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsRejectreasonOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsRejectreasonOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -179,13 +77,13 @@ export const UnifiedAtsRejectreasonOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsRejectreasonOutput$Outbound = { - name?: string | undefined; - field_mappings: UnifiedAtsRejectreasonOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsRejectreasonOutputRemoteData$Outbound; - created_at: UnifiedAtsRejectreasonOutputCreatedAt$Outbound; - modified_at: UnifiedAtsRejectreasonOutputModifiedAt$Outbound; + name?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -195,13 +93,13 @@ export const UnifiedAtsRejectreasonOutput$outboundSchema: z.ZodType< UnifiedAtsRejectreasonOutput > = z .object({ - name: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedAtsRejectreasonOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsRejectreasonOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsRejectreasonOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsRejectreasonOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsscorecardoutput.ts b/src/models/components/unifiedatsscorecardoutput.ts index df19c6e9..13db59b3 100644 --- a/src/models/components/unifiedatsscorecardoutput.ts +++ b/src/models/components/unifiedatsscorecardoutput.ts @@ -5,36 +5,31 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsScorecardOutputFieldMappings = {}; - -export type UnifiedAtsScorecardOutputRemoteData = {}; - -export type UnifiedAtsScorecardOutputCreatedAt = {}; - -export type UnifiedAtsScorecardOutputModifiedAt = {}; - export type UnifiedAtsScorecardOutput = { /** * The overall recommendation */ - overallRecommendation?: string | undefined; + overallRecommendation?: string | null | undefined; /** * The UUID of the application */ - applicationId?: string | undefined; + applicationId?: string | null | undefined; /** * The UUID of the interview */ - interviewId?: string | undefined; + interviewId?: string | null | undefined; /** * The remote creation date of the scorecard */ - remoteCreatedAt?: Date | undefined; + remoteCreatedAt?: string | null | undefined; /** * The submission date of the scorecard */ - submittedAt?: Date | undefined; - fieldMappings: UnifiedAtsScorecardOutputFieldMappings; + submittedAt?: string | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the scorecard */ @@ -42,132 +37,21 @@ export type UnifiedAtsScorecardOutput = { /** * The remote ID of the scorecard in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsScorecardOutputRemoteData; - createdAt: UnifiedAtsScorecardOutputCreatedAt; - modifiedAt: UnifiedAtsScorecardOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the scorecard in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsScorecardOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsScorecardOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsScorecardOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsScorecardOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsScorecardOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsScorecardOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsScorecardOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsScorecardOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsScorecardOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsScorecardOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsScorecardOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsScorecardOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsScorecardOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsScorecardOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsScorecardOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsScorecardOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsScorecardOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsScorecardOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsScorecardOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsScorecardOutputRemoteData$ { - /** @deprecated use `UnifiedAtsScorecardOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsScorecardOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsScorecardOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsScorecardOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsScorecardOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsScorecardOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsScorecardOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsScorecardOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsScorecardOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsScorecardOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsScorecardOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsScorecardOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsScorecardOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsScorecardOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsScorecardOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsScorecardOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsScorecardOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsScorecardOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsScorecardOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsScorecardOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsScorecardOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsScorecardOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsScorecardOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsScorecardOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsScorecardOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsScorecardOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsScorecardOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsScorecardOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsScorecardOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsScorecardOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsScorecardOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsScorecardOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsScorecardOutput$inboundSchema: z.ZodType< UnifiedAtsScorecardOutput, @@ -175,25 +59,31 @@ export const UnifiedAtsScorecardOutput$inboundSchema: z.ZodType< unknown > = z .object({ - overall_recommendation: z.string().optional(), - application_id: z.string().optional(), - interview_id: z.string().optional(), - remote_created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + overall_recommendation: z.nullable(z.string()).optional(), + application_id: z.nullable(z.string()).optional(), + interview_id: z.nullable(z.string()).optional(), + remote_created_at: z.nullable(z.string()).optional(), + submitted_at: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.string().optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - submitted_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - field_mappings: z.lazy(() => UnifiedAtsScorecardOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsScorecardOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsScorecardOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsScorecardOutputModifiedAt$inboundSchema), }) .transform((v) => { return remap$(v, { @@ -212,17 +102,17 @@ export const UnifiedAtsScorecardOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsScorecardOutput$Outbound = { - overall_recommendation?: string | undefined; - application_id?: string | undefined; - interview_id?: string | undefined; - remote_created_at?: string | undefined; - submitted_at?: string | undefined; - field_mappings: UnifiedAtsScorecardOutputFieldMappings$Outbound; + overall_recommendation?: string | null | undefined; + application_id?: string | null | undefined; + interview_id?: string | null | undefined; + remote_created_at?: string | null | undefined; + submitted_at?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsScorecardOutputRemoteData$Outbound; - created_at: UnifiedAtsScorecardOutputCreatedAt$Outbound; - modified_at: UnifiedAtsScorecardOutputModifiedAt$Outbound; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -232,23 +122,17 @@ export const UnifiedAtsScorecardOutput$outboundSchema: z.ZodType< UnifiedAtsScorecardOutput > = z .object({ - overallRecommendation: z.string().optional(), - applicationId: z.string().optional(), - interviewId: z.string().optional(), - remoteCreatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - submittedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - fieldMappings: z.lazy(() => UnifiedAtsScorecardOutputFieldMappings$outboundSchema), + overallRecommendation: z.nullable(z.string()).optional(), + applicationId: z.nullable(z.string()).optional(), + interviewId: z.nullable(z.string()).optional(), + remoteCreatedAt: z.nullable(z.string()).optional(), + submittedAt: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsScorecardOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsScorecardOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsScorecardOutputModifiedAt$outboundSchema), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatstagoutput.ts b/src/models/components/unifiedatstagoutput.ts index f50a305f..95c16b0d 100644 --- a/src/models/components/unifiedatstagoutput.ts +++ b/src/models/components/unifiedatstagoutput.ts @@ -5,99 +5,41 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsTagOutputFieldMappings = {}; - -export type UnifiedAtsTagOutputRemoteData = {}; - export type UnifiedAtsTagOutput = { /** * The name of the tag */ - name?: string | undefined; + name?: string | null | undefined; /** * The UUID of the candidate */ - idAtsCandidate?: string | undefined; - fieldMappings: UnifiedAtsTagOutputFieldMappings; + idAtsCandidate?: string | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the tag */ - id?: string | undefined; + id?: string | null | undefined; /** * The remote ID of the tag in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsTagOutputRemoteData; + remoteId?: string | null | undefined; + /** + * The remote data of the tag in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; /** * The creation date of the tag */ - createdAt?: Date | undefined; + createdAt?: Date | null | undefined; /** * The modification date of the tag */ - modifiedAt?: Date | undefined; + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsTagOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsTagOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsTagOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsTagOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsTagOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsTagOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsTagOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsTagOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsTagOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsTagOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsTagOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsTagOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsTagOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsTagOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsTagOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsTagOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsTagOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsTagOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsTagOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsTagOutputRemoteData$ { - /** @deprecated use `UnifiedAtsTagOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsTagOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsTagOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsTagOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsTagOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsTagOutputRemoteData$Outbound; -} - /** @internal */ export const UnifiedAtsTagOutput$inboundSchema: z.ZodType< UnifiedAtsTagOutput, @@ -105,21 +47,27 @@ export const UnifiedAtsTagOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string().optional(), - id_ats_candidate: z.string().optional(), - field_mappings: z.lazy(() => UnifiedAtsTagOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsTagOutputRemoteData$inboundSchema), + name: z.nullable(z.string()).optional(), + id_ats_candidate: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), modified_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), }) .transform((v) => { @@ -135,14 +83,14 @@ export const UnifiedAtsTagOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsTagOutput$Outbound = { - name?: string | undefined; - id_ats_candidate?: string | undefined; - field_mappings: UnifiedAtsTagOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsTagOutputRemoteData$Outbound; - created_at?: string | undefined; - modified_at?: string | undefined; + name?: string | null | undefined; + id_ats_candidate?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -152,20 +100,14 @@ export const UnifiedAtsTagOutput$outboundSchema: z.ZodType< UnifiedAtsTagOutput > = z .object({ - name: z.string().optional(), - idAtsCandidate: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedAtsTagOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsTagOutputRemoteData$outboundSchema), - createdAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - modifiedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), + name: z.nullable(z.string()).optional(), + idAtsCandidate: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedatsuseroutput.ts b/src/models/components/unifiedatsuseroutput.ts index 67606e46..8fe6895e 100644 --- a/src/models/components/unifiedatsuseroutput.ts +++ b/src/models/components/unifiedatsuseroutput.ts @@ -5,177 +5,61 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedAtsUserOutputFieldMappings = {}; - -export type UnifiedAtsUserOutputRemoteData = {}; - -export type UnifiedAtsUserOutputCreatedAt = {}; - -export type UnifiedAtsUserOutputModifiedAt = {}; - export type UnifiedAtsUserOutput = { /** * The first name of the user */ - firstName?: string | undefined; + firstName?: string | null | undefined; /** * The last name of the user */ - lastName?: string | undefined; + lastName?: string | null | undefined; /** * The email of the user */ - email?: string | undefined; + email?: string | null | undefined; /** * Whether the user is disabled */ - disabled?: boolean | undefined; + disabled?: boolean | null | undefined; /** * The access role of the user */ - accessRole?: string | undefined; + accessRole?: string | null | undefined; /** * The remote creation date of the user */ - remoteCreatedAt?: Date | undefined; + remoteCreatedAt?: Date | null | undefined; /** * The remote modification date of the user */ - remoteModifiedAt?: Date | undefined; - fieldMappings: UnifiedAtsUserOutputFieldMappings; + remoteModifiedAt?: Date | null | undefined; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the user */ - id?: string | undefined; + id?: string | null | undefined; /** * The remote ID of the user in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedAtsUserOutputRemoteData; - createdAt: UnifiedAtsUserOutputCreatedAt; - modifiedAt: UnifiedAtsUserOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the user in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedAtsUserOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedAtsUserOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsUserOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedAtsUserOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedAtsUserOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedAtsUserOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsUserOutputFieldMappings$ { - /** @deprecated use `UnifiedAtsUserOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsUserOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedAtsUserOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsUserOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedAtsUserOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedAtsUserOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedAtsUserOutputRemoteData$inboundSchema: z.ZodType< - UnifiedAtsUserOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsUserOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedAtsUserOutputRemoteData$outboundSchema: z.ZodType< - UnifiedAtsUserOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedAtsUserOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsUserOutputRemoteData$ { - /** @deprecated use `UnifiedAtsUserOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsUserOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedAtsUserOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsUserOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedAtsUserOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedAtsUserOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedAtsUserOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedAtsUserOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsUserOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsUserOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedAtsUserOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsUserOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsUserOutputCreatedAt$ { - /** @deprecated use `UnifiedAtsUserOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsUserOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedAtsUserOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsUserOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedAtsUserOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsUserOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedAtsUserOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedAtsUserOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedAtsUserOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedAtsUserOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedAtsUserOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedAtsUserOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedAtsUserOutputModifiedAt$ { - /** @deprecated use `UnifiedAtsUserOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedAtsUserOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedAtsUserOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedAtsUserOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedAtsUserOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedAtsUserOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedAtsUserOutput$inboundSchema: z.ZodType< UnifiedAtsUserOutput, @@ -183,27 +67,47 @@ export const UnifiedAtsUserOutput$inboundSchema: z.ZodType< unknown > = z .object({ - first_name: z.string().optional(), - last_name: z.string().optional(), - email: z.string().optional(), - disabled: z.boolean().optional(), - access_role: z.string().optional(), + first_name: z.nullable(z.string()).optional(), + last_name: z.nullable(z.string()).optional(), + email: z.nullable(z.string()).optional(), + disabled: z.nullable(z.boolean()).optional(), + access_role: z.nullable(z.string()).optional(), remote_created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), remote_modified_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - field_mappings: z.lazy(() => UnifiedAtsUserOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedAtsUserOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedAtsUserOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedAtsUserOutputModifiedAt$inboundSchema), }) .transform((v) => { return remap$(v, { @@ -222,19 +126,19 @@ export const UnifiedAtsUserOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedAtsUserOutput$Outbound = { - first_name?: string | undefined; - last_name?: string | undefined; - email?: string | undefined; - disabled?: boolean | undefined; - access_role?: string | undefined; - remote_created_at?: string | undefined; - remote_modified_at?: string | undefined; - field_mappings: UnifiedAtsUserOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedAtsUserOutputRemoteData$Outbound; - created_at: UnifiedAtsUserOutputCreatedAt$Outbound; - modified_at: UnifiedAtsUserOutputModifiedAt$Outbound; + first_name?: string | null | undefined; + last_name?: string | null | undefined; + email?: string | null | undefined; + disabled?: boolean | null | undefined; + access_role?: string | null | undefined; + remote_created_at?: string | null | undefined; + remote_modified_at?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -244,25 +148,19 @@ export const UnifiedAtsUserOutput$outboundSchema: z.ZodType< UnifiedAtsUserOutput > = z .object({ - firstName: z.string().optional(), - lastName: z.string().optional(), - email: z.string().optional(), - disabled: z.boolean().optional(), - accessRole: z.string().optional(), - remoteCreatedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - remoteModifiedAt: z - .date() - .transform((v) => v.toISOString()) - .optional(), - fieldMappings: z.lazy(() => UnifiedAtsUserOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedAtsUserOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedAtsUserOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedAtsUserOutputModifiedAt$outboundSchema), + firstName: z.nullable(z.string()).optional(), + lastName: z.nullable(z.string()).optional(), + email: z.nullable(z.string()).optional(), + disabled: z.nullable(z.boolean()).optional(), + accessRole: z.nullable(z.string()).optional(), + remoteCreatedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + remoteModifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmcompanyinput.ts b/src/models/components/unifiedcrmcompanyinput.ts index 2839a943..4680936c 100644 --- a/src/models/components/unifiedcrmcompanyinput.ts +++ b/src/models/components/unifiedcrmcompanyinput.ts @@ -13,70 +13,41 @@ import { Email, Email$inboundSchema, Email$Outbound, Email$outboundSchema } from import { Phone, Phone$inboundSchema, Phone$Outbound, Phone$outboundSchema } from "./phone.js"; import * as z from "zod"; -export type UnifiedCrmCompanyInputFieldMappings = {}; - export type UnifiedCrmCompanyInput = { /** * The name of the company */ - name: string; + name: string | null; /** * The industry of the company. Authorized values can be found in the Industry enum. */ - industry?: string | undefined; + industry?: string | null | undefined; /** * The number of employees of the company */ - numberOfEmployees?: number | undefined; + numberOfEmployees?: number | null | undefined; /** * The UUID of the user who owns the company */ - userId?: string | undefined; + userId?: string | null | undefined; /** * The email addresses of the company */ - emailAddresses?: Array | undefined; + emailAddresses?: Array | null | undefined; /** * The addresses of the company */ - addresses?: Array
| undefined; + addresses?: Array
| null | undefined; /** * The phone numbers of the company */ - phoneNumbers?: Array | undefined; - fieldMappings: UnifiedCrmCompanyInputFieldMappings; + phoneNumbers?: Array | null | undefined; + /** + * The custom field mappings of the company between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedCrmCompanyInputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmCompanyInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmCompanyInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmCompanyInputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmCompanyInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmCompanyInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmCompanyInputFieldMappings$ { - /** @deprecated use `UnifiedCrmCompanyInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmCompanyInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmCompanyInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmCompanyInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmCompanyInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmCompanyInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedCrmCompanyInput$inboundSchema: z.ZodType< UnifiedCrmCompanyInput, @@ -84,14 +55,14 @@ export const UnifiedCrmCompanyInput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - industry: z.string().optional(), - number_of_employees: z.number().optional(), - user_id: z.string().optional(), - email_addresses: z.array(Email$inboundSchema).optional(), - addresses: z.array(Address$inboundSchema).optional(), - phone_numbers: z.array(Phone$inboundSchema).optional(), - field_mappings: z.lazy(() => UnifiedCrmCompanyInputFieldMappings$inboundSchema), + name: z.nullable(z.string()), + industry: z.nullable(z.string()).optional(), + number_of_employees: z.nullable(z.number()).optional(), + user_id: z.nullable(z.string()).optional(), + email_addresses: z.nullable(z.array(Email$inboundSchema)).optional(), + addresses: z.nullable(z.array(Address$inboundSchema)).optional(), + phone_numbers: z.nullable(z.array(Phone$inboundSchema)).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -105,14 +76,14 @@ export const UnifiedCrmCompanyInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmCompanyInput$Outbound = { - name: string; - industry?: string | undefined; - number_of_employees?: number | undefined; - user_id?: string | undefined; - email_addresses?: Array | undefined; - addresses?: Array | undefined; - phone_numbers?: Array | undefined; - field_mappings: UnifiedCrmCompanyInputFieldMappings$Outbound; + name: string | null; + industry?: string | null | undefined; + number_of_employees?: number | null | undefined; + user_id?: string | null | undefined; + email_addresses?: Array | null | undefined; + addresses?: Array | null | undefined; + phone_numbers?: Array | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -122,14 +93,14 @@ export const UnifiedCrmCompanyInput$outboundSchema: z.ZodType< UnifiedCrmCompanyInput > = z .object({ - name: z.string(), - industry: z.string().optional(), - numberOfEmployees: z.number().optional(), - userId: z.string().optional(), - emailAddresses: z.array(Email$outboundSchema).optional(), - addresses: z.array(Address$outboundSchema).optional(), - phoneNumbers: z.array(Phone$outboundSchema).optional(), - fieldMappings: z.lazy(() => UnifiedCrmCompanyInputFieldMappings$outboundSchema), + name: z.nullable(z.string()), + industry: z.nullable(z.string()).optional(), + numberOfEmployees: z.nullable(z.number()).optional(), + userId: z.nullable(z.string()).optional(), + emailAddresses: z.nullable(z.array(Email$outboundSchema)).optional(), + addresses: z.nullable(z.array(Address$outboundSchema)).optional(), + phoneNumbers: z.nullable(z.array(Phone$outboundSchema)).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmcompanyoutput.ts b/src/models/components/unifiedcrmcompanyoutput.ts index 7f317a6d..85457ef0 100644 --- a/src/models/components/unifiedcrmcompanyoutput.ts +++ b/src/models/components/unifiedcrmcompanyoutput.ts @@ -13,175 +13,115 @@ import { Email, Email$inboundSchema, Email$Outbound, Email$outboundSchema } from import { Phone, Phone$inboundSchema, Phone$Outbound, Phone$outboundSchema } from "./phone.js"; import * as z from "zod"; -export type UnifiedCrmCompanyOutputFieldMappings = {}; - -export type UnifiedCrmCompanyOutputRemoteData = {}; - -export type UnifiedCrmCompanyOutputCreatedAt = {}; +/** + * The created date of the object + */ +export type CreatedAt = {}; -export type UnifiedCrmCompanyOutputModifiedAt = {}; +/** + * The modified date of the object + */ +export type ModifiedAt = {}; export type UnifiedCrmCompanyOutput = { /** * The name of the company */ - name: string; + name: string | null; /** * The industry of the company. Authorized values can be found in the Industry enum. */ - industry?: string | undefined; + industry?: string | null | undefined; /** * The number of employees of the company */ - numberOfEmployees?: number | undefined; + numberOfEmployees?: number | null | undefined; /** * The UUID of the user who owns the company */ - userId?: string | undefined; + userId?: string | null | undefined; /** * The email addresses of the company */ - emailAddresses?: Array | undefined; + emailAddresses?: Array | null | undefined; /** * The addresses of the company */ - addresses?: Array
| undefined; + addresses?: Array
| null | undefined; /** * The phone numbers of the company */ - phoneNumbers?: Array | undefined; - fieldMappings: UnifiedCrmCompanyOutputFieldMappings; + phoneNumbers?: Array | null | undefined; + /** + * The custom field mappings of the company between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the company */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the company in the context of the Crm 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedCrmCompanyOutputRemoteData; - createdAt: UnifiedCrmCompanyOutputCreatedAt; - modifiedAt: UnifiedCrmCompanyOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the company in the context of the Crm 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: CreatedAt | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: ModifiedAt | null | undefined; }; /** @internal */ -export const UnifiedCrmCompanyOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmCompanyOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmCompanyOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmCompanyOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmCompanyOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmCompanyOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmCompanyOutputFieldMappings$ { - /** @deprecated use `UnifiedCrmCompanyOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmCompanyOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmCompanyOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmCompanyOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmCompanyOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmCompanyOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedCrmCompanyOutputRemoteData$inboundSchema: z.ZodType< - UnifiedCrmCompanyOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); +export const CreatedAt$inboundSchema: z.ZodType = z.object({}); /** @internal */ -export type UnifiedCrmCompanyOutputRemoteData$Outbound = {}; +export type CreatedAt$Outbound = {}; /** @internal */ -export const UnifiedCrmCompanyOutputRemoteData$outboundSchema: z.ZodType< - UnifiedCrmCompanyOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedCrmCompanyOutputRemoteData -> = z.object({}); +export const CreatedAt$outboundSchema: z.ZodType = + z.object({}); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ -export namespace UnifiedCrmCompanyOutputRemoteData$ { - /** @deprecated use `UnifiedCrmCompanyOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmCompanyOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedCrmCompanyOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmCompanyOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedCrmCompanyOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedCrmCompanyOutputRemoteData$Outbound; +export namespace CreatedAt$ { + /** @deprecated use `CreatedAt$inboundSchema` instead. */ + export const inboundSchema = CreatedAt$inboundSchema; + /** @deprecated use `CreatedAt$outboundSchema` instead. */ + export const outboundSchema = CreatedAt$outboundSchema; + /** @deprecated use `CreatedAt$Outbound` instead. */ + export type Outbound = CreatedAt$Outbound; } /** @internal */ -export const UnifiedCrmCompanyOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedCrmCompanyOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); +export const ModifiedAt$inboundSchema: z.ZodType = z.object({}); /** @internal */ -export type UnifiedCrmCompanyOutputCreatedAt$Outbound = {}; +export type ModifiedAt$Outbound = {}; /** @internal */ -export const UnifiedCrmCompanyOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedCrmCompanyOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedCrmCompanyOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmCompanyOutputCreatedAt$ { - /** @deprecated use `UnifiedCrmCompanyOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmCompanyOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedCrmCompanyOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmCompanyOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedCrmCompanyOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedCrmCompanyOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedCrmCompanyOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedCrmCompanyOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmCompanyOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedCrmCompanyOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedCrmCompanyOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedCrmCompanyOutputModifiedAt -> = z.object({}); +export const ModifiedAt$outboundSchema: z.ZodType = + z.object({}); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ -export namespace UnifiedCrmCompanyOutputModifiedAt$ { - /** @deprecated use `UnifiedCrmCompanyOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmCompanyOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedCrmCompanyOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmCompanyOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedCrmCompanyOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedCrmCompanyOutputModifiedAt$Outbound; +export namespace ModifiedAt$ { + /** @deprecated use `ModifiedAt$inboundSchema` instead. */ + export const inboundSchema = ModifiedAt$inboundSchema; + /** @deprecated use `ModifiedAt$outboundSchema` instead. */ + export const outboundSchema = ModifiedAt$outboundSchema; + /** @deprecated use `ModifiedAt$Outbound` instead. */ + export type Outbound = ModifiedAt$Outbound; } /** @internal */ @@ -191,19 +131,19 @@ export const UnifiedCrmCompanyOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - industry: z.string().optional(), - number_of_employees: z.number().optional(), - user_id: z.string().optional(), - email_addresses: z.array(Email$inboundSchema).optional(), - addresses: z.array(Address$inboundSchema).optional(), - phone_numbers: z.array(Phone$inboundSchema).optional(), - field_mappings: z.lazy(() => UnifiedCrmCompanyOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedCrmCompanyOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedCrmCompanyOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedCrmCompanyOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()), + industry: z.nullable(z.string()).optional(), + number_of_employees: z.nullable(z.number()).optional(), + user_id: z.nullable(z.string()).optional(), + email_addresses: z.nullable(z.array(Email$inboundSchema)).optional(), + addresses: z.nullable(z.array(Address$inboundSchema)).optional(), + phone_numbers: z.nullable(z.array(Phone$inboundSchema)).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z.nullable(z.lazy(() => CreatedAt$inboundSchema)).optional(), + modified_at: z.nullable(z.lazy(() => ModifiedAt$inboundSchema)).optional(), }) .transform((v) => { return remap$(v, { @@ -221,19 +161,19 @@ export const UnifiedCrmCompanyOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmCompanyOutput$Outbound = { - name: string; - industry?: string | undefined; - number_of_employees?: number | undefined; - user_id?: string | undefined; - email_addresses?: Array | undefined; - addresses?: Array | undefined; - phone_numbers?: Array | undefined; - field_mappings: UnifiedCrmCompanyOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedCrmCompanyOutputRemoteData$Outbound; - created_at: UnifiedCrmCompanyOutputCreatedAt$Outbound; - modified_at: UnifiedCrmCompanyOutputModifiedAt$Outbound; + name: string | null; + industry?: string | null | undefined; + number_of_employees?: number | null | undefined; + user_id?: string | null | undefined; + email_addresses?: Array | null | undefined; + addresses?: Array | null | undefined; + phone_numbers?: Array | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: CreatedAt$Outbound | null | undefined; + modified_at?: ModifiedAt$Outbound | null | undefined; }; /** @internal */ @@ -243,19 +183,19 @@ export const UnifiedCrmCompanyOutput$outboundSchema: z.ZodType< UnifiedCrmCompanyOutput > = z .object({ - name: z.string(), - industry: z.string().optional(), - numberOfEmployees: z.number().optional(), - userId: z.string().optional(), - emailAddresses: z.array(Email$outboundSchema).optional(), - addresses: z.array(Address$outboundSchema).optional(), - phoneNumbers: z.array(Phone$outboundSchema).optional(), - fieldMappings: z.lazy(() => UnifiedCrmCompanyOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedCrmCompanyOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedCrmCompanyOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedCrmCompanyOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()), + industry: z.nullable(z.string()).optional(), + numberOfEmployees: z.nullable(z.number()).optional(), + userId: z.nullable(z.string()).optional(), + emailAddresses: z.nullable(z.array(Email$outboundSchema)).optional(), + addresses: z.nullable(z.array(Address$outboundSchema)).optional(), + phoneNumbers: z.nullable(z.array(Phone$outboundSchema)).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.lazy(() => CreatedAt$outboundSchema)).optional(), + modifiedAt: z.nullable(z.lazy(() => ModifiedAt$outboundSchema)).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmcontactinput.ts b/src/models/components/unifiedcrmcontactinput.ts index 474360c6..9dff433f 100644 --- a/src/models/components/unifiedcrmcontactinput.ts +++ b/src/models/components/unifiedcrmcontactinput.ts @@ -13,66 +13,37 @@ import { Email, Email$inboundSchema, Email$Outbound, Email$outboundSchema } from import { Phone, Phone$inboundSchema, Phone$Outbound, Phone$outboundSchema } from "./phone.js"; import * as z from "zod"; -export type UnifiedCrmContactInputFieldMappings = {}; - export type UnifiedCrmContactInput = { /** * The first name of the contact */ - firstName: string; + firstName: string | null; /** * The last name of the contact */ - lastName: string; + lastName: string | null; /** * The email addresses of the contact */ - emailAddresses?: Array | undefined; + emailAddresses?: Array | null | undefined; /** * The phone numbers of the contact */ - phoneNumbers?: Array | undefined; + phoneNumbers?: Array | null | undefined; /** * The addresses of the contact */ - addresses?: Array
| undefined; + addresses?: Array
| null | undefined; /** * The UUID of the user who owns the contact */ - userId?: string | undefined; - fieldMappings: UnifiedCrmContactInputFieldMappings; + userId?: string | null | undefined; + /** + * The custom field mappings of the contact between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedCrmContactInputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmContactInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmContactInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmContactInputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmContactInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmContactInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmContactInputFieldMappings$ { - /** @deprecated use `UnifiedCrmContactInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmContactInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmContactInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmContactInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmContactInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmContactInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedCrmContactInput$inboundSchema: z.ZodType< UnifiedCrmContactInput, @@ -80,13 +51,13 @@ export const UnifiedCrmContactInput$inboundSchema: z.ZodType< unknown > = z .object({ - first_name: z.string(), - last_name: z.string(), - email_addresses: z.array(Email$inboundSchema).optional(), - phone_numbers: z.array(Phone$inboundSchema).optional(), - addresses: z.array(Address$inboundSchema).optional(), - user_id: z.string().optional(), - field_mappings: z.lazy(() => UnifiedCrmContactInputFieldMappings$inboundSchema), + first_name: z.nullable(z.string()), + last_name: z.nullable(z.string()), + email_addresses: z.nullable(z.array(Email$inboundSchema)).optional(), + phone_numbers: z.nullable(z.array(Phone$inboundSchema)).optional(), + addresses: z.nullable(z.array(Address$inboundSchema)).optional(), + user_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -101,13 +72,13 @@ export const UnifiedCrmContactInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmContactInput$Outbound = { - first_name: string; - last_name: string; - email_addresses?: Array | undefined; - phone_numbers?: Array | undefined; - addresses?: Array | undefined; - user_id?: string | undefined; - field_mappings: UnifiedCrmContactInputFieldMappings$Outbound; + first_name: string | null; + last_name: string | null; + email_addresses?: Array | null | undefined; + phone_numbers?: Array | null | undefined; + addresses?: Array | null | undefined; + user_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -117,13 +88,13 @@ export const UnifiedCrmContactInput$outboundSchema: z.ZodType< UnifiedCrmContactInput > = z .object({ - firstName: z.string(), - lastName: z.string(), - emailAddresses: z.array(Email$outboundSchema).optional(), - phoneNumbers: z.array(Phone$outboundSchema).optional(), - addresses: z.array(Address$outboundSchema).optional(), - userId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedCrmContactInputFieldMappings$outboundSchema), + firstName: z.nullable(z.string()), + lastName: z.nullable(z.string()), + emailAddresses: z.nullable(z.array(Email$outboundSchema)).optional(), + phoneNumbers: z.nullable(z.array(Phone$outboundSchema)).optional(), + addresses: z.nullable(z.array(Address$outboundSchema)).optional(), + userId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmcontactoutput.ts b/src/models/components/unifiedcrmcontactoutput.ts index 8c9487c6..402e6b3c 100644 --- a/src/models/components/unifiedcrmcontactoutput.ts +++ b/src/models/components/unifiedcrmcontactoutput.ts @@ -13,173 +13,57 @@ import { Email, Email$inboundSchema, Email$Outbound, Email$outboundSchema } from import { Phone, Phone$inboundSchema, Phone$Outbound, Phone$outboundSchema } from "./phone.js"; import * as z from "zod"; -export type UnifiedCrmContactOutputFieldMappings = {}; - -export type UnifiedCrmContactOutputRemoteData = {}; - -export type UnifiedCrmContactOutputCreatedAt = {}; - -export type UnifiedCrmContactOutputModifiedAt = {}; - export type UnifiedCrmContactOutput = { /** * The first name of the contact */ - firstName: string; + firstName: string | null; /** * The last name of the contact */ - lastName: string; + lastName: string | null; /** * The email addresses of the contact */ - emailAddresses?: Array | undefined; + emailAddresses?: Array | null | undefined; /** * The phone numbers of the contact */ - phoneNumbers?: Array | undefined; + phoneNumbers?: Array | null | undefined; /** * The addresses of the contact */ - addresses?: Array
| undefined; + addresses?: Array
| null | undefined; /** * The UUID of the user who owns the contact */ - userId?: string | undefined; - fieldMappings: UnifiedCrmContactOutputFieldMappings; + userId?: string | null | undefined; + /** + * The custom field mappings of the contact between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the contact */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the contact in the context of the Crm 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedCrmContactOutputRemoteData; - createdAt: UnifiedCrmContactOutputCreatedAt; - modifiedAt: UnifiedCrmContactOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the contact in the context of the Crm 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedCrmContactOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmContactOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmContactOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmContactOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmContactOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmContactOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmContactOutputFieldMappings$ { - /** @deprecated use `UnifiedCrmContactOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmContactOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmContactOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmContactOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmContactOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmContactOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedCrmContactOutputRemoteData$inboundSchema: z.ZodType< - UnifiedCrmContactOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmContactOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedCrmContactOutputRemoteData$outboundSchema: z.ZodType< - UnifiedCrmContactOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedCrmContactOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmContactOutputRemoteData$ { - /** @deprecated use `UnifiedCrmContactOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmContactOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedCrmContactOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmContactOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedCrmContactOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedCrmContactOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedCrmContactOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedCrmContactOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmContactOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedCrmContactOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedCrmContactOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedCrmContactOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmContactOutputCreatedAt$ { - /** @deprecated use `UnifiedCrmContactOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmContactOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedCrmContactOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmContactOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedCrmContactOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedCrmContactOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedCrmContactOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedCrmContactOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmContactOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedCrmContactOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedCrmContactOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedCrmContactOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmContactOutputModifiedAt$ { - /** @deprecated use `UnifiedCrmContactOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmContactOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedCrmContactOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmContactOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedCrmContactOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedCrmContactOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedCrmContactOutput$inboundSchema: z.ZodType< UnifiedCrmContactOutput, @@ -187,18 +71,32 @@ export const UnifiedCrmContactOutput$inboundSchema: z.ZodType< unknown > = z .object({ - first_name: z.string(), - last_name: z.string(), - email_addresses: z.array(Email$inboundSchema).optional(), - phone_numbers: z.array(Phone$inboundSchema).optional(), - addresses: z.array(Address$inboundSchema).optional(), - user_id: z.string().optional(), - field_mappings: z.lazy(() => UnifiedCrmContactOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedCrmContactOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedCrmContactOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedCrmContactOutputModifiedAt$inboundSchema), + first_name: z.nullable(z.string()), + last_name: z.nullable(z.string()), + email_addresses: z.nullable(z.array(Email$inboundSchema)).optional(), + phone_numbers: z.nullable(z.array(Phone$inboundSchema)).optional(), + addresses: z.nullable(z.array(Address$inboundSchema)).optional(), + user_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -217,18 +115,18 @@ export const UnifiedCrmContactOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmContactOutput$Outbound = { - first_name: string; - last_name: string; - email_addresses?: Array | undefined; - phone_numbers?: Array | undefined; - addresses?: Array | undefined; - user_id?: string | undefined; - field_mappings: UnifiedCrmContactOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedCrmContactOutputRemoteData$Outbound; - created_at: UnifiedCrmContactOutputCreatedAt$Outbound; - modified_at: UnifiedCrmContactOutputModifiedAt$Outbound; + first_name: string | null; + last_name: string | null; + email_addresses?: Array | null | undefined; + phone_numbers?: Array | null | undefined; + addresses?: Array | null | undefined; + user_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -238,18 +136,18 @@ export const UnifiedCrmContactOutput$outboundSchema: z.ZodType< UnifiedCrmContactOutput > = z .object({ - firstName: z.string(), - lastName: z.string(), - emailAddresses: z.array(Email$outboundSchema).optional(), - phoneNumbers: z.array(Phone$outboundSchema).optional(), - addresses: z.array(Address$outboundSchema).optional(), - userId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedCrmContactOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedCrmContactOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedCrmContactOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedCrmContactOutputModifiedAt$outboundSchema), + firstName: z.nullable(z.string()), + lastName: z.nullable(z.string()), + emailAddresses: z.nullable(z.array(Email$outboundSchema)).optional(), + phoneNumbers: z.nullable(z.array(Phone$outboundSchema)).optional(), + addresses: z.nullable(z.array(Address$outboundSchema)).optional(), + userId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmdealinput.ts b/src/models/components/unifiedcrmdealinput.ts index 7fd89f0a..9a9c3b0a 100644 --- a/src/models/components/unifiedcrmdealinput.ts +++ b/src/models/components/unifiedcrmdealinput.ts @@ -5,66 +5,37 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedCrmDealInputFieldMappings = {}; - export type UnifiedCrmDealInput = { /** * The name of the deal */ - name: string; + name: string | null; /** * The description of the deal */ - description: string; + description: string | null; /** * The amount of the deal */ - amount: number; + amount: number | null; /** * The UUID of the user who is on the deal */ - userId?: string | undefined; + userId?: string | null | undefined; /** * The UUID of the stage of the deal */ - stageId?: string | undefined; + stageId?: string | null | undefined; /** * The UUID of the company tied to the deal */ - companyId?: string | undefined; - fieldMappings: UnifiedCrmDealInputFieldMappings; + companyId?: string | null | undefined; + /** + * The custom field mappings of the company between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedCrmDealInputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmDealInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmDealInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmDealInputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmDealInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmDealInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmDealInputFieldMappings$ { - /** @deprecated use `UnifiedCrmDealInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmDealInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmDealInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmDealInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmDealInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmDealInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedCrmDealInput$inboundSchema: z.ZodType< UnifiedCrmDealInput, @@ -72,13 +43,13 @@ export const UnifiedCrmDealInput$inboundSchema: z.ZodType< unknown > = 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(() => UnifiedCrmDealInputFieldMappings$inboundSchema), + name: z.nullable(z.string()), + description: z.nullable(z.string()), + amount: z.nullable(z.number()), + user_id: z.nullable(z.string()).optional(), + stage_id: z.nullable(z.string()).optional(), + company_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -91,13 +62,13 @@ export const UnifiedCrmDealInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmDealInput$Outbound = { - name: string; - description: string; - amount: number; - user_id?: string | undefined; - stage_id?: string | undefined; - company_id?: string | undefined; - field_mappings: UnifiedCrmDealInputFieldMappings$Outbound; + name: string | null; + description: string | null; + amount: number | null; + user_id?: string | null | undefined; + stage_id?: string | null | undefined; + company_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -107,13 +78,13 @@ export const UnifiedCrmDealInput$outboundSchema: z.ZodType< UnifiedCrmDealInput > = 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(() => UnifiedCrmDealInputFieldMappings$outboundSchema), + name: z.nullable(z.string()), + description: z.nullable(z.string()), + amount: z.nullable(z.number()), + userId: z.nullable(z.string()).optional(), + stageId: z.nullable(z.string()).optional(), + companyId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmdealoutput.ts b/src/models/components/unifiedcrmdealoutput.ts index e525480a..3c80d2e8 100644 --- a/src/models/components/unifiedcrmdealoutput.ts +++ b/src/models/components/unifiedcrmdealoutput.ts @@ -5,173 +5,57 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedCrmDealOutputFieldMappings = {}; - -export type UnifiedCrmDealOutputRemoteData = {}; - -export type UnifiedCrmDealOutputCreatedAt = {}; - -export type UnifiedCrmDealOutputModifiedAt = {}; - export type UnifiedCrmDealOutput = { /** * The name of the deal */ - name: string; + name: string | null; /** * The description of the deal */ - description: string; + description: string | null; /** * The amount of the deal */ - amount: number; + amount: number | null; /** * The UUID of the user who is on the deal */ - userId?: string | undefined; + userId?: string | null | undefined; /** * The UUID of the stage of the deal */ - stageId?: string | undefined; + stageId?: string | null | undefined; /** * The UUID of the company tied to the deal */ - companyId?: string | undefined; - fieldMappings: UnifiedCrmDealOutputFieldMappings; + companyId?: string | null | undefined; + /** + * The custom field mappings of the company between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the deal */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the deal in the context of the Crm 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedCrmDealOutputRemoteData; - createdAt: UnifiedCrmDealOutputCreatedAt; - modifiedAt: UnifiedCrmDealOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the deal in the context of the Crm 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedCrmDealOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmDealOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmDealOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmDealOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmDealOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmDealOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmDealOutputFieldMappings$ { - /** @deprecated use `UnifiedCrmDealOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmDealOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmDealOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmDealOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmDealOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmDealOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedCrmDealOutputRemoteData$inboundSchema: z.ZodType< - UnifiedCrmDealOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmDealOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedCrmDealOutputRemoteData$outboundSchema: z.ZodType< - UnifiedCrmDealOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedCrmDealOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmDealOutputRemoteData$ { - /** @deprecated use `UnifiedCrmDealOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmDealOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedCrmDealOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmDealOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedCrmDealOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedCrmDealOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedCrmDealOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedCrmDealOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmDealOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedCrmDealOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedCrmDealOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedCrmDealOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmDealOutputCreatedAt$ { - /** @deprecated use `UnifiedCrmDealOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmDealOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedCrmDealOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmDealOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedCrmDealOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedCrmDealOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedCrmDealOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedCrmDealOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmDealOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedCrmDealOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedCrmDealOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedCrmDealOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmDealOutputModifiedAt$ { - /** @deprecated use `UnifiedCrmDealOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmDealOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedCrmDealOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmDealOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedCrmDealOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedCrmDealOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedCrmDealOutput$inboundSchema: z.ZodType< UnifiedCrmDealOutput, @@ -179,18 +63,32 @@ export const UnifiedCrmDealOutput$inboundSchema: z.ZodType< unknown > = 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(() => UnifiedCrmDealOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedCrmDealOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedCrmDealOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedCrmDealOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()), + description: z.nullable(z.string()), + amount: z.nullable(z.number()), + user_id: z.nullable(z.string()).optional(), + stage_id: z.nullable(z.string()).optional(), + company_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -207,18 +105,18 @@ export const UnifiedCrmDealOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmDealOutput$Outbound = { - name: string; - description: string; - amount: number; - user_id?: string | undefined; - stage_id?: string | undefined; - company_id?: string | undefined; - field_mappings: UnifiedCrmDealOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedCrmDealOutputRemoteData$Outbound; - created_at: UnifiedCrmDealOutputCreatedAt$Outbound; - modified_at: UnifiedCrmDealOutputModifiedAt$Outbound; + name: string | null; + description: string | null; + amount: number | null; + user_id?: string | null | undefined; + stage_id?: string | null | undefined; + company_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -228,18 +126,18 @@ export const UnifiedCrmDealOutput$outboundSchema: z.ZodType< UnifiedCrmDealOutput > = 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(() => UnifiedCrmDealOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedCrmDealOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedCrmDealOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedCrmDealOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()), + description: z.nullable(z.string()), + amount: z.nullable(z.number()), + userId: z.nullable(z.string()).optional(), + stageId: z.nullable(z.string()).optional(), + companyId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmengagementinput.ts b/src/models/components/unifiedcrmengagementinput.ts index 25e0a2ef..50dfadd7 100644 --- a/src/models/components/unifiedcrmengagementinput.ts +++ b/src/models/components/unifiedcrmengagementinput.ts @@ -5,78 +5,49 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedCrmEngagementInputFieldMappings = {}; - export type UnifiedCrmEngagementInput = { /** * The content of the engagement */ - content?: string | undefined; + content?: string | null | undefined; /** * The direction of the engagement. Authorized values are INBOUND or OUTBOUND */ - direction?: string | undefined; + direction?: string | null | undefined; /** * The subject of the engagement */ - subject?: string | undefined; + subject?: string | null | undefined; /** * The start time of the engagement */ - startAt?: Date | undefined; + startAt?: Date | null | undefined; /** * The end time of the engagement */ - endTime?: Date | undefined; + endTime?: Date | null | undefined; /** * The type of the engagement. Authorized values are EMAIL, CALL or MEETING */ - type: string; + type: string | null; /** * The UUID of the user tied to the engagement */ - userId?: string | undefined; + userId?: string | null | undefined; /** * The UUID of the company tied to the engagement */ - companyId?: string | undefined; + companyId?: string | null | undefined; /** * The UUIDs of contacts tied to the engagement object */ - contacts?: Array | undefined; - fieldMappings: UnifiedCrmEngagementInputFieldMappings; + contacts?: Array | null | undefined; + /** + * The custom field mappings of the engagement between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedCrmEngagementInputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmEngagementInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmEngagementInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmEngagementInputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmEngagementInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmEngagementInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmEngagementInputFieldMappings$ { - /** @deprecated use `UnifiedCrmEngagementInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmEngagementInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmEngagementInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmEngagementInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmEngagementInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmEngagementInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedCrmEngagementInput$inboundSchema: z.ZodType< UnifiedCrmEngagementInput, @@ -84,24 +55,30 @@ export const UnifiedCrmEngagementInput$inboundSchema: z.ZodType< unknown > = z .object({ - content: z.string().optional(), - direction: z.string().optional(), - subject: z.string().optional(), + content: z.nullable(z.string()).optional(), + direction: z.nullable(z.string()).optional(), + subject: z.nullable(z.string()).optional(), start_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), end_time: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + 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(() => UnifiedCrmEngagementInputFieldMappings$inboundSchema), + type: z.nullable(z.string()), + user_id: z.nullable(z.string()).optional(), + company_id: z.nullable(z.string()).optional(), + contacts: z.nullable(z.array(z.string())).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -115,16 +92,16 @@ export const UnifiedCrmEngagementInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmEngagementInput$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: UnifiedCrmEngagementInputFieldMappings$Outbound; + content?: string | null | undefined; + direction?: string | null | undefined; + subject?: string | null | undefined; + start_at?: string | null | undefined; + end_time?: string | null | undefined; + type: string | null; + user_id?: string | null | undefined; + company_id?: string | null | undefined; + contacts?: Array | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -134,22 +111,16 @@ export const UnifiedCrmEngagementInput$outboundSchema: z.ZodType< UnifiedCrmEngagementInput > = 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(() => UnifiedCrmEngagementInputFieldMappings$outboundSchema), + content: z.nullable(z.string()).optional(), + direction: z.nullable(z.string()).optional(), + subject: z.nullable(z.string()).optional(), + startAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + endTime: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + type: z.nullable(z.string()), + userId: z.nullable(z.string()).optional(), + companyId: z.nullable(z.string()).optional(), + contacts: z.nullable(z.array(z.string())).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmengagementoutput.ts b/src/models/components/unifiedcrmengagementoutput.ts index 07b8a449..ebf1d711 100644 --- a/src/models/components/unifiedcrmengagementoutput.ts +++ b/src/models/components/unifiedcrmengagementoutput.ts @@ -5,185 +5,69 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedCrmEngagementOutputFieldMappings = {}; - -export type UnifiedCrmEngagementOutputRemoteData = {}; - -export type UnifiedCrmEngagementOutputCreatedAt = {}; - -export type UnifiedCrmEngagementOutputModifiedAt = {}; - export type UnifiedCrmEngagementOutput = { /** * The content of the engagement */ - content?: string | undefined; + content?: string | null | undefined; /** * The direction of the engagement. Authorized values are INBOUND or OUTBOUND */ - direction?: string | undefined; + direction?: string | null | undefined; /** * The subject of the engagement */ - subject?: string | undefined; + subject?: string | null | undefined; /** * The start time of the engagement */ - startAt?: Date | undefined; + startAt?: Date | null | undefined; /** * The end time of the engagement */ - endTime?: Date | undefined; + endTime?: Date | null | undefined; /** * The type of the engagement. Authorized values are EMAIL, CALL or MEETING */ - type: string; + type: string | null; /** * The UUID of the user tied to the engagement */ - userId?: string | undefined; + userId?: string | null | undefined; /** * The UUID of the company tied to the engagement */ - companyId?: string | undefined; + companyId?: string | null | undefined; /** * The UUIDs of contacts tied to the engagement object */ - contacts?: Array | undefined; - fieldMappings: UnifiedCrmEngagementOutputFieldMappings; + contacts?: Array | null | undefined; + /** + * The custom field mappings of the engagement between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the engagement */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the engagement in the context of the Crm 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedCrmEngagementOutputRemoteData; - createdAt: UnifiedCrmEngagementOutputCreatedAt; - modifiedAt: UnifiedCrmEngagementOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the engagement in the context of the Crm 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedCrmEngagementOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmEngagementOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmEngagementOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmEngagementOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmEngagementOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmEngagementOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmEngagementOutputFieldMappings$ { - /** @deprecated use `UnifiedCrmEngagementOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmEngagementOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmEngagementOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmEngagementOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmEngagementOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmEngagementOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedCrmEngagementOutputRemoteData$inboundSchema: z.ZodType< - UnifiedCrmEngagementOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmEngagementOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedCrmEngagementOutputRemoteData$outboundSchema: z.ZodType< - UnifiedCrmEngagementOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedCrmEngagementOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmEngagementOutputRemoteData$ { - /** @deprecated use `UnifiedCrmEngagementOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmEngagementOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedCrmEngagementOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmEngagementOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedCrmEngagementOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedCrmEngagementOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedCrmEngagementOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedCrmEngagementOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmEngagementOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedCrmEngagementOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedCrmEngagementOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedCrmEngagementOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmEngagementOutputCreatedAt$ { - /** @deprecated use `UnifiedCrmEngagementOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmEngagementOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedCrmEngagementOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmEngagementOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedCrmEngagementOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedCrmEngagementOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedCrmEngagementOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedCrmEngagementOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmEngagementOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedCrmEngagementOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedCrmEngagementOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedCrmEngagementOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmEngagementOutputModifiedAt$ { - /** @deprecated use `UnifiedCrmEngagementOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmEngagementOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedCrmEngagementOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmEngagementOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedCrmEngagementOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedCrmEngagementOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedCrmEngagementOutput$inboundSchema: z.ZodType< UnifiedCrmEngagementOutput, @@ -191,29 +75,49 @@ export const UnifiedCrmEngagementOutput$inboundSchema: z.ZodType< unknown > = z .object({ - content: z.string().optional(), - direction: z.string().optional(), - subject: z.string().optional(), + content: z.nullable(z.string()).optional(), + direction: z.nullable(z.string()).optional(), + subject: z.nullable(z.string()).optional(), start_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), end_time: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + type: z.nullable(z.string()), + user_id: z.nullable(z.string()).optional(), + company_id: z.nullable(z.string()).optional(), + contacts: z.nullable(z.array(z.string())).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + 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(() => UnifiedCrmEngagementOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedCrmEngagementOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedCrmEngagementOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedCrmEngagementOutputModifiedAt$inboundSchema), }) .transform((v) => { return remap$(v, { @@ -231,21 +135,21 @@ export const UnifiedCrmEngagementOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmEngagementOutput$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: UnifiedCrmEngagementOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedCrmEngagementOutputRemoteData$Outbound; - created_at: UnifiedCrmEngagementOutputCreatedAt$Outbound; - modified_at: UnifiedCrmEngagementOutputModifiedAt$Outbound; + content?: string | null | undefined; + direction?: string | null | undefined; + subject?: string | null | undefined; + start_at?: string | null | undefined; + end_time?: string | null | undefined; + type: string | null; + user_id?: string | null | undefined; + company_id?: string | null | undefined; + contacts?: Array | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -255,27 +159,21 @@ export const UnifiedCrmEngagementOutput$outboundSchema: z.ZodType< UnifiedCrmEngagementOutput > = 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(() => UnifiedCrmEngagementOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedCrmEngagementOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedCrmEngagementOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedCrmEngagementOutputModifiedAt$outboundSchema), + content: z.nullable(z.string()).optional(), + direction: z.nullable(z.string()).optional(), + subject: z.nullable(z.string()).optional(), + startAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + endTime: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + type: z.nullable(z.string()), + userId: z.nullable(z.string()).optional(), + companyId: z.nullable(z.string()).optional(), + contacts: z.nullable(z.array(z.string())).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmnoteinput.ts b/src/models/components/unifiedcrmnoteinput.ts index 35025d33..8bc55cc2 100644 --- a/src/models/components/unifiedcrmnoteinput.ts +++ b/src/models/components/unifiedcrmnoteinput.ts @@ -5,62 +5,33 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedCrmNoteInputFieldMappings = {}; - export type UnifiedCrmNoteInput = { /** * The content of the note */ - content: string; + content: string | null; /** * The UUID of the user tied the note */ - userId?: string | undefined; + userId?: string | null | undefined; /** * The UUID of the company tied to the note */ - companyId?: string | undefined; + companyId?: string | null | undefined; /** * The UUID fo the contact tied to the note */ - contactId?: string | undefined; + contactId?: string | null | undefined; /** * The UUID of the deal tied to the note */ - dealId?: string | undefined; - fieldMappings: UnifiedCrmNoteInputFieldMappings; + dealId?: string | null | undefined; + /** + * The custom field mappings of the note between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedCrmNoteInputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmNoteInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmNoteInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmNoteInputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmNoteInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmNoteInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmNoteInputFieldMappings$ { - /** @deprecated use `UnifiedCrmNoteInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmNoteInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmNoteInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmNoteInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmNoteInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmNoteInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedCrmNoteInput$inboundSchema: z.ZodType< UnifiedCrmNoteInput, @@ -68,12 +39,12 @@ export const UnifiedCrmNoteInput$inboundSchema: z.ZodType< unknown > = 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(() => UnifiedCrmNoteInputFieldMappings$inboundSchema), + content: z.nullable(z.string()), + user_id: z.nullable(z.string()).optional(), + company_id: z.nullable(z.string()).optional(), + contact_id: z.nullable(z.string()).optional(), + deal_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -87,12 +58,12 @@ export const UnifiedCrmNoteInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmNoteInput$Outbound = { - content: string; - user_id?: string | undefined; - company_id?: string | undefined; - contact_id?: string | undefined; - deal_id?: string | undefined; - field_mappings: UnifiedCrmNoteInputFieldMappings$Outbound; + content: string | null; + user_id?: string | null | undefined; + company_id?: string | null | undefined; + contact_id?: string | null | undefined; + deal_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -102,12 +73,12 @@ export const UnifiedCrmNoteInput$outboundSchema: z.ZodType< UnifiedCrmNoteInput > = z .object({ - content: z.string(), - userId: z.string().optional(), - companyId: z.string().optional(), - contactId: z.string().optional(), - dealId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedCrmNoteInputFieldMappings$outboundSchema), + content: z.nullable(z.string()), + userId: z.nullable(z.string()).optional(), + companyId: z.nullable(z.string()).optional(), + contactId: z.nullable(z.string()).optional(), + dealId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmnoteoutput.ts b/src/models/components/unifiedcrmnoteoutput.ts index c29631ba..86f5c527 100644 --- a/src/models/components/unifiedcrmnoteoutput.ts +++ b/src/models/components/unifiedcrmnoteoutput.ts @@ -5,169 +5,53 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedCrmNoteOutputFieldMappings = {}; - -export type UnifiedCrmNoteOutputRemoteData = {}; - -export type UnifiedCrmNoteOutputCreatedAt = {}; - -export type UnifiedCrmNoteOutputModifiedAt = {}; - export type UnifiedCrmNoteOutput = { /** * The content of the note */ - content: string; + content: string | null; /** * The UUID of the user tied the note */ - userId?: string | undefined; + userId?: string | null | undefined; /** * The UUID of the company tied to the note */ - companyId?: string | undefined; + companyId?: string | null | undefined; /** * The UUID fo the contact tied to the note */ - contactId?: string | undefined; + contactId?: string | null | undefined; /** * The UUID of the deal tied to the note */ - dealId?: string | undefined; - fieldMappings: UnifiedCrmNoteOutputFieldMappings; + dealId?: string | null | undefined; + /** + * The custom field mappings of the note between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the note */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the note in the context of the Crm 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedCrmNoteOutputRemoteData; - createdAt: UnifiedCrmNoteOutputCreatedAt; - modifiedAt: UnifiedCrmNoteOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the note in the context of the Crm 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedCrmNoteOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmNoteOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmNoteOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmNoteOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmNoteOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmNoteOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmNoteOutputFieldMappings$ { - /** @deprecated use `UnifiedCrmNoteOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmNoteOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmNoteOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmNoteOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmNoteOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmNoteOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedCrmNoteOutputRemoteData$inboundSchema: z.ZodType< - UnifiedCrmNoteOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmNoteOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedCrmNoteOutputRemoteData$outboundSchema: z.ZodType< - UnifiedCrmNoteOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedCrmNoteOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmNoteOutputRemoteData$ { - /** @deprecated use `UnifiedCrmNoteOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmNoteOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedCrmNoteOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmNoteOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedCrmNoteOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedCrmNoteOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedCrmNoteOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedCrmNoteOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmNoteOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedCrmNoteOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedCrmNoteOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedCrmNoteOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmNoteOutputCreatedAt$ { - /** @deprecated use `UnifiedCrmNoteOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmNoteOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedCrmNoteOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmNoteOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedCrmNoteOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedCrmNoteOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedCrmNoteOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedCrmNoteOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmNoteOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedCrmNoteOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedCrmNoteOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedCrmNoteOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmNoteOutputModifiedAt$ { - /** @deprecated use `UnifiedCrmNoteOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmNoteOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedCrmNoteOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmNoteOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedCrmNoteOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedCrmNoteOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedCrmNoteOutput$inboundSchema: z.ZodType< UnifiedCrmNoteOutput, @@ -175,17 +59,31 @@ export const UnifiedCrmNoteOutput$inboundSchema: z.ZodType< unknown > = 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(() => UnifiedCrmNoteOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedCrmNoteOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedCrmNoteOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedCrmNoteOutputModifiedAt$inboundSchema), + content: z.nullable(z.string()), + user_id: z.nullable(z.string()).optional(), + company_id: z.nullable(z.string()).optional(), + contact_id: z.nullable(z.string()).optional(), + deal_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -203,17 +101,17 @@ export const UnifiedCrmNoteOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmNoteOutput$Outbound = { - content: string; - user_id?: string | undefined; - company_id?: string | undefined; - contact_id?: string | undefined; - deal_id?: string | undefined; - field_mappings: UnifiedCrmNoteOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedCrmNoteOutputRemoteData$Outbound; - created_at: UnifiedCrmNoteOutputCreatedAt$Outbound; - modified_at: UnifiedCrmNoteOutputModifiedAt$Outbound; + content: string | null; + user_id?: string | null | undefined; + company_id?: string | null | undefined; + contact_id?: string | null | undefined; + deal_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -223,17 +121,17 @@ export const UnifiedCrmNoteOutput$outboundSchema: z.ZodType< UnifiedCrmNoteOutput > = z .object({ - content: z.string(), - userId: z.string().optional(), - companyId: z.string().optional(), - contactId: z.string().optional(), - dealId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedCrmNoteOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedCrmNoteOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedCrmNoteOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedCrmNoteOutputModifiedAt$outboundSchema), + content: z.nullable(z.string()), + userId: z.nullable(z.string()).optional(), + companyId: z.nullable(z.string()).optional(), + contactId: z.nullable(z.string()).optional(), + dealId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmstageoutput.ts b/src/models/components/unifiedcrmstageoutput.ts index 902e74ef..d0dfb300 100644 --- a/src/models/components/unifiedcrmstageoutput.ts +++ b/src/models/components/unifiedcrmstageoutput.ts @@ -5,93 +5,47 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedCrmStageOutputFieldMappings = {}; - -export type UnifiedCrmStageOutputRemoteData = {}; - +/** + * The created date of the object + */ export type UnifiedCrmStageOutputCreatedAt = {}; +/** + * The modified date of the object + */ export type UnifiedCrmStageOutputModifiedAt = {}; export type UnifiedCrmStageOutput = { /** * The name of the stage */ - stageName: string; - fieldMappings: UnifiedCrmStageOutputFieldMappings; + stageName: string | null; + /** + * The custom field mappings of the stage between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the stage */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the stage in the context of the Crm 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedCrmStageOutputRemoteData; - createdAt: UnifiedCrmStageOutputCreatedAt; - modifiedAt: UnifiedCrmStageOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the stage in the context of the Crm 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: UnifiedCrmStageOutputCreatedAt | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: UnifiedCrmStageOutputModifiedAt | null | undefined; }; -/** @internal */ -export const UnifiedCrmStageOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmStageOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmStageOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmStageOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmStageOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmStageOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmStageOutputFieldMappings$ { - /** @deprecated use `UnifiedCrmStageOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmStageOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmStageOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmStageOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmStageOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmStageOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedCrmStageOutputRemoteData$inboundSchema: z.ZodType< - UnifiedCrmStageOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmStageOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedCrmStageOutputRemoteData$outboundSchema: z.ZodType< - UnifiedCrmStageOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedCrmStageOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmStageOutputRemoteData$ { - /** @deprecated use `UnifiedCrmStageOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmStageOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedCrmStageOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmStageOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedCrmStageOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedCrmStageOutputRemoteData$Outbound; -} - /** @internal */ export const UnifiedCrmStageOutputCreatedAt$inboundSchema: z.ZodType< UnifiedCrmStageOutputCreatedAt, @@ -159,13 +113,17 @@ export const UnifiedCrmStageOutput$inboundSchema: z.ZodType< unknown > = z .object({ - stage_name: z.string(), - field_mappings: z.lazy(() => UnifiedCrmStageOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedCrmStageOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedCrmStageOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedCrmStageOutputModifiedAt$inboundSchema), + stage_name: z.nullable(z.string()), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable(z.lazy(() => UnifiedCrmStageOutputCreatedAt$inboundSchema)) + .optional(), + modified_at: z + .nullable(z.lazy(() => UnifiedCrmStageOutputModifiedAt$inboundSchema)) + .optional(), }) .transform((v) => { return remap$(v, { @@ -180,13 +138,13 @@ export const UnifiedCrmStageOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmStageOutput$Outbound = { - stage_name: string; - field_mappings: UnifiedCrmStageOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedCrmStageOutputRemoteData$Outbound; - created_at: UnifiedCrmStageOutputCreatedAt$Outbound; - modified_at: UnifiedCrmStageOutputModifiedAt$Outbound; + stage_name: string | null; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: UnifiedCrmStageOutputCreatedAt$Outbound | null | undefined; + modified_at?: UnifiedCrmStageOutputModifiedAt$Outbound | null | undefined; }; /** @internal */ @@ -196,13 +154,17 @@ export const UnifiedCrmStageOutput$outboundSchema: z.ZodType< UnifiedCrmStageOutput > = z .object({ - stageName: z.string(), - fieldMappings: z.lazy(() => UnifiedCrmStageOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedCrmStageOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedCrmStageOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedCrmStageOutputModifiedAt$outboundSchema), + stageName: z.nullable(z.string()), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z + .nullable(z.lazy(() => UnifiedCrmStageOutputCreatedAt$outboundSchema)) + .optional(), + modifiedAt: z + .nullable(z.lazy(() => UnifiedCrmStageOutputModifiedAt$outboundSchema)) + .optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmtaskinput.ts b/src/models/components/unifiedcrmtaskinput.ts index e81d18ac..6efdaa37 100644 --- a/src/models/components/unifiedcrmtaskinput.ts +++ b/src/models/components/unifiedcrmtaskinput.ts @@ -5,74 +5,45 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedCrmTaskInputFieldMappings = {}; - export type UnifiedCrmTaskInput = { /** * The subject of the task */ - subject: string; + subject: string | null; /** * The content of the task */ - content: string; + content: string | null; /** * The status of the task. Authorized values are PENDING, COMPLETED. */ - status: string; + status: string | null; /** * The due date of the task */ - dueDate?: Date | undefined; + dueDate?: Date | null | undefined; /** * The finished date of the task */ - finishedDate?: Date | undefined; + finishedDate?: Date | null | undefined; /** * The UUID of the user tied to the task */ - userId?: string | undefined; + userId?: string | null | undefined; /** - * The UUID fo the company tied to the task + * The UUID of the company tied to the task */ - companyId?: string | undefined; + companyId?: string | null | undefined; /** * The UUID of the deal tied to the task */ - dealId?: string | undefined; - fieldMappings: UnifiedCrmTaskInputFieldMappings; + dealId?: string | null | undefined; + /** + * The custom field mappings of the task between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedCrmTaskInputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmTaskInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmTaskInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmTaskInputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmTaskInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmTaskInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmTaskInputFieldMappings$ { - /** @deprecated use `UnifiedCrmTaskInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmTaskInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmTaskInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmTaskInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmTaskInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmTaskInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedCrmTaskInput$inboundSchema: z.ZodType< UnifiedCrmTaskInput, @@ -80,23 +51,29 @@ export const UnifiedCrmTaskInput$inboundSchema: z.ZodType< unknown > = z .object({ - subject: z.string(), - content: z.string(), - status: z.string(), + subject: z.nullable(z.string()), + content: z.nullable(z.string()), + status: z.nullable(z.string()), due_date: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), finished_date: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + 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(() => UnifiedCrmTaskInputFieldMappings$inboundSchema), + user_id: z.nullable(z.string()).optional(), + company_id: z.nullable(z.string()).optional(), + deal_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -111,15 +88,15 @@ export const UnifiedCrmTaskInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmTaskInput$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: UnifiedCrmTaskInputFieldMappings$Outbound; + subject: string | null; + content: string | null; + status: string | null; + due_date?: string | null | undefined; + finished_date?: string | null | undefined; + user_id?: string | null | undefined; + company_id?: string | null | undefined; + deal_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -129,21 +106,15 @@ export const UnifiedCrmTaskInput$outboundSchema: z.ZodType< UnifiedCrmTaskInput > = 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(() => UnifiedCrmTaskInputFieldMappings$outboundSchema), + subject: z.nullable(z.string()), + content: z.nullable(z.string()), + status: z.nullable(z.string()), + dueDate: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + finishedDate: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + userId: z.nullable(z.string()).optional(), + companyId: z.nullable(z.string()).optional(), + dealId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmtaskoutput.ts b/src/models/components/unifiedcrmtaskoutput.ts index 91ae1055..f75f00eb 100644 --- a/src/models/components/unifiedcrmtaskoutput.ts +++ b/src/models/components/unifiedcrmtaskoutput.ts @@ -5,121 +5,75 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedCrmTaskOutputFieldMappings = {}; - -export type UnifiedCrmTaskOutputRemoteData = {}; - +/** + * The created date of the object + */ export type UnifiedCrmTaskOutputCreatedAt = {}; +/** + * The modified date of the object + */ export type UnifiedCrmTaskOutputModifiedAt = {}; export type UnifiedCrmTaskOutput = { /** * The subject of the task */ - subject: string; + subject: string | null; /** * The content of the task */ - content: string; + content: string | null; /** * The status of the task. Authorized values are PENDING, COMPLETED. */ - status: string; + status: string | null; /** * The due date of the task */ - dueDate?: Date | undefined; + dueDate?: Date | null | undefined; /** * The finished date of the task */ - finishedDate?: Date | undefined; + finishedDate?: Date | null | undefined; /** * The UUID of the user tied to the task */ - userId?: string | undefined; + userId?: string | null | undefined; /** - * The UUID fo the company tied to the task + * The UUID of the company tied to the task */ - companyId?: string | undefined; + companyId?: string | null | undefined; /** * The UUID of the deal tied to the task */ - dealId?: string | undefined; - fieldMappings: UnifiedCrmTaskOutputFieldMappings; + dealId?: string | null | undefined; + /** + * The custom field mappings of the task between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the task */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the task in the context of the Crm 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedCrmTaskOutputRemoteData; - createdAt: UnifiedCrmTaskOutputCreatedAt; - modifiedAt: UnifiedCrmTaskOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the task in the context of the Crm 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: UnifiedCrmTaskOutputCreatedAt | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: UnifiedCrmTaskOutputModifiedAt | null | undefined; }; -/** @internal */ -export const UnifiedCrmTaskOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmTaskOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmTaskOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmTaskOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmTaskOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmTaskOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmTaskOutputFieldMappings$ { - /** @deprecated use `UnifiedCrmTaskOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmTaskOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmTaskOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmTaskOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmTaskOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmTaskOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedCrmTaskOutputRemoteData$inboundSchema: z.ZodType< - UnifiedCrmTaskOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmTaskOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedCrmTaskOutputRemoteData$outboundSchema: z.ZodType< - UnifiedCrmTaskOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedCrmTaskOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmTaskOutputRemoteData$ { - /** @deprecated use `UnifiedCrmTaskOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmTaskOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedCrmTaskOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmTaskOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedCrmTaskOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedCrmTaskOutputRemoteData$Outbound; -} - /** @internal */ export const UnifiedCrmTaskOutputCreatedAt$inboundSchema: z.ZodType< UnifiedCrmTaskOutputCreatedAt, @@ -187,28 +141,38 @@ export const UnifiedCrmTaskOutput$inboundSchema: z.ZodType< unknown > = z .object({ - subject: z.string(), - content: z.string(), - status: z.string(), + subject: z.nullable(z.string()), + content: z.nullable(z.string()), + status: z.nullable(z.string()), due_date: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), finished_date: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + user_id: z.nullable(z.string()).optional(), + company_id: z.nullable(z.string()).optional(), + deal_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable(z.lazy(() => UnifiedCrmTaskOutputCreatedAt$inboundSchema)) + .optional(), + modified_at: z + .nullable(z.lazy(() => UnifiedCrmTaskOutputModifiedAt$inboundSchema)) .optional(), - user_id: z.string().optional(), - company_id: z.string().optional(), - deal_id: z.string().optional(), - field_mappings: z.lazy(() => UnifiedCrmTaskOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedCrmTaskOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedCrmTaskOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedCrmTaskOutputModifiedAt$inboundSchema), }) .transform((v) => { return remap$(v, { @@ -227,20 +191,20 @@ export const UnifiedCrmTaskOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmTaskOutput$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: UnifiedCrmTaskOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedCrmTaskOutputRemoteData$Outbound; - created_at: UnifiedCrmTaskOutputCreatedAt$Outbound; - modified_at: UnifiedCrmTaskOutputModifiedAt$Outbound; + subject: string | null; + content: string | null; + status: string | null; + due_date?: string | null | undefined; + finished_date?: string | null | undefined; + user_id?: string | null | undefined; + company_id?: string | null | undefined; + deal_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: UnifiedCrmTaskOutputCreatedAt$Outbound | null | undefined; + modified_at?: UnifiedCrmTaskOutputModifiedAt$Outbound | null | undefined; }; /** @internal */ @@ -250,26 +214,24 @@ export const UnifiedCrmTaskOutput$outboundSchema: z.ZodType< UnifiedCrmTaskOutput > = z .object({ - subject: z.string(), - content: z.string(), - status: z.string(), - dueDate: z - .date() - .transform((v) => v.toISOString()) + subject: z.nullable(z.string()), + content: z.nullable(z.string()), + status: z.nullable(z.string()), + dueDate: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + finishedDate: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + userId: z.nullable(z.string()).optional(), + companyId: z.nullable(z.string()).optional(), + dealId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z + .nullable(z.lazy(() => UnifiedCrmTaskOutputCreatedAt$outboundSchema)) .optional(), - finishedDate: z - .date() - .transform((v) => v.toISOString()) + modifiedAt: z + .nullable(z.lazy(() => UnifiedCrmTaskOutputModifiedAt$outboundSchema)) .optional(), - userId: z.string().optional(), - companyId: z.string().optional(), - dealId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedCrmTaskOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedCrmTaskOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedCrmTaskOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedCrmTaskOutputModifiedAt$outboundSchema), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedcrmuseroutput.ts b/src/models/components/unifiedcrmuseroutput.ts index f12bbe0a..bcd6e73f 100644 --- a/src/models/components/unifiedcrmuseroutput.ts +++ b/src/models/components/unifiedcrmuseroutput.ts @@ -5,157 +5,41 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedCrmUserOutputFieldMappings = {}; - -export type UnifiedCrmUserOutputRemoteData = {}; - -export type UnifiedCrmUserOutputCreatedAt = {}; - -export type UnifiedCrmUserOutputModifiedAt = {}; - export type UnifiedCrmUserOutput = { /** * The name of the user */ - name: string; + name: string | null; /** * The email of the user */ - email: string; - fieldMappings: UnifiedCrmUserOutputFieldMappings; + email: string | null; + /** + * The custom field mappings of the user between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the user */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the user in the context of the Crm 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedCrmUserOutputRemoteData; - createdAt: UnifiedCrmUserOutputCreatedAt; - modifiedAt: UnifiedCrmUserOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the user in the context of the Crm 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedCrmUserOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedCrmUserOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmUserOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedCrmUserOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedCrmUserOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedCrmUserOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmUserOutputFieldMappings$ { - /** @deprecated use `UnifiedCrmUserOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmUserOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedCrmUserOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmUserOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedCrmUserOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedCrmUserOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedCrmUserOutputRemoteData$inboundSchema: z.ZodType< - UnifiedCrmUserOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmUserOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedCrmUserOutputRemoteData$outboundSchema: z.ZodType< - UnifiedCrmUserOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedCrmUserOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmUserOutputRemoteData$ { - /** @deprecated use `UnifiedCrmUserOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmUserOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedCrmUserOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmUserOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedCrmUserOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedCrmUserOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedCrmUserOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedCrmUserOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmUserOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedCrmUserOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedCrmUserOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedCrmUserOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmUserOutputCreatedAt$ { - /** @deprecated use `UnifiedCrmUserOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmUserOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedCrmUserOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmUserOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedCrmUserOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedCrmUserOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedCrmUserOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedCrmUserOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedCrmUserOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedCrmUserOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedCrmUserOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedCrmUserOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedCrmUserOutputModifiedAt$ { - /** @deprecated use `UnifiedCrmUserOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedCrmUserOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedCrmUserOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedCrmUserOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedCrmUserOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedCrmUserOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedCrmUserOutput$inboundSchema: z.ZodType< UnifiedCrmUserOutput, @@ -163,14 +47,28 @@ export const UnifiedCrmUserOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - email: z.string(), - field_mappings: z.lazy(() => UnifiedCrmUserOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedCrmUserOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedCrmUserOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedCrmUserOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()), + email: z.nullable(z.string()), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -184,14 +82,14 @@ export const UnifiedCrmUserOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedCrmUserOutput$Outbound = { - name: string; - email: string; - field_mappings: UnifiedCrmUserOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedCrmUserOutputRemoteData$Outbound; - created_at: UnifiedCrmUserOutputCreatedAt$Outbound; - modified_at: UnifiedCrmUserOutputModifiedAt$Outbound; + name: string | null; + email: string | null; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -201,14 +99,14 @@ export const UnifiedCrmUserOutput$outboundSchema: z.ZodType< UnifiedCrmUserOutput > = z .object({ - name: z.string(), - email: z.string(), - fieldMappings: z.lazy(() => UnifiedCrmUserOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedCrmUserOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedCrmUserOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedCrmUserOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()), + email: z.nullable(z.string()), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedfilestoragedriveoutput.ts b/src/models/components/unifiedfilestoragedriveoutput.ts index 66702050..10ae612f 100644 --- a/src/models/components/unifiedfilestoragedriveoutput.ts +++ b/src/models/components/unifiedfilestoragedriveoutput.ts @@ -5,161 +5,45 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedFilestorageDriveOutputFieldMappings = {}; - -export type UnifiedFilestorageDriveOutputRemoteData = {}; - -export type UnifiedFilestorageDriveOutputCreatedAt = {}; - -export type UnifiedFilestorageDriveOutputModifiedAt = {}; - export type UnifiedFilestorageDriveOutput = { /** * The name of the drive */ - name: string; + name: string | null; /** * When the third party s drive was created. */ - remoteCreatedAt: string; + remoteCreatedAt: string | null; /** * The url of the drive */ - driveUrl: string; - fieldMappings: UnifiedFilestorageDriveOutputFieldMappings; + driveUrl: string | null; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the drive */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the drive in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedFilestorageDriveOutputRemoteData; - createdAt: UnifiedFilestorageDriveOutputCreatedAt; - modifiedAt: UnifiedFilestorageDriveOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the drive in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedFilestorageDriveOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedFilestorageDriveOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageDriveOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageDriveOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedFilestorageDriveOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedFilestorageDriveOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageDriveOutputFieldMappings$ { - /** @deprecated use `UnifiedFilestorageDriveOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageDriveOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedFilestorageDriveOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageDriveOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedFilestorageDriveOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedFilestorageDriveOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedFilestorageDriveOutputRemoteData$inboundSchema: z.ZodType< - UnifiedFilestorageDriveOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageDriveOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageDriveOutputRemoteData$outboundSchema: z.ZodType< - UnifiedFilestorageDriveOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedFilestorageDriveOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageDriveOutputRemoteData$ { - /** @deprecated use `UnifiedFilestorageDriveOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageDriveOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedFilestorageDriveOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageDriveOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedFilestorageDriveOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedFilestorageDriveOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedFilestorageDriveOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedFilestorageDriveOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageDriveOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageDriveOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedFilestorageDriveOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedFilestorageDriveOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageDriveOutputCreatedAt$ { - /** @deprecated use `UnifiedFilestorageDriveOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageDriveOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedFilestorageDriveOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageDriveOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedFilestorageDriveOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedFilestorageDriveOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedFilestorageDriveOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedFilestorageDriveOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageDriveOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageDriveOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedFilestorageDriveOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedFilestorageDriveOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageDriveOutputModifiedAt$ { - /** @deprecated use `UnifiedFilestorageDriveOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageDriveOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedFilestorageDriveOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageDriveOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedFilestorageDriveOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedFilestorageDriveOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedFilestorageDriveOutput$inboundSchema: z.ZodType< UnifiedFilestorageDriveOutput, @@ -167,15 +51,29 @@ export const UnifiedFilestorageDriveOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - remote_created_at: z.string(), - drive_url: z.string(), - field_mappings: z.lazy(() => UnifiedFilestorageDriveOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedFilestorageDriveOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedFilestorageDriveOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedFilestorageDriveOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()), + remote_created_at: z.nullable(z.string()), + drive_url: z.nullable(z.string()), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -191,15 +89,15 @@ export const UnifiedFilestorageDriveOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedFilestorageDriveOutput$Outbound = { - name: string; - remote_created_at: string; - drive_url: string; - field_mappings: UnifiedFilestorageDriveOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedFilestorageDriveOutputRemoteData$Outbound; - created_at: UnifiedFilestorageDriveOutputCreatedAt$Outbound; - modified_at: UnifiedFilestorageDriveOutputModifiedAt$Outbound; + name: string | null; + remote_created_at: string | null; + drive_url: string | null; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -209,15 +107,15 @@ export const UnifiedFilestorageDriveOutput$outboundSchema: z.ZodType< UnifiedFilestorageDriveOutput > = z .object({ - name: z.string(), - remoteCreatedAt: z.string(), - driveUrl: z.string(), - fieldMappings: z.lazy(() => UnifiedFilestorageDriveOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedFilestorageDriveOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedFilestorageDriveOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedFilestorageDriveOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()), + remoteCreatedAt: z.nullable(z.string()), + driveUrl: z.nullable(z.string()), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedfilestoragefileinput.ts b/src/models/components/unifiedfilestoragefileinput.ts index e7f7933b..d83fea55 100644 --- a/src/models/components/unifiedfilestoragefileinput.ts +++ b/src/models/components/unifiedfilestoragefileinput.ts @@ -5,70 +5,41 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedFilestorageFileInputFieldMappings = {}; - export type UnifiedFilestorageFileInput = { /** * The name of the file */ - name: string; + name: string | null; /** * The url of the file */ - fileUrl: string; + fileUrl: string | null; /** * The mime type of the file */ - mimeType: string; + mimeType: string | null; /** * The size of the file */ - size: string; + size: string | null; /** * The UUID of the folder tied to the file */ - folderId: string; + folderId: string | null; /** * The UUID of the permission tied to the file */ - permission: string; + permission: string | null; /** * The UUID of the shared link tied to the file */ - sharedLink: string; - fieldMappings: UnifiedFilestorageFileInputFieldMappings; + sharedLink: string | null; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedFilestorageFileInputFieldMappings$inboundSchema: z.ZodType< - UnifiedFilestorageFileInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageFileInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageFileInputFieldMappings$outboundSchema: z.ZodType< - UnifiedFilestorageFileInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedFilestorageFileInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageFileInputFieldMappings$ { - /** @deprecated use `UnifiedFilestorageFileInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageFileInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedFilestorageFileInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageFileInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedFilestorageFileInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedFilestorageFileInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedFilestorageFileInput$inboundSchema: z.ZodType< UnifiedFilestorageFileInput, @@ -76,14 +47,14 @@ export const UnifiedFilestorageFileInput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - file_url: z.string(), - mime_type: z.string(), - size: z.string(), - folder_id: z.string(), - permission: z.string(), - shared_link: z.string(), - field_mappings: z.lazy(() => UnifiedFilestorageFileInputFieldMappings$inboundSchema), + name: z.nullable(z.string()), + file_url: z.nullable(z.string()), + mime_type: z.nullable(z.string()), + size: z.nullable(z.string()), + folder_id: z.nullable(z.string()), + permission: z.nullable(z.string()), + shared_link: z.nullable(z.string()), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -97,14 +68,14 @@ export const UnifiedFilestorageFileInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedFilestorageFileInput$Outbound = { - name: string; - file_url: string; - mime_type: string; - size: string; - folder_id: string; - permission: string; - shared_link: string; - field_mappings: UnifiedFilestorageFileInputFieldMappings$Outbound; + name: string | null; + file_url: string | null; + mime_type: string | null; + size: string | null; + folder_id: string | null; + permission: string | null; + shared_link: string | null; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -114,14 +85,14 @@ export const UnifiedFilestorageFileInput$outboundSchema: z.ZodType< UnifiedFilestorageFileInput > = z .object({ - name: z.string(), - fileUrl: z.string(), - mimeType: z.string(), - size: z.string(), - folderId: z.string(), - permission: z.string(), - sharedLink: z.string(), - fieldMappings: z.lazy(() => UnifiedFilestorageFileInputFieldMappings$outboundSchema), + name: z.nullable(z.string()), + fileUrl: z.nullable(z.string()), + mimeType: z.nullable(z.string()), + size: z.nullable(z.string()), + folderId: z.nullable(z.string()), + permission: z.nullable(z.string()), + sharedLink: z.nullable(z.string()), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedfilestoragefileoutput.ts b/src/models/components/unifiedfilestoragefileoutput.ts index c1e5020d..b93fd1e6 100644 --- a/src/models/components/unifiedfilestoragefileoutput.ts +++ b/src/models/components/unifiedfilestoragefileoutput.ts @@ -5,177 +5,61 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedFilestorageFileOutputFieldMappings = {}; - -export type UnifiedFilestorageFileOutputRemoteData = {}; - -export type UnifiedFilestorageFileOutputCreatedAt = {}; - -export type UnifiedFilestorageFileOutputModifiedAt = {}; - export type UnifiedFilestorageFileOutput = { /** * The name of the file */ - name: string; + name: string | null; /** * The url of the file */ - fileUrl: string; + fileUrl: string | null; /** * The mime type of the file */ - mimeType: string; + mimeType: string | null; /** * The size of the file */ - size: string; + size: string | null; /** * The UUID of the folder tied to the file */ - folderId: string; + folderId: string | null; /** * The UUID of the permission tied to the file */ - permission: string; + permission: string | null; /** * The UUID of the shared link tied to the file */ - sharedLink: string; - fieldMappings: UnifiedFilestorageFileOutputFieldMappings; + sharedLink: string | null; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the file */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the file in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedFilestorageFileOutputRemoteData; - createdAt: UnifiedFilestorageFileOutputCreatedAt; - modifiedAt: UnifiedFilestorageFileOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the file in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedFilestorageFileOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedFilestorageFileOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageFileOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageFileOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedFilestorageFileOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedFilestorageFileOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageFileOutputFieldMappings$ { - /** @deprecated use `UnifiedFilestorageFileOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageFileOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedFilestorageFileOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageFileOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedFilestorageFileOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedFilestorageFileOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedFilestorageFileOutputRemoteData$inboundSchema: z.ZodType< - UnifiedFilestorageFileOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageFileOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageFileOutputRemoteData$outboundSchema: z.ZodType< - UnifiedFilestorageFileOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedFilestorageFileOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageFileOutputRemoteData$ { - /** @deprecated use `UnifiedFilestorageFileOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageFileOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedFilestorageFileOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageFileOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedFilestorageFileOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedFilestorageFileOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedFilestorageFileOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedFilestorageFileOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageFileOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageFileOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedFilestorageFileOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedFilestorageFileOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageFileOutputCreatedAt$ { - /** @deprecated use `UnifiedFilestorageFileOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageFileOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedFilestorageFileOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageFileOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedFilestorageFileOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedFilestorageFileOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedFilestorageFileOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedFilestorageFileOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageFileOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageFileOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedFilestorageFileOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedFilestorageFileOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageFileOutputModifiedAt$ { - /** @deprecated use `UnifiedFilestorageFileOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageFileOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedFilestorageFileOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageFileOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedFilestorageFileOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedFilestorageFileOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedFilestorageFileOutput$inboundSchema: z.ZodType< UnifiedFilestorageFileOutput, @@ -183,19 +67,33 @@ export const UnifiedFilestorageFileOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - file_url: z.string(), - mime_type: z.string(), - size: z.string(), - folder_id: z.string(), - permission: z.string(), - shared_link: z.string(), - field_mappings: z.lazy(() => UnifiedFilestorageFileOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedFilestorageFileOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedFilestorageFileOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedFilestorageFileOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()), + file_url: z.nullable(z.string()), + mime_type: z.nullable(z.string()), + size: z.nullable(z.string()), + folder_id: z.nullable(z.string()), + permission: z.nullable(z.string()), + shared_link: z.nullable(z.string()), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -213,19 +111,19 @@ export const UnifiedFilestorageFileOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedFilestorageFileOutput$Outbound = { - name: string; - file_url: string; - mime_type: string; - size: string; - folder_id: string; - permission: string; - shared_link: string; - field_mappings: UnifiedFilestorageFileOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedFilestorageFileOutputRemoteData$Outbound; - created_at: UnifiedFilestorageFileOutputCreatedAt$Outbound; - modified_at: UnifiedFilestorageFileOutputModifiedAt$Outbound; + name: string | null; + file_url: string | null; + mime_type: string | null; + size: string | null; + folder_id: string | null; + permission: string | null; + shared_link: string | null; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -235,19 +133,19 @@ export const UnifiedFilestorageFileOutput$outboundSchema: z.ZodType< UnifiedFilestorageFileOutput > = z .object({ - name: z.string(), - fileUrl: z.string(), - mimeType: z.string(), - size: z.string(), - folderId: z.string(), - permission: z.string(), - sharedLink: z.string(), - fieldMappings: z.lazy(() => UnifiedFilestorageFileOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedFilestorageFileOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedFilestorageFileOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedFilestorageFileOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()), + fileUrl: z.nullable(z.string()), + mimeType: z.nullable(z.string()), + size: z.nullable(z.string()), + folderId: z.nullable(z.string()), + permission: z.nullable(z.string()), + sharedLink: z.nullable(z.string()), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedfilestoragefolderinput.ts b/src/models/components/unifiedfilestoragefolderinput.ts index f8b685b1..5092bcf5 100644 --- a/src/models/components/unifiedfilestoragefolderinput.ts +++ b/src/models/components/unifiedfilestoragefolderinput.ts @@ -5,21 +5,19 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedFilestorageFolderInputFieldMappings = {}; - export type UnifiedFilestorageFolderInput = { /** * The name of the folder */ - name: string; + name: string | null; /** * The size of the folder */ - size: string; + size: string | null; /** * The url of the folder */ - folderUrl: string; + folderUrl: string | null; /** * The description of the folder */ @@ -27,52 +25,25 @@ export type UnifiedFilestorageFolderInput = { /** * The UUID of the drive tied to the folder */ - driveId: string; + driveId: string | null; /** * The UUID of the parent folder */ - parentFolderId: string; + parentFolderId: string | null; /** * The UUID of the shared link tied to the folder */ - sharedLink: string; + sharedLink: string | null; /** * The UUID of the permission tied to the folder */ - permission: string; - fieldMappings: UnifiedFilestorageFolderInputFieldMappings; + permission: string | null; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedFilestorageFolderInputFieldMappings$inboundSchema: z.ZodType< - UnifiedFilestorageFolderInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageFolderInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageFolderInputFieldMappings$outboundSchema: z.ZodType< - UnifiedFilestorageFolderInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedFilestorageFolderInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageFolderInputFieldMappings$ { - /** @deprecated use `UnifiedFilestorageFolderInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageFolderInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedFilestorageFolderInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageFolderInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedFilestorageFolderInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedFilestorageFolderInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedFilestorageFolderInput$inboundSchema: z.ZodType< UnifiedFilestorageFolderInput, @@ -80,15 +51,15 @@ export const UnifiedFilestorageFolderInput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - size: z.string(), - folder_url: z.string(), + name: z.nullable(z.string()), + size: z.nullable(z.string()), + folder_url: z.nullable(z.string()), description: z.string(), - drive_id: z.string(), - parent_folder_id: z.string(), - shared_link: z.string(), - permission: z.string(), - field_mappings: z.lazy(() => UnifiedFilestorageFolderInputFieldMappings$inboundSchema), + drive_id: z.nullable(z.string()), + parent_folder_id: z.nullable(z.string()), + shared_link: z.nullable(z.string()), + permission: z.nullable(z.string()), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -102,15 +73,15 @@ export const UnifiedFilestorageFolderInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedFilestorageFolderInput$Outbound = { - name: string; - size: string; - folder_url: string; + name: string | null; + size: string | null; + folder_url: string | null; description: string; - drive_id: string; - parent_folder_id: string; - shared_link: string; - permission: string; - field_mappings: UnifiedFilestorageFolderInputFieldMappings$Outbound; + drive_id: string | null; + parent_folder_id: string | null; + shared_link: string | null; + permission: string | null; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -120,15 +91,15 @@ export const UnifiedFilestorageFolderInput$outboundSchema: z.ZodType< UnifiedFilestorageFolderInput > = z .object({ - name: z.string(), - size: z.string(), - folderUrl: z.string(), + name: z.nullable(z.string()), + size: z.nullable(z.string()), + folderUrl: z.nullable(z.string()), description: z.string(), - driveId: z.string(), - parentFolderId: z.string(), - sharedLink: z.string(), - permission: z.string(), - fieldMappings: z.lazy(() => UnifiedFilestorageFolderInputFieldMappings$outboundSchema), + driveId: z.nullable(z.string()), + parentFolderId: z.nullable(z.string()), + sharedLink: z.nullable(z.string()), + permission: z.nullable(z.string()), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedfilestoragefolderoutput.ts b/src/models/components/unifiedfilestoragefolderoutput.ts index 803c09e0..a2cea886 100644 --- a/src/models/components/unifiedfilestoragefolderoutput.ts +++ b/src/models/components/unifiedfilestoragefolderoutput.ts @@ -5,27 +5,19 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedFilestorageFolderOutputFieldMappings = {}; - -export type UnifiedFilestorageFolderOutputRemoteData = {}; - -export type UnifiedFilestorageFolderOutputCreatedAt = {}; - -export type UnifiedFilestorageFolderOutputModifiedAt = {}; - export type UnifiedFilestorageFolderOutput = { /** * The name of the folder */ - name: string; + name: string | null; /** * The size of the folder */ - size: string; + size: string | null; /** * The url of the folder */ - folderUrl: string; + folderUrl: string | null; /** * The description of the folder */ @@ -33,153 +25,45 @@ export type UnifiedFilestorageFolderOutput = { /** * The UUID of the drive tied to the folder */ - driveId: string; + driveId: string | null; /** * The UUID of the parent folder */ - parentFolderId: string; + parentFolderId: string | null; /** * The UUID of the shared link tied to the folder */ - sharedLink: string; + sharedLink: string | null; /** * The UUID of the permission tied to the folder */ - permission: string; - fieldMappings: UnifiedFilestorageFolderOutputFieldMappings; + permission: string | null; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the folder */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the folder in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedFilestorageFolderOutputRemoteData; - createdAt: UnifiedFilestorageFolderOutputCreatedAt; - modifiedAt: UnifiedFilestorageFolderOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the folder in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedFilestorageFolderOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedFilestorageFolderOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageFolderOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageFolderOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedFilestorageFolderOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedFilestorageFolderOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageFolderOutputFieldMappings$ { - /** @deprecated use `UnifiedFilestorageFolderOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageFolderOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedFilestorageFolderOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageFolderOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedFilestorageFolderOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedFilestorageFolderOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedFilestorageFolderOutputRemoteData$inboundSchema: z.ZodType< - UnifiedFilestorageFolderOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageFolderOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageFolderOutputRemoteData$outboundSchema: z.ZodType< - UnifiedFilestorageFolderOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedFilestorageFolderOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageFolderOutputRemoteData$ { - /** @deprecated use `UnifiedFilestorageFolderOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageFolderOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedFilestorageFolderOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageFolderOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedFilestorageFolderOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedFilestorageFolderOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedFilestorageFolderOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedFilestorageFolderOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageFolderOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageFolderOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedFilestorageFolderOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedFilestorageFolderOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageFolderOutputCreatedAt$ { - /** @deprecated use `UnifiedFilestorageFolderOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageFolderOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedFilestorageFolderOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageFolderOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedFilestorageFolderOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedFilestorageFolderOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedFilestorageFolderOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedFilestorageFolderOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageFolderOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageFolderOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedFilestorageFolderOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedFilestorageFolderOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageFolderOutputModifiedAt$ { - /** @deprecated use `UnifiedFilestorageFolderOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageFolderOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedFilestorageFolderOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageFolderOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedFilestorageFolderOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedFilestorageFolderOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedFilestorageFolderOutput$inboundSchema: z.ZodType< UnifiedFilestorageFolderOutput, @@ -187,20 +71,34 @@ export const UnifiedFilestorageFolderOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - size: z.string(), - folder_url: z.string(), + name: z.nullable(z.string()), + size: z.nullable(z.string()), + folder_url: z.nullable(z.string()), description: z.string(), - drive_id: z.string(), - parent_folder_id: z.string(), - shared_link: z.string(), - permission: z.string(), - field_mappings: z.lazy(() => UnifiedFilestorageFolderOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedFilestorageFolderOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedFilestorageFolderOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedFilestorageFolderOutputModifiedAt$inboundSchema), + drive_id: z.nullable(z.string()), + parent_folder_id: z.nullable(z.string()), + shared_link: z.nullable(z.string()), + permission: z.nullable(z.string()), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -218,20 +116,20 @@ export const UnifiedFilestorageFolderOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedFilestorageFolderOutput$Outbound = { - name: string; - size: string; - folder_url: string; + name: string | null; + size: string | null; + folder_url: string | null; description: string; - drive_id: string; - parent_folder_id: string; - shared_link: string; - permission: string; - field_mappings: UnifiedFilestorageFolderOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedFilestorageFolderOutputRemoteData$Outbound; - created_at: UnifiedFilestorageFolderOutputCreatedAt$Outbound; - modified_at: UnifiedFilestorageFolderOutputModifiedAt$Outbound; + drive_id: string | null; + parent_folder_id: string | null; + shared_link: string | null; + permission: string | null; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -241,20 +139,20 @@ export const UnifiedFilestorageFolderOutput$outboundSchema: z.ZodType< UnifiedFilestorageFolderOutput > = z .object({ - name: z.string(), - size: z.string(), - folderUrl: z.string(), + name: z.nullable(z.string()), + size: z.nullable(z.string()), + folderUrl: z.nullable(z.string()), description: z.string(), - driveId: z.string(), - parentFolderId: z.string(), - sharedLink: z.string(), - permission: z.string(), - fieldMappings: z.lazy(() => UnifiedFilestorageFolderOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedFilestorageFolderOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedFilestorageFolderOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedFilestorageFolderOutputModifiedAt$outboundSchema), + driveId: z.nullable(z.string()), + parentFolderId: z.nullable(z.string()), + sharedLink: z.nullable(z.string()), + permission: z.nullable(z.string()), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedfilestoragegroupoutput.ts b/src/models/components/unifiedfilestoragegroupoutput.ts index 5f2cab0a..d75fc24e 100644 --- a/src/models/components/unifiedfilestoragegroupoutput.ts +++ b/src/models/components/unifiedfilestoragegroupoutput.ts @@ -5,19 +5,11 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedFilestorageGroupOutputFieldMappings = {}; - -export type UnifiedFilestorageGroupOutputRemoteData = {}; - -export type UnifiedFilestorageGroupOutputCreatedAt = {}; - -export type UnifiedFilestorageGroupOutputModifiedAt = {}; - export type UnifiedFilestorageGroupOutput = { /** * The name of the group */ - name: string; + name: string | null; /** * Uuids of users of the group */ @@ -25,141 +17,33 @@ export type UnifiedFilestorageGroupOutput = { /** * Indicates whether or not this object has been deleted in the third party platform. */ - remoteWasDeleted: boolean; - fieldMappings: UnifiedFilestorageGroupOutputFieldMappings; + remoteWasDeleted: boolean | null; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the group */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the group in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedFilestorageGroupOutputRemoteData; - createdAt: UnifiedFilestorageGroupOutputCreatedAt; - modifiedAt: UnifiedFilestorageGroupOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the group in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedFilestorageGroupOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedFilestorageGroupOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageGroupOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageGroupOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedFilestorageGroupOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedFilestorageGroupOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageGroupOutputFieldMappings$ { - /** @deprecated use `UnifiedFilestorageGroupOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageGroupOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedFilestorageGroupOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageGroupOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedFilestorageGroupOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedFilestorageGroupOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedFilestorageGroupOutputRemoteData$inboundSchema: z.ZodType< - UnifiedFilestorageGroupOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageGroupOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageGroupOutputRemoteData$outboundSchema: z.ZodType< - UnifiedFilestorageGroupOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedFilestorageGroupOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageGroupOutputRemoteData$ { - /** @deprecated use `UnifiedFilestorageGroupOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageGroupOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedFilestorageGroupOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageGroupOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedFilestorageGroupOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedFilestorageGroupOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedFilestorageGroupOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedFilestorageGroupOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageGroupOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageGroupOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedFilestorageGroupOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedFilestorageGroupOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageGroupOutputCreatedAt$ { - /** @deprecated use `UnifiedFilestorageGroupOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageGroupOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedFilestorageGroupOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageGroupOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedFilestorageGroupOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedFilestorageGroupOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedFilestorageGroupOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedFilestorageGroupOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedFilestorageGroupOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedFilestorageGroupOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedFilestorageGroupOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedFilestorageGroupOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedFilestorageGroupOutputModifiedAt$ { - /** @deprecated use `UnifiedFilestorageGroupOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedFilestorageGroupOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedFilestorageGroupOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedFilestorageGroupOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedFilestorageGroupOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedFilestorageGroupOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedFilestorageGroupOutput$inboundSchema: z.ZodType< UnifiedFilestorageGroupOutput, @@ -167,15 +51,29 @@ export const UnifiedFilestorageGroupOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), + name: z.nullable(z.string()), users: z.array(z.string()), - remote_was_deleted: z.boolean(), - field_mappings: z.lazy(() => UnifiedFilestorageGroupOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedFilestorageGroupOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedFilestorageGroupOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedFilestorageGroupOutputModifiedAt$inboundSchema), + remote_was_deleted: z.nullable(z.boolean()), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -190,15 +88,15 @@ export const UnifiedFilestorageGroupOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedFilestorageGroupOutput$Outbound = { - name: string; + name: string | null; users: Array; - remote_was_deleted: boolean; - field_mappings: UnifiedFilestorageGroupOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedFilestorageGroupOutputRemoteData$Outbound; - created_at: UnifiedFilestorageGroupOutputCreatedAt$Outbound; - modified_at: UnifiedFilestorageGroupOutputModifiedAt$Outbound; + remote_was_deleted: boolean | null; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -208,15 +106,15 @@ export const UnifiedFilestorageGroupOutput$outboundSchema: z.ZodType< UnifiedFilestorageGroupOutput > = z .object({ - name: z.string(), + name: z.nullable(z.string()), users: z.array(z.string()), - remoteWasDeleted: z.boolean(), - fieldMappings: z.lazy(() => UnifiedFilestorageGroupOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedFilestorageGroupOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedFilestorageGroupOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedFilestorageGroupOutputModifiedAt$outboundSchema), + remoteWasDeleted: z.nullable(z.boolean()), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedticketingaccountoutput.ts b/src/models/components/unifiedticketingaccountoutput.ts index f1a67104..4b47f9d1 100644 --- a/src/models/components/unifiedticketingaccountoutput.ts +++ b/src/models/components/unifiedticketingaccountoutput.ts @@ -5,157 +5,41 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedTicketingAccountOutputFieldMappings = {}; - -export type UnifiedTicketingAccountOutputRemoteData = {}; - -export type UnifiedTicketingAccountOutputCreatedAt = {}; - -export type UnifiedTicketingAccountOutputModifiedAt = {}; - export type UnifiedTicketingAccountOutput = { /** * The name of the account */ - name: string; + name: string | null; /** * The domains of the account */ - domains?: Array | undefined; - fieldMappings: UnifiedTicketingAccountOutputFieldMappings; + domains?: Array | null | undefined; + /** + * The custom field mappings of the account between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the account */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the account in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedTicketingAccountOutputRemoteData; - createdAt: UnifiedTicketingAccountOutputCreatedAt; - modifiedAt: UnifiedTicketingAccountOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the account in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedTicketingAccountOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedTicketingAccountOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingAccountOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingAccountOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedTicketingAccountOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedTicketingAccountOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingAccountOutputFieldMappings$ { - /** @deprecated use `UnifiedTicketingAccountOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingAccountOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedTicketingAccountOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingAccountOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedTicketingAccountOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedTicketingAccountOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedTicketingAccountOutputRemoteData$inboundSchema: z.ZodType< - UnifiedTicketingAccountOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingAccountOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingAccountOutputRemoteData$outboundSchema: z.ZodType< - UnifiedTicketingAccountOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedTicketingAccountOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingAccountOutputRemoteData$ { - /** @deprecated use `UnifiedTicketingAccountOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingAccountOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedTicketingAccountOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingAccountOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedTicketingAccountOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedTicketingAccountOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedTicketingAccountOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedTicketingAccountOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingAccountOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingAccountOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedTicketingAccountOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingAccountOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingAccountOutputCreatedAt$ { - /** @deprecated use `UnifiedTicketingAccountOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingAccountOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingAccountOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingAccountOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingAccountOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingAccountOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedTicketingAccountOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedTicketingAccountOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingAccountOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingAccountOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedTicketingAccountOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingAccountOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingAccountOutputModifiedAt$ { - /** @deprecated use `UnifiedTicketingAccountOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingAccountOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingAccountOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingAccountOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingAccountOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingAccountOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedTicketingAccountOutput$inboundSchema: z.ZodType< UnifiedTicketingAccountOutput, @@ -163,14 +47,28 @@ export const UnifiedTicketingAccountOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - domains: z.array(z.string()).optional(), - field_mappings: z.lazy(() => UnifiedTicketingAccountOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedTicketingAccountOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedTicketingAccountOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedTicketingAccountOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()), + domains: z.nullable(z.array(z.string())).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -184,14 +82,14 @@ export const UnifiedTicketingAccountOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedTicketingAccountOutput$Outbound = { - name: string; - domains?: Array | undefined; - field_mappings: UnifiedTicketingAccountOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedTicketingAccountOutputRemoteData$Outbound; - created_at: UnifiedTicketingAccountOutputCreatedAt$Outbound; - modified_at: UnifiedTicketingAccountOutputModifiedAt$Outbound; + name: string | null; + domains?: Array | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -201,14 +99,14 @@ export const UnifiedTicketingAccountOutput$outboundSchema: z.ZodType< UnifiedTicketingAccountOutput > = z .object({ - name: z.string(), - domains: z.array(z.string()).optional(), - fieldMappings: z.lazy(() => UnifiedTicketingAccountOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedTicketingAccountOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedTicketingAccountOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedTicketingAccountOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()), + domains: z.nullable(z.array(z.string())).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedticketingattachmentinput.ts b/src/models/components/unifiedticketingattachmentinput.ts index 7e6d2597..d30334bd 100644 --- a/src/models/components/unifiedticketingattachmentinput.ts +++ b/src/models/components/unifiedticketingattachmentinput.ts @@ -5,62 +5,33 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedTicketingAttachmentInputFieldMappings = {}; - export type UnifiedTicketingAttachmentInput = { /** * The file name of the attachment */ - fileName: string; + fileName: string | null; /** * The file url of the attachment */ - fileUrl: string; + fileUrl: string | null; /** * The uploader's UUID of the attachment */ - uploader: string; + uploader: string | null; /** * The UUID of the ticket the attachment is tied to */ - ticketId?: string | undefined; + ticketId?: string | null | undefined; /** * The UUID of the comment the attachment is tied to */ - commentId?: string | undefined; - fieldMappings: UnifiedTicketingAttachmentInputFieldMappings; + commentId?: string | null | undefined; + /** + * The custom field mappings of the attachment between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; }; -/** @internal */ -export const UnifiedTicketingAttachmentInputFieldMappings$inboundSchema: z.ZodType< - UnifiedTicketingAttachmentInputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingAttachmentInputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingAttachmentInputFieldMappings$outboundSchema: z.ZodType< - UnifiedTicketingAttachmentInputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedTicketingAttachmentInputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingAttachmentInputFieldMappings$ { - /** @deprecated use `UnifiedTicketingAttachmentInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingAttachmentInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedTicketingAttachmentInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingAttachmentInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedTicketingAttachmentInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedTicketingAttachmentInputFieldMappings$Outbound; -} - /** @internal */ export const UnifiedTicketingAttachmentInput$inboundSchema: z.ZodType< UnifiedTicketingAttachmentInput, @@ -68,12 +39,12 @@ export const UnifiedTicketingAttachmentInput$inboundSchema: z.ZodType< unknown > = z .object({ - file_name: z.string(), - file_url: z.string(), - uploader: z.string(), - ticket_id: z.string().optional(), - comment_id: z.string().optional(), - field_mappings: z.lazy(() => UnifiedTicketingAttachmentInputFieldMappings$inboundSchema), + file_name: z.nullable(z.string()), + file_url: z.nullable(z.string()), + uploader: z.nullable(z.string()), + ticket_id: z.nullable(z.string()).optional(), + comment_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -87,12 +58,12 @@ export const UnifiedTicketingAttachmentInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedTicketingAttachmentInput$Outbound = { - file_name: string; - file_url: string; - uploader: string; - ticket_id?: string | undefined; - comment_id?: string | undefined; - field_mappings: UnifiedTicketingAttachmentInputFieldMappings$Outbound; + file_name: string | null; + file_url: string | null; + uploader: string | null; + ticket_id?: string | null | undefined; + comment_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -102,12 +73,12 @@ export const UnifiedTicketingAttachmentInput$outboundSchema: z.ZodType< UnifiedTicketingAttachmentInput > = z .object({ - fileName: z.string(), - fileUrl: z.string(), - uploader: z.string(), - ticketId: z.string().optional(), - commentId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedTicketingAttachmentInputFieldMappings$outboundSchema), + fileName: z.nullable(z.string()), + fileUrl: z.nullable(z.string()), + uploader: z.nullable(z.string()), + ticketId: z.nullable(z.string()).optional(), + commentId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedticketingattachmentoutput.ts b/src/models/components/unifiedticketingattachmentoutput.ts index b8b2f663..c269e072 100644 --- a/src/models/components/unifiedticketingattachmentoutput.ts +++ b/src/models/components/unifiedticketingattachmentoutput.ts @@ -5,169 +5,53 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedTicketingAttachmentOutputFieldMappings = {}; - -export type UnifiedTicketingAttachmentOutputRemoteData = {}; - -export type UnifiedTicketingAttachmentOutputCreatedAt = {}; - -export type UnifiedTicketingAttachmentOutputModifiedAt = {}; - export type UnifiedTicketingAttachmentOutput = { /** * The file name of the attachment */ - fileName: string; + fileName: string | null; /** * The file url of the attachment */ - fileUrl: string; + fileUrl: string | null; /** * The uploader's UUID of the attachment */ - uploader: string; + uploader: string | null; /** * The UUID of the ticket the attachment is tied to */ - ticketId?: string | undefined; + ticketId?: string | null | undefined; /** * The UUID of the comment the attachment is tied to */ - commentId?: string | undefined; - fieldMappings: UnifiedTicketingAttachmentOutputFieldMappings; + commentId?: string | null | undefined; + /** + * The custom field mappings of the attachment between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the attachment */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the attachment in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedTicketingAttachmentOutputRemoteData; - createdAt: UnifiedTicketingAttachmentOutputCreatedAt; - modifiedAt: UnifiedTicketingAttachmentOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the attachment in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedTicketingAttachmentOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedTicketingAttachmentOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingAttachmentOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingAttachmentOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedTicketingAttachmentOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedTicketingAttachmentOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingAttachmentOutputFieldMappings$ { - /** @deprecated use `UnifiedTicketingAttachmentOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingAttachmentOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedTicketingAttachmentOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingAttachmentOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedTicketingAttachmentOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedTicketingAttachmentOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedTicketingAttachmentOutputRemoteData$inboundSchema: z.ZodType< - UnifiedTicketingAttachmentOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingAttachmentOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingAttachmentOutputRemoteData$outboundSchema: z.ZodType< - UnifiedTicketingAttachmentOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedTicketingAttachmentOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingAttachmentOutputRemoteData$ { - /** @deprecated use `UnifiedTicketingAttachmentOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingAttachmentOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedTicketingAttachmentOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingAttachmentOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedTicketingAttachmentOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedTicketingAttachmentOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedTicketingAttachmentOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedTicketingAttachmentOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingAttachmentOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingAttachmentOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedTicketingAttachmentOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingAttachmentOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingAttachmentOutputCreatedAt$ { - /** @deprecated use `UnifiedTicketingAttachmentOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingAttachmentOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingAttachmentOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingAttachmentOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingAttachmentOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingAttachmentOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedTicketingAttachmentOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedTicketingAttachmentOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingAttachmentOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingAttachmentOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedTicketingAttachmentOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingAttachmentOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingAttachmentOutputModifiedAt$ { - /** @deprecated use `UnifiedTicketingAttachmentOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingAttachmentOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingAttachmentOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingAttachmentOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingAttachmentOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingAttachmentOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedTicketingAttachmentOutput$inboundSchema: z.ZodType< UnifiedTicketingAttachmentOutput, @@ -175,17 +59,31 @@ export const UnifiedTicketingAttachmentOutput$inboundSchema: z.ZodType< unknown > = z .object({ - file_name: z.string(), - file_url: z.string(), - uploader: z.string(), - ticket_id: z.string().optional(), - comment_id: z.string().optional(), - field_mappings: z.lazy(() => UnifiedTicketingAttachmentOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedTicketingAttachmentOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedTicketingAttachmentOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedTicketingAttachmentOutputModifiedAt$inboundSchema), + file_name: z.nullable(z.string()), + file_url: z.nullable(z.string()), + uploader: z.nullable(z.string()), + ticket_id: z.nullable(z.string()).optional(), + comment_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -203,17 +101,17 @@ export const UnifiedTicketingAttachmentOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedTicketingAttachmentOutput$Outbound = { - file_name: string; - file_url: string; - uploader: string; - ticket_id?: string | undefined; - comment_id?: string | undefined; - field_mappings: UnifiedTicketingAttachmentOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedTicketingAttachmentOutputRemoteData$Outbound; - created_at: UnifiedTicketingAttachmentOutputCreatedAt$Outbound; - modified_at: UnifiedTicketingAttachmentOutputModifiedAt$Outbound; + file_name: string | null; + file_url: string | null; + uploader: string | null; + ticket_id?: string | null | undefined; + comment_id?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -223,17 +121,17 @@ export const UnifiedTicketingAttachmentOutput$outboundSchema: z.ZodType< UnifiedTicketingAttachmentOutput > = z .object({ - fileName: z.string(), - fileUrl: z.string(), - uploader: z.string(), - ticketId: z.string().optional(), - commentId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedTicketingAttachmentOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedTicketingAttachmentOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedTicketingAttachmentOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedTicketingAttachmentOutputModifiedAt$outboundSchema), + fileName: z.nullable(z.string()), + fileUrl: z.nullable(z.string()), + uploader: z.nullable(z.string()), + ticketId: z.nullable(z.string()).optional(), + commentId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedticketingcollectionoutput.ts b/src/models/components/unifiedticketingcollectionoutput.ts index 829cdeeb..46eadb49 100644 --- a/src/models/components/unifiedticketingcollectionoutput.ts +++ b/src/models/components/unifiedticketingcollectionoutput.ts @@ -5,128 +5,41 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedTicketingCollectionOutputRemoteData = {}; - -export type UnifiedTicketingCollectionOutputCreatedAt = {}; - -export type UnifiedTicketingCollectionOutputModifiedAt = {}; - export type UnifiedTicketingCollectionOutput = { /** * The name of the collection */ - name: string; + name: string | null; /** * The description of the collection */ - description?: string | undefined; + description?: string | null | undefined; /** * The type of the collection. Authorized values are either PROJECT or LIST */ - collectionType?: string | undefined; + collectionType?: string | null | undefined; /** * The UUID of the collection */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the collection in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedTicketingCollectionOutputRemoteData; - createdAt: UnifiedTicketingCollectionOutputCreatedAt; - modifiedAt: UnifiedTicketingCollectionOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the collection in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedTicketingCollectionOutputRemoteData$inboundSchema: z.ZodType< - UnifiedTicketingCollectionOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingCollectionOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingCollectionOutputRemoteData$outboundSchema: z.ZodType< - UnifiedTicketingCollectionOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedTicketingCollectionOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingCollectionOutputRemoteData$ { - /** @deprecated use `UnifiedTicketingCollectionOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingCollectionOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedTicketingCollectionOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingCollectionOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedTicketingCollectionOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedTicketingCollectionOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedTicketingCollectionOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedTicketingCollectionOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingCollectionOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingCollectionOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedTicketingCollectionOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingCollectionOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingCollectionOutputCreatedAt$ { - /** @deprecated use `UnifiedTicketingCollectionOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingCollectionOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingCollectionOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingCollectionOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingCollectionOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingCollectionOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedTicketingCollectionOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedTicketingCollectionOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingCollectionOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingCollectionOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedTicketingCollectionOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingCollectionOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingCollectionOutputModifiedAt$ { - /** @deprecated use `UnifiedTicketingCollectionOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingCollectionOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingCollectionOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingCollectionOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingCollectionOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingCollectionOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedTicketingCollectionOutput$inboundSchema: z.ZodType< UnifiedTicketingCollectionOutput, @@ -134,14 +47,28 @@ export const UnifiedTicketingCollectionOutput$inboundSchema: z.ZodType< unknown > = 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(() => UnifiedTicketingCollectionOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedTicketingCollectionOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedTicketingCollectionOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()), + description: z.nullable(z.string()).optional(), + collection_type: z.nullable(z.string()).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -155,14 +82,14 @@ export const UnifiedTicketingCollectionOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedTicketingCollectionOutput$Outbound = { - name: string; - description?: string | undefined; - collection_type?: string | undefined; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedTicketingCollectionOutputRemoteData$Outbound; - created_at: UnifiedTicketingCollectionOutputCreatedAt$Outbound; - modified_at: UnifiedTicketingCollectionOutputModifiedAt$Outbound; + name: string | null; + description?: string | null | undefined; + collection_type?: string | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -172,14 +99,14 @@ export const UnifiedTicketingCollectionOutput$outboundSchema: z.ZodType< UnifiedTicketingCollectionOutput > = z .object({ - name: z.string(), - description: z.string().optional(), - collectionType: z.string().optional(), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedTicketingCollectionOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedTicketingCollectionOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedTicketingCollectionOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()), + description: z.nullable(z.string()).optional(), + collectionType: z.nullable(z.string()).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedticketingcommentinput.ts b/src/models/components/unifiedticketingcommentinput.ts index 7995f155..232638c7 100644 --- a/src/models/components/unifiedticketingcommentinput.ts +++ b/src/models/components/unifiedticketingcommentinput.ts @@ -9,35 +9,35 @@ export type UnifiedTicketingCommentInput = { /** * The body of the comment */ - body: string; + body: string | null; /** * The html body of the comment */ - htmlBody?: string | undefined; + htmlBody?: string | null | undefined; /** * The public status of the comment */ - isPrivate?: boolean | undefined; + isPrivate?: boolean | null | undefined; /** * The creator type of the comment. Authorized values are either USER or CONTACT */ - creatorType?: string | undefined; + creatorType?: string | null | undefined; /** * The UUID of the ticket the comment is tied to */ - ticketId?: string | undefined; + ticketId?: string | null | undefined; /** * The UUID of the contact which the comment belongs to (if no user_id specified) */ - contactId?: string | undefined; + contactId?: string | null | undefined; /** * The UUID of the user which the comment belongs to (if no contact_id specified) */ - userId?: string | undefined; + userId?: string | null | undefined; /** * The attachements UUIDs tied to the comment */ - attachments?: Array | undefined; + attachments?: Array | null | undefined; }; /** @internal */ @@ -47,14 +47,14 @@ export const UnifiedTicketingCommentInput$inboundSchema: z.ZodType< unknown > = 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(), + body: z.nullable(z.string()), + html_body: z.nullable(z.string()).optional(), + is_private: z.nullable(z.boolean()).optional(), + creator_type: z.nullable(z.string()).optional(), + ticket_id: z.nullable(z.string()).optional(), + contact_id: z.nullable(z.string()).optional(), + user_id: z.nullable(z.string()).optional(), + attachments: z.nullable(z.array(z.string())).optional(), }) .transform((v) => { return remap$(v, { @@ -69,14 +69,14 @@ export const UnifiedTicketingCommentInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedTicketingCommentInput$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; + body: string | null; + html_body?: string | null | undefined; + is_private?: boolean | null | undefined; + creator_type?: string | null | undefined; + ticket_id?: string | null | undefined; + contact_id?: string | null | undefined; + user_id?: string | null | undefined; + attachments?: Array | null | undefined; }; /** @internal */ @@ -86,14 +86,14 @@ export const UnifiedTicketingCommentInput$outboundSchema: z.ZodType< UnifiedTicketingCommentInput > = 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(), + body: z.nullable(z.string()), + htmlBody: z.nullable(z.string()).optional(), + isPrivate: z.nullable(z.boolean()).optional(), + creatorType: z.nullable(z.string()).optional(), + ticketId: z.nullable(z.string()).optional(), + contactId: z.nullable(z.string()).optional(), + userId: z.nullable(z.string()).optional(), + attachments: z.nullable(z.array(z.string())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedticketingcommentoutput.ts b/src/models/components/unifiedticketingcommentoutput.ts index 0e238bfa..2ea767eb 100644 --- a/src/models/components/unifiedticketingcommentoutput.ts +++ b/src/models/components/unifiedticketingcommentoutput.ts @@ -5,148 +5,61 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedTicketingCommentOutputRemoteData = {}; - -export type UnifiedTicketingCommentOutputCreatedAt = {}; - -export type UnifiedTicketingCommentOutputModifiedAt = {}; - export type UnifiedTicketingCommentOutput = { /** * The body of the comment */ - body: string; + body: string | null; /** * The html body of the comment */ - htmlBody?: string | undefined; + htmlBody?: string | null | undefined; /** * The public status of the comment */ - isPrivate?: boolean | undefined; + isPrivate?: boolean | null | undefined; /** * The creator type of the comment. Authorized values are either USER or CONTACT */ - creatorType?: string | undefined; + creatorType?: string | null | undefined; /** * The UUID of the ticket the comment is tied to */ - ticketId?: string | undefined; + ticketId?: string | null | undefined; /** * The UUID of the contact which the comment belongs to (if no user_id specified) */ - contactId?: string | undefined; + contactId?: string | null | undefined; /** * The UUID of the user which the comment belongs to (if no contact_id specified) */ - userId?: string | undefined; + userId?: string | null | undefined; /** * The attachements UUIDs tied to the comment */ - attachments?: Array | undefined; + attachments?: Array | null | undefined; /** * The UUID of the comment */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the comment in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedTicketingCommentOutputRemoteData; - createdAt: UnifiedTicketingCommentOutputCreatedAt; - modifiedAt: UnifiedTicketingCommentOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the comment in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedTicketingCommentOutputRemoteData$inboundSchema: z.ZodType< - UnifiedTicketingCommentOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingCommentOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingCommentOutputRemoteData$outboundSchema: z.ZodType< - UnifiedTicketingCommentOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedTicketingCommentOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingCommentOutputRemoteData$ { - /** @deprecated use `UnifiedTicketingCommentOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingCommentOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedTicketingCommentOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingCommentOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedTicketingCommentOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedTicketingCommentOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedTicketingCommentOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedTicketingCommentOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingCommentOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingCommentOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedTicketingCommentOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingCommentOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingCommentOutputCreatedAt$ { - /** @deprecated use `UnifiedTicketingCommentOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingCommentOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingCommentOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingCommentOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingCommentOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingCommentOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedTicketingCommentOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedTicketingCommentOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingCommentOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingCommentOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedTicketingCommentOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingCommentOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingCommentOutputModifiedAt$ { - /** @deprecated use `UnifiedTicketingCommentOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingCommentOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingCommentOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingCommentOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingCommentOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingCommentOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedTicketingCommentOutput$inboundSchema: z.ZodType< UnifiedTicketingCommentOutput, @@ -154,19 +67,33 @@ export const UnifiedTicketingCommentOutput$inboundSchema: z.ZodType< unknown > = 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(), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedTicketingCommentOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedTicketingCommentOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedTicketingCommentOutputModifiedAt$inboundSchema), + body: z.nullable(z.string()), + html_body: z.nullable(z.string()).optional(), + is_private: z.nullable(z.boolean()).optional(), + creator_type: z.nullable(z.string()).optional(), + ticket_id: z.nullable(z.string()).optional(), + contact_id: z.nullable(z.string()).optional(), + user_id: z.nullable(z.string()).optional(), + attachments: z.nullable(z.array(z.string())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -185,19 +112,19 @@ export const UnifiedTicketingCommentOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedTicketingCommentOutput$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: UnifiedTicketingCommentOutputRemoteData$Outbound; - created_at: UnifiedTicketingCommentOutputCreatedAt$Outbound; - modified_at: UnifiedTicketingCommentOutputModifiedAt$Outbound; + body: string | null; + html_body?: string | null | undefined; + is_private?: boolean | null | undefined; + creator_type?: string | null | undefined; + ticket_id?: string | null | undefined; + contact_id?: string | null | undefined; + user_id?: string | null | undefined; + attachments?: Array | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -207,19 +134,19 @@ export const UnifiedTicketingCommentOutput$outboundSchema: z.ZodType< UnifiedTicketingCommentOutput > = 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(), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedTicketingCommentOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedTicketingCommentOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedTicketingCommentOutputModifiedAt$outboundSchema), + body: z.nullable(z.string()), + htmlBody: z.nullable(z.string()).optional(), + isPrivate: z.nullable(z.boolean()).optional(), + creatorType: z.nullable(z.string()).optional(), + ticketId: z.nullable(z.string()).optional(), + contactId: z.nullable(z.string()).optional(), + userId: z.nullable(z.string()).optional(), + attachments: z.nullable(z.array(z.string())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedticketingcontactoutput.ts b/src/models/components/unifiedticketingcontactoutput.ts index efbf5f5f..435a2b99 100644 --- a/src/models/components/unifiedticketingcontactoutput.ts +++ b/src/models/components/unifiedticketingcontactoutput.ts @@ -5,32 +5,27 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedTicketingContactOutputFieldMappings = {}; - -export type UnifiedTicketingContactOutputRemoteData = {}; - -export type UnifiedTicketingContactOutputCreatedAt = {}; - -export type UnifiedTicketingContactOutputModifiedAt = {}; - export type UnifiedTicketingContactOutput = { /** * The name of the contact */ - name: string; + name: string | null; /** * The email address of the contact */ - emailAddress: string; + emailAddress: string | null; /** * The phone number of the contact */ - phoneNumber?: string | undefined; + phoneNumber?: string | null | undefined; /** * The details of the contact */ - details?: string | undefined; - fieldMappings: UnifiedTicketingContactOutputFieldMappings; + details?: string | null | undefined; + /** + * The custom field mappings of the contact between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the contact */ @@ -38,132 +33,21 @@ export type UnifiedTicketingContactOutput = { /** * The id of the contact in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedTicketingContactOutputRemoteData; - createdAt: UnifiedTicketingContactOutputCreatedAt; - modifiedAt: UnifiedTicketingContactOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the contact in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedTicketingContactOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedTicketingContactOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingContactOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingContactOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedTicketingContactOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedTicketingContactOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingContactOutputFieldMappings$ { - /** @deprecated use `UnifiedTicketingContactOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingContactOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedTicketingContactOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingContactOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedTicketingContactOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedTicketingContactOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedTicketingContactOutputRemoteData$inboundSchema: z.ZodType< - UnifiedTicketingContactOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingContactOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingContactOutputRemoteData$outboundSchema: z.ZodType< - UnifiedTicketingContactOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedTicketingContactOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingContactOutputRemoteData$ { - /** @deprecated use `UnifiedTicketingContactOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingContactOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedTicketingContactOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingContactOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedTicketingContactOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedTicketingContactOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedTicketingContactOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedTicketingContactOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingContactOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingContactOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedTicketingContactOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingContactOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingContactOutputCreatedAt$ { - /** @deprecated use `UnifiedTicketingContactOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingContactOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingContactOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingContactOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingContactOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingContactOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedTicketingContactOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedTicketingContactOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingContactOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingContactOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedTicketingContactOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingContactOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingContactOutputModifiedAt$ { - /** @deprecated use `UnifiedTicketingContactOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingContactOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingContactOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingContactOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingContactOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingContactOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedTicketingContactOutput$inboundSchema: z.ZodType< UnifiedTicketingContactOutput, @@ -171,16 +55,30 @@ export const UnifiedTicketingContactOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - email_address: z.string(), - phone_number: z.string().optional(), - details: z.string().optional(), - field_mappings: z.lazy(() => UnifiedTicketingContactOutputFieldMappings$inboundSchema), + name: z.nullable(z.string()), + email_address: z.nullable(z.string()), + phone_number: z.nullable(z.string()).optional(), + details: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedTicketingContactOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedTicketingContactOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedTicketingContactOutputModifiedAt$inboundSchema), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -196,16 +94,16 @@ export const UnifiedTicketingContactOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedTicketingContactOutput$Outbound = { - name: string; - email_address: string; - phone_number?: string | undefined; - details?: string | undefined; - field_mappings: UnifiedTicketingContactOutputFieldMappings$Outbound; + name: string | null; + email_address: string | null; + phone_number?: string | null | undefined; + details?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedTicketingContactOutputRemoteData$Outbound; - created_at: UnifiedTicketingContactOutputCreatedAt$Outbound; - modified_at: UnifiedTicketingContactOutputModifiedAt$Outbound; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -215,16 +113,16 @@ export const UnifiedTicketingContactOutput$outboundSchema: z.ZodType< UnifiedTicketingContactOutput > = z .object({ - name: z.string(), - emailAddress: z.string(), - phoneNumber: z.string().optional(), - details: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedTicketingContactOutputFieldMappings$outboundSchema), + name: z.nullable(z.string()), + emailAddress: z.nullable(z.string()), + phoneNumber: z.nullable(z.string()).optional(), + details: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedTicketingContactOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedTicketingContactOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedTicketingContactOutputModifiedAt$outboundSchema), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedticketingtagoutput.ts b/src/models/components/unifiedticketingtagoutput.ts index 8162a6be..9209100b 100644 --- a/src/models/components/unifiedticketingtagoutput.ts +++ b/src/models/components/unifiedticketingtagoutput.ts @@ -5,153 +5,37 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedTicketingTagOutputFieldMappings = {}; - -export type UnifiedTicketingTagOutputRemoteData = {}; - -export type UnifiedTicketingTagOutputCreatedAt = {}; - -export type UnifiedTicketingTagOutputModifiedAt = {}; - export type UnifiedTicketingTagOutput = { /** * The name of the tag */ - name: string; - fieldMappings: UnifiedTicketingTagOutputFieldMappings; + name: string | null; + /** + * The custom field mappings of the tag between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the tag */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the tag in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedTicketingTagOutputRemoteData; - createdAt: UnifiedTicketingTagOutputCreatedAt; - modifiedAt: UnifiedTicketingTagOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the tag in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedTicketingTagOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedTicketingTagOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingTagOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingTagOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedTicketingTagOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedTicketingTagOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingTagOutputFieldMappings$ { - /** @deprecated use `UnifiedTicketingTagOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingTagOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedTicketingTagOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingTagOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedTicketingTagOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedTicketingTagOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedTicketingTagOutputRemoteData$inboundSchema: z.ZodType< - UnifiedTicketingTagOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingTagOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingTagOutputRemoteData$outboundSchema: z.ZodType< - UnifiedTicketingTagOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedTicketingTagOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingTagOutputRemoteData$ { - /** @deprecated use `UnifiedTicketingTagOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingTagOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedTicketingTagOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingTagOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedTicketingTagOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedTicketingTagOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedTicketingTagOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedTicketingTagOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingTagOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingTagOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedTicketingTagOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingTagOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingTagOutputCreatedAt$ { - /** @deprecated use `UnifiedTicketingTagOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingTagOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingTagOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingTagOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingTagOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingTagOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedTicketingTagOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedTicketingTagOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingTagOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingTagOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedTicketingTagOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingTagOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingTagOutputModifiedAt$ { - /** @deprecated use `UnifiedTicketingTagOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingTagOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingTagOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingTagOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingTagOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingTagOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedTicketingTagOutput$inboundSchema: z.ZodType< UnifiedTicketingTagOutput, @@ -159,13 +43,27 @@ export const UnifiedTicketingTagOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - field_mappings: z.lazy(() => UnifiedTicketingTagOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedTicketingTagOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedTicketingTagOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedTicketingTagOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -179,13 +77,13 @@ export const UnifiedTicketingTagOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedTicketingTagOutput$Outbound = { - name: string; - field_mappings: UnifiedTicketingTagOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedTicketingTagOutputRemoteData$Outbound; - created_at: UnifiedTicketingTagOutputCreatedAt$Outbound; - modified_at: UnifiedTicketingTagOutputModifiedAt$Outbound; + name: string | null; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -195,13 +93,13 @@ export const UnifiedTicketingTagOutput$outboundSchema: z.ZodType< UnifiedTicketingTagOutput > = z .object({ - name: z.string(), - fieldMappings: z.lazy(() => UnifiedTicketingTagOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedTicketingTagOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedTicketingTagOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedTicketingTagOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedticketingteamoutput.ts b/src/models/components/unifiedticketingteamoutput.ts index 22174870..afdcb27e 100644 --- a/src/models/components/unifiedticketingteamoutput.ts +++ b/src/models/components/unifiedticketingteamoutput.ts @@ -5,157 +5,41 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedTicketingTeamOutputFieldMappings = {}; - -export type UnifiedTicketingTeamOutputRemoteData = {}; - -export type UnifiedTicketingTeamOutputCreatedAt = {}; - -export type UnifiedTicketingTeamOutputModifiedAt = {}; - export type UnifiedTicketingTeamOutput = { /** * The name of the team */ - name: string; + name: string | null; /** * The description of the team */ - description?: string | undefined; - fieldMappings: UnifiedTicketingTeamOutputFieldMappings; + description?: string | null | undefined; + /** + * The custom field mappings of the team between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the team */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the team in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedTicketingTeamOutputRemoteData; - createdAt: UnifiedTicketingTeamOutputCreatedAt; - modifiedAt: UnifiedTicketingTeamOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the team in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedTicketingTeamOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedTicketingTeamOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingTeamOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingTeamOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedTicketingTeamOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedTicketingTeamOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingTeamOutputFieldMappings$ { - /** @deprecated use `UnifiedTicketingTeamOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingTeamOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedTicketingTeamOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingTeamOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedTicketingTeamOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedTicketingTeamOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedTicketingTeamOutputRemoteData$inboundSchema: z.ZodType< - UnifiedTicketingTeamOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingTeamOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingTeamOutputRemoteData$outboundSchema: z.ZodType< - UnifiedTicketingTeamOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedTicketingTeamOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingTeamOutputRemoteData$ { - /** @deprecated use `UnifiedTicketingTeamOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingTeamOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedTicketingTeamOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingTeamOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedTicketingTeamOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedTicketingTeamOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedTicketingTeamOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedTicketingTeamOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingTeamOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingTeamOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedTicketingTeamOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingTeamOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingTeamOutputCreatedAt$ { - /** @deprecated use `UnifiedTicketingTeamOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingTeamOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingTeamOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingTeamOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingTeamOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingTeamOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedTicketingTeamOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedTicketingTeamOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingTeamOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingTeamOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedTicketingTeamOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingTeamOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingTeamOutputModifiedAt$ { - /** @deprecated use `UnifiedTicketingTeamOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingTeamOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingTeamOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingTeamOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingTeamOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingTeamOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedTicketingTeamOutput$inboundSchema: z.ZodType< UnifiedTicketingTeamOutput, @@ -163,14 +47,28 @@ export const UnifiedTicketingTeamOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - description: z.string().optional(), - field_mappings: z.lazy(() => UnifiedTicketingTeamOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedTicketingTeamOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedTicketingTeamOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedTicketingTeamOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()), + description: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -184,14 +82,14 @@ export const UnifiedTicketingTeamOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedTicketingTeamOutput$Outbound = { - name: string; - description?: string | undefined; - field_mappings: UnifiedTicketingTeamOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedTicketingTeamOutputRemoteData$Outbound; - created_at: UnifiedTicketingTeamOutputCreatedAt$Outbound; - modified_at: UnifiedTicketingTeamOutputModifiedAt$Outbound; + name: string | null; + description?: string | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -201,14 +99,14 @@ export const UnifiedTicketingTeamOutput$outboundSchema: z.ZodType< UnifiedTicketingTeamOutput > = z .object({ - name: z.string(), - description: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedTicketingTeamOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedTicketingTeamOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedTicketingTeamOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedTicketingTeamOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()), + description: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedticketingticketinput.ts b/src/models/components/unifiedticketingticketinput.ts index 625847da..8ee81417 100644 --- a/src/models/components/unifiedticketingticketinput.ts +++ b/src/models/components/unifiedticketingticketinput.ts @@ -3,108 +3,190 @@ */ import { remap as remap$ } from "../../lib/primitives.js"; -import { - UnifiedTicketingCommentInput, - UnifiedTicketingCommentInput$inboundSchema, - UnifiedTicketingCommentInput$Outbound, - UnifiedTicketingCommentInput$outboundSchema, -} from "./unifiedticketingcommentinput.js"; import * as z from "zod"; -export type UnifiedTicketingTicketInputFieldMappings = {}; +/** + * The comment of the ticket + */ +export type UnifiedTicketingTicketInputComment = { + /** + * The body of the comment + */ + body: string | null; + /** + * The html body of the comment + */ + htmlBody?: string | null | undefined; + /** + * The public status of the comment + */ + isPrivate?: boolean | null | undefined; + /** + * The creator type of the comment. Authorized values are either USER or CONTACT + */ + creatorType?: string | null | undefined; + /** + * The UUID of the ticket the comment is tied to + */ + ticketId?: string | null | undefined; + /** + * The UUID of the contact which the comment belongs to (if no user_id specified) + */ + contactId?: string | null | undefined; + /** + * The UUID of the user which the comment belongs to (if no contact_id specified) + */ + userId?: string | null | undefined; + /** + * The attachements UUIDs tied to the comment + */ + attachments?: Array | null | undefined; +}; export type UnifiedTicketingTicketInput = { /** * The name of the ticket */ - name: string; + name: string | null; /** * The status of the ticket. Authorized values are OPEN or CLOSED. */ - status?: string | undefined; + status?: string | null | undefined; /** * The description of the ticket */ - description: string; + description: string | null; /** * The date the ticket is due */ - dueDate?: Date | undefined; + dueDate?: Date | null | undefined; /** * The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK */ - type?: string | undefined; + type?: string | null | undefined; /** * The UUID of the parent ticket */ - parentTicket?: string | undefined; + parentTicket?: string | null | undefined; /** * The collection UUIDs the ticket belongs to */ - collections?: string | undefined; + collections?: string | null | undefined; /** * The tags names of the ticket */ - tags?: Array | undefined; + tags?: Array | null | undefined; /** * The date the ticket has been completed */ - completedAt?: Date | undefined; + completedAt?: Date | null | undefined; /** * The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. */ - priority?: string | undefined; + priority?: string | null | undefined; /** * The users UUIDs the ticket is assigned to */ - assignedTo?: Array | undefined; + assignedTo?: Array | null | undefined; /** * The comment of the ticket */ - comment?: UnifiedTicketingCommentInput | undefined; + comment?: UnifiedTicketingTicketInputComment | null | undefined; /** * The UUID of the account which the ticket belongs to */ - accountId?: string | undefined; + accountId?: string | null | undefined; /** * The UUID of the contact which the ticket belongs to */ - contactId?: string | undefined; + contactId?: string | null | undefined; + /** + * The attachments UUIDs tied to the ticket + */ + attachments?: Array | null | undefined; /** - * The attachements UUIDs tied to the ticket + * The custom field mappings of the ticket between the remote 3rd party & Panora */ - attachments?: Array | undefined; - fieldMappings: UnifiedTicketingTicketInputFieldMappings; + fieldMappings?: { [k: string]: any } | null | undefined; }; /** @internal */ -export const UnifiedTicketingTicketInputFieldMappings$inboundSchema: z.ZodType< - UnifiedTicketingTicketInputFieldMappings, +export const UnifiedTicketingTicketInputComment$inboundSchema: z.ZodType< + UnifiedTicketingTicketInputComment, z.ZodTypeDef, unknown -> = z.object({}); +> = z + .object({ + body: z.nullable(z.string()), + html_body: z.nullable(z.string()).optional(), + is_private: z.nullable(z.boolean()).optional(), + creator_type: z.nullable(z.string()).optional(), + ticket_id: z.nullable(z.string()).optional(), + contact_id: z.nullable(z.string()).optional(), + user_id: z.nullable(z.string()).optional(), + attachments: z.nullable(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", + }); + }); /** @internal */ -export type UnifiedTicketingTicketInputFieldMappings$Outbound = {}; +export type UnifiedTicketingTicketInputComment$Outbound = { + body: string | null; + html_body?: string | null | undefined; + is_private?: boolean | null | undefined; + creator_type?: string | null | undefined; + ticket_id?: string | null | undefined; + contact_id?: string | null | undefined; + user_id?: string | null | undefined; + attachments?: Array | null | undefined; +}; /** @internal */ -export const UnifiedTicketingTicketInputFieldMappings$outboundSchema: z.ZodType< - UnifiedTicketingTicketInputFieldMappings$Outbound, +export const UnifiedTicketingTicketInputComment$outboundSchema: z.ZodType< + UnifiedTicketingTicketInputComment$Outbound, z.ZodTypeDef, - UnifiedTicketingTicketInputFieldMappings -> = z.object({}); + UnifiedTicketingTicketInputComment +> = z + .object({ + body: z.nullable(z.string()), + htmlBody: z.nullable(z.string()).optional(), + isPrivate: z.nullable(z.boolean()).optional(), + creatorType: z.nullable(z.string()).optional(), + ticketId: z.nullable(z.string()).optional(), + contactId: z.nullable(z.string()).optional(), + userId: z.nullable(z.string()).optional(), + attachments: z.nullable(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", + }); + }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ -export namespace UnifiedTicketingTicketInputFieldMappings$ { - /** @deprecated use `UnifiedTicketingTicketInputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingTicketInputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedTicketingTicketInputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingTicketInputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedTicketingTicketInputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedTicketingTicketInputFieldMappings$Outbound; +export namespace UnifiedTicketingTicketInputComment$ { + /** @deprecated use `UnifiedTicketingTicketInputComment$inboundSchema` instead. */ + export const inboundSchema = UnifiedTicketingTicketInputComment$inboundSchema; + /** @deprecated use `UnifiedTicketingTicketInputComment$outboundSchema` instead. */ + export const outboundSchema = UnifiedTicketingTicketInputComment$outboundSchema; + /** @deprecated use `UnifiedTicketingTicketInputComment$Outbound` instead. */ + export type Outbound = UnifiedTicketingTicketInputComment$Outbound; } /** @internal */ @@ -114,30 +196,38 @@ export const UnifiedTicketingTicketInput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - status: z.string().optional(), - description: z.string(), + name: z.nullable(z.string()), + status: z.nullable(z.string()).optional(), + description: z.nullable(z.string()), due_date: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - type: z.string().optional(), - parent_ticket: z.string().optional(), - collections: z.string().optional(), - tags: z.array(z.string()).optional(), + type: z.nullable(z.string()).optional(), + parent_ticket: z.nullable(z.string()).optional(), + collections: z.nullable(z.string()).optional(), + tags: z.nullable(z.array(z.string())).optional(), completed_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - priority: z.string().optional(), - assigned_to: z.array(z.string()).optional(), - comment: UnifiedTicketingCommentInput$inboundSchema.optional(), - account_id: z.string().optional(), - contact_id: z.string().optional(), - attachments: z.array(z.string()).optional(), - field_mappings: z.lazy(() => UnifiedTicketingTicketInputFieldMappings$inboundSchema), + priority: z.nullable(z.string()).optional(), + assigned_to: z.nullable(z.array(z.string())).optional(), + comment: z + .nullable(z.lazy(() => UnifiedTicketingTicketInputComment$inboundSchema)) + .optional(), + account_id: z.nullable(z.string()).optional(), + contact_id: z.nullable(z.string()).optional(), + attachments: z.nullable(z.array(z.string())).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { @@ -153,22 +243,22 @@ export const UnifiedTicketingTicketInput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedTicketingTicketInput$Outbound = { - name: string; - status?: string | undefined; - description: string; - due_date?: string | undefined; - type?: string | undefined; - parent_ticket?: string | undefined; - collections?: string | undefined; - tags?: Array | undefined; - completed_at?: string | undefined; - priority?: string | undefined; - assigned_to?: Array | undefined; - comment?: UnifiedTicketingCommentInput$Outbound | undefined; - account_id?: string | undefined; - contact_id?: string | undefined; - attachments?: Array | undefined; - field_mappings: UnifiedTicketingTicketInputFieldMappings$Outbound; + name: string | null; + status?: string | null | undefined; + description: string | null; + due_date?: string | null | undefined; + type?: string | null | undefined; + parent_ticket?: string | null | undefined; + collections?: string | null | undefined; + tags?: Array | null | undefined; + completed_at?: string | null | undefined; + priority?: string | null | undefined; + assigned_to?: Array | null | undefined; + comment?: UnifiedTicketingTicketInputComment$Outbound | null | undefined; + account_id?: string | null | undefined; + contact_id?: string | null | undefined; + attachments?: Array | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; }; /** @internal */ @@ -178,28 +268,24 @@ export const UnifiedTicketingTicketInput$outboundSchema: z.ZodType< UnifiedTicketingTicketInput > = 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(), - collections: z.string().optional(), - tags: z.array(z.string()).optional(), - completedAt: z - .date() - .transform((v) => v.toISOString()) + name: z.nullable(z.string()), + status: z.nullable(z.string()).optional(), + description: z.nullable(z.string()), + dueDate: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + type: z.nullable(z.string()).optional(), + parentTicket: z.nullable(z.string()).optional(), + collections: z.nullable(z.string()).optional(), + tags: z.nullable(z.array(z.string())).optional(), + completedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + priority: z.nullable(z.string()).optional(), + assignedTo: z.nullable(z.array(z.string())).optional(), + comment: z + .nullable(z.lazy(() => UnifiedTicketingTicketInputComment$outboundSchema)) .optional(), - priority: z.string().optional(), - assignedTo: z.array(z.string()).optional(), - comment: UnifiedTicketingCommentInput$outboundSchema.optional(), - accountId: z.string().optional(), - contactId: z.string().optional(), - attachments: z.array(z.string()).optional(), - fieldMappings: z.lazy(() => UnifiedTicketingTicketInputFieldMappings$outboundSchema), + accountId: z.nullable(z.string()).optional(), + contactId: z.nullable(z.string()).optional(), + attachments: z.nullable(z.array(z.string())).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedticketingticketoutput.ts b/src/models/components/unifiedticketingticketoutput.ts index 9346b6a1..eaa56ecb 100644 --- a/src/models/components/unifiedticketingticketoutput.ts +++ b/src/models/components/unifiedticketingticketoutput.ts @@ -3,191 +3,202 @@ */ import { remap as remap$ } from "../../lib/primitives.js"; -import { - UnifiedTicketingCommentInput, - UnifiedTicketingCommentInput$inboundSchema, - UnifiedTicketingCommentInput$Outbound, - UnifiedTicketingCommentInput$outboundSchema, -} from "./unifiedticketingcommentinput.js"; import * as z from "zod"; -export type FieldMappings = {}; - -export type RemoteData = {}; - -export type CreatedAt = {}; - -export type ModifiedAt = {}; +/** + * The comment of the ticket + */ +export type Comment = { + /** + * The body of the comment + */ + body: string | null; + /** + * The html body of the comment + */ + htmlBody?: string | null | undefined; + /** + * The public status of the comment + */ + isPrivate?: boolean | null | undefined; + /** + * The creator type of the comment. Authorized values are either USER or CONTACT + */ + creatorType?: string | null | undefined; + /** + * The UUID of the ticket the comment is tied to + */ + ticketId?: string | null | undefined; + /** + * The UUID of the contact which the comment belongs to (if no user_id specified) + */ + contactId?: string | null | undefined; + /** + * The UUID of the user which the comment belongs to (if no contact_id specified) + */ + userId?: string | null | undefined; + /** + * The attachements UUIDs tied to the comment + */ + attachments?: Array | null | undefined; +}; export type UnifiedTicketingTicketOutput = { /** * The name of the ticket */ - name: string; + name: string | null; /** * The status of the ticket. Authorized values are OPEN or CLOSED. */ - status?: string | undefined; + status?: string | null | undefined; /** * The description of the ticket */ - description: string; + description: string | null; /** * The date the ticket is due */ - dueDate?: Date | undefined; + dueDate?: Date | null | undefined; /** * The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK */ - type?: string | undefined; + type?: string | null | undefined; /** * The UUID of the parent ticket */ - parentTicket?: string | undefined; + parentTicket?: string | null | undefined; /** * The collection UUIDs the ticket belongs to */ - collections?: string | undefined; + collections?: string | null | undefined; /** * The tags names of the ticket */ - tags?: Array | undefined; + tags?: Array | null | undefined; /** * The date the ticket has been completed */ - completedAt?: Date | undefined; + completedAt?: Date | null | undefined; /** * The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. */ - priority?: string | undefined; + priority?: string | null | undefined; /** * The users UUIDs the ticket is assigned to */ - assignedTo?: Array | undefined; + assignedTo?: Array | null | undefined; /** * The comment of the ticket */ - comment?: UnifiedTicketingCommentInput | undefined; + comment?: Comment | null | undefined; /** * The UUID of the account which the ticket belongs to */ - accountId?: string | undefined; + accountId?: string | null | undefined; /** * The UUID of the contact which the ticket belongs to */ - contactId?: string | undefined; + contactId?: string | null | undefined; /** - * The attachements UUIDs tied to the ticket + * The attachments UUIDs tied to the ticket */ - attachments?: Array | undefined; - fieldMappings: FieldMappings; + attachments?: Array | null | undefined; + /** + * The custom field mappings of the ticket between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the ticket */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the ticket in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: RemoteData; - createdAt: CreatedAt; - modifiedAt: ModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the ticket in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; /** @internal */ -export const FieldMappings$inboundSchema: z.ZodType = - z.object({}); - -/** @internal */ -export type FieldMappings$Outbound = {}; - -/** @internal */ -export const FieldMappings$outboundSchema: z.ZodType< - FieldMappings$Outbound, - z.ZodTypeDef, - FieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FieldMappings$ { - /** @deprecated use `FieldMappings$inboundSchema` instead. */ - export const inboundSchema = FieldMappings$inboundSchema; - /** @deprecated use `FieldMappings$outboundSchema` instead. */ - export const outboundSchema = FieldMappings$outboundSchema; - /** @deprecated use `FieldMappings$Outbound` instead. */ - export type Outbound = FieldMappings$Outbound; -} - -/** @internal */ -export const RemoteData$inboundSchema: z.ZodType = z.object({}); - -/** @internal */ -export type RemoteData$Outbound = {}; - -/** @internal */ -export const RemoteData$outboundSchema: z.ZodType = - z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoteData$ { - /** @deprecated use `RemoteData$inboundSchema` instead. */ - export const inboundSchema = RemoteData$inboundSchema; - /** @deprecated use `RemoteData$outboundSchema` instead. */ - export const outboundSchema = RemoteData$outboundSchema; - /** @deprecated use `RemoteData$Outbound` instead. */ - export type Outbound = RemoteData$Outbound; -} - -/** @internal */ -export const CreatedAt$inboundSchema: z.ZodType = z.object({}); - -/** @internal */ -export type CreatedAt$Outbound = {}; - -/** @internal */ -export const CreatedAt$outboundSchema: z.ZodType = - z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreatedAt$ { - /** @deprecated use `CreatedAt$inboundSchema` instead. */ - export const inboundSchema = CreatedAt$inboundSchema; - /** @deprecated use `CreatedAt$outboundSchema` instead. */ - export const outboundSchema = CreatedAt$outboundSchema; - /** @deprecated use `CreatedAt$Outbound` instead. */ - export type Outbound = CreatedAt$Outbound; -} - -/** @internal */ -export const ModifiedAt$inboundSchema: z.ZodType = z.object({}); +export const Comment$inboundSchema: z.ZodType = z + .object({ + body: z.nullable(z.string()), + html_body: z.nullable(z.string()).optional(), + is_private: z.nullable(z.boolean()).optional(), + creator_type: z.nullable(z.string()).optional(), + ticket_id: z.nullable(z.string()).optional(), + contact_id: z.nullable(z.string()).optional(), + user_id: z.nullable(z.string()).optional(), + attachments: z.nullable(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", + }); + }); /** @internal */ -export type ModifiedAt$Outbound = {}; +export type Comment$Outbound = { + body: string | null; + html_body?: string | null | undefined; + is_private?: boolean | null | undefined; + creator_type?: string | null | undefined; + ticket_id?: string | null | undefined; + contact_id?: string | null | undefined; + user_id?: string | null | undefined; + attachments?: Array | null | undefined; +}; /** @internal */ -export const ModifiedAt$outboundSchema: z.ZodType = - z.object({}); +export const Comment$outboundSchema: z.ZodType = z + .object({ + body: z.nullable(z.string()), + htmlBody: z.nullable(z.string()).optional(), + isPrivate: z.nullable(z.boolean()).optional(), + creatorType: z.nullable(z.string()).optional(), + ticketId: z.nullable(z.string()).optional(), + contactId: z.nullable(z.string()).optional(), + userId: z.nullable(z.string()).optional(), + attachments: z.nullable(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", + }); + }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ -export namespace ModifiedAt$ { - /** @deprecated use `ModifiedAt$inboundSchema` instead. */ - export const inboundSchema = ModifiedAt$inboundSchema; - /** @deprecated use `ModifiedAt$outboundSchema` instead. */ - export const outboundSchema = ModifiedAt$outboundSchema; - /** @deprecated use `ModifiedAt$Outbound` instead. */ - export type Outbound = ModifiedAt$Outbound; +export namespace Comment$ { + /** @deprecated use `Comment$inboundSchema` instead. */ + export const inboundSchema = Comment$inboundSchema; + /** @deprecated use `Comment$outboundSchema` instead. */ + export const outboundSchema = Comment$outboundSchema; + /** @deprecated use `Comment$Outbound` instead. */ + export type Outbound = Comment$Outbound; } /** @internal */ @@ -197,35 +208,55 @@ export const UnifiedTicketingTicketOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - status: z.string().optional(), - description: z.string(), + name: z.nullable(z.string()), + status: z.nullable(z.string()).optional(), + description: z.nullable(z.string()), due_date: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - type: z.string().optional(), - parent_ticket: z.string().optional(), - collections: z.string().optional(), - tags: z.array(z.string()).optional(), + type: z.nullable(z.string()).optional(), + parent_ticket: z.nullable(z.string()).optional(), + collections: z.nullable(z.string()).optional(), + tags: z.nullable(z.array(z.string())).optional(), completed_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)) + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + priority: z.nullable(z.string()).optional(), + assigned_to: z.nullable(z.array(z.string())).optional(), + comment: z.nullable(z.lazy(() => Comment$inboundSchema)).optional(), + account_id: z.nullable(z.string()).optional(), + contact_id: z.nullable(z.string()).optional(), + attachments: z.nullable(z.array(z.string())).optional(), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) .optional(), - priority: z.string().optional(), - assigned_to: z.array(z.string()).optional(), - comment: UnifiedTicketingCommentInput$inboundSchema.optional(), - account_id: z.string().optional(), - contact_id: z.string().optional(), - attachments: z.array(z.string()).optional(), - field_mappings: z.lazy(() => FieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => RemoteData$inboundSchema), - created_at: z.lazy(() => CreatedAt$inboundSchema), - modified_at: z.lazy(() => ModifiedAt$inboundSchema), }) .transform((v) => { return remap$(v, { @@ -245,27 +276,27 @@ export const UnifiedTicketingTicketOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedTicketingTicketOutput$Outbound = { - name: string; - status?: string | undefined; - description: string; - due_date?: string | undefined; - type?: string | undefined; - parent_ticket?: string | undefined; - collections?: string | undefined; - tags?: Array | undefined; - completed_at?: string | undefined; - priority?: string | undefined; - assigned_to?: Array | undefined; - comment?: UnifiedTicketingCommentInput$Outbound | undefined; - account_id?: string | undefined; - contact_id?: string | undefined; - attachments?: Array | undefined; - field_mappings: FieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: RemoteData$Outbound; - created_at: CreatedAt$Outbound; - modified_at: ModifiedAt$Outbound; + name: string | null; + status?: string | null | undefined; + description: string | null; + due_date?: string | null | undefined; + type?: string | null | undefined; + parent_ticket?: string | null | undefined; + collections?: string | null | undefined; + tags?: Array | null | undefined; + completed_at?: string | null | undefined; + priority?: string | null | undefined; + assigned_to?: Array | null | undefined; + comment?: Comment$Outbound | null | undefined; + account_id?: string | null | undefined; + contact_id?: string | null | undefined; + attachments?: Array | null | undefined; + field_mappings?: { [k: string]: any } | null | undefined; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -275,33 +306,27 @@ export const UnifiedTicketingTicketOutput$outboundSchema: z.ZodType< UnifiedTicketingTicketOutput > = 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(), - collections: 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: UnifiedTicketingCommentInput$outboundSchema.optional(), - accountId: z.string().optional(), - contactId: z.string().optional(), - attachments: z.array(z.string()).optional(), - fieldMappings: z.lazy(() => FieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => RemoteData$outboundSchema), - createdAt: z.lazy(() => CreatedAt$outboundSchema), - modifiedAt: z.lazy(() => ModifiedAt$outboundSchema), + name: z.nullable(z.string()), + status: z.nullable(z.string()).optional(), + description: z.nullable(z.string()), + dueDate: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + type: z.nullable(z.string()).optional(), + parentTicket: z.nullable(z.string()).optional(), + collections: z.nullable(z.string()).optional(), + tags: z.nullable(z.array(z.string())).optional(), + completedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + priority: z.nullable(z.string()).optional(), + assignedTo: z.nullable(z.array(z.string())).optional(), + comment: z.nullable(z.lazy(() => Comment$outboundSchema)).optional(), + accountId: z.nullable(z.string()).optional(), + contactId: z.nullable(z.string()).optional(), + attachments: z.nullable(z.array(z.string())).optional(), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifiedticketinguseroutput.ts b/src/models/components/unifiedticketinguseroutput.ts index 8c88356a..c81085ee 100644 --- a/src/models/components/unifiedticketinguseroutput.ts +++ b/src/models/components/unifiedticketinguseroutput.ts @@ -5,165 +5,49 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedTicketingUserOutputFieldMappings = {}; - -export type UnifiedTicketingUserOutputRemoteData = {}; - -export type UnifiedTicketingUserOutputCreatedAt = {}; - -export type UnifiedTicketingUserOutputModifiedAt = {}; - export type UnifiedTicketingUserOutput = { /** * The name of the user */ - name: string; + name: string | null; /** * The email address of the user */ - emailAddress: string; + emailAddress: string | null; /** * The teams whose the user is part of */ - teams?: Array | undefined; + teams?: Array | null | undefined; /** * The account or organization the user is part of */ - accountId?: string | undefined; - fieldMappings: UnifiedTicketingUserOutputFieldMappings; + accountId?: string | null | undefined; + /** + * The custom field mappings of the user between the remote 3rd party & Panora + */ + fieldMappings: { [k: string]: any } | null; /** * The UUID of the user */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the user in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedTicketingUserOutputRemoteData; - createdAt: UnifiedTicketingUserOutputCreatedAt; - modifiedAt: UnifiedTicketingUserOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the user in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedTicketingUserOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedTicketingUserOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingUserOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingUserOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedTicketingUserOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedTicketingUserOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingUserOutputFieldMappings$ { - /** @deprecated use `UnifiedTicketingUserOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingUserOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedTicketingUserOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingUserOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedTicketingUserOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedTicketingUserOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedTicketingUserOutputRemoteData$inboundSchema: z.ZodType< - UnifiedTicketingUserOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingUserOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingUserOutputRemoteData$outboundSchema: z.ZodType< - UnifiedTicketingUserOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedTicketingUserOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingUserOutputRemoteData$ { - /** @deprecated use `UnifiedTicketingUserOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingUserOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedTicketingUserOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingUserOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedTicketingUserOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedTicketingUserOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedTicketingUserOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedTicketingUserOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingUserOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingUserOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedTicketingUserOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingUserOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingUserOutputCreatedAt$ { - /** @deprecated use `UnifiedTicketingUserOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingUserOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingUserOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingUserOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingUserOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingUserOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedTicketingUserOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedTicketingUserOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedTicketingUserOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedTicketingUserOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedTicketingUserOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedTicketingUserOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedTicketingUserOutputModifiedAt$ { - /** @deprecated use `UnifiedTicketingUserOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedTicketingUserOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedTicketingUserOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedTicketingUserOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedTicketingUserOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedTicketingUserOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedTicketingUserOutput$inboundSchema: z.ZodType< UnifiedTicketingUserOutput, @@ -171,16 +55,30 @@ export const UnifiedTicketingUserOutput$inboundSchema: z.ZodType< unknown > = z .object({ - name: z.string(), - email_address: z.string(), - teams: z.array(z.string()).optional(), - account_id: z.string().optional(), - field_mappings: z.lazy(() => UnifiedTicketingUserOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedTicketingUserOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedTicketingUserOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedTicketingUserOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()), + email_address: z.nullable(z.string()), + teams: z.nullable(z.array(z.string())).optional(), + account_id: z.nullable(z.string()).optional(), + field_mappings: z.nullable(z.record(z.any())), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -196,16 +94,16 @@ export const UnifiedTicketingUserOutput$inboundSchema: z.ZodType< /** @internal */ export type UnifiedTicketingUserOutput$Outbound = { - name: string; - email_address: string; - teams?: Array | undefined; - account_id?: string | undefined; - field_mappings: UnifiedTicketingUserOutputFieldMappings$Outbound; - id?: string | undefined; - remote_id?: string | undefined; - remote_data: UnifiedTicketingUserOutputRemoteData$Outbound; - created_at: UnifiedTicketingUserOutputCreatedAt$Outbound; - modified_at: UnifiedTicketingUserOutputModifiedAt$Outbound; + name: string | null; + email_address: string | null; + teams?: Array | null | undefined; + account_id?: string | null | undefined; + field_mappings: { [k: string]: any } | null; + id?: string | null | undefined; + remote_id?: string | null | undefined; + remote_data?: { [k: string]: any } | null | undefined; + created_at?: string | null | undefined; + modified_at?: string | null | undefined; }; /** @internal */ @@ -215,16 +113,16 @@ export const UnifiedTicketingUserOutput$outboundSchema: z.ZodType< UnifiedTicketingUserOutput > = z .object({ - name: z.string(), - emailAddress: z.string(), - teams: z.array(z.string()).optional(), - accountId: z.string().optional(), - fieldMappings: z.lazy(() => UnifiedTicketingUserOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedTicketingUserOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedTicketingUserOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedTicketingUserOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()), + emailAddress: z.nullable(z.string()), + teams: z.nullable(z.array(z.string())).optional(), + accountId: z.nullable(z.string()).optional(), + fieldMappings: z.nullable(z.record(z.any())), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/unifieduseroutput.ts b/src/models/components/unifieduseroutput.ts index 7ef2de8b..fcfdfa03 100644 --- a/src/models/components/unifieduseroutput.ts +++ b/src/models/components/unifieduseroutput.ts @@ -5,174 +5,72 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type UnifiedUserOutputFieldMappings = {}; - -export type UnifiedUserOutputRemoteData = {}; - -export type UnifiedUserOutputCreatedAt = {}; - -export type UnifiedUserOutputModifiedAt = {}; - export type UnifiedUserOutput = { /** * The name of the user */ - name: string; + name: string | null; /** * The email of the user */ - email: string; + email: string | null; /** * Whether the user is the one who linked this account. */ - isMe: boolean; - fieldMappings: UnifiedUserOutputFieldMappings; + isMe: boolean | null; + /** + * The custom field mappings of the object between the remote 3rd party & Panora + */ + fieldMappings?: { [k: string]: any } | null | undefined; /** * The UUID of the user */ - id?: string | undefined; + id?: string | null | undefined; /** * The id of the user in the context of the 3rd Party */ - remoteId?: string | undefined; - remoteData: UnifiedUserOutputRemoteData; - createdAt: UnifiedUserOutputCreatedAt; - modifiedAt: UnifiedUserOutputModifiedAt; + remoteId?: string | null | undefined; + /** + * The remote data of the user in the context of the 3rd Party + */ + remoteData?: { [k: string]: any } | null | undefined; + /** + * The created date of the object + */ + createdAt?: Date | null | undefined; + /** + * The modified date of the object + */ + modifiedAt?: Date | null | undefined; }; -/** @internal */ -export const UnifiedUserOutputFieldMappings$inboundSchema: z.ZodType< - UnifiedUserOutputFieldMappings, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedUserOutputFieldMappings$Outbound = {}; - -/** @internal */ -export const UnifiedUserOutputFieldMappings$outboundSchema: z.ZodType< - UnifiedUserOutputFieldMappings$Outbound, - z.ZodTypeDef, - UnifiedUserOutputFieldMappings -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedUserOutputFieldMappings$ { - /** @deprecated use `UnifiedUserOutputFieldMappings$inboundSchema` instead. */ - export const inboundSchema = UnifiedUserOutputFieldMappings$inboundSchema; - /** @deprecated use `UnifiedUserOutputFieldMappings$outboundSchema` instead. */ - export const outboundSchema = UnifiedUserOutputFieldMappings$outboundSchema; - /** @deprecated use `UnifiedUserOutputFieldMappings$Outbound` instead. */ - export type Outbound = UnifiedUserOutputFieldMappings$Outbound; -} - -/** @internal */ -export const UnifiedUserOutputRemoteData$inboundSchema: z.ZodType< - UnifiedUserOutputRemoteData, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedUserOutputRemoteData$Outbound = {}; - -/** @internal */ -export const UnifiedUserOutputRemoteData$outboundSchema: z.ZodType< - UnifiedUserOutputRemoteData$Outbound, - z.ZodTypeDef, - UnifiedUserOutputRemoteData -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedUserOutputRemoteData$ { - /** @deprecated use `UnifiedUserOutputRemoteData$inboundSchema` instead. */ - export const inboundSchema = UnifiedUserOutputRemoteData$inboundSchema; - /** @deprecated use `UnifiedUserOutputRemoteData$outboundSchema` instead. */ - export const outboundSchema = UnifiedUserOutputRemoteData$outboundSchema; - /** @deprecated use `UnifiedUserOutputRemoteData$Outbound` instead. */ - export type Outbound = UnifiedUserOutputRemoteData$Outbound; -} - -/** @internal */ -export const UnifiedUserOutputCreatedAt$inboundSchema: z.ZodType< - UnifiedUserOutputCreatedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedUserOutputCreatedAt$Outbound = {}; - -/** @internal */ -export const UnifiedUserOutputCreatedAt$outboundSchema: z.ZodType< - UnifiedUserOutputCreatedAt$Outbound, - z.ZodTypeDef, - UnifiedUserOutputCreatedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedUserOutputCreatedAt$ { - /** @deprecated use `UnifiedUserOutputCreatedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedUserOutputCreatedAt$inboundSchema; - /** @deprecated use `UnifiedUserOutputCreatedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedUserOutputCreatedAt$outboundSchema; - /** @deprecated use `UnifiedUserOutputCreatedAt$Outbound` instead. */ - export type Outbound = UnifiedUserOutputCreatedAt$Outbound; -} - -/** @internal */ -export const UnifiedUserOutputModifiedAt$inboundSchema: z.ZodType< - UnifiedUserOutputModifiedAt, - z.ZodTypeDef, - unknown -> = z.object({}); - -/** @internal */ -export type UnifiedUserOutputModifiedAt$Outbound = {}; - -/** @internal */ -export const UnifiedUserOutputModifiedAt$outboundSchema: z.ZodType< - UnifiedUserOutputModifiedAt$Outbound, - z.ZodTypeDef, - UnifiedUserOutputModifiedAt -> = z.object({}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UnifiedUserOutputModifiedAt$ { - /** @deprecated use `UnifiedUserOutputModifiedAt$inboundSchema` instead. */ - export const inboundSchema = UnifiedUserOutputModifiedAt$inboundSchema; - /** @deprecated use `UnifiedUserOutputModifiedAt$outboundSchema` instead. */ - export const outboundSchema = UnifiedUserOutputModifiedAt$outboundSchema; - /** @deprecated use `UnifiedUserOutputModifiedAt$Outbound` instead. */ - export type Outbound = UnifiedUserOutputModifiedAt$Outbound; -} - /** @internal */ export const UnifiedUserOutput$inboundSchema: z.ZodType = z .object({ - name: z.string(), - email: z.string(), - is_me: z.boolean(), - field_mappings: z.lazy(() => UnifiedUserOutputFieldMappings$inboundSchema), - id: z.string().optional(), - remote_id: z.string().optional(), - remote_data: z.lazy(() => UnifiedUserOutputRemoteData$inboundSchema), - created_at: z.lazy(() => UnifiedUserOutputCreatedAt$inboundSchema), - modified_at: z.lazy(() => UnifiedUserOutputModifiedAt$inboundSchema), + name: z.nullable(z.string()), + email: z.nullable(z.string()), + is_me: z.nullable(z.boolean()), + field_mappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_data: z.nullable(z.record(z.any())).optional(), + created_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), + modified_at: z + .nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ) + .optional(), }) .transform((v) => { return remap$(v, { @@ -187,15 +85,15 @@ export const UnifiedUserOutput$inboundSchema: z.ZodType = z .object({ - name: z.string(), - email: z.string(), - isMe: z.boolean(), - fieldMappings: z.lazy(() => UnifiedUserOutputFieldMappings$outboundSchema), - id: z.string().optional(), - remoteId: z.string().optional(), - remoteData: z.lazy(() => UnifiedUserOutputRemoteData$outboundSchema), - createdAt: z.lazy(() => UnifiedUserOutputCreatedAt$outboundSchema), - modifiedAt: z.lazy(() => UnifiedUserOutputModifiedAt$outboundSchema), + name: z.nullable(z.string()), + email: z.nullable(z.string()), + isMe: z.nullable(z.boolean()), + fieldMappings: z.nullable(z.record(z.any())).optional(), + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteData: z.nullable(z.record(z.any())).optional(), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), + modifiedAt: z.nullable(z.date().transform((v) => v.toISOString())).optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/components/url.ts b/src/models/components/url.ts index aa86be41..a9fd61b4 100644 --- a/src/models/components/url.ts +++ b/src/models/components/url.ts @@ -2,18 +2,49 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ +import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; -export type Url = {}; +export type Url = { + /** + * The url. + */ + url: string | null; + /** + * The url type. It takes [WEBSITE | BLOG | LINKEDIN | GITHUB | OTHER] + */ + urlType: string | null; +}; /** @internal */ -export const Url$inboundSchema: z.ZodType = z.object({}); +export const Url$inboundSchema: z.ZodType = z + .object({ + url: z.nullable(z.string()), + url_type: z.nullable(z.string()), + }) + .transform((v) => { + return remap$(v, { + url_type: "urlType", + }); + }); /** @internal */ -export type Url$Outbound = {}; +export type Url$Outbound = { + url: string | null; + url_type: string | null; +}; /** @internal */ -export const Url$outboundSchema: z.ZodType = z.object({}); +export const Url$outboundSchema: z.ZodType = z + .object({ + url: z.nullable(z.string()), + urlType: z.nullable(z.string()), + }) + .transform((v) => { + return remap$(v, { + urlType: "url_type", + }); + }); /** * @internal diff --git a/src/models/components/webhookdto.ts b/src/models/components/webhookdto.ts index 34d6f909..f69e9cda 100644 --- a/src/models/components/webhookdto.ts +++ b/src/models/components/webhookdto.ts @@ -8,37 +8,37 @@ export type WebhookDto = { /** * The endpoint url of the webhook. */ - url: string; + url: string | null; /** * The description of the webhook. */ - description?: string | undefined; + description?: string | null | undefined; /** * The events that the webhook listen to. */ - scope: Array; + scope: Array | null; }; /** @internal */ export const WebhookDto$inboundSchema: z.ZodType = z.object({ - url: z.string(), - description: z.string().optional(), - scope: z.array(z.string()), + url: z.nullable(z.string()), + description: z.nullable(z.string()).optional(), + scope: z.nullable(z.array(z.string())), }); /** @internal */ export type WebhookDto$Outbound = { - url: string; - description?: string | undefined; - scope: Array; + url: string | null; + description?: string | null | undefined; + scope: Array | null; }; /** @internal */ export const WebhookDto$outboundSchema: z.ZodType = z.object({ - url: z.string(), - description: z.string().optional(), - scope: z.array(z.string()), + url: z.nullable(z.string()), + description: z.nullable(z.string()).optional(), + scope: z.nullable(z.array(z.string())), }); /** diff --git a/src/models/components/webhookresponse.ts b/src/models/components/webhookresponse.ts index 2caf628b..a00cff52 100644 --- a/src/models/components/webhookresponse.ts +++ b/src/models/components/webhookresponse.ts @@ -9,7 +9,7 @@ export type WebhookResponse = { /** * The unique UUID of the webhook. */ - idWebhookEndpoint: string; + idWebhookEndpoint: string | null; /** * The description of the webhook. */ @@ -17,27 +17,27 @@ export type WebhookResponse = { /** * The endpoint url of the webhook. */ - url: string; + url: string | null; /** * The secret of the webhook. */ - secret: string; + secret: string | null; /** * The status of the webhook. */ - active: boolean; + active: boolean | null; /** * The created date of the webhook. */ - createdAt: Date; + createdAt: Date | null; /** * The events that the webhook listen to. */ - scope: Array; + scope: Array | null; /** * The project id tied to the webhook. */ - idProject: string; + idProject: string | null; /** * The last update date of the webhook. */ @@ -47,17 +47,19 @@ export type WebhookResponse = { /** @internal */ export const WebhookResponse$inboundSchema: z.ZodType = z .object({ - id_webhook_endpoint: z.string(), + id_webhook_endpoint: z.nullable(z.string()), endpoint_description: z.nullable(z.string()), - url: z.string(), - secret: z.string(), - active: z.boolean(), - created_at: z - .string() - .datetime({ offset: true }) - .transform((v) => new Date(v)), - scope: z.array(z.string()), - id_project: z.string(), + url: z.nullable(z.string()), + secret: z.nullable(z.string()), + active: z.nullable(z.boolean()), + created_at: z.nullable( + z + .string() + .datetime({ offset: true }) + .transform((v) => new Date(v)) + ), + scope: z.nullable(z.array(z.string())), + id_project: z.nullable(z.string()), last_update: z.nullable( z .string() @@ -77,14 +79,14 @@ export const WebhookResponse$inboundSchema: z.ZodType; - id_project: string; + url: string | null; + secret: string | null; + active: boolean | null; + created_at: string | null; + scope: Array | null; + id_project: string | null; last_update: string | null; }; @@ -95,14 +97,14 @@ export const WebhookResponse$outboundSchema: z.ZodType< WebhookResponse > = z .object({ - idWebhookEndpoint: z.string(), + idWebhookEndpoint: z.nullable(z.string()), endpointDescription: z.nullable(z.string()), - url: z.string(), - secret: z.string(), - active: z.boolean(), - createdAt: z.date().transform((v) => v.toISOString()), - scope: z.array(z.string()), - idProject: z.string(), + url: z.nullable(z.string()), + secret: z.nullable(z.string()), + active: z.nullable(z.boolean()), + createdAt: z.nullable(z.date().transform((v) => v.toISOString())), + scope: z.nullable(z.array(z.string())), + idProject: z.nullable(z.string()), lastUpdate: z.nullable(z.date().transform((v) => v.toISOString())), }) .transform((v) => { diff --git a/src/models/operations/createlinkeduser.ts b/src/models/operations/createlinkeduser.ts index b9642bb3..5f2190e1 100644 --- a/src/models/operations/createlinkeduser.ts +++ b/src/models/operations/createlinkeduser.ts @@ -8,6 +8,7 @@ import * as z from "zod"; export type CreateLinkedUserResponse = { httpMeta: components.HTTPMetadata; + linkedUserResponse?: components.LinkedUserResponse | undefined; }; /** @internal */ @@ -18,16 +19,19 @@ export const CreateLinkedUserResponse$inboundSchema: z.ZodType< > = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, + LinkedUserResponse: components.LinkedUserResponse$inboundSchema.optional(), }) .transform((v) => { return remap$(v, { HttpMeta: "httpMeta", + LinkedUserResponse: "linkedUserResponse", }); }); /** @internal */ export type CreateLinkedUserResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; + LinkedUserResponse?: components.LinkedUserResponse$Outbound | undefined; }; /** @internal */ @@ -38,10 +42,12 @@ export const CreateLinkedUserResponse$outboundSchema: z.ZodType< > = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, + linkedUserResponse: components.LinkedUserResponse$outboundSchema.optional(), }) .transform((v) => { return remap$(v, { httpMeta: "HttpMeta", + linkedUserResponse: "LinkedUserResponse", }); }); diff --git a/src/models/operations/definecustomfield.ts b/src/models/operations/definecustomfield.ts index b1be3c3a..7d210cc0 100644 --- a/src/models/operations/definecustomfield.ts +++ b/src/models/operations/definecustomfield.ts @@ -8,6 +8,7 @@ import * as z from "zod"; export type DefineCustomFieldResponse = { httpMeta: components.HTTPMetadata; + customFieldResponse?: components.CustomFieldResponse | undefined; }; /** @internal */ @@ -18,16 +19,19 @@ export const DefineCustomFieldResponse$inboundSchema: z.ZodType< > = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, + CustomFieldResponse: components.CustomFieldResponse$inboundSchema.optional(), }) .transform((v) => { return remap$(v, { HttpMeta: "httpMeta", + CustomFieldResponse: "customFieldResponse", }); }); /** @internal */ export type DefineCustomFieldResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; + CustomFieldResponse?: components.CustomFieldResponse$Outbound | undefined; }; /** @internal */ @@ -38,10 +42,12 @@ export const DefineCustomFieldResponse$outboundSchema: z.ZodType< > = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, + customFieldResponse: components.CustomFieldResponse$outboundSchema.optional(), }) .transform((v) => { return remap$(v, { httpMeta: "HttpMeta", + customFieldResponse: "CustomFieldResponse", }); }); diff --git a/src/models/operations/definitions.ts b/src/models/operations/definitions.ts index 3cc4cd58..b8a04996 100644 --- a/src/models/operations/definitions.ts +++ b/src/models/operations/definitions.ts @@ -8,6 +8,7 @@ import * as z from "zod"; export type DefinitionsResponse = { httpMeta: components.HTTPMetadata; + customFieldResponse?: components.CustomFieldResponse | undefined; }; /** @internal */ @@ -18,16 +19,19 @@ export const DefinitionsResponse$inboundSchema: z.ZodType< > = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, + CustomFieldResponse: components.CustomFieldResponse$inboundSchema.optional(), }) .transform((v) => { return remap$(v, { HttpMeta: "httpMeta", + CustomFieldResponse: "customFieldResponse", }); }); /** @internal */ export type DefinitionsResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; + CustomFieldResponse?: components.CustomFieldResponse$Outbound | undefined; }; /** @internal */ @@ -38,10 +42,12 @@ export const DefinitionsResponse$outboundSchema: z.ZodType< > = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, + customFieldResponse: components.CustomFieldResponse$outboundSchema.optional(), }) .transform((v) => { return remap$(v, { httpMeta: "HttpMeta", + customFieldResponse: "CustomFieldResponse", }); }); diff --git a/src/models/operations/health.ts b/src/models/operations/health.ts index 12a9ee22..b7cf494e 100644 --- a/src/models/operations/health.ts +++ b/src/models/operations/health.ts @@ -8,25 +8,26 @@ import * as z from "zod"; export type HealthResponse = { httpMeta: components.HTTPMetadata; - number?: number | undefined; + number?: components.NumberT | undefined; }; /** @internal */ export const HealthResponse$inboundSchema: z.ZodType = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, - number: z.number().optional(), + Number: components.NumberT$inboundSchema.optional(), }) .transform((v) => { return remap$(v, { HttpMeta: "httpMeta", + Number: "number", }); }); /** @internal */ export type HealthResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; - number?: number | undefined; + Number?: components.NumberT$Outbound | undefined; }; /** @internal */ @@ -37,11 +38,12 @@ export const HealthResponse$outboundSchema: z.ZodType< > = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, - number: z.number().optional(), + number: components.NumberT$outboundSchema.optional(), }) .transform((v) => { return remap$(v, { httpMeta: "HttpMeta", + number: "Number", }); }); diff --git a/src/models/operations/hello.ts b/src/models/operations/hello.ts index 72de2277..b582162e 100644 --- a/src/models/operations/hello.ts +++ b/src/models/operations/hello.ts @@ -8,25 +8,26 @@ import * as z from "zod"; export type HelloResponse = { httpMeta: components.HTTPMetadata; - string?: string | undefined; + string?: components.String | undefined; }; /** @internal */ export const HelloResponse$inboundSchema: z.ZodType = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, - string: z.string().optional(), + String: components.String$inboundSchema.optional(), }) .transform((v) => { return remap$(v, { HttpMeta: "httpMeta", + String: "string", }); }); /** @internal */ export type HelloResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; - string?: string | undefined; + String?: components.String$Outbound | undefined; }; /** @internal */ @@ -37,11 +38,12 @@ export const HelloResponse$outboundSchema: z.ZodType< > = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, - string: z.string().optional(), + string: components.String$outboundSchema.optional(), }) .transform((v) => { return remap$(v, { httpMeta: "HttpMeta", + string: "String", }); }); diff --git a/src/models/operations/importbatch.ts b/src/models/operations/importbatch.ts index 7003b10e..6b957ce7 100644 --- a/src/models/operations/importbatch.ts +++ b/src/models/operations/importbatch.ts @@ -8,6 +8,7 @@ import * as z from "zod"; export type ImportBatchResponse = { httpMeta: components.HTTPMetadata; + linkedUserResponses?: Array | undefined; }; /** @internal */ @@ -18,16 +19,19 @@ export const ImportBatchResponse$inboundSchema: z.ZodType< > = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, + LinkedUserResponses: z.array(components.LinkedUserResponse$inboundSchema).optional(), }) .transform((v) => { return remap$(v, { HttpMeta: "httpMeta", + LinkedUserResponses: "linkedUserResponses", }); }); /** @internal */ export type ImportBatchResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; + LinkedUserResponses?: Array | undefined; }; /** @internal */ @@ -38,10 +42,12 @@ export const ImportBatchResponse$outboundSchema: z.ZodType< > = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, + linkedUserResponses: z.array(components.LinkedUserResponse$outboundSchema).optional(), }) .transform((v) => { return remap$(v, { httpMeta: "HttpMeta", + linkedUserResponses: "LinkedUserResponses", }); }); diff --git a/src/models/operations/listlinkedusers.ts b/src/models/operations/listlinkedusers.ts index 48aa2107..df5fcef2 100644 --- a/src/models/operations/listlinkedusers.ts +++ b/src/models/operations/listlinkedusers.ts @@ -8,6 +8,7 @@ import * as z from "zod"; export type ListLinkedUsersResponse = { httpMeta: components.HTTPMetadata; + linkedUserResponses?: Array | undefined; }; /** @internal */ @@ -18,16 +19,19 @@ export const ListLinkedUsersResponse$inboundSchema: z.ZodType< > = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, + LinkedUserResponses: z.array(components.LinkedUserResponse$inboundSchema).optional(), }) .transform((v) => { return remap$(v, { HttpMeta: "httpMeta", + LinkedUserResponses: "linkedUserResponses", }); }); /** @internal */ export type ListLinkedUsersResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; + LinkedUserResponses?: Array | undefined; }; /** @internal */ @@ -38,10 +42,12 @@ export const ListLinkedUsersResponse$outboundSchema: z.ZodType< > = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, + linkedUserResponses: z.array(components.LinkedUserResponse$outboundSchema).optional(), }) .transform((v) => { return remap$(v, { httpMeta: "HttpMeta", + linkedUserResponses: "LinkedUserResponses", }); }); diff --git a/src/models/operations/map.ts b/src/models/operations/map.ts index 6a497174..6586faaf 100644 --- a/src/models/operations/map.ts +++ b/src/models/operations/map.ts @@ -8,22 +8,26 @@ import * as z from "zod"; export type MapResponse = { httpMeta: components.HTTPMetadata; + customFieldResponse?: components.CustomFieldResponse | undefined; }; /** @internal */ export const MapResponse$inboundSchema: z.ZodType = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, + CustomFieldResponse: components.CustomFieldResponse$inboundSchema.optional(), }) .transform((v) => { return remap$(v, { HttpMeta: "httpMeta", + CustomFieldResponse: "customFieldResponse", }); }); /** @internal */ export type MapResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; + CustomFieldResponse?: components.CustomFieldResponse$Outbound | undefined; }; /** @internal */ @@ -34,10 +38,12 @@ export const MapResponse$outboundSchema: z.ZodType< > = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, + customFieldResponse: components.CustomFieldResponse$outboundSchema.optional(), }) .transform((v) => { return remap$(v, { httpMeta: "HttpMeta", + customFieldResponse: "CustomFieldResponse", }); }); diff --git a/src/models/operations/remoteid.ts b/src/models/operations/remoteid.ts index d4624fbf..191c99fc 100644 --- a/src/models/operations/remoteid.ts +++ b/src/models/operations/remoteid.ts @@ -12,6 +12,7 @@ export type RemoteIdRequest = { export type RemoteIdResponse = { httpMeta: components.HTTPMetadata; + linkedUserResponse?: components.LinkedUserResponse | undefined; }; /** @internal */ @@ -51,16 +52,19 @@ export namespace RemoteIdRequest$ { export const RemoteIdResponse$inboundSchema: z.ZodType = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, + LinkedUserResponse: components.LinkedUserResponse$inboundSchema.optional(), }) .transform((v) => { return remap$(v, { HttpMeta: "httpMeta", + LinkedUserResponse: "linkedUserResponse", }); }); /** @internal */ export type RemoteIdResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; + LinkedUserResponse?: components.LinkedUserResponse$Outbound | undefined; }; /** @internal */ @@ -71,10 +75,12 @@ export const RemoteIdResponse$outboundSchema: z.ZodType< > = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, + linkedUserResponse: components.LinkedUserResponse$outboundSchema.optional(), }) .transform((v) => { return remap$(v, { httpMeta: "HttpMeta", + linkedUserResponse: "LinkedUserResponse", }); }); diff --git a/src/models/operations/resync.ts b/src/models/operations/resync.ts index 63f15718..4bbbbde5 100644 --- a/src/models/operations/resync.ts +++ b/src/models/operations/resync.ts @@ -8,22 +8,26 @@ import * as z from "zod"; export type ResyncResponse = { httpMeta: components.HTTPMetadata; + resyncStatusDto?: components.ResyncStatusDto | undefined; }; /** @internal */ export const ResyncResponse$inboundSchema: z.ZodType = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, + ResyncStatusDto: components.ResyncStatusDto$inboundSchema.optional(), }) .transform((v) => { return remap$(v, { HttpMeta: "httpMeta", + ResyncStatusDto: "resyncStatusDto", }); }); /** @internal */ export type ResyncResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; + ResyncStatusDto?: components.ResyncStatusDto$Outbound | undefined; }; /** @internal */ @@ -34,10 +38,12 @@ export const ResyncResponse$outboundSchema: z.ZodType< > = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, + resyncStatusDto: components.ResyncStatusDto$outboundSchema.optional(), }) .transform((v) => { return remap$(v, { httpMeta: "HttpMeta", + resyncStatusDto: "ResyncStatusDto", }); }); diff --git a/src/models/operations/retrievelinkeduser.ts b/src/models/operations/retrievelinkeduser.ts index 96fcccdb..1a0ea545 100644 --- a/src/models/operations/retrievelinkeduser.ts +++ b/src/models/operations/retrievelinkeduser.ts @@ -12,6 +12,7 @@ export type RetrieveLinkedUserRequest = { export type RetrieveLinkedUserResponse = { httpMeta: components.HTTPMetadata; + linkedUserResponse?: components.LinkedUserResponse | undefined; }; /** @internal */ @@ -58,16 +59,19 @@ export const RetrieveLinkedUserResponse$inboundSchema: z.ZodType< > = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, + LinkedUserResponse: components.LinkedUserResponse$inboundSchema.optional(), }) .transform((v) => { return remap$(v, { HttpMeta: "httpMeta", + LinkedUserResponse: "linkedUserResponse", }); }); /** @internal */ export type RetrieveLinkedUserResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; + LinkedUserResponse?: components.LinkedUserResponse$Outbound | undefined; }; /** @internal */ @@ -78,10 +82,12 @@ export const RetrieveLinkedUserResponse$outboundSchema: z.ZodType< > = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, + linkedUserResponse: components.LinkedUserResponse$outboundSchema.optional(), }) .transform((v) => { return remap$(v, { httpMeta: "HttpMeta", + linkedUserResponse: "LinkedUserResponse", }); }); diff --git a/src/models/operations/verifyevent.ts b/src/models/operations/verifyevent.ts index e61a201d..60ee8433 100644 --- a/src/models/operations/verifyevent.ts +++ b/src/models/operations/verifyevent.ts @@ -6,11 +6,54 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as components from "../components/index.js"; import * as z from "zod"; +export type VerifyEventResponseBody = { + /** + * Dynamic event payload + */ + data?: { [k: string]: any } | undefined; +}; + export type VerifyEventResponse = { httpMeta: components.HTTPMetadata; - eventPayload?: components.EventPayload | undefined; + object?: VerifyEventResponseBody | undefined; +}; + +/** @internal */ +export const VerifyEventResponseBody$inboundSchema: z.ZodType< + VerifyEventResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.record(z.any()).optional(), +}); + +/** @internal */ +export type VerifyEventResponseBody$Outbound = { + data?: { [k: string]: any } | undefined; }; +/** @internal */ +export const VerifyEventResponseBody$outboundSchema: z.ZodType< + VerifyEventResponseBody$Outbound, + z.ZodTypeDef, + VerifyEventResponseBody +> = z.object({ + data: z.record(z.any()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace VerifyEventResponseBody$ { + /** @deprecated use `VerifyEventResponseBody$inboundSchema` instead. */ + export const inboundSchema = VerifyEventResponseBody$inboundSchema; + /** @deprecated use `VerifyEventResponseBody$outboundSchema` instead. */ + export const outboundSchema = VerifyEventResponseBody$outboundSchema; + /** @deprecated use `VerifyEventResponseBody$Outbound` instead. */ + export type Outbound = VerifyEventResponseBody$Outbound; +} + /** @internal */ export const VerifyEventResponse$inboundSchema: z.ZodType< VerifyEventResponse, @@ -19,19 +62,18 @@ export const VerifyEventResponse$inboundSchema: z.ZodType< > = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, - EventPayload: components.EventPayload$inboundSchema.optional(), + object: z.lazy(() => VerifyEventResponseBody$inboundSchema).optional(), }) .transform((v) => { return remap$(v, { HttpMeta: "httpMeta", - EventPayload: "eventPayload", }); }); /** @internal */ export type VerifyEventResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; - EventPayload?: components.EventPayload$Outbound | undefined; + object?: VerifyEventResponseBody$Outbound | undefined; }; /** @internal */ @@ -42,12 +84,11 @@ export const VerifyEventResponse$outboundSchema: z.ZodType< > = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, - eventPayload: components.EventPayload$outboundSchema.optional(), + object: z.lazy(() => VerifyEventResponseBody$outboundSchema).optional(), }) .transform((v) => { return remap$(v, { httpMeta: "HttpMeta", - eventPayload: "EventPayload", }); }); diff --git a/src/sdk/batch.ts b/src/sdk/batch.ts index d2ba05d8..92c066c4 100644 --- a/src/sdk/batch.ts +++ b/src/sdk/batch.ts @@ -60,7 +60,7 @@ export class Batch extends ClientSDK { const headers$ = new Headers({ "Content-Type": "application/json", - Accept: "*/*", + Accept: "application/json", }); const context = { operationID: "importBatch", oAuth2Scopes: [], securitySource: null }; @@ -90,7 +90,7 @@ export class Batch extends ClientSDK { }; const [result$] = await this.matcher() - .void(201, operations.ImportBatchResponse$inboundSchema) + .json(201, operations.ImportBatchResponse$inboundSchema, { key: "LinkedUserResponses" }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); diff --git a/src/sdk/define.ts b/src/sdk/define.ts index 1c422e51..988d98d2 100644 --- a/src/sdk/define.ts +++ b/src/sdk/define.ts @@ -60,7 +60,7 @@ export class Define extends ClientSDK { const headers$ = new Headers({ "Content-Type": "application/json", - Accept: "*/*", + Accept: "application/json", }); const context = { operationID: "definitions", oAuth2Scopes: [], securitySource: null }; @@ -90,7 +90,7 @@ export class Define extends ClientSDK { }; const [result$] = await this.matcher() - .void(201, operations.DefinitionsResponse$inboundSchema) + .json(201, operations.DefinitionsResponse$inboundSchema, { key: "CustomFieldResponse" }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); diff --git a/src/sdk/fieldmappings.ts b/src/sdk/fieldmappings.ts index 1a42f0d6..02a2340a 100644 --- a/src/sdk/fieldmappings.ts +++ b/src/sdk/fieldmappings.ts @@ -72,7 +72,7 @@ export class FieldMappings extends ClientSDK { const headers$ = new Headers({ "Content-Type": "application/json", - Accept: "*/*", + Accept: "application/json", }); const context = { @@ -106,7 +106,9 @@ export class FieldMappings extends ClientSDK { }; const [result$] = await this.matcher() - .void(201, operations.DefineCustomFieldResponse$inboundSchema) + .json(201, operations.DefineCustomFieldResponse$inboundSchema, { + key: "CustomFieldResponse", + }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); diff --git a/src/sdk/fromremoteid.ts b/src/sdk/fromremoteid.ts index 94aeafda..5418c54b 100644 --- a/src/sdk/fromremoteid.ts +++ b/src/sdk/fromremoteid.ts @@ -60,7 +60,7 @@ export class Fromremoteid extends ClientSDK { }); const headers$ = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const context = { operationID: "remoteId", oAuth2Scopes: [], securitySource: null }; @@ -90,7 +90,7 @@ export class Fromremoteid extends ClientSDK { }; const [result$] = await this.matcher() - .void(200, operations.RemoteIdResponse$inboundSchema) + .json(200, operations.RemoteIdResponse$inboundSchema, { key: "LinkedUserResponse" }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); diff --git a/src/sdk/linkedusers.ts b/src/sdk/linkedusers.ts index f2f2735e..b7e9143c 100644 --- a/src/sdk/linkedusers.ts +++ b/src/sdk/linkedusers.ts @@ -78,7 +78,7 @@ export class LinkedUsers extends ClientSDK { const headers$ = new Headers({ "Content-Type": "application/json", - Accept: "*/*", + Accept: "application/json", }); const context = { operationID: "createLinkedUser", oAuth2Scopes: [], securitySource: null }; @@ -108,7 +108,9 @@ export class LinkedUsers extends ClientSDK { }; const [result$] = await this.matcher() - .void(201, operations.CreateLinkedUserResponse$inboundSchema) + .json(201, operations.CreateLinkedUserResponse$inboundSchema, { + key: "LinkedUserResponse", + }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); @@ -124,7 +126,7 @@ export class LinkedUsers extends ClientSDK { const query$ = ""; const headers$ = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const context = { operationID: "listLinkedUsers", oAuth2Scopes: [], securitySource: null }; @@ -153,7 +155,9 @@ export class LinkedUsers extends ClientSDK { }; const [result$] = await this.matcher() - .void(200, operations.ListLinkedUsersResponse$inboundSchema) + .json(200, operations.ListLinkedUsersResponse$inboundSchema, { + key: "LinkedUserResponses", + }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); diff --git a/src/sdk/map.ts b/src/sdk/map.ts index 556a07c4..aad86898 100644 --- a/src/sdk/map.ts +++ b/src/sdk/map.ts @@ -60,7 +60,7 @@ export class Map extends ClientSDK { const headers$ = new Headers({ "Content-Type": "application/json", - Accept: "*/*", + Accept: "application/json", }); const context = { operationID: "map", oAuth2Scopes: [], securitySource: null }; @@ -90,7 +90,7 @@ export class Map extends ClientSDK { }; const [result$] = await this.matcher() - .void(201, operations.MapResponse$inboundSchema) + .json(201, operations.MapResponse$inboundSchema, { key: "CustomFieldResponse" }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); diff --git a/src/sdk/passthrough.ts b/src/sdk/passthrough.ts index 4a0fbe24..8361865b 100644 --- a/src/sdk/passthrough.ts +++ b/src/sdk/passthrough.ts @@ -96,9 +96,7 @@ export class Passthrough extends ClientSDK { }; const [result$] = await this.matcher() - .json([200, 201], operations.RequestResponse$inboundSchema, { - key: "PassThroughResponse", - }) + .json(201, operations.RequestResponse$inboundSchema, { key: "PassThroughResponse" }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts index ddaa7c9e..f1f6288b 100644 --- a/src/sdk/sdk.ts +++ b/src/sdk/sdk.ts @@ -142,7 +142,7 @@ export class Panora extends ClientSDK { }; const [result$] = await this.matcher() - .json(200, operations.HelloResponse$inboundSchema, { key: "string" }) + .json(200, operations.HelloResponse$inboundSchema, { key: "String" }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); @@ -184,7 +184,7 @@ export class Panora extends ClientSDK { }; const [result$] = await this.matcher() - .json(200, operations.HealthResponse$inboundSchema, { key: "number" }) + .json(200, operations.HealthResponse$inboundSchema, { key: "Number" }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); diff --git a/src/sdk/single.ts b/src/sdk/single.ts index b2802e90..8fdcd551 100644 --- a/src/sdk/single.ts +++ b/src/sdk/single.ts @@ -60,7 +60,7 @@ export class Single extends ClientSDK { }); const headers$ = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const context = { @@ -94,7 +94,9 @@ export class Single extends ClientSDK { }; const [result$] = await this.matcher() - .void(200, operations.RetrieveLinkedUserResponse$inboundSchema) + .json(200, operations.RetrieveLinkedUserResponse$inboundSchema, { + key: "LinkedUserResponse", + }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); diff --git a/src/sdk/sync.ts b/src/sdk/sync.ts index ab495f17..5cef6bb1 100644 --- a/src/sdk/sync.ts +++ b/src/sdk/sync.ts @@ -110,7 +110,7 @@ export class Sync extends ClientSDK { const query$ = ""; const headers$ = new Headers({ - Accept: "*/*", + Accept: "application/json", }); const context = { operationID: "resync", oAuth2Scopes: [], securitySource: null }; @@ -139,7 +139,7 @@ export class Sync extends ClientSDK { }; const [result$] = await this.matcher() - .void([200, 201], operations.ResyncResponse$inboundSchema) + .json(201, operations.ResyncResponse$inboundSchema, { key: "ResyncStatusDto" }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); diff --git a/src/sdk/verifyevent.ts b/src/sdk/verifyevent.ts index e59c7235..a5aca589 100644 --- a/src/sdk/verifyevent.ts +++ b/src/sdk/verifyevent.ts @@ -90,7 +90,8 @@ export class Verifyevent extends ClientSDK { }; const [result$] = await this.matcher() - .json(201, operations.VerifyEventResponse$inboundSchema, { key: "EventPayload" }) + .json(200, operations.VerifyEventResponse$inboundSchema, { key: "object" }) + .void(201, operations.VerifyEventResponse$inboundSchema) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ });